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] A raw pointer to the object to be compared.  

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

Compares the application instance object with another object.

This method returns one of the following:

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

The default implementation of this method returns _kNotOrderable_.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.