tesseract 4.1.1
|
#include <clst.h>
Public Member Functions | |
CLIST () | |
~CLIST () | |
void | internal_deep_clear (void(*zapper)(void *)) |
void | shallow_clear () |
bool | empty () const |
bool | singleton () const |
void | shallow_copy (CLIST *from_list) |
void | assign_to_sublist (CLIST_ITERATOR *start_it, CLIST_ITERATOR *end_it) |
int32_t | length () const |
void | sort (int comparator(const void *, const void *)) |
bool | add_sorted (int comparator(const void *, const void *), bool unique, void *new_data) |
void | set_subtract (int comparator(const void *, const void *), bool unique, CLIST *minuend, CLIST *subtrahend) |
Friends | |
class | CLIST_ITERATOR |
|
inline |
|
inline |
bool CLIST::add_sorted | ( | int | comparatorconst void *, const void *, |
bool | unique, | ||
void * | new_data | ||
) |
Definition at line 169 of file clst.cpp.
void CLIST::assign_to_sublist | ( | CLIST_ITERATOR * | start_it, |
CLIST_ITERATOR * | end_it | ||
) |
Definition at line 96 of file clst.cpp.
|
inline |
void CLIST::internal_deep_clear | ( | void(*)(void *) | zapper | ) |
Definition at line 40 of file clst.cpp.
int32_t CLIST::length | ( | ) | const |
void CLIST::set_subtract | ( | int | comparatorconst void *, const void *, |
bool | unique, | ||
CLIST * | minuend, | ||
CLIST * | subtrahend | ||
) |
Definition at line 207 of file clst.cpp.
void CLIST::shallow_clear | ( | ) |
Definition at line 67 of file clst.cpp.
|
inline |
|
inline |
void CLIST::sort | ( | int | comparator const void *, const void * | ) |
Definition at line 130 of file clst.cpp.
|
friend |