ATLAS Offline Software
Classes | Functions | Variables
python.TransformConfig Namespace Reference

Classes

class  AllowedExpression
 
class  Boolean
 
class  Descriptor
 
class  Float
 
class  Integer
 
class  JobConfig
 
class  JobConfigMetaClass
 
class  ListOfStrings
 
class  String
 
class  TransformConfig
 
class  UniqueList
 

Functions

def getProperty (self, name)
 
def hasProperty (self, name)
 
def attributes (self)
 
def name (self)
 

Variables

 __author__
 
 descr
 print "%s.properties()" % self.__name__ More...
 

Function Documentation

◆ attributes()

def python.TransformConfig.attributes (   self)
Dictionary with the attibutes (name:value). It is a copy to make it read-only.

Definition at line 383 of file TransformConfig.py.

383  def attributes(self):
384  """Dictionary with the attibutes (name:value). It is a copy to make it read-only."""
385  return self.__attributes.copy()
386 
387 

◆ getProperty()

def python.TransformConfig.getProperty (   self,
  name 
)
Get the property (the descriptor, not the value) named <name>.
It raises an TransformConfigError if the class does not have proporty <name>.

Definition at line 365 of file TransformConfig.py.

365  def getProperty(self,name):
366  """Get the property (the descriptor, not the value) named <name>.
367  It raises an TransformConfigError if the class does not have proporty <name>."""
368  for d in self.properties():
369  if d.name() == name: return d
370 
371  raise TransformConfigError('class %s does not have property %s' % (self.__class__.__name__, name))
372 
373 

◆ hasProperty()

def python.TransformConfig.hasProperty (   self,
  name 
)
Return bool indicating if this class has property <name>

Definition at line 374 of file TransformConfig.py.

374  def hasProperty(self,name):
375  """Return bool indicating if this class has property <name>"""
376  try:
377  self.getProperty(name)
378  return True
379  except TransformConfigError:
380  return False
381 
382 

◆ name()

def python.TransformConfig.name (   self)
The name of the configuration instance (mainly for printout)

Definition at line 388 of file TransformConfig.py.

388  def name(self):
389  """The name of the configuration instance (mainly for printout)"""
390  return self.__name
391 
392 
393 

Variable Documentation

◆ __author__

python.TransformConfig.__author__
private

Definition at line 3 of file TransformConfig.py.

◆ descr

python.TransformConfig.descr

print "%s.properties()" % self.__name__

Definition at line 359 of file TransformConfig.py.

python.TransformConfig.getProperty
def getProperty(self, name)
Definition: TransformConfig.py:365
python.TransformConfig.hasProperty
def hasProperty(self, name)
Definition: TransformConfig.py:374
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
calibdata.copy
bool copy
Definition: calibdata.py:26
python.TransformConfig.attributes
def attributes(self)
Definition: TransformConfig.py:383