WvStreams
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes | List of all members
WvSorterBase Class Reference
Inheritance diagram for WvSorterBase:
Inheritance graph
[legend]

Public Types

typedef int() CompareFunc(const void *a, const void *b)
 

Public Member Functions

 WvSorterBase (void *_list)
 
bool next ()
 
bool cur ()
 

Public Attributes

void * list
 
void ** array
 
void ** lptr
 

Protected Member Functions

template<class _list_ , class _iter_ >
void rewind (CompareFunc *cmp)
 

Static Protected Member Functions

static int magic_compare (const void *_a, const void *_b)
 

Static Protected Attributes

static CompareFunc * actual_compare
 

Detailed Description

Definition at line 23 of file wvsorter.h.

Member Typedef Documentation

◆ CompareFunc

typedef int() WvSorterBase::CompareFunc(const void *a, const void *b)

Definition at line 26 of file wvsorter.h.

Constructor & Destructor Documentation

◆ WvSorterBase()

WvSorterBase::WvSorterBase ( void *  _list)
inline

Definition at line 32 of file wvsorter.h.

◆ ~WvSorterBase()

WvSorterBase::~WvSorterBase ( )
inline

Definition at line 34 of file wvsorter.h.

Member Function Documentation

◆ next()

bool WvSorterBase::next ( )
inline

Definition at line 36 of file wvsorter.h.

◆ cur()

bool WvSorterBase::cur ( )
inline

Definition at line 38 of file wvsorter.h.

◆ rewind()

template<class _list_ , class _iter_ >
void WvSorterBase::rewind ( CompareFunc *  cmp)
protected

Definition at line 79 of file wvsorter.h.

◆ magic_compare()

int WvSorterBase::magic_compare ( const void *  _a,
const void *  _b 
)
staticprotected

Definition at line 14 of file wvsorter.cc.

Member Data Documentation

◆ list

void* WvSorterBase::list

Definition at line 28 of file wvsorter.h.

◆ array

void** WvSorterBase::array

Definition at line 29 of file wvsorter.h.

◆ lptr

void** WvSorterBase::lptr

Definition at line 30 of file wvsorter.h.

◆ actual_compare

WvSorterBase::CompareFunc * WvSorterBase::actual_compare
staticprotected

Definition at line 45 of file wvsorter.h.


The documentation for this class was generated from the following files: