FastEngine 0.9.4
A multiplayer oriented 2D engine made with Vulkan.
Loading...
Searching...
No Matches
fge::PropertyList Class Reference

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
PropertyListoperator= (PropertyList const &r)=default
PropertyListoperator= (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::PropertygetProperty (std::string const &key)
fge::Property const * getProperty (std::string const &key) const
fge::Propertyoperator[] (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

Detailed Description

A class that map a string to a Property.

See also
Property

The documentation for this class was generated from the following files: