Public Member Functions | |
def | __init__ |
def | __repr__ |
def | __str__ |
def | toStringProperty |
def | getType |
def | getName |
def | getGaudiHandle |
def | getFullName |
Public Attributes | |
typeAndName | |
Static Public Attributes | |
string | componentType = "Service" |
isPublic = True | |
Static Private Attributes | |
tuple | __slots__ = () |
Definition at line 88 of file GaudiHandles.py.
def GaudiHandles::ServiceHandle::__init__ | ( | self, | ||
serviceName = '' | ||||
) |
Reimplemented from GaudiHandles::GaudiHandle.
Definition at line 93 of file GaudiHandles.py.
00093 : 00094 GaudiHandle.__init__( self, serviceName ) 00095 00096 # 00097 # The HandleArrays 00098 # class GaudiHandleArray(list):
def GaudiHandles::GaudiHandle::__repr__ | ( | self | ) | [inherited] |
Definition at line 28 of file GaudiHandles.py.
00028 : 00029 return "%s(%r)" % (self.__class__.__name__,self.toStringProperty()) 00030 def __str__(self):
def GaudiHandles::GaudiHandle::__str__ | ( | self | ) | [inherited] |
Definition at line 31 of file GaudiHandles.py.
00031 : 00032 # FIXME: (Patch #1668) this creates problem with 2.5 00033 # return "%s:%s" % (self.__class__.__name__, self.toStringProperty()) 00034 return self.toStringProperty() 00035 00036 # # Several member functions which are the same as Configurables
def GaudiHandles::GaudiHandle::toStringProperty | ( | self | ) | [inherited] |
Definition at line 39 of file GaudiHandles.py.
00039 : 00040 return self.typeAndName 00041 def getType(self):
def GaudiHandles::GaudiHandle::getType | ( | self | ) | [inherited] |
Definition at line 42 of file GaudiHandles.py.
00042 : 00043 """Get the 'type' part of the \"type/name\" string.""" 00044 slash = self.typeAndName.find('/') 00045 if slash != -1: 00046 # includes name. Return part before / 00047 return self.typeAndName[0:slash] 00048 else: 00049 # only type is given, return full string 00050 return self.typeAndName 00051 def getName(self):
def GaudiHandles::GaudiHandle::getName | ( | self | ) | [inherited] |
Get the 'name' part of the \"type/name\" string. If only a type is given, this will be returned as the name. If the \"type/name\" string is empty, it will return an emtpy string.
Definition at line 52 of file GaudiHandles.py.
00052 : 00053 """Get the 'name' part of the \"type/name\" string. 00054 If only a type is given, this will be returned as the name. 00055 If the \"type/name\" string is empty, it will return an emtpy string.""" 00056 slash = self.typeAndName.find('/') 00057 if slash != -1: 00058 # explicit name. Return part after the / 00059 return self.typeAndName[slash+1:] 00060 else: 00061 # only type is given. return type as default name 00062 return self.typeAndName 00063 def getGaudiHandle(self):
def GaudiHandles::GaudiHandle::getGaudiHandle | ( | self | ) | [inherited] |
Definition at line 64 of file GaudiHandles.py.
00064 : 00065 return self 00066 def getFullName(self):
def GaudiHandles::GaudiHandle::getFullName | ( | self | ) | [inherited] |
Definition at line 67 of file GaudiHandles.py.
00067 : 00068 return self.toStringProperty() 00069 class PublicToolHandle(GaudiHandle):
tuple GaudiHandles::ServiceHandle::__slots__ = () [static, private] |
Definition at line 89 of file GaudiHandles.py.
string GaudiHandles::ServiceHandle::componentType = "Service" [static] |
GaudiHandles::ServiceHandle::isPublic = True [static] |
GaudiHandles::GaudiHandle::typeAndName [inherited] |
Definition at line 26 of file GaudiHandles.py.