|  | 
#include <core/VectorValue.hpp>
 
  
 | Public Member Functions | |
| VectorValue () | |
| VectorValue (const VectorValue &Val) | |
| VectorValue (unsigned long Size) | |
| VectorValue (unsigned long Size, double InitValue) | |
| VectorValue (double *Data, unsigned long Size) | |
| Value & | operator= (const Value &Other) | 
| virtual | ~VectorValue () | 
| Type | getType () const | 
| Value * | clone () const | 
| void | writeToStream (std::ostream &OutStm) const | 
| void | writeQuotedToStream (std::ostream &OutStm) const | 
|  Public Member Functions inherited from openfluid::core::CompoundValue | |
| bool | isSimple () const | 
| bool | isCompound () const | 
|  Public Member Functions inherited from openfluid::core::Value | |
| Value () | |
| Value (const Value &) | |
| virtual | ~Value () | 
| virtual bool | convert (Value &) const | 
| 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 () | 
| bool | isTreeValue () const | 
| const TreeValue & | asTreeValue () const | 
| TreeValue & | asTreeValue () | 
| std::string | toString () const | 
|  Public Member Functions inherited from openfluid::core::Vector< double > | |
| Vector () | |
| Vector (const Vector &Vector) | |
| Vector (unsigned long Size) | |
| Vector (unsigned long Size, doubleInitValue) | |
| Vector (double *Data, unsigned long Size) | |
| ~Vector () | |
| unsigned long | getSize () const | 
| unsigned long | size () const | 
| double * | data () const | 
| void | setData (double *Data, unsigned long Size) | 
| double | getElement (unsigned long Index) const | 
| double | at (unsigned long Index) const | 
| double | get (unsigned long Index) const | 
| void | setElement (unsigned long Index, doubleElement) | 
| void | set (unsigned long Index, doubleElement) | 
| double & | operator[] (unsigned long Index) | 
| Vector< double > & | operator= (const Vector &A) | 
| void | fill (const double &Val) | 
| void | clear () | 
| iterator | begin () | 
| const_iterator | begin () const | 
| iterator | end () | 
| const_iterator | end () const | 
| Additional Inherited Members | |
|  Public Types inherited from openfluid::core::Value | |
| enum | Type { NONE, BOOLEAN, INTEGER, DOUBLE, STRING, VECTOR, MATRIX, MAP, TREE, NULLL } | 
|  Public Types inherited from openfluid::core::Vector< double > | |
| typedef double * | iterator | 
| typedef const double * | const_iterator | 
|  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) | 
|  Protected Member Functions inherited from openfluid::core::Vector< double > | |
| bool | allocate (unsigned long Size) | 
| void | init () | 
|  Static Protected Member Functions inherited from openfluid::core::Vector< double > | |
| static void | copy (const Vector &Source, Vector &Dest) | 
|  Protected Attributes inherited from openfluid::core::Vector< double > | |
| double * | m_Data | 
| unsigned long | m_Size | 
VectorValue is a container for a 1D vector of signed double precision floating point values.
 
 Example : declaration 
Example : getting the contained values
Example : getting all values as a c-style array of double
Example : setting the contained values
Example : conversion from string
Example : conversion to string
| 
 | inline | 
Default constructor
| 
 | inline | 
Copy constructor
| 
 | inline | 
Constructor, creates a vector containing Size elements
| 
 | inline | 
Constructor, creates a vector containing Size elements, initialized with value InitValue
| 
 | inline | 
Constructor, creates a vector of size Size, containing Data
| 
 | inlinevirtual | 
| 
 | inlinevirtual | 
Reimplemented from openfluid::core::Value.
| 
 | inlinevirtual | 
Implements openfluid::core::Value.
Assignment operator
Reimplemented from openfluid::core::Value.
| 
 | inlinevirtual | 
Implements openfluid::core::Value.
| 
 | virtual | 
Implements openfluid::core::Value.
 1.8.6
 1.8.6