Belle II Software  release-08-01-10
RelationArray::ReplaceMap< MapType > Class Template Reference

Struct to replace indices based on a map-like container. More...

#include <RelationArray.h>

Collaboration diagram for RelationArray::ReplaceMap< MapType >:

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.
 

Detailed Description

template<class MapType = std::map<index_type, consolidation_type>>
class Belle2::RelationArray::ReplaceMap< MapType >

Struct to replace indices based on a map-like container.

Will keep old index if no replacement can be found

See also
consolidate

Definition at line 104 of file RelationArray.h.


The documentation for this class was generated from the following file: