EMANE
1.2.1
|
A non-numeric statistic can be a std::string or an INETAddr. More...
#include <statisticnonnumeric.h>
Public Member Functions | |
~StatisticNonNumeric () | |
StatisticNonNumeric< T > & | operator= (const T &value) |
T | get () const |
Any | asAny () const override |
void | clear () override |
A non-numeric statistic can be a std::string or an INETAddr.
Definition at line 53 of file statisticnonnumeric.h.
EMANE::StatisticNonNumeric< T >::~StatisticNonNumeric | ( | ) |
Destroys a statistic instance
Definition at line 38 of file statisticnonnumeric.inl.
|
overridevirtual |
Converts the current statistic value to an Any
AnyExpception | on conversion failure |
Implements EMANE::Statistic.
Definition at line 57 of file statisticnonnumeric.inl.
|
overridevirtual |
Clears the statistic value
Implements EMANE::Statistic.
Definition at line 64 of file statisticnonnumeric.inl.
T EMANE::StatisticNonNumeric< T >::get | ( | ) | const |
Gets the current statistic value
Definition at line 50 of file statisticnonnumeric.inl.
EMANE::StatisticNonNumeric< T > & EMANE::StatisticNonNumeric< T >::operator= | ( | const T & | value | ) |
Definition at line 42 of file statisticnonnumeric.inl.