class
#include <esp/core/Configuration.h>
Configuration
Contents
Derived classes
- class esp::assets::AbstractAttributes
- Base class for all implemented attributes.
Constructors, destructors, conversion operators
- ~Configuration() defaulted virtual
Public functions
-
template<typename T>auto set(const std::
string& key, const T& value) -> bool -
auto setBool(const std::
string& key, bool value) -> bool -
auto setFloat(const std::
string& key, float value) -> bool -
auto setDouble(const std::
string& key, double value) -> bool -
auto setInt(const std::
string& key, int value) -> bool -
auto setString(const std::
string& key, std:: string value) -> bool -
auto setVec3(const std::
string& key, const Magnum:: Vector3& value) -> bool -
template<typename T>auto get(const std::
string& key) const -> T -
auto getBool(const std::
string& key) const -> bool -
auto getFloat(const std::
string& key) const -> float -
auto getDouble(const std::
string& key) const -> double -
auto getInt(const std::
string& key) const -> int -
auto getString(const std::
string& key) const -> std:: string -
auto getVec3(const std::
string& key) const -> Magnum:: Vector3 -
auto addStringToGroup(const std::
string& key, const std:: string& value) -> int - Add a string to a group and return the resulting group size.
-
auto getStringGroup(const std::
string& key) const -> std:: vector<std:: string> - Collect and return strings in a key group.
-
auto hasValue(const std::
string& key) const -> bool -
auto removeValue(const std::
string& key) -> bool