MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / GetChildClass

Function GetChildClass

apps/tools/Tools/commands/LintCommand.cpp:35–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35const ParamClass* GetChildClass(const ParamEntry& parent, const char* name)
36{
37 ParamEntry* child = parent.FindEntryNoInheritance(name);
38 if (!child || !child->IsClass())
39 {
40 return nullptr;
41 }
42
43 return child->GetClassInterface();
44}
45
46int CountNestedClasses(const ParamEntry& entry)
47{

Callers 1

LintMissionSectionFunction · 0.85

Calls 3

GetClassInterfaceMethod · 0.80
IsClassMethod · 0.45

Tested by

no test coverage detected