Close

Relief for ODA Team in Ukraine

Learn more
ODA Kernel SDK
OdRxObject::queryX Method
Syntax
C++
virtual OdRxObject* queryX(const OdRxClass* pClass) const;

Checks whether the object belongs to the specified class and returns a pointer to this object if this object can be converted to the specified class. 

 

Parameters
Description
pClass
[in] Raw pointer to the class describing instance to which the object must be converted.

If the object cannot be converted, the method returns a Null. The program must release this object, if the returned pointer is not Null.

Example of Belonging to an Instance of a Class 

Belonging to an Instance of a Class

Copyright © 2002-2022. Open Design Alliance All rights reserved.