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

#include <elst2.h>

Collaboration diagram for ELIST2:

Public Member Functions

 ELIST2 ()
 
void internal_clear (void(*zapper)(ELIST2_LINK *))
 
bool empty () const
 
bool singleton () const
 
void shallow_copy (ELIST2 *from_list)
 
void internal_deep_copy (ELIST2_LINK *(*copier)(ELIST2_LINK *), const ELIST2 *list)
 
void assign_to_sublist (ELIST2_ITERATOR *start_it, ELIST2_ITERATOR *end_it)
 
int32_t length () const
 
void sort (int comparator(const void *, const void *))
 
void add_sorted (int comparator(const void *, const void *), ELIST2_LINK *new_link)
 

Private Member Functions

ELIST2_LINKFirst ()
 

Private Attributes

ELIST2_LINKlast
 

Friends

class ELIST2_ITERATOR
 

Constructor & Destructor Documentation

◆ ELIST2()

ELIST2::ELIST2 ( )
inline

Member Function Documentation

◆ add_sorted()

void ELIST2::add_sorted ( int   comparatorconst void *, const void *,
ELIST2_LINK new_link 
)

◆ assign_to_sublist()

void ELIST2::assign_to_sublist ( ELIST2_ITERATOR start_it,
ELIST2_ITERATOR end_it 
)

◆ empty()

bool ELIST2::empty ( ) const
inline

◆ First()

ELIST2_LINK* ELIST2::First ( )
inlineprivate

◆ internal_clear()

void ELIST2::internal_clear ( void(*)(ELIST2_LINK *)  zapper)

◆ internal_deep_copy()

void ELIST2::internal_deep_copy ( ELIST2_LINK *(*)(ELIST2_LINK *)  copier,
const ELIST2 list 
)

◆ length()

int32_t ELIST2::length ( ) const

◆ shallow_copy()

void ELIST2::shallow_copy ( ELIST2 from_list)
inline

◆ singleton()

bool ELIST2::singleton ( ) const
inline

◆ sort()

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

Friends And Related Function Documentation

◆ ELIST2_ITERATOR

friend class ELIST2_ITERATOR
friend

Member Data Documentation

◆ last

ELIST2_LINK* ELIST2::last
private

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