asge::config::toml::TOMLBuilder
Fluent builder for a fresh TOML document, backed by the same Table tree the parser produces — it serializes through the same Table::operator<< that ConfigurationManager::Save() uses, so the output round-trips like any hand-written TOML file.
#include <TOML_Builder.hpp>Inherits from asge::config::toml::TOMLTableView.
Inheritance
classDiagram
class N1["asge::config::toml::TOMLBuilder"]
class N2["asge::config::toml::TOMLTableView"]
N2 <|-- N1
click N1 href "classasge_1_1config_1_1toml_1_1TOMLBuilder.html"
click N2 href "classasge_1_1config_1_1toml_1_1TOMLTableView.html"
Collaboration
classDiagram
class N1["asge::config::toml::TOMLBuilder"]
class N2["asge::config::toml::TOMLTableView"]
N2 <|-- N1
click N1 href "classasge_1_1config_1_1toml_1_1TOMLBuilder.html"
click N2 href "classasge_1_1config_1_1toml_1_1TOMLTableView.html"
Public Member Functions
#
TOMLBuilder()#
std::string ToString() constSerializes the built document to a TOML-formatted string.
#
BoolResult SaveToFile(filesystem::Path const &inPath) constSerializes the built document and writes it out to inPath.