Belle II Software
release-08-01-10
|
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, T &t) 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.