ATLAS Offline Software
|
Handle DataProxy
holding DataVector
. This class defines a (type-safe) protocol to pack and unpack thinned DataVector
.
More...
#include <IThinningHdlr.h>
Public Member Functions | |
DvThinningHdlr (const Container &c) | |
void | remove (const std::size_t idx) |
remove an element from the proxied DataVector More... | |
void | commit () |
pack the proxied collection This is needed in order to keep element link indices consistent and T/P converters unchanged. More... | |
void | rollback () |
unpack the proxied DataVector ie: restore it as it was before any thinning took place More... | |
virtual bool | isMapping () const |
publish the type of underlying indexing (mapping or sequencing) More... | |
Private Types | |
typedef Container::PtrVector | PtrVector |
Private Attributes | |
const PtrVector | m_backup |
Vector holding the pointers to the elements of DataVector , before any thinning took place. More... | |
PtrVector & | m_container |
Handle DataProxy
holding DataVector
. This class defines a (type-safe) protocol to pack and unpack thinned DataVector
.
This is not MT-safe!
Definition at line 81 of file IThinningHdlr.h.
|
private |
Definition at line 83 of file IThinningHdlr.h.
|
inline |
Definition at line 91 of file IThinningHdlr.h.
|
inlinevirtual |
pack the proxied collection This is needed in order to keep element link indices consistent and T/P converters unchanged.
Implements Athena::IThinningHdlr.
Definition at line 101 of file IThinningHdlr.h.
|
inlinevirtualinherited |
publish the type of underlying indexing (mapping or sequencing)
Reimplemented in Athena::IdcThinningHdlr< Container >.
Definition at line 58 of file IThinningHdlr.h.
|
inlinevirtual |
remove an element from the proxied DataVector
Implements Athena::IThinningHdlr.
Definition at line 98 of file IThinningHdlr.h.
|
inlinevirtual |
unpack the proxied DataVector
ie: restore it as it was before any thinning took place
Implements Athena::IThinningHdlr.
Definition at line 113 of file IThinningHdlr.h.
|
private |
Vector holding the pointers to the elements of DataVector
, before any thinning took place.
Definition at line 87 of file IThinningHdlr.h.
|
private |
Definition at line 88 of file IThinningHdlr.h.