API Reference > OdRx Classes > OdRxClass Class > OdRxClass Methods > OdRxClass::isDerivedFrom Method
OdRxClass::isDerivedFrom Method
Syntax
C++
virtual bool isDerivedFrom(const OdRxClass* pClass) const;
Parameters 
Description 
const OdRxClass* pClass 
[in] Raw pointer to the class describing instance to be checked. 

Checks whether the class defined by this class describing instance belongs to or derived from the specified class. The method returns true if and only if this object is an instance of the specified class or a subclass of the specified class. 

 

Example of Belonging to an Instance of a Class 

Belonging to an Instance of a Class

Copyright © 2002–2020. Open Design Alliance. All rights reserved.