10#include <tracking/trackFindingCDC/utilities/Scalar.h>
19 namespace TrackFindingCDC {
23 class Named :
public ScalarToClass<T> {
34 Named(
const std::string& name, T t)
46 const T& otherT(other);
A mixin class to attach a name to an object.
ScalarToClass< T > Super
Type of the base class.
std::string getName() const
Getter for the name.
void setName(const std::string &name)
Setter for the name of the object.
std::string m_name
Memory for the name.
bool operator<(const Named< T > &other) const
Comparison operator establishing an ordering considering the name and the object.
Named(const std::string &name, T t)
Constructor taking the name and the desired value.
Abstract base class for different kinds of events.