37 using DataType = std::unordered_map<std::string, fge::Property>;
47 inline void delAllProperties();
48 inline void delProperty(std::string
const& key);
51 [[nodiscard]]
inline bool findProperty(std::string
const& key)
const;
52 [[nodiscard]]
inline bool findProperty(std::string
const& key)
const;
55 inline void setProperty(std::string
const& key, T&& value);
58 [[nodiscard]]
inline T* getProperty(std::string
const& key);
60 [[nodiscard]]
inline T
const* getProperty(std::string
const& key)
const;
61 template<
class T,
class TDefault>
62 [[nodiscard]]
inline T& getProperty(std::string
const& key, TDefault&& defaultValue);
64 [[nodiscard]]
inline fge::Property& getProperty(std::string
const& key);
65 [[nodiscard]]
inline fge::Property const* getProperty(std::string
const& key)
const;
67 [[nodiscard]]
inline fge::Property& operator[](std::string
const& key);
68 [[nodiscard]]
inline fge::Property const* operator[](std::string
const& key)
const;
70 [[nodiscard]]
inline std::size_t count()
const;
72 [[nodiscard]]
inline DataType::iterator begin();
73 [[nodiscard]]
inline DataType::iterator end();
74 [[nodiscard]]
inline DataType::const_iterator begin()
const;
75 [[nodiscard]]
inline DataType::const_iterator end()
const;
77 inline void clearAllModificationFlags();
78 [[nodiscard]]
inline std::size_t countAllModificationFlags()
const;