Belle II Software  release-05-02-19
ConstantMapping< T > Class Template Reference

Realizing a mapping returning a constant attribute value regardless of object or position. More...

#include <Mapping.h>

Inheritance diagram for ConstantMapping< T >:
Collaboration diagram for ConstantMapping< T >:

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.
 

Detailed Description

template<class T>
class Belle2::TrackFindingCDC::ConstantMapping< T >

Realizing a mapping returning a constant attribute value regardless of object or position.

Definition at line 55 of file Mapping.h.


The documentation for this class was generated from the following file: