Belle II Software development
|
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 a value from the cycle value according to the given index. | |
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.
|
inlineexplicit |
Constructor receiving the values to be cycled.
Definition at line 77 of file Mapping.h.
|
inlineoverridevirtual |
Informal string summarizing the translation from the object to the attribute value.
Reimplemented from Mapping< T >.
|
inlineoverridevirtual |
Return a value from the cycle value according to the given index.
Reimplemented from Mapping< T >.
|
private |