|
The Gnome Chemistry Utils
0.14.15
|
#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 |
Public Member Functions inherited from gcu::Value | |
| Value () | |
| virtual | ~Value () |
| gcu::SimpleValue::SimpleValue | ( | ) |
Default constructor
| gcu::SimpleValue::SimpleValue | ( | GcuValue | value | ) |
| value | a GcuValue to embed. |
Constructs a SimpleValue value.
|
virtual |
Default destructor
|
virtual |
Reimplemented from gcu::Value.
|
virtual |
Reimplemented from gcu::Value.
|
inline |
Definition at line 96 of file value.h.
References gcu::operator*().
| 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.8.12