API Reference > OdDAI Namespace > Classes > ApplicationInstance Class > ApplicationInstance Methods > ApplicationInstance::comparedTo Method
ApplicationInstance::comparedTo Method
Syntax
C++
OdRx::Ordering comparedTo(const OdRxObject* pOther) const;
Parameters 
Description 
const OdRxObject* pOther 
[in] Raw pointer to the object to be compared. 

Compares another object to this one in a some meaning. 

 

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 (c) 2002-2020. Open Design Alliance. All rights reserved.