ATLAS Offline Software
|
Handle DataProxy
holding std::vector<T>
This class defines a (type-safe) protocol to pack and unpack thinned DataVector
.
More...
#include <IThinningHdlr.h>
Public Member Functions | |
StdThinningHdlr (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 | Vector_t |
Private Attributes | |
const Vector_t | m_backup |
Vector holding the pointers to the elements of std::vector<T> , before any thinning took place. More... | |
Vector_t & | m_container |
Handle DataProxy
holding std::vector<T>
This class defines a (type-safe) protocol to pack and unpack thinned DataVector
.
This is not MT-safe!
Definition at line 131 of file IThinningHdlr.h.
|
private |
Definition at line 133 of file IThinningHdlr.h.
|
inline |
Definition at line 141 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 151 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 148 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 163 of file IThinningHdlr.h.
|
private |
Vector holding the pointers to the elements of std::vector<T>
, before any thinning took place.
Definition at line 137 of file IThinningHdlr.h.
|
private |
Definition at line 138 of file IThinningHdlr.h.