![]() |
Belle II Software
release-05-02-19
|
Realizing a mapping returning a constant attribute value regardless of object or position. More...
#include <Mapping.h>
Public Member Functions | |
ConstantMapping (const std::string &value) | |
Constructor receiving the constant value. | |
std::string | map (int index __attribute__((unused)), T &t __attribute__((unused))) override |
Return the constant value. | |
std::string | info () override |
Informal string summarizing the translation from the object to the attribute value. | |
Private Attributes | |
std::string | m_value |
Memory for the returned attribute value. | |
Realizing a mapping returning a constant attribute value regardless of object or position.