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

Checks whether the object belongs to the specified class and 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.