#include <Metric.h>
Definition at line 28 of file Metric.h.
Public Member Functions | |
NumericResult () | |
NumericResult (int c) | |
NumericResult (float c) | |
NumericResult (long c) | |
NumericResult (unsigned c) | |
NumericResult (double c) | |
NumericResult (const std::string &c) | |
NumericResult (const NumericResult &n) | |
NumericResult & | operator= (const NumericResult &n) |
NumericResult & | operator= (const int n) |
NumericResult & | operator= (const unsigned n) |
NumericResult & | operator= (const long n) |
NumericResult & | operator= (const float n) |
NumericResult & | operator= (const double n) |
int | toInt () const |
float | toFloat () const |
long | toLong () const |
unsigned | toUnsigned () const |
double | toDouble () const |
std::string | toString () const |
Private Attributes | |
std::string | container |
NumericResult::NumericResult | ( | int | c | ) | [inline] |
NumericResult::NumericResult | ( | float | c | ) | [inline] |
NumericResult::NumericResult | ( | long | c | ) | [inline] |
NumericResult::NumericResult | ( | unsigned | c | ) | [inline] |
NumericResult::NumericResult | ( | double | c | ) | [inline] |
NumericResult::NumericResult | ( | const std::string & | c | ) | [inline] |
NumericResult::NumericResult | ( | const NumericResult & | n | ) | [inline] |
NumericResult& NumericResult::operator= | ( | const NumericResult & | n | ) | [inline] |
NumericResult& NumericResult::operator= | ( | const int | n | ) | [inline] |
NumericResult& NumericResult::operator= | ( | const unsigned | n | ) | [inline] |
NumericResult& NumericResult::operator= | ( | const long | n | ) | [inline] |
NumericResult& NumericResult::operator= | ( | const float | n | ) | [inline] |
NumericResult& NumericResult::operator= | ( | const double | n | ) | [inline] |
int NumericResult::toInt | ( | ) | const [inline] |
float NumericResult::toFloat | ( | ) | const [inline] |
long NumericResult::toLong | ( | ) | const [inline] |
unsigned NumericResult::toUnsigned | ( | ) | const [inline] |
double NumericResult::toDouble | ( | ) | const [inline] |
std::string NumericResult::toString | ( | ) | const [inline] |
Definition at line 74 of file Metric.h.
References container.
Referenced by operator<<().
00074 { 00075 return container; 00076 }
std::string NumericResult::container [private] |
Definition at line 30 of file Metric.h.
Referenced by NumericResult(), operator=(), toDouble(), toFloat(), toInt(), toLong(), toString(), and toUnsigned().