![]() |
#include <core/Variables.hpp>
Public Member Functions | |
Variables () | |
~Variables () | |
bool | createVariable (const VariableName_t &aName) |
bool | createVariable (const VariableName_t &aName, const Value::Type &aType) |
bool | modifyValue (const VariableName_t &aName, const TimeIndex_t &anIndex, const Value &aValue) |
bool | modifyCurrentValue (const VariableName_t &aName, const Value &aValue) |
bool | appendValue (const VariableName_t &aName, const TimeIndex_t &anIndex, const Value &aValue) |
bool | getValue (const VariableName_t &aName, const TimeIndex_t &anIndex, Value *aValue) const |
const Value * | value (const VariableName_t &aName, const TimeIndex_t &anIndex) const |
const Value * | currentValue (const VariableName_t &aName) const |
bool | getCurrentValue (const VariableName_t &aName, Value *aValue) const |
bool | getLatestIndexedValue (const VariableName_t &aName, IndexedValue &IndValue) const |
bool | getLatestIndexedValues (const VariableName_t &aName, const TimeIndex_t &anIndex, IndexedValueList &IndValueList) const |
bool | getIndexedValues (const VariableName_t &aName, const TimeIndex_t &aBeginIndex, const TimeIndex_t &anEndIndex, IndexedValueList &IndValueList) const |
bool | getCurrentValueIfIndex (const VariableName_t &aName, const TimeIndex_t &Index, Value *aValue) const |
Value * | currentValueIfIndex (const VariableName_t &aName, const TimeIndex_t &Index) const |
bool | isVariableExist (const VariableName_t &aName) const |
bool | isVariableExist (const VariableName_t &aName, const TimeIndex_t &anIndex) const |
bool | isVariableExist (const VariableName_t &aName, const TimeIndex_t &anIndex, Value::Type ValueType) const |
bool | isTypedVariableExist (const VariableName_t &aName, const Value::Type &VarType) const |
bool | isTypedVariableExist (const VariableName_t &aName, const TimeIndex_t &anIndex, const Value::Type &VarType) const |
std::vector< VariableName_t > | getVariablesNames () const |
int | getVariableValuesCount (const VariableName_t &aName) const |
bool | checkAllVariablesCount (unsigned int Count, VariableName_t &ErrorVarName) const |
void | clear () |
void | displayContent (const VariableName_t &aName, std::ostream &OStream) const |
openfluid::core::Variables::Variables | ( | ) |
openfluid::core::Variables::~Variables | ( | ) |
bool openfluid::core::Variables::appendValue | ( | const VariableName_t & | aName, |
const TimeIndex_t & | anIndex, | ||
const Value & | aValue | ||
) |
bool openfluid::core::Variables::checkAllVariablesCount | ( | unsigned int | Count, |
VariableName_t & | ErrorVarName | ||
) | const |
void openfluid::core::Variables::clear | ( | ) |
bool openfluid::core::Variables::createVariable | ( | const VariableName_t & | aName | ) |
bool openfluid::core::Variables::createVariable | ( | const VariableName_t & | aName, |
const Value::Type & | aType | ||
) |
const Value* openfluid::core::Variables::currentValue | ( | const VariableName_t & | aName | ) | const |
Value* openfluid::core::Variables::currentValueIfIndex | ( | const VariableName_t & | aName, |
const TimeIndex_t & | Index | ||
) | const |
void openfluid::core::Variables::displayContent | ( | const VariableName_t & | aName, |
std::ostream & | OStream | ||
) | const |
bool openfluid::core::Variables::getCurrentValue | ( | const VariableName_t & | aName, |
Value * | aValue | ||
) | const |
bool openfluid::core::Variables::getCurrentValueIfIndex | ( | const VariableName_t & | aName, |
const TimeIndex_t & | Index, | ||
Value * | aValue | ||
) | const |
bool openfluid::core::Variables::getIndexedValues | ( | const VariableName_t & | aName, |
const TimeIndex_t & | aBeginIndex, | ||
const TimeIndex_t & | anEndIndex, | ||
IndexedValueList & | IndValueList | ||
) | const |
bool openfluid::core::Variables::getLatestIndexedValue | ( | const VariableName_t & | aName, |
IndexedValue & | IndValue | ||
) | const |
bool openfluid::core::Variables::getLatestIndexedValues | ( | const VariableName_t & | aName, |
const TimeIndex_t & | anIndex, | ||
IndexedValueList & | IndValueList | ||
) | const |
bool openfluid::core::Variables::getValue | ( | const VariableName_t & | aName, |
const TimeIndex_t & | anIndex, | ||
Value * | aValue | ||
) | const |
std::vector<VariableName_t> openfluid::core::Variables::getVariablesNames | ( | ) | const |
int openfluid::core::Variables::getVariableValuesCount | ( | const VariableName_t & | aName | ) | const |
bool openfluid::core::Variables::isTypedVariableExist | ( | const VariableName_t & | aName, |
const Value::Type & | VarType | ||
) | const |
bool openfluid::core::Variables::isTypedVariableExist | ( | const VariableName_t & | aName, |
const TimeIndex_t & | anIndex, | ||
const Value::Type & | VarType | ||
) | const |
bool openfluid::core::Variables::isVariableExist | ( | const VariableName_t & | aName | ) | const |
bool openfluid::core::Variables::isVariableExist | ( | const VariableName_t & | aName, |
const TimeIndex_t & | anIndex | ||
) | const |
bool openfluid::core::Variables::isVariableExist | ( | const VariableName_t & | aName, |
const TimeIndex_t & | anIndex, | ||
Value::Type | ValueType | ||
) | const |
bool openfluid::core::Variables::modifyCurrentValue | ( | const VariableName_t & | aName, |
const Value & | aValue | ||
) |
bool openfluid::core::Variables::modifyValue | ( | const VariableName_t & | aName, |
const TimeIndex_t & | anIndex, | ||
const Value & | aValue | ||
) |
const Value* openfluid::core::Variables::value | ( | const VariableName_t & | aName, |
const TimeIndex_t & | anIndex | ||
) | const |