MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / makeSection

Method makeSection

Source/Utils/ini.hpp:589–595  ·  view source on GitHub ↗

Output Creates a section as a string

Source from the content-addressed store, hash-verified

587 ///Output
588 //Creates a section as a string
589 fini_string_t makeSection(const section_t& section)
590 {
591 fini_sstream_t line;
592 line << '[' << section << ']' << std::endl;
593
594 return line.str();
595 }
596
597 //Creates a key and a value as a string
598 fini_string_t makeKeyValue(const key_t& key, const value_t& value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected