Class for attaching a label to an object. More...
#include <utl/MultiObject.h>
Public Member Functions | |
int | GetLabel () const |
Return the label for the object. More... | |
LabeledObject (const int label, T &obj) | |
LabeledObject (const std::pair< int, T * > &pair) | |
bool | operator!= (const LabeledObject &lobj) const |
bool | operator== (const LabeledObject &lobj) const |
Protected Member Functions | |
T & | GetObject () |
const T & | GetObject () const |
Private Attributes | |
int | fLabel = 0 |
T * | fObject = nullptr |
Class for attaching a label to an object.
Definition at line 22 of file MultiObject.h.
|
inline |
Definition at line 25 of file MultiObject.h.
|
inline |
Definition at line 27 of file MultiObject.h.
|
inline |
Return the label for the object.
The label typically specifies the what signal component a utl::Trace or utl::TimeDistribution corresponds to
Definition at line 33 of file MultiObject.h.
|
inlineprotected |
Definition at line 42 of file MultiObject.h.
Referenced by utl::LabeledTabulatedFunction::GetTabulatedFunction(), and utl::LabeledTabulatedFunctionErrors::GetTabulatedFunctionErrors().
|
inlineprotected |
Definition at line 43 of file MultiObject.h.
|
inline |
Definition at line 38 of file MultiObject.h.
|
inline |
Definition at line 35 of file MultiObject.h.
Referenced by utl::LabeledObject< TabulatedFunction >::operator!=().
|
private |
Definition at line 46 of file MultiObject.h.
Referenced by utl::LabeledObject< TabulatedFunction >::GetLabel(), and utl::LabeledObject< TabulatedFunction >::operator==().
|
private |
Definition at line 47 of file MultiObject.h.
Referenced by utl::LabeledObject< TabulatedFunction >::GetObject(), and utl::LabeledObject< TabulatedFunction >::operator==().