tesseract 4.1.1
|
#include <elst.h>
Public Member Functions | |
ELIST () | |
void | internal_clear (void(*zapper)(ELIST_LINK *)) |
bool | empty () const |
bool | singleton () const |
void | shallow_copy (ELIST *from_list) |
void | internal_deep_copy (ELIST_LINK *(*copier)(ELIST_LINK *), const ELIST *list) |
void | assign_to_sublist (ELIST_ITERATOR *start_it, ELIST_ITERATOR *end_it) |
int32_t | length () const |
void | sort (int comparator(const void *, const void *)) |
ELIST_LINK * | add_sorted_and_find (int comparator(const void *, const void *), bool unique, ELIST_LINK *new_link) |
bool | add_sorted (int comparator(const void *, const void *), bool unique, ELIST_LINK *new_link) |
Friends | |
class | ELIST_ITERATOR |
|
inline |
|
inline |
Definition at line 167 of file elst.h.
ELIST_LINK * ELIST::add_sorted_and_find | ( | int | comparatorconst void *, const void *, |
bool | unique, | ||
ELIST_LINK * | new_link | ||
) |
Definition at line 149 of file elst.cpp.
void ELIST::assign_to_sublist | ( | ELIST_ITERATOR * | start_it, |
ELIST_ITERATOR * | end_it | ||
) |
Definition at line 71 of file elst.cpp.
|
inline |
void ELIST::internal_clear | ( | void(*)(ELIST_LINK *) | zapper | ) |
Definition at line 40 of file elst.cpp.
void ELIST::internal_deep_copy | ( | ELIST_LINK *(*)(ELIST_LINK *) | copier, |
const ELIST * | list | ||
) |
int32_t ELIST::length | ( | ) | const |
Definition at line 89 of file elst.cpp.
|
inline |
void ELIST::sort | ( | int | comparator const void *, const void * | ) |
Definition at line 107 of file elst.cpp.
|
friend |