MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / find_class

Method find_class

Source/Misc/luabind/src/class_registry.cpp:136–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 }
135
136 class_rep* class_registry::find_class(type_id const& info) const
137 {
138 std::map<type_id, class_rep*>::const_iterator i(
139 m_classes.find(info));
140
141 if (i == m_classes.end()) return 0; // the type is not registered
142 return i->second;
143 }
144
145}} // namespace luabind::detail

Callers 2

register_Method · 0.80
get_class_nameFunction · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected