MCPcopy Create free account
hub / github.com/OpenMW/openmw / common_config_file_iterator

Method common_config_file_iterator

components/files/configfileparser.cpp:97–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 };
96
97 common_config_file_iterator::common_config_file_iterator(
98 const std::set<std::string>& allowed_options, bool allow_unregistered)
99 : allowed_options(allowed_options)
100 , m_allow_unregistered(allow_unregistered)
101 {
102 for (std::set<std::string>::const_iterator i = allowed_options.begin(); i != allowed_options.end(); ++i)
103 {
104 add_option(i->c_str());
105 }
106 }
107
108 void common_config_file_iterator::add_option(const char* name)
109 {

Callers

nothing calls this directly

Calls 3

c_strMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected