Definition at line 67 of file FakeAthena.py.
◆ __init__()
def python.FakeAthena.FakeProperty.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
type |
|
) |
| |
◆ __getattr__()
def python.FakeAthena.FakeProperty.__getattr__ |
( |
|
self, |
|
|
|
name |
|
) |
| |
Definition at line 87 of file FakeAthena.py.
87 def __getattr__(self,name):
90 return getattr(self,name)
◆ __setattr__()
def python.FakeAthena.FakeProperty.__setattr__ |
( |
|
self, |
|
|
|
name, |
|
|
|
value |
|
) |
| |
Definition at line 79 of file FakeAthena.py.
80 self.__dict__[name] = value
82 if name ==
'AlgTools':
84 toolname = os.path.basename(tool)
85 self.__dict__[toolname] = FakeProperty(tool,
'AlgTool')
◆ __str__()
def python.FakeAthena.FakeProperty.__str__ |
( |
|
self | ) |
|
Definition at line 72 of file FakeAthena.py.
73 me = [
'%s(\"%s\")' % (self.type,self.name) ]
74 for n,v
in self.__dict__.
items():
75 if not n.startswith(
'__')
and n !=
'name' and n !=
'type':
76 me += [
" %s=%s" % (n,v) ]
77 return os.linesep.join(me)
◆ name
python.FakeAthena.FakeProperty.name |
◆ type
python.FakeAthena.FakeProperty.type |
The documentation for this class was generated from the following file: