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

A mixin class to attach a name to an object. Based on class with same name in CDC package. More...

#include <Named.h>

Collaboration diagram for Named< T >:

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
 
getValue ()
 get the object
 

Protected Attributes

std::string m_name
 name associated with object m_value
 
m_value
 object to be associated with name
 

Detailed Description

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

A mixin class to attach a name to an object. Based on class with same name in CDC package.

Definition at line 21 of file Named.h.


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