MCPcopy Create free account
hub / github.com/Norbyte/ositools / GetType

Method GetType

OsiInterface/NodeHooks.cpp:150–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 NodeType NodeVMTWrappers::GetType(Node * node)
151 {
152 NodeVMT * vfptr = *reinterpret_cast<NodeVMT **>(node);
153 auto typeIt = vmtToTypeMap_.find(vfptr);
154 if (typeIt == vmtToTypeMap_.end()) Fail("Called virtual method on a node that could not be identified");
155 return typeIt->second;
156 }
157
158 NodeVMTWrapper & NodeVMTWrappers::GetWrapper(Node * node)
159 {

Callers 5

SendSyncStoryMethod · 0.45
IsValidPostHookMethod · 0.45

Calls 1

FailFunction · 0.70

Tested by

no test coverage detected