![]() |
FastEngine 0.9.3
A multiplayer oriented 2D engine made with Vulkan.
|
A class that map a string to a Property. More...
#include <C_propertyList.hpp>
Public Types | |
using | DataType = std::unordered_map<std::string, fge::Property> |
Public Member Functions | |
PropertyList (PropertyList const &r)=default | |
PropertyList (PropertyList &&r) noexcept=default | |
PropertyList & | operator= (PropertyList const &r)=default |
PropertyList & | operator= (PropertyList &&r) noexcept=default |
void | delAllProperties () |
void | delProperty (std::string const &key) |
template<class T > | |
bool | findProperty (std::string const &key) const |
bool | findProperty (std::string const &key) const |
template<class T > | |
void | setProperty (std::string const &key, T &&value) |
template<class T > | |
T * | getProperty (std::string const &key) |
template<class T > | |
T const * | getProperty (std::string const &key) const |
template<class T , class TDefault > | |
T & | getProperty (std::string const &key, TDefault &&defaultValue) |
fge::Property & | getProperty (std::string const &key) |
fge::Property const * | getProperty (std::string const &key) const |
fge::Property & | operator[] (std::string const &key) |
fge::Property const * | operator[] (std::string const &key) const |
std::size_t | count () const |
DataType::iterator | begin () |
DataType::iterator | end () |
DataType::const_iterator | begin () const |
DataType::const_iterator | end () const |
void | clearAllModificationFlags () |
std::size_t | countAllModificationFlags () const |
template<class T > | |
T const * | getProperty (std::string const &key) const |