ConstVectorImageIterator::SetSorting
Decides if there are any not iterated elements in the VectorImage through this iterator.
GSErrCode SetSorting ( GS::CmpFunction* cmpFunction );
Parameters
- cmpFunction
- The relation which defines the sorting order.
Return value
If the function succeeds, the return value is NoError. If the function fails, the return value is the error code.
Description
The prototype for the CmpFunction looks like this (It is the usual compare function from the ANSI C):
typedef int CCALL CmpFunction (const void*, const void*);The two void* parameters will be pointers to ConstVectorImageIterator::SortRecords.
Requirements
- Version: API 10.0 or later, ModelerGraphics 8 or later
- Library: ModelerGraphicsImp.lib (Win) or ModelerGraphics.framework (Mac)
- Header: VectorImageIterator.hpp