MCPcopy Create free account
hub / github.com/Icinga/icinga2 / HandleMissingValidators

Method HandleMissingValidators

tools/mkclass/classcompiler.cpp:1354–1364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1352}
1353
1354void ClassCompiler::HandleMissingValidators()
1355{
1356 for (const auto& it : m_MissingValidators) {
1357 m_Impl << "void ObjectImpl<" << it.first.first << ">::Validate" << it.first.second << "(const Lazy<" << it.second.Type.GetRealType() << ">& lvalue, const ValidationUtils& utils)" << std::endl
1358 << "{" << std::endl
1359 << "\t" << "SimpleValidate" << it.first.second << "(lvalue, utils);" << std::endl
1360 << "}" << std::endl << std::endl;
1361 }
1362
1363 m_MissingValidators.clear();
1364}
1365
1366void ClassCompiler::CompileFile(const std::string& inputpath,
1367 const std::string& implpath, const std::string& headerpath)

Callers

nothing calls this directly

Calls 2

GetRealTypeMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected