Close

Relief for ODA Team in Ukraine

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

Compares another object to this one in a some meaning. 

 

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

This method returns one of the following: 

 

Name Value
Description
_kLessThan_ -1
This object < Other Object.
_kEqual_ 0
This object = Other Object.
_kGreaterThan_ 1
This object > Other Object.
_kNotOrderable_ 2
This class is not orderable.

 

The default implementation of this method returns _kNotOrderable_.

Comparing the Value of Rx Objects 

Comparing Rx-Objects

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