![]() |
The Gaudi Framework
v26r3
|
T is the concrete handle type, e.g. More...
Public Types | |
typedef std::vector< T > | HandleVector |
typedef HandleVector::value_type | value_type |
typedef HandleVector::size_type | size_type |
typedef HandleVector::reference | reference |
typedef HandleVector::const_reference | const_reference |
typedef HandleVector::iterator | iterator |
typedef HandleVector::const_iterator | const_iterator |
typedef HandleVector::reverse_iterator | reverse_iterator |
typedef HandleVector::const_reverse_iterator | const_reverse_iterator |
typedef std::vector< T > | HandleVector |
typedef HandleVector::value_type | value_type |
typedef HandleVector::size_type | size_type |
typedef HandleVector::reference | reference |
typedef HandleVector::const_reference | const_reference |
typedef HandleVector::iterator | iterator |
typedef HandleVector::const_iterator | const_iterator |
typedef HandleVector::reverse_iterator | reverse_iterator |
typedef HandleVector::const_reverse_iterator | const_reverse_iterator |
![]() | |
typedef std::vector< GaudiHandleBase * > | BaseHandleArray |
typedef std::vector< const GaudiHandleBase * > | ConstBaseHandleArray |
typedef std::vector< GaudiHandleBase * > | BaseHandleArray |
typedef std::vector< const GaudiHandleBase * > | ConstBaseHandleArray |
Public Member Functions | |
virtual | ~GaudiHandleArray () |
GaudiHandleArray & | operator= (const std::vector< std::string > &myTypesAndNamesList) |
Set the array of GaudiHandles from typeAndNames given in vector of strings. More... | |
virtual GaudiHandleArrayBase::BaseHandleArray | getBaseArray () |
Get a read-write vector of GaudiHandleBase* pointing to the real handles. More... | |
virtual GaudiHandleArrayBase::ConstBaseHandleArray | getBaseArray () const |
Get a read-only vector of const GaudiHandleBase* pointing to the real handles. More... | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | rbegin () const |
const_iterator | rend () const |
size_type | size () const |
virtual void | clear () |
Clear the list of handles. More... | |
virtual bool | empty () const |
Return whether the list of tools is empty. More... | |
T & | operator[] (int index) |
const T & | operator[] (int index) const |
T * | operator[] (const std::string &name) |
Get pointer (!) to ToolHandle by instance name. More... | |
const T * | operator[] (const std::string &name) const |
Get const pointer (!) to ToolHandle by instance name. More... | |
virtual bool | push_back (const T &myHandle) |
StatusCode | retrieve () |
Retrieve all tools. More... | |
StatusCode | release () |
Release all tools. More... | |
virtual | ~GaudiHandleArray () |
GaudiHandleArray & | operator= (const std::vector< std::string > &myTypesAndNamesList) |
Set the array of GaudiHandles from typeAndNames given in vector of strings. More... | |
virtual GaudiHandleArrayBase::BaseHandleArray | getBaseArray () |
Get a read-write vector of GaudiHandleBase* pointing to the real handles. More... | |
virtual GaudiHandleArrayBase::ConstBaseHandleArray | getBaseArray () const |
Get a read-only vector of const GaudiHandleBase* pointing to the real handles. More... | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | rbegin () const |
const_iterator | rend () const |
size_type | size () const |
virtual void | clear () |
Clear the list of handles. More... | |
virtual bool | empty () const |
Return whether the list of tools is empty. More... | |
T & | operator[] (int index) |
const T & | operator[] (int index) const |
T * | operator[] (const std::string &name) |
Get pointer (!) to ToolHandle by instance name. More... | |
const T * | operator[] (const std::string &name) const |
Get const pointer (!) to ToolHandle by instance name. More... | |
virtual bool | push_back (const T &myHandle) |
StatusCode | retrieve () |
Retrieve all tools. More... | |
StatusCode | release () |
Release all tools. More... | |
![]() | |
bool | setTypesAndNames (const std::vector< std::string > &myTypesAndNamesList) |
Set the array of handles from list of "type/name" strings in <myTypesAndNamesList>. More... | |
const std::vector< std::string > | typesAndNames () const |
Return a vector with "type/name" strings of all handles in the array. More... | |
const std::vector< std::string > | types () const |
Return a vector with "type" strings of all handles in the array. More... | |
const std::vector< std::string > | names () const |
Return a vector with "type/name" strings of all handles in the array. More... | |
const std::vector< std::string > | getBaseInfos (std::string(GaudiHandleBase::*pMemFunc)() const ) const |
Helper function to get a vector of strings filled with the return value of each tool of a member function if GaudiHandleBase. More... | |
virtual const std::string | pythonPropertyClassName () const |
Name of the componentType with "HandleArray" appended. More... | |
virtual const std::string | pythonRepr () const |
Python representation of array of handles, i.e. More... | |
virtual bool | push_back (const std::string &myHandleTypeAndName)=0 |
Add a handle to the array with "type/name" given in <myHandleTypeAndName>. More... | |
bool | setTypesAndNames (const std::vector< std::string > &myTypesAndNamesList) |
Set the array of handles from list of "type/name" strings in <myTypesAndNamesList>. More... | |
const std::vector< std::string > | typesAndNames () const |
Return a vector with "type/name" strings of all handles in the array. More... | |
const std::vector< std::string > | types () const |
Return a vector with "type" strings of all handles in the array. More... | |
const std::vector< std::string > | names () const |
Return a vector with "type/name" strings of all handles in the array. More... | |
const std::vector< std::string > | getBaseInfos (std::string(GaudiHandleBase::*pMemFunc)() const ) const |
Helper function to get a vector of strings filled with the return value of each tool of a member function if GaudiHandleBase. More... | |
virtual const std::string | pythonPropertyClassName () const |
Name of the componentType with "HandleArray" appended. More... | |
virtual const std::string | pythonRepr () const |
Python representation of array of handles, i.e. More... | |
virtual bool | push_back (const std::string &myHandleTypeAndName)=0 |
Add a handle to the array with "type/name" given in <myHandleTypeAndName>. More... | |
![]() | |
virtual | ~GaudiHandleInfo () |
virtual destructor so that derived class destructor is called. More... | |
const std::string & | componentType () const |
const std::string & | propertyName () const |
name as used in declareProperty(name,gaudiHandle) More... | |
void | setPropertyName (const std::string &propName) |
set name as used in declareProperty(name,gaudiHandle). More... | |
const std::string & | parentName () const |
The name of the parent. More... | |
virtual | ~GaudiHandleInfo () |
virtual destructor so that derived class destructor is called. More... | |
const std::string & | componentType () const |
const std::string & | propertyName () const |
name as used in declareProperty(name,gaudiHandle) More... | |
void | setPropertyName (const std::string &propName) |
set name as used in declareProperty(name,gaudiHandle). More... | |
const std::string & | parentName () const |
The name of the parent. More... | |
Protected Member Functions | |
GaudiHandleArray (const std::vector< std::string > &myTypesAndNamesList, const std::string &myComponentType, const std::string &myParentName) | |
Generic constructor. More... | |
GaudiHandleArray (const std::string &myComponentType, const std::string &myParentName) | |
Constructor creating an empty array. More... | |
GaudiHandleArray (const std::vector< std::string > &myTypesAndNamesList, const std::string &myComponentType, const std::string &myParentName) | |
Generic constructor. More... | |
GaudiHandleArray (const std::string &myComponentType, const std::string &myParentName) | |
Constructor creating an empty array. More... | |
![]() | |
GaudiHandleArrayBase (const std::string &myComponentType, const std::string &myParentName) | |
GaudiHandleArrayBase (const std::string &myComponentType, const std::string &myParentName) | |
![]() | |
GaudiHandleInfo (const std::string &myComponentType, const std::string &myParentName) | |
Some basic information and helper functions shared between various handles/arrays. More... | |
GaudiHandleInfo (const std::string &myComponentType, const std::string &myParentName) | |
Some basic information and helper functions shared between various handles/arrays. More... | |
Private Attributes | |
HandleVector | m_handleArray |
T is the concrete handle type, e.g.
ToolHandle<IMyTool>
Definition at line 363 of file GaudiHandle.h.
typedef HandleVector::const_iterator GaudiHandleArray< T >::const_iterator |
Definition at line 374 of file GaudiHandle.h.
typedef HandleVector::const_iterator GaudiHandleArray< T >::const_iterator |
Definition at line 374 of file GaudiHandle.h.
typedef HandleVector::const_reference GaudiHandleArray< T >::const_reference |
Definition at line 372 of file GaudiHandle.h.
typedef HandleVector::const_reference GaudiHandleArray< T >::const_reference |
Definition at line 372 of file GaudiHandle.h.
typedef HandleVector::const_reverse_iterator GaudiHandleArray< T >::const_reverse_iterator |
Definition at line 376 of file GaudiHandle.h.
typedef HandleVector::const_reverse_iterator GaudiHandleArray< T >::const_reverse_iterator |
Definition at line 376 of file GaudiHandle.h.
typedef std::vector< T > GaudiHandleArray< T >::HandleVector |
Definition at line 368 of file GaudiHandle.h.
typedef std::vector< T > GaudiHandleArray< T >::HandleVector |
Definition at line 368 of file GaudiHandle.h.
typedef HandleVector::iterator GaudiHandleArray< T >::iterator |
Definition at line 373 of file GaudiHandle.h.
typedef HandleVector::iterator GaudiHandleArray< T >::iterator |
Definition at line 373 of file GaudiHandle.h.
typedef HandleVector::reference GaudiHandleArray< T >::reference |
Definition at line 371 of file GaudiHandle.h.
typedef HandleVector::reference GaudiHandleArray< T >::reference |
Definition at line 371 of file GaudiHandle.h.
typedef HandleVector::reverse_iterator GaudiHandleArray< T >::reverse_iterator |
Definition at line 375 of file GaudiHandle.h.
typedef HandleVector::reverse_iterator GaudiHandleArray< T >::reverse_iterator |
Definition at line 375 of file GaudiHandle.h.
typedef HandleVector::size_type GaudiHandleArray< T >::size_type |
Definition at line 370 of file GaudiHandle.h.
typedef HandleVector::size_type GaudiHandleArray< T >::size_type |
Definition at line 370 of file GaudiHandle.h.
typedef HandleVector::value_type GaudiHandleArray< T >::value_type |
Definition at line 369 of file GaudiHandle.h.
typedef HandleVector::value_type GaudiHandleArray< T >::value_type |
Definition at line 369 of file GaudiHandle.h.
|
inlineprotected |
Generic constructor.
Probably not very useful...
typesAndNamesList | : a vector of strings with the concrete "type/name" strings for the list of tools |
Definition at line 386 of file GaudiHandle.h.
|
inlineprotected |
Constructor creating an empty array.
typesAndNamesList | : a vector of strings with the concrete "type/name" strings for the list of tools |
Definition at line 397 of file GaudiHandle.h.
|
inlinevirtual |
Definition at line 402 of file GaudiHandle.h.
|
inlineprotected |
Generic constructor.
Probably not very useful...
typesAndNamesList | : a vector of strings with the concrete "type/name" strings for the list of tools |
Definition at line 386 of file GaudiHandle.h.
|
inlineprotected |
Constructor creating an empty array.
typesAndNamesList | : a vector of strings with the concrete "type/name" strings for the list of tools |
Definition at line 397 of file GaudiHandle.h.
|
inlinevirtual |
Definition at line 402 of file GaudiHandle.h.
|
inline |
Definition at line 427 of file GaudiHandle.h.
|
inline |
Definition at line 427 of file GaudiHandle.h.
|
inline |
Definition at line 435 of file GaudiHandle.h.
|
inline |
Definition at line 435 of file GaudiHandle.h.
|
inlinevirtual |
Clear the list of handles.
Implemented in GaudiHandleArray
Implements GaudiHandleArrayBase.
Definition at line 455 of file GaudiHandle.h.
|
inlinevirtual |
Clear the list of handles.
Implemented in GaudiHandleArray
Implements GaudiHandleArrayBase.
Definition at line 455 of file GaudiHandle.h.
|
inlinevirtual |
Return whether the list of tools is empty.
Implements GaudiHandleArrayBase.
Definition at line 459 of file GaudiHandle.h.
|
inlinevirtual |
Return whether the list of tools is empty.
Implements GaudiHandleArrayBase.
Definition at line 459 of file GaudiHandle.h.
|
inline |
Definition at line 431 of file GaudiHandle.h.
|
inline |
Definition at line 431 of file GaudiHandle.h.
|
inline |
Definition at line 439 of file GaudiHandle.h.
|
inline |
Definition at line 439 of file GaudiHandle.h.
|
inlinevirtual |
Get a read-write vector of GaudiHandleBase* pointing to the real handles.
Implemented in GaudiHandleArray.
Implements GaudiHandleArrayBase.
Definition at line 410 of file GaudiHandle.h.
|
inlinevirtual |
Get a read-write vector of GaudiHandleBase* pointing to the real handles.
Implemented in GaudiHandleArray.
Implements GaudiHandleArrayBase.
Definition at line 410 of file GaudiHandle.h.
|
inlinevirtual |
Get a read-only vector of const GaudiHandleBase* pointing to the real handles.
Implemented in GaudiHandleArray.
Implements GaudiHandleArrayBase.
Definition at line 417 of file GaudiHandle.h.
|
inlinevirtual |
Get a read-only vector of const GaudiHandleBase* pointing to the real handles.
Implemented in GaudiHandleArray.
Implements GaudiHandleArrayBase.
Definition at line 417 of file GaudiHandle.h.
|
inline |
Set the array of GaudiHandles from typeAndNames given in vector of strings.
Definition at line 405 of file GaudiHandle.h.
|
inline |
Set the array of GaudiHandles from typeAndNames given in vector of strings.
Definition at line 405 of file GaudiHandle.h.
|
inline |
Definition at line 463 of file GaudiHandle.h.
|
inline |
Definition at line 463 of file GaudiHandle.h.
|
inline |
Definition at line 467 of file GaudiHandle.h.
|
inline |
Definition at line 467 of file GaudiHandle.h.
|
inline |
Get pointer (!) to ToolHandle by instance name.
Returns zero pointer if not found
Definition at line 472 of file GaudiHandle.h.
|
inline |
Get pointer (!) to ToolHandle by instance name.
Returns zero pointer if not found
Definition at line 472 of file GaudiHandle.h.
|
inline |
Get const pointer (!) to ToolHandle by instance name.
Returns zero pointer if not found
Definition at line 482 of file GaudiHandle.h.
|
inline |
Get const pointer (!) to ToolHandle by instance name.
Returns zero pointer if not found
Definition at line 482 of file GaudiHandle.h.
|
inlinevirtual |
Reimplemented in ToolHandleArray< T >, ToolHandleArray< T >, ServiceHandleArray< T >, and ServiceHandleArray< T >.
Definition at line 494 of file GaudiHandle.h.
|
inlinevirtual |
Reimplemented in ToolHandleArray< T >, ToolHandleArray< T >, ServiceHandleArray< T >, and ServiceHandleArray< T >.
Definition at line 494 of file GaudiHandle.h.
|
inline |
Definition at line 443 of file GaudiHandle.h.
|
inline |
Definition at line 443 of file GaudiHandle.h.
|
inline |
Release all tools.
Definition at line 512 of file GaudiHandle.h.
|
inline |
Release all tools.
Definition at line 512 of file GaudiHandle.h.
|
inline |
Definition at line 447 of file GaudiHandle.h.
|
inline |
Definition at line 447 of file GaudiHandle.h.
|
inline |
Retrieve all tools.
Definition at line 500 of file GaudiHandle.h.
|
inline |
Retrieve all tools.
Definition at line 500 of file GaudiHandle.h.
|
inline |
Definition at line 451 of file GaudiHandle.h.
|
inline |
Definition at line 451 of file GaudiHandle.h.
|
private |
Definition at line 528 of file GaudiHandle.h.