Belle II Software  release-08-01-10
Named< T > Class Template Reference

A mixin class to attach a name to an object. More...

#include <Named.h>

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

Public Member Functions

 Named (const std::string &name, T t)
 Constructor taking the name and the desired value.
 
bool operator< (const Named< T > &other) const
 Comparison operator establishing an ordering considering the name and the object.
 
std::string getName () const
 Getter for the name.
 
void setName (const std::string &name)
 Setter for the name of the object.
 

Private Types

using Super = ScalarToClass< T >
 Type of the base class.
 

Private Attributes

std::string m_name = ""
 Memory for the name.
 

Detailed Description

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

A mixin class to attach a name to an object.

Definition at line 23 of file Named.h.


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