Belle II Software light-2406-ragdoll
|
Struct to replace indices based on a map-like container. More...
#include <RelationArray.h>
Public Member Functions | |
ReplaceMap (MapType &replace) | |
Set reference to used replacement map. | |
consolidation_type | operator() (index_type old) const |
Take old index and return the new index. | |
Private Attributes | |
MapType & | m_replace |
Reference of the used replacement map. | |
Struct to replace indices based on a map-like container.
Will keep old index if no replacement can be found
Definition at line 104 of file RelationArray.h.
|
inlineexplicit |
Set reference to used replacement map.
Definition at line 108 of file RelationArray.h.
|
inline |
Take old index and return the new index.
Definition at line 111 of file RelationArray.h.
|
private |
Reference of the used replacement map.
Definition at line 123 of file RelationArray.h.