All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Static Protected Attributes | List of all members
openfluid::core::CompoundValue Class Reference

#include <core/CompoundValue.hpp>

Inheritance diagram for openfluid::core::CompoundValue:
openfluid::core::Value openfluid::core::MapValue openfluid::core::MatrixValue openfluid::core::VectorValue

Public Types

typedef std::vector< std::string > SeparatorsByLevels_t
 
- Public Types inherited from openfluid::core::Value
enum  Type {
  NONE, BOOLEAN, INTEGER, DOUBLE,
  STRING, VECTOR, MATRIX, MAP,
  NULLL
}
 

Public Member Functions

bool isSimple () const
 
bool isCompound () const
 
- Public Member Functions inherited from openfluid::core::Value
 Value ()
 
 Value (const Value &)
 
virtual Value & operator= (const Value &)
 
virtual ~Value ()
 
virtual Type getType () const =0
 
virtual Value * clone () const
 
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 std::string getStreamSeparator (const unsigned int &Level)
 
static void setStreamSeparator (const unsigned int &Level, const std::string &Sep)
 
- 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)
 

Static Protected Attributes

static SeparatorsByLevels_t m_StreamSeparators
 

Member Typedef Documentation

typedef std::vector<std::string> openfluid::core::CompoundValue::SeparatorsByLevels_t

Member Function Documentation

static std::string openfluid::core::CompoundValue::getStreamSeparator ( const unsigned int &  Level)
static
bool openfluid::core::CompoundValue::isCompound ( ) const
inlinevirtual
bool openfluid::core::CompoundValue::isSimple ( ) const
inlinevirtual
static void openfluid::core::CompoundValue::setStreamSeparator ( const unsigned int &  Level,
const std::string &  Sep 
)
static

Member Data Documentation

SeparatorsByLevels_t openfluid::core::CompoundValue::m_StreamSeparators
staticprotected

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