MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / LogUnknownKeyWarning

Function LogUnknownKeyWarning

src/OpenColorIO/OCIOYaml.cpp:235–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235inline void LogUnknownKeyWarning(const YAML::Node & node,
236 const YAML::Node & key)
237{
238 std::string keyName;
239 load(key, keyName);
240
241 std::ostringstream os;
242 os << "At line " << (key.Mark().line + 1)
243 << ", unknown key '" << keyName << "' in '" << node.Tag() << "'.";
244
245 LogWarning(os.str());
246}
247
248inline void LogUnknownKeyWarning(const std::string & name,
249 const YAML::Node & tag)

Callers 4

loadFunction · 0.85
loadPivotFunction · 0.85
loadClampFunction · 0.85

Calls 2

loadFunction · 0.85
LogWarningFunction · 0.85

Tested by

no test coverage detected