CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Attributes
Types._Untracked Class Reference
Inheritance diagram for Types._Untracked:

Public Member Functions

def __getattr__
 

Static Public Member Functions

def __call__
 

Public Attributes

 name
 

Static Private Attributes

string __name__ = "untracked"
 

Detailed Description

Class type for 'untracked' to allow nice syntax

Definition at line 9 of file Types.py.

Member Function Documentation

def Types._Untracked.__call__ (   param)
static
used to set a 'param' parameter to be 'untracked'

Definition at line 13 of file Types.py.

13 
14  def __call__(param):
15  """used to set a 'param' parameter to be 'untracked'"""
16  param.setIsTracked(False)
return param
def __call__
Definition: Types.py:13
def Types._Untracked.__getattr__ (   self,
  name 
)
A factory which allows syntax untracked.name(value) to construct an
instance of 'name' class which is set to be untracked

Definition at line 17 of file Types.py.

References python.multivaluedict.__init__(), and dbtoconf.object.

Referenced by VarParsing.VarParsing.setType().

17 
18  def __getattr__(self,name):
19  """A factory which allows syntax untracked.name(value) to construct an
20  instance of 'name' class which is set to be untracked"""
21  if name == "__bases__": raise AttributeError # isclass uses __bases__ to recognize class objects
22  class Factory(object):
23  def __init__(self,name):
24  self.name = name
25  def __call__(self,*value,**params):
26  param = globals()[self.name](*value,**params)
27  return _Untracked.__call__(param)
28  return Factory(name)
def __call__
Definition: Types.py:13
list object
Definition: dbtoconf.py:77
def __getattr__
Definition: Types.py:17

Member Data Documentation

string Types._Untracked.__name__ = "untracked"
staticprivate

Definition at line 11 of file Types.py.

Types._Untracked.name

Definition at line 23 of file Types.py.

Referenced by dirstructure.Directory.__create_pie_image(), dqm_interfaces.DirID.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dirstructure.Comparison.__make_image(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), dirstructure.Directory.calcStats(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), utils.StatisticalTest.get_status(), dirstructure.Directory.print_report(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), and Vispa.Views.PropertyView.Property.valueChanged().