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

#include <clst.h>

Collaboration diagram for CLIST:

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)
 

Private Member Functions

CLIST_LINKFirst ()
 

Private Attributes

CLIST_LINKlast
 

Friends

class CLIST_ITERATOR
 

Constructor & Destructor Documentation

◆ CLIST()

CLIST::CLIST ( )
inline

◆ ~CLIST()

CLIST::~CLIST ( )
inline

Member Function Documentation

◆ add_sorted()

bool CLIST::add_sorted ( int   comparatorconst void *, const void *,
bool  unique,
void *  new_data 
)

◆ assign_to_sublist()

void CLIST::assign_to_sublist ( CLIST_ITERATOR start_it,
CLIST_ITERATOR end_it 
)

◆ empty()

bool CLIST::empty ( ) const
inline

◆ First()

CLIST_LINK* CLIST::First ( )
inlineprivate

◆ internal_deep_clear()

void CLIST::internal_deep_clear ( void(*)(void *)  zapper)

◆ length()

int32_t CLIST::length ( ) const

◆ set_subtract()

void CLIST::set_subtract ( int   comparatorconst void *, const void *,
bool  unique,
CLIST minuend,
CLIST subtrahend 
)

◆ shallow_clear()

void CLIST::shallow_clear ( )

◆ shallow_copy()

void CLIST::shallow_copy ( CLIST from_list)
inline

◆ singleton()

bool CLIST::singleton ( ) const
inline

◆ sort()

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

Friends And Related Function Documentation

◆ CLIST_ITERATOR

friend class CLIST_ITERATOR
friend

Member Data Documentation

◆ last

CLIST_LINK* CLIST::last
private

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