Close

Relief for ODA Team in Ukraine

Learn more
ODA IFC SDK
ApplicationInstance::comparedTo Method
Syntax
C++
OdRx::Ordering comparedTo(const OdRxObject* pOther) const;

Compares the application instance object with another object.

Parameters
Description
pOther
[in] A raw pointer to the object to be compared.

An OdRx::Ordering value that represents the result of the comparison operation.

The method returns one of the following:

Name
Value
Description
_kLessThan_
-1
This object is less than Other Object.
_kEqual_
0
This object equals Other Object.
_kGreaterThan_
1
This object is greater than Other Object.
_kNotOrderable_
2
This class is not orderable.

The default implementation of this method returns _kNotOrderable_.

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