Belle II Software development
|
Struct to replace indices based on a sequential container. More...
#include <RelationArray.h>
Public Member Functions | |
ReplaceVec (VecType &replace) | |
Set reference to used replacement vector. | |
consolidation_type | operator() (index_type old) const |
Take old index and return the new index. | |
Private Attributes | |
VecType & | m_replace |
Reference of the used replacement vector. | |
Struct to replace indices based on a sequential container.
No range check is performed so make sure all indices are mapped
Definition at line 132 of file RelationArray.h.
|
inlineexplicit |
Set reference to used replacement vector.
Definition at line 136 of file RelationArray.h.
|
inline |
|
private |
Reference of the used replacement vector.
Definition at line 144 of file RelationArray.h.