![]() |
Belle II Software release-09-00-03
|
A mixin class to attach a name to an object. More...
#include <Named.h>


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. | |
A mixin class to attach a name to an object.
|
private |
|
inline |
Constructor taking the name and the desired value.
Definition at line 34 of file Named.h.
|
inline |
|
inline |
Comparison operator establishing an ordering considering the name and the object.
Definition at line 41 of file Named.h.
|
inline |