![]() |
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 130 of file IThinningHdlr.h.
|
private |
Definition at line 132 of file IThinningHdlr.h.
|
inline |
Definition at line 140 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 150 of file IThinningHdlr.h.
|
inlinevirtualinherited |
publish the type of underlying indexing (mapping or sequencing)
Reimplemented in Athena::IdcThinningHdlr< Container >.
Definition at line 57 of file IThinningHdlr.h.
|
inlinevirtual |
remove an element from the proxied DataVector
Implements Athena::IThinningHdlr.
Definition at line 147 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 162 of file IThinningHdlr.h.
|
private |
Vector holding the pointers to the elements of std::vector<T>, before any thinning took place.
Definition at line 136 of file IThinningHdlr.h.
|
private |
Definition at line 137 of file IThinningHdlr.h.
1.8.18