MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getTypeInfoByName

Method getTypeInfoByName

Engine/source/console/engineTypeInfo.cpp:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70//-----------------------------------------------------------------------------
71
72const EngineTypeInfo* EngineTypeInfo::getTypeInfoByName( const char* typeName )
73{
74 for( const EngineTypeInfo* typeInfo = getFirstType(); typeInfo != NULL; typeInfo = typeInfo->getNextType() )
75 if( dStricmp( typeInfo->getTypeName(), typeName ) == 0 )
76 return typeInfo;
77
78 return NULL;
79}
80
81//-----------------------------------------------------------------------------
82

Callers

nothing calls this directly

Calls 3

dStricmpFunction · 0.85
getNextTypeMethod · 0.80
getTypeNameMethod · 0.45

Tested by

no test coverage detected