![]() |
Belle II Software
release-08-02-04
|
A mixin class to attach a name to an object. Based on class with same name in CDC package. More...
#include <Named.h>

Public Member Functions | |
| Named (const std::string &name, T value) | |
| Constructor taking the name and the desired value. | |
| std::string | getName () const |
| get name of the object | |
| void | setName (const std::string &name) |
| set name of the object | |
| T | getValue () |
| get the object | |
Protected Attributes | |
| std::string | m_name |
| name associated with object m_value | |
| T | m_value |
| object to be associated with name | |
A mixin class to attach a name to an object. Based on class with same name in CDC package.