![]() |
Belle II Software
release-08-02-04
|
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.