Public Member Functions | List of all members
openfluid::core::SimpleValue Class Reference

#include <core/SimpleValue.hpp>

Inheritance diagram for openfluid::core::SimpleValue:
Inheritance graph
[legend]
Collaboration diagram for openfluid::core::SimpleValue:
Collaboration graph
[legend]

Public Member Functions

 SimpleValue ()
 
virtual ~SimpleValue ()
 
bool isSimple () const
 
bool isCompound () const
 
- Public Member Functions inherited from openfluid::core::Value
 Value ()=default
 
virtual ~Value ()
 
virtual Valueoperator= (const Value &)
 
virtual Type getType () const =0
 
virtual Valueclone () const
 
virtual bool convert (Value &) const
 
virtual void writeToStream (std::ostream &OutStm) const =0
 
virtual void writeQuotedToStream (std::ostream &OutStm) const =0
 
bool isDoubleValue () const
 
const DoubleValueasDoubleValue () const
 
DoubleValueasDoubleValue ()
 
bool isIntegerValue () const
 
const IntegerValueasIntegerValue () const
 
IntegerValueasIntegerValue ()
 
bool isBooleanValue () const
 
const BooleanValueasBooleanValue () const
 
BooleanValueasBooleanValue ()
 
bool isStringValue () const
 
const StringValueasStringValue () const
 
StringValueasStringValue ()
 
bool isNullValue () const
 
const NullValueasNullValue () const
 
NullValueasNullValue ()
 
bool isVectorValue () const
 
const VectorValueasVectorValue () const
 
VectorValueasVectorValue ()
 
bool isMatrixValue () const
 
const MatrixValueasMatrixValue () const
 
MatrixValueasMatrixValue ()
 
bool isMapValue () const
 
const MapValueasMapValue () const
 
MapValueasMapValue ()
 
bool isTreeValue () const
 
const TreeValueasTreeValue () const
 
TreeValueasTreeValue ()
 
std::string toString () const
 

Additional Inherited Members

- Public Types inherited from openfluid::core::Value
enum  Type {
  NONE, BOOLEAN, INTEGER, DOUBLE,
  STRING, VECTOR, MATRIX, MAP,
  TREE, 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)
 

Constructor & Destructor Documentation

◆ SimpleValue()

openfluid::core::SimpleValue::SimpleValue ( )
inline

◆ ~SimpleValue()

virtual openfluid::core::SimpleValue::~SimpleValue ( )
inlinevirtual

Member Function Documentation

◆ isCompound()

bool openfluid::core::SimpleValue::isCompound ( ) const
inlinevirtual

◆ isSimple()

bool openfluid::core::SimpleValue::isSimple ( ) const
inlinevirtual

The documentation for this class was generated from the following file: