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

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 45 of file Mapping.h.


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