40#ifndef __OPENFLUID_CORE_VARIABLES_HPP__
41#define __OPENFLUID_CORE_VARIABLES_HPP__
45#include <openfluid/core/TypeDefs.hpp>
56 typedef std::map<VariableName_t, std::pair<ValuesBuffer,Value::Type> > VariablesMap_t;
58 VariablesMap_t m_Data;
Definition IndexedValue.hpp:64
Type
Definition Value.hpp:66
Definition Variables.hpp:53
const Value * value(const VariableName_t &aName, const TimeIndex_t &anIndex) const
bool getCurrentValueIfIndex(const VariableName_t &aName, const TimeIndex_t &Index, Value *aValue) const
bool isVariableExist(const VariableName_t &aName) const
bool getValue(const VariableName_t &aName, const TimeIndex_t &anIndex, Value *aValue) const
bool createVariable(const VariableName_t &aName)
bool isTypedVariableExist(const VariableName_t &aName, const TimeIndex_t &anIndex, const Value::Type &VarType) const
bool getLatestIndexedValues(const VariableName_t &aName, const TimeIndex_t &anIndex, IndexedValueList &IndValueList) const
bool modifyValue(const VariableName_t &aName, const TimeIndex_t &anIndex, const Value &aValue)
bool checkAllVariablesCount(unsigned int Count, VariableName_t &ErrorVarName) const
bool createVariable(const VariableName_t &aName, const Value::Type &aType)
bool getLatestIndexedValue(const VariableName_t &aName, IndexedValue &IndValue) const
bool getIndexedValues(const VariableName_t &aName, const TimeIndex_t &aBeginIndex, const TimeIndex_t &anEndIndex, IndexedValueList &IndValueList) const
void displayContent(const VariableName_t &aName, std::ostream &OStream) const
int getVariableValuesCount(const VariableName_t &aName) const
bool appendValue(const VariableName_t &aName, const TimeIndex_t &anIndex, const Value &aValue)
bool isVariableExist(const VariableName_t &aName, const TimeIndex_t &anIndex, Value::Type ValueType) const
const Value * currentValue(const VariableName_t &aName) const
bool getCurrentValue(const VariableName_t &aName, Value *aValue) const
Value * currentValueIfIndex(const VariableName_t &aName, const TimeIndex_t &Index) const
bool isVariableExist(const VariableName_t &aName, const TimeIndex_t &anIndex) const
std::vector< VariableName_t > getVariablesNames() const
bool isTypedVariableExist(const VariableName_t &aName, const Value::Type &VarType) const
bool modifyCurrentValue(const VariableName_t &aName, const Value &aValue)
#define OPENFLUID_API
Definition dllexport.hpp:86
std::uint64_t TimeIndex_t
Definition TypeDefs.hpp:298
std::string VariableName_t
Definition TypeDefs.hpp:131
std::list< IndexedValue > IndexedValueList
Definition IndexedValue.hpp:182
Definition ApplicationException.hpp:47