40 #ifndef __OPENFLUID_CORE_DATASTOREITEM_HPP__
41 #define __OPENFLUID_CORE_DATASTOREITEM_HPP__
63 std::string m_PrefixPath;
65 std::string m_RelativePath;
67 std::string m_UnitsClass;
69 std::shared_ptr<UnstructuredValue> m_Value;
88 const std::string& PrefixPath,
const std::string& RelativePath,
110 return getUnitsClass();
Definition: DatastoreItem.hpp:58
std::string getPrefixPath() const
Returns the prefix path of the resource.
std::string getUnitsClass() const
UnstructuredValue * value()
Gets the associated value of the resource.
std::string getUnitClass() const
Definition: DatastoreItem.hpp:108
const UnstructuredValue * value() const
Gets the associated value of the resource.
DatastoreItem(const std::string &ID, const std::string &PrefixPath, const std::string &RelativePath, UnstructuredValue::UnstructuredType Type, const std::string &UnitsClass="")
Creates a new resource item.
std::string getID() const
std::string getRelativePath() const
Returns the path of the resource, relative to prefix path.
Definition: UnstructuredValue.hpp:54
UnstructuredType
Definition: UnstructuredValue.hpp:58
#define OPENFLUID_API
Definition: dllexport.hpp:86
Definition: ApplicationException.hpp:47