41 #ifndef __OPENFLUID_CORE_ATTRIBUTES_HPP__
42 #define __OPENFLUID_CORE_ATTRIBUTES_HPP__
47 #include <openfluid/core/TypeDefs.hpp>
61 typedef std::map<AttributeName_t,std::shared_ptr<Value>> AttributesMap_t;
63 AttributesMap_t m_Data;
Definition: Attributes.hpp:58
bool replaceValue(const AttributeName_t &aName, const std::string &aValue)
const openfluid::core::Value * value(const AttributeName_t &aName) const
bool getValue(const AttributeName_t &aName, openfluid::core::StringValue &aValue) const
std::vector< AttributeName_t > getAttributesNames() const
bool isAttributeExist(const AttributeName_t &aName) const
bool setValue(const AttributeName_t &aName, const std::string &aValue)
bool setValue(const AttributeName_t &aName, const Value &aValue)
bool setValueFromRawString(const AttributeName_t &aName, const std::string &aValue)
bool getValue(const AttributeName_t &aName, std::string &aValue) const
bool getValueAsDouble(const AttributeName_t &aName, double &aValue) const
bool removeAttribute(const AttributeName_t &aName)
bool getValueAsLong(const AttributeName_t &aName, long &aValue) const
bool replaceValue(const AttributeName_t &aName, const StringValue &aValue)
Definition: StringValue.hpp:83
#define OPENFLUID_API
Definition: dllexport.hpp:86
std::string AttributeName_t
Definition: TypeDefs.hpp:117
Definition: ApplicationException.hpp:47