tesseract v5.3.3.20231005
|
#include <elst.h>
Public Member Functions | |
void | internal_clear (void(*zapper)(void *)) |
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 |
Definition at line 176 of file elst.h.
ELIST_LINK * tesseract::ELIST::add_sorted_and_find | ( | int | comparatorconst void *, const void *, |
bool | unique, | ||
ELIST_LINK * | new_link | ||
) |
Definition at line 125 of file elst.cpp.
void tesseract::ELIST::assign_to_sublist | ( | ELIST_ITERATOR * | start_it, |
ELIST_ITERATOR * | end_it | ||
) |
|
inline |
void tesseract::ELIST::internal_clear | ( | void(*)(void *) | zapper | ) |
void tesseract::ELIST::internal_deep_copy | ( | ELIST_LINK *(*)(ELIST_LINK *) | copier, |
const ELIST * | list | ||
) |
|
inline |
|
inline |
|
inline |
void tesseract::ELIST::sort | ( | int | comparator const void *, const void * | ) |
Definition at line 87 of file elst.cpp.
|
friend |