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

Method IsTemplateType

sdk/angelscript/source/as_scriptengine.cpp:6505–6516  ·  view source on GitHub ↗

internal

Source from the content-addressed store, hash-verified

6503
6504// internal
6505bool asCScriptEngine::IsTemplateType(const char *name) const
6506{
6507 // Only look in the list of template types (not instance types)
6508 for( unsigned int n = 0; n < registeredTemplateTypes.GetLength(); n++ )
6509 {
6510 asCObjectType *type = registeredTemplateTypes[n];
6511 if( type && type->name == name )
6512 return true;
6513 }
6514
6515 return false;
6516}
6517
6518// internal
6519bool asCScriptEngine::IsTemplateFn(const char* name) const

Callers 4

ParseOptionalScopeMethod · 0.80
ParseTypeMethod · 0.80
CheckTemplateTypeMethod · 0.80
ParseExprValueMethod · 0.80

Calls 1

GetLengthMethod · 0.45

Tested by

no test coverage detected