Belle II Software
release-08-01-10
|
Realizing a mapping from a pool of values to be cycled from the index. More...
#include <Mapping.h>
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. | |
Realizing a mapping from a pool of values to be cycled from the index.