#include <sorthelper.h>
Classes | |
struct | SortPair |
Public Member Functions | |
SortHelper (int sizehint) | |
void | Add (T value, int count) |
int | MaxCount (T *max_value) const |
const GenericVector< SortPair < T > > & | SortByCount () |
const GenericVector< SortPair < T > > & | SortByValue () |
Static Public Member Functions | |
static int | SortPairsByCount (const void *v1, const void *v2) |
static int | SortPairsByValue (const void *v1, const void *v2) |
Definition at line 36 of file sorthelper.h.
|
inlineexplicit |
Definition at line 59 of file sorthelper.h.
|
inline |
Definition at line 65 of file sorthelper.h.
|
inline |
Definition at line 80 of file sorthelper.h.
|
inline |
Definition at line 93 of file sorthelper.h.
|
inline |
Definition at line 98 of file sorthelper.h.
|
inlinestatic |
Definition at line 44 of file sorthelper.h.
|
inlinestatic |
Definition at line 50 of file sorthelper.h.