

Public Types | |
| enum | Type { NONE, BOOLEAN, INTEGER, DOUBLE, STRING, VECTOR, MATRIX, MAP, NULLL } |
Public Member Functions | |
| Value () | |
| Value (const Value &) | |
| virtual Value & | operator= (const Value &) |
| virtual | ~Value () |
| virtual Type | getType () const =0 |
| virtual Value * | clone () const |
| virtual bool | isSimple () const =0 |
| virtual bool | isCompound () const =0 |
| virtual void | writeToStream (std::ostream &OutStm) const =0 |
| 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 |
Static Public Member Functions | |
| static bool | getValueTypeFromString (const std::string ValueTypeString, Value::Type &ValueType) |
| static std::string | getStringFromValueType (const Value::Type ValueType) |
Friends | |
| std::ostream & | operator<< (std::ostream &OutStm, const Value &Val) |
| openfluid::core::Value::Value | ( | ) | [inline] |
Default constructor
| openfluid::core::Value::Value | ( | const Value & | ) | [inline] |
Copy constructor
| virtual openfluid::core::Value::~Value | ( | ) | [inline, virtual] |
| const BooleanValue& openfluid::core::Value::asBooleanValue | ( | ) | const |
| const DoubleValue& openfluid::core::Value::asDoubleValue | ( | ) | const |
| const IntegerValue& openfluid::core::Value::asIntegerValue | ( | ) | const |
| const MapValue& openfluid::core::Value::asMapValue | ( | ) | const |
| const MatrixValue& openfluid::core::Value::asMatrixValue | ( | ) | const |
| const NullValue& openfluid::core::Value::asNullValue | ( | ) | const |
| const StringValue& openfluid::core::Value::asStringValue | ( | ) | const |
| const VectorValue& openfluid::core::Value::asVectorValue | ( | ) | const |
| virtual Value* openfluid::core::Value::clone | ( | ) | const [inline, virtual] |
| static std::string openfluid::core::Value::getStringFromValueType | ( | const Value::Type | ValueType | ) | [static] |
| virtual Type openfluid::core::Value::getType | ( | ) | const [pure virtual] |
| static bool openfluid::core::Value::getValueTypeFromString | ( | const std::string | ValueTypeString, |
| Value::Type & | ValueType | ||
| ) | [static] |
| bool openfluid::core::Value::isBooleanValue | ( | ) | const [inline] |
Returns true if the Value is a BooleanValue
| virtual bool openfluid::core::Value::isCompound | ( | ) | const [inline, pure virtual] |
Implemented in openfluid::core::NullValue, openfluid::core::CompoundValue, and openfluid::core::SimpleValue.
| bool openfluid::core::Value::isDoubleValue | ( | ) | const [inline] |
Returns true if the Value is a DoubleValue
| bool openfluid::core::Value::isIntegerValue | ( | ) | const [inline] |
Returns true if the Value is an IntegerValue
| bool openfluid::core::Value::isMapValue | ( | ) | const [inline] |
| bool openfluid::core::Value::isMatrixValue | ( | ) | const [inline] |
Returns true if the Value is a MatrixValue
| bool openfluid::core::Value::isNullValue | ( | ) | const [inline] |
| virtual bool openfluid::core::Value::isSimple | ( | ) | const [inline, pure virtual] |
Implemented in openfluid::core::NullValue, openfluid::core::CompoundValue, and openfluid::core::SimpleValue.
| bool openfluid::core::Value::isStringValue | ( | ) | const [inline] |
Returns true if the Value is a StringValue
| bool openfluid::core::Value::isVectorValue | ( | ) | const [inline] |
Returns true if the Value is a VectorValue
Assignment operator
Reimplemented in openfluid::core::MapValue, openfluid::core::VectorValue, openfluid::core::MatrixValue, openfluid::core::IntegerValue, openfluid::core::BooleanValue, openfluid::core::DoubleValue, and openfluid::core::StringValue.
| std::string openfluid::core::Value::toString | ( | ) | const |
Returns the contained value as a string
| virtual void openfluid::core::Value::writeToStream | ( | std::ostream & | OutStm | ) | const [pure virtual] |
| std::ostream& operator<< | ( | std::ostream & | OutStm, |
| const Value & | Val | ||
| ) | [friend] |
Creative Commons By-NC-ND license