![]() |
The Gaudi Framework
master (01b473db)
|
Kernel objects: SmartRefVector. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/SmartRefVector.h>
Public Member Functions | |
SmartRefVector () | |
template<class ITERATOR > | |
SmartRefVector (ITERATOR first, ITERATOR last) | |
SmartRefVector (const SmartRefVector ©) | |
SmartRefVector< TYPE > & | operator() (ContainedObject *pObj) |
operator(): assigns parent object for serialisation More... | |
const SmartRefVector< TYPE > & | operator() (const ContainedObject *pObj) const |
operator() const: assigns parent object for serialisation More... | |
SmartRefVector< TYPE > & | operator() (DataObject *pObj) |
operator(): assigns parent object for serialisation More... | |
const SmartRefVector< TYPE > & | operator() (const DataObject *pObj) const |
operator() const: assigns parent object for serialisation More... | |
SmartRefVector< TYPE > & | operator= (const SmartRefVector< TYPE > ©) |
Assignment. More... | |
const std::type_info * | type () const |
Access to embedded type. More... | |
StreamBuffer & | readRefs (StreamBuffer &s) |
Helper to read references. More... | |
StreamBuffer & | writeRefs (StreamBuffer &s) const |
Helper to write references. More... | |
Protected Types | |
typedef SmartRef< TYPE > | _Entry |
That's the type of crap I am hosting. More... | |
typedef std::vector< _Entry > | _Base |
Object types: typedef myself as Base. More... | |
typedef std::vector< _Entry >::const_iterator | _BaseConstIter |
typedef std::vector< _Entry >::value_type | _BaseValueType |
Protected Member Functions | |
void | _setEnvironment (const DataObject *pObj, const ContainedObject *pContd) const |
Set the environment for the vector and all contained objects references. More... | |
Protected Attributes | |
const DataObject * | m_data |
Object data: Pointer to the identifiable object the link originates. More... | |
const ContainedObject * | m_contd |
Object data: Pointer to the Contained object (if applicable) More... | |
Friends | |
StreamBuffer & | operator<< (StreamBuffer &_s, const SmartRefVector< TYPE > &ptr) |
Output Streamer operator. More... | |
StreamBuffer & | operator>> (StreamBuffer &_s, SmartRefVector< TYPE > &ptr) |
Input Streamer operator. More... | |
Additional Inherited Members | |
![]() | |
static void | __cppyy_pythonize__ (PyObject *klass, const std::string &name) |
Kernel objects: SmartRefVector.
Description: The SmartRefVector class allows transparent handling of multiple object links within the data store. Links are unloaded a priori and will only be loaded "on demand", i.e. when dereferenced.
SmartRefVectors should behave in the same way as normal vectors of pointers;
Using SmartRefVectors the environment of the vector is automatically propagated to each contained reference.
In order to speed things up, an attempt was made to avoid any virtual functions.
Base Class: STL vector
Dependencies:
History :
+---------+----------------------------------------------+--------+ | Date | Comment | Who | +---------+----------------------------------------------+--------+ | 12/07/99| Initial version. | MF | +---------+----------------------------------------------+--------+
Author: M.Frank Version: 1.0
Definition at line 66 of file SmartRefVector.h.
|
protected |
Object types: typedef myself as Base.
Definition at line 71 of file SmartRefVector.h.
|
protected |
Definition at line 72 of file SmartRefVector.h.
|
protected |
Definition at line 73 of file SmartRefVector.h.
|
protected |
That's the type of crap I am hosting.
Definition at line 69 of file SmartRefVector.h.
|
inline |
Definition at line 90 of file SmartRefVector.h.
|
inline |
Definition at line 95 of file SmartRefVector.h.
|
inline |
Definition at line 97 of file SmartRefVector.h.
|
inlineprotected |
Set the environment for the vector and all contained objects references.
Definition at line 81 of file SmartRefVector.h.
|
inline |
operator() const: assigns parent object for serialisation
Definition at line 105 of file SmartRefVector.h.
|
inline |
operator() const: assigns parent object for serialisation
Definition at line 115 of file SmartRefVector.h.
|
inline |
operator(): assigns parent object for serialisation
Definition at line 100 of file SmartRefVector.h.
|
inline |
operator(): assigns parent object for serialisation
Definition at line 110 of file SmartRefVector.h.
|
inline |
Assignment.
Definition at line 120 of file SmartRefVector.h.
|
inline |
|
inline |
Access to embedded type.
Definition at line 131 of file SmartRefVector.h.
|
inline |
|
friend |
|
friend |
|
mutableprotected |
Object data: Pointer to the Contained object (if applicable)
Definition at line 78 of file SmartRefVector.h.
|
mutableprotected |
Object data: Pointer to the identifiable object the link originates.
Definition at line 76 of file SmartRefVector.h.