ATLAS Offline Software
|
a short ref to an ElementLink into an ElementLinkVector. Used to be an internal class of ElementLinkVector. Had to pull out because of brain-damaged pool converters More...
#include <SGELVRef.h>
Public Types | |
typedef std::vector< DataLink< DOBJ > > | DataLinkVector |
typedef ElementLinkVector< DOBJ > | ElemLinkVec |
typedef ElementLink< DOBJ > | ElemLink |
typedef ElemLink::IndexingPolicy | IndexingPolicy |
typedef ElemLink::ElementConstPointer | ElementConstPointer |
typedef ElemLink::index_type | index_type |
typedef ElemLink::stored_index_type | stored_index_type |
typedef ElemLink::ID_type | ID_type |
Public Member Functions | |
ELVRef (const ELVRef &rhs) | |
STL required. More... | |
ELVRef & | operator= (const ELVRef &rhs) |
STL required. More... | |
ELVRef (const ElemLink &link=ElemLink()) | |
standard constructor More... | |
ELVRef (typename DataLinkVector::size_type hostIndex, index_type elementIndex, const ElemLinkVec &owner) | |
Constructor from indices. More... | |
ID_type | dataID () const |
dataID of the host More... | |
index_type | elementIndex () const |
index into container (non-const, calculates and sets on demand): More... | |
ElementConstPointer | cptr () const |
element pointer in ElementLink More... | |
const ElemLink & | elementLink () const |
get the corresponding ElementLink. O(1) More... | |
comparison ops (STL required) | |
ElemLink | m_link |
DataLinkVector::size_type | m_shortRef |
! the element pointer More... | |
stored_index_type | m_index |
! index of the host dobj More... | |
bool | operator== (const ELVRef &rhs) const |
bool | operator< (const ELVRef &rhs) const |
bool | toPersistent (const ElemLinkVec &owner) |
called by handlers to change state: More... | |
bool | toPersistent (const ElemLinkVec &owner, typename DataLinkVector::size_type &shortref) |
bool | toTransient (const ElemLinkVec &owner) |
bool | doRemap () |
const stored_index_type & | index () const |
a short ref to an ElementLink into an ElementLinkVector. Used to be an internal class of ElementLinkVector. Had to pull out because of brain-damaged pool converters
Definition at line 29 of file SGELVRef.h.
typedef std::vector< DataLink<DOBJ> > SG::ELVRef< DOBJ >::DataLinkVector |
Definition at line 32 of file SGELVRef.h.
typedef ElemLink::ElementConstPointer SG::ELVRef< DOBJ >::ElementConstPointer |
Definition at line 36 of file SGELVRef.h.
typedef ElementLink<DOBJ> SG::ELVRef< DOBJ >::ElemLink |
Definition at line 34 of file SGELVRef.h.
typedef ElementLinkVector<DOBJ> SG::ELVRef< DOBJ >::ElemLinkVec |
Definition at line 33 of file SGELVRef.h.
typedef ElemLink::ID_type SG::ELVRef< DOBJ >::ID_type |
Definition at line 39 of file SGELVRef.h.
typedef ElemLink::index_type SG::ELVRef< DOBJ >::index_type |
Definition at line 37 of file SGELVRef.h.
typedef ElemLink::IndexingPolicy SG::ELVRef< DOBJ >::IndexingPolicy |
Definition at line 35 of file SGELVRef.h.
typedef ElemLink::stored_index_type SG::ELVRef< DOBJ >::stored_index_type |
Definition at line 38 of file SGELVRef.h.
SG::ELVRef< DOBJ >::ELVRef | ( | const ELVRef< DOBJ > & | rhs | ) |
STL required.
SG::ELVRef< DOBJ >::ELVRef | ( | const ElemLink & | link = ElemLink() | ) |
standard constructor
SG::ELVRef< DOBJ >::ELVRef | ( | typename DataLinkVector::size_type | hostIndex, |
index_type | elementIndex, | ||
const ElemLinkVec & | owner | ||
) |
Constructor from indices.
|
inline |
element pointer in ElementLink
Definition at line 56 of file SGELVRef.h.
ID_type SG::ELVRef< DOBJ >::dataID | ( | ) | const |
dataID of the host
bool SG::ELVRef< DOBJ >::doRemap | ( | ) |
index_type SG::ELVRef< DOBJ >::elementIndex | ( | ) | const |
index into container (non-const, calculates and sets on demand):
|
inline |
|
inline |
Definition at line 79 of file SGELVRef.h.
|
inline |
Definition at line 66 of file SGELVRef.h.
ELVRef& SG::ELVRef< DOBJ >::operator= | ( | const ELVRef< DOBJ > & | rhs | ) |
STL required.
|
inline |
Definition at line 63 of file SGELVRef.h.
bool SG::ELVRef< DOBJ >::toPersistent | ( | const ElemLinkVec & | owner | ) |
called by handlers to change state:
bool SG::ELVRef< DOBJ >::toPersistent | ( | const ElemLinkVec & | owner, |
typename DataLinkVector::size_type & | shortref | ||
) |
bool SG::ELVRef< DOBJ >::toTransient | ( | const ElemLinkVec & | owner | ) |
|
private |
! index of the host dobj
Definition at line 92 of file SGELVRef.h.
|
private |
Definition at line 87 of file SGELVRef.h.
|
private |
! the element pointer
Definition at line 90 of file SGELVRef.h.