API Reference > OdRx Classes > OdRxValue::OdRxBoxedValue Class > OdRxBoxedValue Methods > OdRxValue::OdRxBoxedValue::comparedTo Method
OdRxValue::OdRxBoxedValue::comparedTo Method
Syntax
C++
virtual OdRx::Ordering comparedTo(const OdRxObject * other) const;

OdRx::Ordering::kLessThan if this object is less then the specified object; OdRx::Ordering::kEqual if this object is equal to the specified object; OdRx::Ordering::kGreaterThan if this object is grater then the specified object; OdRx::Ordering::kNotOrderable if these objects cannot be ordered.

Establish order relation with another value.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.