MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IniGroup

Method IniGroup

src/ini_load.cpp:41–44  ·  view source on GitHub ↗

* Construct a new in-memory group of an Ini file. * @param parent the file we belong to * @param name the name of the group */

Source from the content-addressed store, hash-verified

39 * @param name the name of the group
40 */
41IniGroup::IniGroup(std::string_view name, IniGroupType type) : type(type), comment("\n")
42{
43 this->name = StrMakeValid(name);
44}
45
46/**
47 * Get the item with the given name.

Callers

nothing calls this directly

Calls 1

StrMakeValidFunction · 0.70

Tested by

no test coverage detected