#include <wvsorter.h>
Inherits WvSorterBase.
Collaboration diagram for WvSorter< _type_, _list_, _iter_ >:
Public Types | |
typedef int( | RealCompareFunc )(const _type_ *a, const _type_ *b) |
typedef int( | CompareFunc )(const void *a, const void *b) |
Public Member Functions | |
WvSorter (_list_ &_list, RealCompareFunc *_cmp) | |
_type_ * | ptr () const |
WvIterStuff (_type_) | |
void | rewind () |
bool | next () |
bool | cur () |
Public Attributes | |
RealCompareFunc * | cmp |
void * | list |
void ** | array |
void ** | lptr |
Protected Member Functions | |
template<class _list_, class _iter_> | |
void | rewind (CompareFunc *cmp) |
Static Protected Member Functions | |
int | magic_compare (const void *_a, const void *_b) |
Static Protected Attributes | |
CompareFunc * | actual_compare |
|
Definition at line 25 of file wvsorter.h. Referenced by WvSorterBase::rewind(). |
|
Definition at line 58 of file wvsorter.h. |
|
Definition at line 61 of file wvsorter.h. References WvSorter< _type_, _list_, _iter_ >::cmp. |
|
Definition at line 37 of file wvsorter.h. |
|
Definition at line 14 of file wvsorter.cc. References WvSorterBase::actual_compare. Referenced by WvSorterBase::rewind(). |
|
Definition at line 35 of file wvsorter.h. |
|
Definition at line 64 of file wvsorter.h. |
|
Definition at line 78 of file wvsorter.h. References WvSorterBase::actual_compare, WvSorterBase::array, WvSorterBase::CompareFunc, WvSorterBase::list, WvSorterBase::lptr, and WvSorterBase::magic_compare(). |
|
Definition at line 70 of file wvsorter.h. |
|
|
|
Definition at line 12 of file wvsorter.cc. Referenced by WvSorterBase::magic_compare(), and WvSorterBase::rewind(). |
|
Definition at line 28 of file wvsorter.h. Referenced by WvSorterBase::rewind(). |
|
Definition at line 59 of file wvsorter.h. Referenced by WvSorter< _type_, _list_, _iter_ >::WvSorter(). |
|
Definition at line 27 of file wvsorter.h. Referenced by WvSorterBase::rewind(). |
|
Definition at line 29 of file wvsorter.h. Referenced by WvSorterBase::rewind(). |