tesseract  v4.0.0-17-g361f3264
Open Source OCR Engine
ELIST Class Reference

#include <elst.h>

Inheritance diagram for ELIST:
Collaboration diagram for ELIST:

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_LINKadd_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)
 

Private Member Functions

ELIST_LINKFirst ()
 

Private Attributes

ELIST_LINKlast
 

Friends

class ELIST_ITERATOR
 

Constructor & Destructor Documentation

◆ ELIST()

ELIST::ELIST ( )
inline

Member Function Documentation

◆ add_sorted()

bool ELIST::add_sorted ( int   comparatorconst void *, const void *,
bool  unique,
ELIST_LINK new_link 
)
inline

◆ add_sorted_and_find()

ELIST_LINK * ELIST::add_sorted_and_find ( int   comparatorconst void *, const void *,
bool  unique,
ELIST_LINK new_link 
)

◆ assign_to_sublist()

void ELIST::assign_to_sublist ( ELIST_ITERATOR start_it,
ELIST_ITERATOR end_it 
)

◆ empty()

bool ELIST::empty ( ) const
inline

◆ First()

ELIST_LINK* ELIST::First ( )
inlineprivate

◆ internal_clear()

void ELIST::internal_clear ( void(*)(ELIST_LINK *)  zapper)

◆ internal_deep_copy()

void ELIST::internal_deep_copy ( ELIST_LINK *(*)(ELIST_LINK *)  copier,
const ELIST list 
)

◆ length()

int32_t ELIST::length ( ) const

◆ shallow_copy()

void ELIST::shallow_copy ( ELIST from_list)
inline

◆ singleton()

bool ELIST::singleton ( ) const
inline

◆ sort()

void ELIST::sort ( int   comparator const void *, const void *)

Friends And Related Function Documentation

◆ ELIST_ITERATOR

friend class ELIST_ITERATOR
friend

Member Data Documentation

◆ last

ELIST_LINK* ELIST::last
private

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