MCPcopy Create free account
hub / github.com/anjo76/angelscript / GetFactoryByDecl

Method GetFactoryByDecl

sdk/angelscript/source/as_objecttype.cpp:248–255  ·  view source on GitHub ↗

interface

Source from the content-addressed store, hash-verified

246
247// interface
248asIScriptFunction *asCObjectType::GetFactoryByDecl(const char *decl) const
249{
250 if( beh.factories.GetLength() == 0 )
251 return 0;
252
253 // Let the engine parse the string and find the appropriate factory function
254 return engine->GetFunctionById(engine->GetFactoryIdByDecl(this, decl));
255}
256
257// interface
258asUINT asCObjectType::GetMethodCount() const

Callers 7

GetControllerScriptMethod · 0.45
createBarFunction · 0.45
TestFunction · 0.45
CreateScriptClassObjectFunction · 0.45
instantializeClassFunction · 0.45
TestModuleFunction · 0.45

Calls 3

GetFunctionByIdMethod · 0.80
GetFactoryIdByDeclMethod · 0.80
GetLengthMethod · 0.45

Tested by 5

createBarFunction · 0.36
TestFunction · 0.36
CreateScriptClassObjectFunction · 0.36
instantializeClassFunction · 0.36
TestModuleFunction · 0.36