Belle II Software  release-08-01-10
CycleMapping< T > Class Template Reference

Realizing a mapping from a pool of values to be cycled from the index. More...

#include <Mapping.h>

Inheritance diagram for CycleMapping< T >:
Collaboration diagram for CycleMapping< T >:

Public Member Functions

 CycleMapping (const std::vector< std::string > &values)
 Constructor receiving the values to be cycled.
 
std::string map (int index, T &t) override
 Return the a value from the cycle value according to the given inded.
 
std::string info () override
 Informal string summarizing the translation from the object to the attribute value.
 

Private Attributes

std::vector< std::string > m_values
 Memory for the attribute values to be cycled.
 

Detailed Description

template<class T>
class Belle2::TrackFindingCDC::CycleMapping< T >

Realizing a mapping from a pool of values to be cycled from the index.

Definition at line 73 of file Mapping.h.


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