1 __version__ =
"$Revision: 0.1 $" 2 __doc__ =
"""The python module holding python bindings to DataHandle""" 6 __slots__ = (
'Path',
'_whiteboard',
'_access')
18 def __init__(self, path, whiteboard=None, access=None):
25 if isinstance(other, DataHandle):
26 return ((self.
Path == other.Path)
and 28 (self.
_access == other._access))
29 if isinstance(other, basestring):
30 return self.
Path == other
33 raise ValueError(
'Unknown equality check: type=%r, repr=%r' %
38 This is mandatory if __eq__ is defined. 40 return not self == other
46 return "%s(\"path=%s, whiteboard=%s, access=%s\")" % (
47 self.__class__.__name__,
50 self._access.__class__.__name__)
56 path =
':'.join(i + other
for i
in self.Path.split(
':'))
60 path =
':'.join(other + i
for i
in self.Path.split(
':'))
64 self.
Path =
':'.join(i + other
for i
in self.Path.split(
':'))
def __init__(self, path, whiteboard=None, access=None)
def __radd__(self, other)
def toStringProperty(self)
def __iadd__(self, other)
DataObjectHandleBase GaudiKernel/DataObjectHandleBase.h.