
#include <core/IntegerValue.hpp>
Public Member Functions | |
| IntegerValue () | |
| IntegerValue (const IntegerValue &Val) | |
| IntegerValue (const long &POD) | |
| Value & | operator= (const Value &Other) |
| operator long () const | |
| virtual | ~IntegerValue () |
| Type | getType () const |
| Value * | clone () const |
| long & | get () |
| const long & | get () const |
| void | set (const long &Val) |
| void | writeToStream (std::ostream &OutStm) const |
Public Member Functions inherited from openfluid::core::SimpleValue | |
| bool | isSimple () const |
| bool | isCompound () const |
Public Member Functions inherited from openfluid::core::Value | |
| Value () | |
| Value (const Value &) | |
| virtual | ~Value () |
| bool | isDoubleValue () const |
| const DoubleValue & | asDoubleValue () const |
| DoubleValue & | asDoubleValue () |
| bool | isIntegerValue () const |
| const IntegerValue & | asIntegerValue () const |
| IntegerValue & | asIntegerValue () |
| bool | isBooleanValue () const |
| const BooleanValue & | asBooleanValue () const |
| BooleanValue & | asBooleanValue () |
| bool | isStringValue () const |
| const StringValue & | asStringValue () const |
| StringValue & | asStringValue () |
| bool | isNullValue () const |
| const NullValue & | asNullValue () const |
| NullValue & | asNullValue () |
| bool | isVectorValue () const |
| const VectorValue & | asVectorValue () const |
| VectorValue & | asVectorValue () |
| bool | isMatrixValue () const |
| const MatrixValue & | asMatrixValue () const |
| MatrixValue & | asMatrixValue () |
| bool | isMapValue () const |
| const MapValue & | asMapValue () const |
| MapValue & | asMapValue () |
| std::string | toString () const |
Additional Inherited Members | |
Public Types inherited from openfluid::core::Value | |
| enum | Type { NONE, BOOLEAN, INTEGER, DOUBLE, STRING, VECTOR, MATRIX, MAP, NULLL } |
Static Public Member Functions inherited from openfluid::core::Value | |
| static bool | getValueTypeFromString (const std::string ValueTypeString, Value::Type &ValueType) |
| static std::string | getStringFromValueType (const Value::Type ValueType) |
IntegerValue is a container for a signed long integer value.
Example : declaration
Example : getting the contained value
Example : setting the contained value
Example : conversion from string
Example : conversion to string
|
inline |
Default constructor
|
inline |
Copy constructor
|
inline |
Constructor from plain old type
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from openfluid::core::Value.
|
inline |
Returns the integer value as plain old type
|
inline |
Returns the integer value as a const plain old type
|
inlinevirtual |
Implements openfluid::core::Value.
|
inline |
Cast operator
Assignment operator
Reimplemented from openfluid::core::Value.
|
inline |
Sets the plain old type long integer value
| [in] | Val | the long integer value |
|
virtual |
Implements openfluid::core::Value.
1.8.6