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 384 of file TransformConfig.py.

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

◆ 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 366 of file TransformConfig.py.

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

◆ hasProperty()

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

Definition at line 375 of file TransformConfig.py.

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

◆ name()

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

Definition at line 389 of file TransformConfig.py.

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

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 360 of file TransformConfig.py.

python.TransformConfig.getProperty
def getProperty(self, name)
Definition: TransformConfig.py:366
python.TransformConfig.hasProperty
def hasProperty(self, name)
Definition: TransformConfig.py:375
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
calibdata.copy
bool copy
Definition: calibdata.py:27
python.TransformConfig.attributes
def attributes(self)
Definition: TransformConfig.py:384