#include <clasp_facade.h>
Public Types | |
enum | Error { error_none = 0, error_unknown_quantity = 1, error_ambiguous_quantity = 2, error_not_available = 3 } |
Public Member Functions | |
Error | error () const |
ExpectedQuantity (double d) | |
ExpectedQuantity (uint32 x) | |
ExpectedQuantity (uint64 x) | |
ExpectedQuantity (const void *x) | |
ExpectedQuantity (Error e) | |
operator double () const | |
bool | valid () const |
Public Attributes | |
double | rep |
A (positive) numeric value.
Definition at line 93 of file clasp_facade.h.
Definition at line 94 of file clasp_facade.h.
Clasp::ExpectedQuantity::ExpectedQuantity | ( | double | d | ) |
Definition at line 471 of file clasp_facade.cpp.
Clasp::ExpectedQuantity::ExpectedQuantity | ( | uint32 | x | ) | [inline] |
Definition at line 96 of file clasp_facade.h.
Clasp::ExpectedQuantity::ExpectedQuantity | ( | uint64 | x | ) | [inline] |
Definition at line 97 of file clasp_facade.h.
Clasp::ExpectedQuantity::ExpectedQuantity | ( | const void * | x | ) | [inline, explicit] |
Definition at line 98 of file clasp_facade.h.
Definition at line 476 of file clasp_facade.cpp.
Definition at line 472 of file clasp_facade.cpp.
Clasp::ExpectedQuantity::operator double | ( | ) | const |
Definition at line 477 of file clasp_facade.cpp.
bool Clasp::ExpectedQuantity::valid | ( | ) | const [inline] |
Definition at line 100 of file clasp_facade.h.
double Clasp::ExpectedQuantity::rep |
Definition at line 103 of file clasp_facade.h.