#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/GaudiHandle.h>
|
virtual | ~GaudiHandleInfo () |
| virtual destructor so that derived class destructor is called.
|
|
const std::string & | componentType () const |
|
const std::string & | propertyName () const |
| name as used in declareProperty(name,gaudiHandle)
|
|
void | setPropertyName (std::string propName) |
| set name as used in declareProperty(name,gaudiHandle).
|
|
const std::string & | parentName () const |
| The name of the parent.
|
|
virtual std::string | pythonPropertyClassName () const =0 |
| The python class name for the property in the genconf-generated configurables.
|
|
virtual std::string | pythonRepr () const =0 |
| Python representation of handle, i.e.
|
|
|
| GaudiHandleInfo (std::string myComponentType, std::string myParentName) |
| Some basic information and helper functions shared between various handles/arrays.
|
|
void | setComponentType (std::string componentType) |
| The component type.
|
|
void | setParentName (std::string parent) |
| The name of the parent.
|
|
Definition at line 31 of file GaudiHandle.h.
◆ GaudiHandleInfo()
GaudiHandleInfo::GaudiHandleInfo |
( |
std::string | myComponentType, |
|
|
std::string | myParentName ) |
|
inlineprotected |
Some basic information and helper functions shared between various handles/arrays.
- Parameters
-
myComponentType | string indicating what type of component the handle is pointing to. For example: "PublicTool", "PrivateTool", "Service". This is used for printout and on the python side for type checking. On the python side there are classes with these names with "Handle" appended: PublicToolHandle,PrivateToolHandle,ServiceHandle |
myParentName | Name of the parent that has this handle as a member. Used in printout. |
Definition at line 41 of file GaudiHandle.h.
std::string m_componentType
◆ ~GaudiHandleInfo()
virtual GaudiHandleInfo::~GaudiHandleInfo |
( |
| ) |
|
|
inlinevirtual |
virtual destructor so that derived class destructor is called.
Definition at line 49 of file GaudiHandle.h.
◆ componentType()
const std::string & GaudiHandleInfo::componentType |
( |
| ) |
const |
|
inline |
◆ parentName()
const std::string & GaudiHandleInfo::parentName |
( |
| ) |
const |
|
inline |
◆ propertyName()
const std::string & GaudiHandleInfo::propertyName |
( |
| ) |
const |
|
inline |
name as used in declareProperty(name,gaudiHandle)
Definition at line 56 of file GaudiHandle.h.
std::string m_propertyName
◆ pythonPropertyClassName()
virtual std::string GaudiHandleInfo::pythonPropertyClassName |
( |
| ) |
const |
|
pure virtual |
The python class name for the property in the genconf-generated configurables.
The python class is defined in GaudiPython/python/GaudiHandles.py. To be implemented in derived class.
Implemented in GaudiHandleArrayBase, and GaudiHandleBase.
◆ pythonRepr()
virtual std::string GaudiHandleInfo::pythonRepr |
( |
| ) |
const |
|
pure virtual |
◆ setComponentType()
void GaudiHandleInfo::setComponentType |
( |
std::string | componentType | ) |
|
|
inlineprotected |
The component type.
Definition at line 81 of file GaudiHandle.h.
const std::string & componentType() const
◆ setParentName()
void GaudiHandleInfo::setParentName |
( |
std::string | parent | ) |
|
|
inlineprotected |
◆ setPropertyName()
void GaudiHandleInfo::setPropertyName |
( |
std::string | propName | ) |
|
|
inline |
set name as used in declareProperty(name,gaudiHandle).
Used in printout.
Definition at line 59 of file GaudiHandle.h.
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const GaudiHandleInfo & | handle ) |
|
friend |
Definition at line 104 of file GaudiHandle.cpp.
104 {
107 if ( !propName.empty() )
msg += propName +
" = ";
110 return os;
111}
const std::string & propertyName() const
name as used in declareProperty(name,gaudiHandle)
virtual std::string pythonRepr() const =0
Python representation of handle, i.e.
◆ m_componentType
std::string GaudiHandleInfo::m_componentType |
|
private |
◆ m_parentName
std::string GaudiHandleInfo::m_parentName |
|
private |
◆ m_propertyName
std::string GaudiHandleInfo::m_propertyName |
|
private |
The documentation for this class was generated from the following file: