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 than the specified object; OdRx::Ordering::kEqual if this object is equal to the specified object; OdRx::Ordering::kGreaterThan if this object is greater than the specified object; OdRx::Ordering::kNotOrderable if these objects cannot be ordered.

Establishes an order relation with another value.

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