Definition at line 14 of file DataHandle.py.
◆ __init__()
| def GaudiKernel.DataHandle.DataHandle.__init__ |
( |
|
self, |
|
|
|
path, |
|
|
|
mode = "R", |
|
|
|
_type = "unknown_t", |
|
|
|
isCond = False |
|
) |
| |
Definition at line 19 of file DataHandle.py.
19 def __init__(self, path, mode="R", _type="unknown_t", isCond=False):
24 self.IsCondition = isCond
◆ __eq__()
| def GaudiKernel.DataHandle.DataHandle.__eq__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
Need especially Configurable.isPropertySet when checked against default.
Definition at line 33 of file DataHandle.py.
33 def __eq__(self, other):
35 Need especially Configurable.isPropertySet when checked against default.
37 if isinstance(other, DataHandle):
38 return self.__getstate__() == other.__getstate__()
39 if isinstance(other, str):
40 return self.Path == other
44 "Unknown equality check: type=%r, repr=%r" % (
type(other), other)
◆ __getstate__()
| def GaudiKernel.DataHandle.DataHandle.__getstate__ |
( |
|
self | ) |
|
Definition at line 26 of file DataHandle.py.
26 def __getstate__(self):
27 return {s: getattr(self, s)
for s
in self.__slots__}
◆ __ne__()
| def GaudiKernel.DataHandle.DataHandle.__ne__ |
( |
|
self, |
|
|
|
other |
|
) |
| |
This is mandatory if __eq__ is defined.
Definition at line 47 of file DataHandle.py.
47 def __ne__(self, other):
49 This is mandatory if __eq__ is defined.
51 return not self == other
◆ __opt_value__()
| def GaudiKernel.DataHandle.DataHandle.__opt_value__ |
( |
|
self | ) |
|
Definition at line 77 of file DataHandle.py.
77 def __opt_value__(self):
78 return repr(str(self))
◆ __repr__()
| def GaudiKernel.DataHandle.DataHandle.__repr__ |
( |
|
self | ) |
|
Definition at line 56 of file DataHandle.py.
57 args =
"'%s','%s','%s'" % (self.Path, self.Mode, self.Type)
59 args +=
",%s" % self.IsCondition
60 return "%s(%s)" % (self.__class__.__name__, args)
◆ __setstate__()
| def GaudiKernel.DataHandle.DataHandle.__setstate__ |
( |
|
self, |
|
|
|
state |
|
) |
| |
Definition at line 29 of file DataHandle.py.
29 def __setstate__(self, state):
31 setattr(self, s, state[s])
◆ __str__()
| def GaudiKernel.DataHandle.DataHandle.__str__ |
( |
|
self | ) |
|
◆ isCondition()
| def GaudiKernel.DataHandle.DataHandle.isCondition |
( |
|
self | ) |
|
Definition at line 74 of file DataHandle.py.
74 def isCondition(self):
75 return self.IsCondition
◆ mode()
| def GaudiKernel.DataHandle.DataHandle.mode |
( |
|
self | ) |
|
◆ path()
| def GaudiKernel.DataHandle.DataHandle.path |
( |
|
self | ) |
|
◆ toStringProperty()
| def GaudiKernel.DataHandle.DataHandle.toStringProperty |
( |
|
self | ) |
|
Definition at line 62 of file DataHandle.py.
62 def toStringProperty(self):
◆ type()
| def GaudiKernel.DataHandle.DataHandle.type |
( |
|
self | ) |
|
◆ __hash__
| GaudiKernel.DataHandle.DataHandle.__hash__ |
|
staticprivate |
◆ __slots__
| GaudiKernel.DataHandle.DataHandle.__slots__ |
|
staticprivate |
◆ IsCondition
| GaudiKernel.DataHandle.DataHandle.IsCondition |
◆ Mode
| GaudiKernel.DataHandle.DataHandle.Mode |
◆ Path
| GaudiKernel.DataHandle.DataHandle.Path |
◆ Type
| GaudiKernel.DataHandle.DataHandle.Type |
The documentation for this class was generated from the following file: