![]() |
Belle II Software
release-05-01-25
|
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 __attribute__((unused))) 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. | |
virtual std::string | map (int index __attribute__((unused)), T &t __attribute__((unused))) |
Main function returning an attribute value for an object at the given index. | |
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.