Definition at line 316 of file TransformConfig.py.
◆ __init__()
def python.TransformConfig.JobConfig.__init__ |
( |
|
self, |
|
|
|
name = None |
|
) |
| |
name is used in printout. The default name is derived from the filename of the python file
where constructor is called
Definition at line 319 of file TransformConfig.py.
320 """name is used in printout. The default name is derived from the filename of the python file
321 where constructor is called"""
324 filename = os.path.basename(sys._getframe(1).f_code.co_filename)
325 name = os.path.splitext(filename)[0]
327 self.__attributes = {}
◆ __iter__()
def python.TransformConfig.JobConfig.__iter__ |
( |
|
self | ) |
|
Provide iteration over the full list of properties (the Descriptors, not the values)
Definition at line 346 of file TransformConfig.py.
347 """Provide iteration over the full list of properties (the Descriptors, not the values)"""
348 return iter(self.properties())
◆ __len__()
def python.TransformConfig.JobConfig.__len__ |
( |
|
self | ) |
|
Return the total number of properties (this class plus all base classes)
Definition at line 341 of file TransformConfig.py.
342 """Return the total number of properties (this class plus all base classes)"""
343 return len(self.properties())
◆ __str__()
def python.TransformConfig.JobConfig.__str__ |
( |
|
self, |
|
|
|
prefix = '' |
|
) |
| |
Reimplemented in python.TransformConfig.TransformConfig.
Definition at line 330 of file TransformConfig.py.
330 def __str__(self,prefix=''):
331 prefix += self.__name
333 for descr
in self.properties():
335 value = getattr(self,name)
336 me.append(
"%s.%s = %r \t# %s" % (prefix,name,value,descr.help()) )
337 prefix =
' '*len(prefix)
338 return os.linesep.join(me)
◆ _attributeDictionary()
def python.TransformConfig.JobConfig._attributeDictionary |
( |
|
self | ) |
|
|
private |
Dictionary to store the values. Used in the class Descriptor.
Definition at line 351 of file TransformConfig.py.
351 def _attributeDictionary(self):
352 """Dictionary to store the values. Used in the class Descriptor."""
353 return self.__attributes
◆ properties()
def python.TransformConfig.JobConfig.properties |
( |
|
self | ) |
|
Return the full list of properties (the descriptors, not the values)
Definition at line 356 of file TransformConfig.py.
357 """Return the full list of properties (the descriptors, not the values)"""
◆ __attributes
python.TransformConfig.JobConfig.__attributes |
|
private |
◆ __name
python.TransformConfig.JobConfig.__name |
|
private |
name is used in printout. The default name is derived from the filename of the python file
where constructor is called
Definition at line 326 of file TransformConfig.py.
◆ __slots__
python.TransformConfig.JobConfig.__slots__ |
|
staticprivate |
The documentation for this class was generated from the following file: