Belle II Software development
|
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.
|
inlineexplicit |
Constructor receiving the constant value.
Definition at line 49 of file Mapping.h.
|
inlineoverridevirtual |
Informal string summarizing the translation from the object to the attribute value.
Reimplemented from Mapping< T >.
|
inlineoverridevirtual |
Return the constant value.
Reimplemented from Mapping< T >.
|
private |