|
Gaudi Framework, version v23r2p1 |
| Home | Generated: Fri Jun 29 2012 |


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 = "Unspecified" |
| isPublic = True | |
Definition at line 15 of file GaudiHandles.py.
| def GaudiHandles::GaudiHandle::__init__ | ( | self, | |
| typeAndName | |||
| ) |
Reimplemented in GaudiHandles::PublicToolHandle, GaudiHandles::PrivateToolHandle, and GaudiHandles::ServiceHandle.
Definition at line 19 of file GaudiHandles.py.
00020 : 00021 object.__init__(self) 00022 if hasattr(typeAndName,"toStringProperty"): 00023 # this is a GaudiHandle or equivalent 00024 typeAndName = typeAndName.toStringProperty() 00025 if type(typeAndName) != str: 00026 raise TypeError("Argument to %s must be a string. Got a %s instead" % \ 00027 ( self.__class__.__name__, type(typeAndName).__name__) ) 00028 self.typeAndName = typeAndName
| def GaudiHandles::GaudiHandle::__repr__ | ( | self ) |
Definition at line 29 of file GaudiHandles.py.
| def GaudiHandles::GaudiHandle::__str__ | ( | self ) |
Definition at line 32 of file GaudiHandles.py.
| def GaudiHandles::GaudiHandle::getFullName | ( | self ) |
Definition at line 68 of file GaudiHandles.py.
| def GaudiHandles::GaudiHandle::getGaudiHandle | ( | self ) |
Definition at line 65 of file GaudiHandles.py.
| def GaudiHandles::GaudiHandle::getName | ( | self ) |
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 53 of file GaudiHandles.py.
00054 : 00055 """Get the 'name' part of the \"type/name\" string. 00056 If only a type is given, this will be returned as the name. 00057 If the \"type/name\" string is empty, it will return an emtpy string.""" 00058 slash = self.typeAndName.find('/') 00059 if slash != -1: 00060 # explicit name. Return part after the / 00061 return self.typeAndName[slash+1:] 00062 else: 00063 # only type is given. return type as default name 00064 return self.typeAndName
| def GaudiHandles::GaudiHandle::getType | ( | self ) |
Get the 'type' part of the \"type/name\" string.
Definition at line 43 of file GaudiHandles.py.
00044 : 00045 """Get the 'type' part of the \"type/name\" string.""" 00046 slash = self.typeAndName.find('/') 00047 if slash != -1: 00048 # includes name. Return part before / 00049 return self.typeAndName[0:slash] 00050 else: 00051 # only type is given, return full string 00052 return self.typeAndName
| def GaudiHandles::GaudiHandle::toStringProperty | ( | self ) |
Definition at line 40 of file GaudiHandles.py.
string GaudiHandles::GaudiHandle::componentType = "Unspecified" [static] |
Reimplemented in GaudiHandles::PublicToolHandle, GaudiHandles::PrivateToolHandle, and GaudiHandles::ServiceHandle.
Definition at line 16 of file GaudiHandles.py.
GaudiHandles::GaudiHandle::isPublic = True [static] |
Reimplemented in GaudiHandles::PublicToolHandle, GaudiHandles::PrivateToolHandle, and GaudiHandles::ServiceHandle.
Definition at line 17 of file GaudiHandles.py.
Definition at line 19 of file GaudiHandles.py.