HDK
|
#include <GA_IndexMap.h>
Public Member Functions | |
IndexCompare () | |
virtual | ~IndexCompare () |
virtual bool | initialize (const GA_IndexMap &map)=0 |
virtual int | compare (const GA_IndexMap &map, GA_Offset item1, GA_Offset item2)=0 |
Compare two elements using strcmp() semantics. More... | |
virtual void | finish (const GA_IndexMap &map)=0 |
Class which compares the elements at two indices Example:
Definition at line 342 of file GA_IndexMap.h.
|
inline |
Definition at line 345 of file GA_IndexMap.h.
|
inlinevirtual |
Definition at line 346 of file GA_IndexMap.h.
|
pure virtual |
Compare two elements using strcmp() semantics.
Implemented in GA_IndexMap::AttributeCompare.
|
pure virtual |
Called after the sort is complete. At this point, the index will be ordered according to the sort.
Implemented in GA_IndexMap::AttributeCompare.
|
pure virtual |
Called prior to the sort. If the method returns false, the sort is aborted. If the sort is aborted, the finish() method will not be called.
Implemented in GA_IndexMap::AttributeCompare.