|
The Gnome Chemistry Utils 0.12.8
|
#include <gcu/value.h>
Public Member Functions | |
| SimpleValue () | |
| SimpleValue (GcuValue value) | |
| virtual | ~SimpleValue () |
| char const * | GetAsString () const |
| double | GetAsDouble () const |
| GcuValue const | GetValue () |
| SimpleValue | operator+ (SimpleValue const &value) const |
| SimpleValue | operator* (int n) const |
| gcu::SimpleValue::SimpleValue | ( | ) |
Default constructor
| gcu::SimpleValue::SimpleValue | ( | GcuValue | value | ) |
| value | a GcuValue to embed. |
Constructs a SimpleValue value.
| virtual gcu::SimpleValue::~SimpleValue | ( | ) | [virtual] |
Default destructor
| double gcu::SimpleValue::GetAsDouble | ( | ) | const [virtual] |
Reimplemented from gcu::Value.
| char const* gcu::SimpleValue::GetAsString | ( | ) | const [virtual] |
Reimplemented from gcu::Value.
| GcuValue const gcu::SimpleValue::GetValue | ( | ) | [inline] |
| SimpleValue gcu::SimpleValue::operator* | ( | int | n | ) | const |
| n | the number used to multiply. |
Multiplies this by n.
| SimpleValue gcu::SimpleValue::operator+ | ( | SimpleValue const & | value | ) | const |
| value | the value to add. |
Adds two values.
1.7.4