casa
5.7.0-16
|
#include <IPosition.h>
Public Member Functions | |
bool | operator() (const IPosition &lhs, const IPosition &rhs) const |
allows a way for IPosition to be used as keys in a std::map More... | |
Definition at line 419 of file IPosition.h.
bool casacore::IPositionComparator::operator() | ( | const IPosition & | lhs, |
const IPosition & | rhs | ||
) | const |
allows a way for IPosition to be used as keys in a std::map
if sizes aren't equal, returns True if lhs.size() < rhs.size(), false otherwise. If sizes are equal, does an element by element comparison. The first corresponding elements that are not equal, returns True if the rhs element is less than the lhs element, False otherwise. Returns False if all elements are equal.