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

Method isSubtypeOf

Engine/source/console/engineTypeInfo.cpp:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102//-----------------------------------------------------------------------------
103
104bool EngineTypeInfo::isSubtypeOf( const EngineTypeInfo* type ) const
105{
106 for( const EngineTypeInfo* p = this; p != NULL; p = p->getSuperType() )
107 if( p == type )
108 return true;
109
110 return false;
111}
112
113//-----------------------------------------------------------------------------
114

Callers

nothing calls this directly

Calls 1

getSuperTypeMethod · 0.80

Tested by

no test coverage detected