ATLAS Offline Software
|
Base class holding the container independent part of ElementLinkVector. More...
#include <ElementLinkVectorBase.h>
Public Member Functions | |
ElementLinkVectorBase (const std::vector< uint32_t > &keys=std::vector< uint32_t >(), const std::vector< uint32_t > &indices=std::vector< uint32_t >()) | |
Default constructor. More... | |
virtual | ~ElementLinkVectorBase () |
Virtual destructor, to make vtable happy... More... | |
const std::vector< uint32_t > & | persKeys () const |
Get the keys/identifiers of the referenced containers. More... | |
void | setPersKeys (const std::vector< uint32_t > &keys) |
Set the keys/identifiers of the referenced containers. More... | |
const std::vector< uint32_t > & | persIndices () const |
Get the indices of the referenced objects in the containers. More... | |
void | setPersIndices (const std::vector< uint32_t > &indices) |
Set the indices of the referenced objects in the containers. More... | |
virtual bool | toTransient ()=0 |
Reset the object's internal cache. More... | |
ElementLinkVectorBase (const std::vector< uint32_t > &keys=std::vector< uint32_t >(), const std::vector< uint32_t > &indices=std::vector< uint32_t >()) | |
Default constructor. More... | |
virtual | ~ElementLinkVectorBase () |
Virtual destructor, to make vtable happy... More... | |
const std::vector< uint32_t > & | persKeys () const |
Get the keys/identifiers of the referenced containers. More... | |
void | setPersKeys (const std::vector< uint32_t > &keys) |
Set the keys/identifiers of the referenced containers. More... | |
const std::vector< uint32_t > & | persIndices () const |
Get the indices of the referenced objects in the containers. More... | |
void | setPersIndices (const std::vector< uint32_t > &indices) |
Set the indices of the referenced objects in the containers. More... | |
virtual bool | toTransient ()=0 |
Reset the object's internal cache. More... | |
Protected Attributes | |
std::vector< uint32_t > | m_persKeys |
Keys/identifiers of the referenced containers. More... | |
std::vector< uint32_t > | m_persIndices |
Indices of the referenced objects in the containers. More... | |
bool | m_isDirectIO |
A transient variable signaling when direct I/O is happening. More... | |
Base class holding the container independent part of ElementLinkVector.
This class holds the ROOT persistifiable part of the ElementLinkVector<T> class. In the simplest form imaginable.
This class holds the ROOT persistifiable part of the ElementLinkVector<T> class. In the simplest form imaginable.
Definition at line 28 of file AthLinks/ElementLinkVectorBase.h.
ElementLinkVectorBase::ElementLinkVectorBase | ( | const std::vector< uint32_t > & | keys = std::vector< uint32_t >() , |
const std::vector< uint32_t > & | indices = std::vector< uint32_t >() |
||
) |
Default constructor.
Definition at line 10 of file src/ElementLinkVectorBase.cxx.
|
inlinevirtual |
Virtual destructor, to make vtable happy...
Definition at line 37 of file AthLinks/ElementLinkVectorBase.h.
ElementLinkVectorBase::ElementLinkVectorBase | ( | const std::vector< uint32_t > & | keys = std::vector< uint32_t >() , |
const std::vector< uint32_t > & | indices = std::vector< uint32_t >() |
||
) |
Default constructor.
|
inlinevirtual |
Virtual destructor, to make vtable happy...
Definition at line 34 of file A/AthLinks/ElementLinkVectorBase.h.
const std::vector< uint32_t >& ElementLinkVectorBase::persIndices | ( | ) | const |
Get the indices of the referenced objects in the containers.
const std::vector< uint32_t > & ElementLinkVectorBase::persIndices | ( | ) | const |
Get the indices of the referenced objects in the containers.
Definition at line 29 of file src/ElementLinkVectorBase.cxx.
const std::vector< uint32_t >& ElementLinkVectorBase::persKeys | ( | ) | const |
Get the keys/identifiers of the referenced containers.
const std::vector< uint32_t > & ElementLinkVectorBase::persKeys | ( | ) | const |
Get the keys/identifiers of the referenced containers.
Definition at line 17 of file src/ElementLinkVectorBase.cxx.
void ElementLinkVectorBase::setPersIndices | ( | const std::vector< uint32_t > & | indices | ) |
Set the indices of the referenced objects in the containers.
void ElementLinkVectorBase::setPersIndices | ( | const std::vector< uint32_t > & | indices | ) |
Set the indices of the referenced objects in the containers.
Definition at line 35 of file src/ElementLinkVectorBase.cxx.
void ElementLinkVectorBase::setPersKeys | ( | const std::vector< uint32_t > & | keys | ) |
Set the keys/identifiers of the referenced containers.
void ElementLinkVectorBase::setPersKeys | ( | const std::vector< uint32_t > & | keys | ) |
Set the keys/identifiers of the referenced containers.
Definition at line 23 of file src/ElementLinkVectorBase.cxx.
|
pure virtual |
Reset the object's internal cache.
|
pure virtual |
Reset the object's internal cache.
|
protected |
A transient variable signaling when direct I/O is happening.
A transient variable signalling when direct I/O is happening.
This flag is used exclusively by the ElementLinkVector<>::toTransient() function to know when it should take the persistent data stored in this object into account. That function is called in normal P->T conversions as well, in which case using the data from this class would just reset the object to its default state.
Definition at line 66 of file AthLinks/ElementLinkVectorBase.h.
|
protected |
Indices of the referenced objects in the containers.
Definition at line 56 of file AthLinks/ElementLinkVectorBase.h.
|
protected |
Keys/identifiers of the referenced containers.
Definition at line 54 of file AthLinks/ElementLinkVectorBase.h.