Parameters |
Description |
const OdRxClass* pClass |
[in] Raw pointer to the class describing instance to which the object must be converted. |
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, or throws an exception if it cannot.
This method generates the eNotThatKindOfClass exception when the object can be not converted to the specified class. This method generates the eInvalidInput exception when the argument pClass is Null. This method uses the queryX() method.
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.
|