|
cartobase 6.0.6
|
KeyComparator is used to compare keys of types that do not have comparison operator. More...
#include <cartobase/type/voxelvalue.h>

Static Public Member Functions | |
| static uint64_t | toUnsignedInt (const V &value) |
| static bool | less (const V &lhs, const V &rhs) |
KeyComparator is used to compare keys of types that do not have comparison operator.
It is useful to be able to use these types as keys in containers that needs key ordering (such as std::map). KeyComparator supports comparison of carto::VoxelValue
| V | data type to use in key comparisons (uint8_t, carto::VoxelValue, ...) |
Definition at line 107 of file voxelvalue.h.
|
inlinestatic |
Definition at line 168 of file voxelvalue_d.h.
Referenced by carto::KeyComparatorLess< V >::operator()().
|
inlinestatic |
Definition at line 137 of file voxelvalue_d.h.