Class IniBuilder

Class Documentation

class legion::rendering::detail::IniBuilder

Bob the IniBuilder, a builder class to generate ini files.

Note

does not validate entries, thus invalid combinations like glyph(“Something”).value(“v”) is not caught as an error at runtime instead of glyph(“Something”).eq().value(“v”)

Public Functions

inline IniBuilder &glyph(const std::string &glyph)
inline IniBuilder &section(const std::string &v)
inline IniBuilder &eq()
inline IniBuilder &comment(const std::string &v)
inline IniBuilder &value(float v)
inline IniBuilder &value(int v)
inline IniBuilder &value(math::vec3 v)
inline IniBuilder &value(math::ivec3 v)
inline IniBuilder &value(math::vec4 v)
inline IniBuilder &value(math::ivec4 v)
inline IniBuilder &value(bool b)
inline IniBuilder &value(const std::string &v)
inline IniBuilder &finish_entry()
inline IniBuilder &push_state()
inline IniBuilder &pop_state()
inline std::string get() const noexcept