gcu::SimpleValue Class Reference
#include <gcu/value.h>
List of all members.
Detailed Description
Used to store adimensional data.
Definition at line 65 of file value.h.
Constructor & Destructor Documentation
gcu::SimpleValue::SimpleValue |
( |
|
) |
|
gcu::SimpleValue::SimpleValue |
( |
GcuValue |
value |
) |
|
virtual gcu::SimpleValue::~SimpleValue |
( |
|
) |
[virtual] |
Member Function Documentation
double gcu::SimpleValue::GetAsDouble |
( |
|
) |
const [virtual] |
- Returns:
- the embedded value.
Reimplemented from gcu::Value.
char const* gcu::SimpleValue::GetAsString |
( |
|
) |
const [virtual] |
- Returns:
- the literal representation of the embedded adimensional data
Reimplemented from gcu::Value.
GcuValue const gcu::SimpleValue::GetValue |
( |
|
) |
[inline] |
SimpleValue gcu::SimpleValue::operator* |
( |
int |
n |
) |
const |
- Parameters:
-
| n | the number used to multiply. |
Multiplies
this by
n.
- Returns:
- the result of the multiplication.
- Parameters:
-
Adds two values.
- Returns:
- the result of the addition.
The documentation for this class was generated from the following file: