ATLAS Offline Software
Loading...
Searching...
No Matches
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

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

Variables

str __author__ = "clat@hep.ph.bham.ac.uk"
list descr = []
 print "%s.properties()" % self.__name__

Function Documentation

◆ attributes()

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()

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()

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()

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__

str python.TransformConfig.__author__ = "clat@hep.ph.bham.ac.uk"
private

Definition at line 3 of file TransformConfig.py.

◆ descr

list python.TransformConfig.descr = []

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

Definition at line 359 of file TransformConfig.py.