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

#include <clst.h>

Collaboration diagram for CLIST_ITERATOR:

Public Member Functions

 CLIST_ITERATOR ()
 
 CLIST_ITERATOR (CLIST *list_to_iterate)
 
void set_to_list (CLIST *list_to_iterate)
 
void add_after_then_move (void *new_data)
 
void add_after_stay_put (void *new_data)
 
void add_before_then_move (void *new_data)
 
void add_before_stay_put (void *new_data)
 
void add_list_after (CLIST *list_to_add)
 
void add_list_before (CLIST *list_to_add)
 
void * data ()
 
void * data_relative (int8_t offset)
 
void * forward ()
 
void * extract ()
 
void * move_to_first ()
 
void * move_to_last ()
 
void mark_cycle_pt ()
 
bool empty ()
 
bool current_extracted ()
 
bool at_first ()
 
bool at_last ()
 
bool cycled_list ()
 
void add_to_end (void *new_data)
 
void exchange (CLIST_ITERATOR *other_it)
 
int32_t length ()
 
void sort (int comparator(const void *, const void *))
 

Private Member Functions

CLIST_LINKextract_sublist (CLIST_ITERATOR *other_it)
 

Private Attributes

CLISTlist
 
CLIST_LINKprev
 
CLIST_LINKcurrent
 
CLIST_LINKnext
 
bool ex_current_was_last
 
bool ex_current_was_cycle_pt
 
CLIST_LINKcycle_pt
 
bool started_cycling
 

Friends

void CLIST::assign_to_sublist (CLIST_ITERATOR *, CLIST_ITERATOR *)
 

Constructor & Destructor Documentation

◆ CLIST_ITERATOR() [1/2]

CLIST_ITERATOR::CLIST_ITERATOR ( )
inline

◆ CLIST_ITERATOR() [2/2]

CLIST_ITERATOR::CLIST_ITERATOR ( CLIST list_to_iterate)
inline

Member Function Documentation

◆ add_after_stay_put()

void CLIST_ITERATOR::add_after_stay_put ( void *  new_data)
inline

◆ add_after_then_move()

void CLIST_ITERATOR::add_after_then_move ( void *  new_data)
inline

◆ add_before_stay_put()

void CLIST_ITERATOR::add_before_stay_put ( void *  new_data)
inline

◆ add_before_then_move()

void CLIST_ITERATOR::add_before_then_move ( void *  new_data)
inline

◆ add_list_after()

void CLIST_ITERATOR::add_list_after ( CLIST list_to_add)
inline

◆ add_list_before()

void CLIST_ITERATOR::add_list_before ( CLIST list_to_add)
inline

◆ add_to_end()

void CLIST_ITERATOR::add_to_end ( void *  new_data)
inline

◆ at_first()

bool CLIST_ITERATOR::at_first ( )
inline

◆ at_last()

bool CLIST_ITERATOR::at_last ( )
inline

◆ current_extracted()

bool CLIST_ITERATOR::current_extracted ( )
inline

◆ cycled_list()

bool CLIST_ITERATOR::cycled_list ( )
inline

◆ data()

void* CLIST_ITERATOR::data ( )
inline

◆ data_relative()

void * CLIST_ITERATOR::data_relative ( int8_t  offset)

◆ empty()

bool CLIST_ITERATOR::empty ( )
inline

◆ exchange()

void CLIST_ITERATOR::exchange ( CLIST_ITERATOR other_it)

◆ extract()

void * CLIST_ITERATOR::extract ( )
inline

◆ extract_sublist()

CLIST_LINK * CLIST_ITERATOR::extract_sublist ( CLIST_ITERATOR other_it)
private

◆ forward()

void * CLIST_ITERATOR::forward ( )

◆ length()

int32_t CLIST_ITERATOR::length ( )
inline

◆ mark_cycle_pt()

void CLIST_ITERATOR::mark_cycle_pt ( )
inline

◆ move_to_first()

void * CLIST_ITERATOR::move_to_first ( )
inline

◆ move_to_last()

void * CLIST_ITERATOR::move_to_last ( )

◆ set_to_list()

void CLIST_ITERATOR::set_to_list ( CLIST list_to_iterate)
inline

◆ sort()

void CLIST_ITERATOR::sort ( int   comparator const void *, const void *)
inline

Friends And Related Function Documentation

◆ CLIST::assign_to_sublist

Member Data Documentation

◆ current

CLIST_LINK* CLIST_ITERATOR::current
private

◆ cycle_pt

CLIST_LINK* CLIST_ITERATOR::cycle_pt
private

◆ ex_current_was_cycle_pt

bool CLIST_ITERATOR::ex_current_was_cycle_pt
private

◆ ex_current_was_last

bool CLIST_ITERATOR::ex_current_was_last
private

◆ list

CLIST* CLIST_ITERATOR::list
private

◆ next

CLIST_LINK* CLIST_ITERATOR::next
private

◆ prev

CLIST_LINK* CLIST_ITERATOR::prev
private

◆ started_cycling

bool CLIST_ITERATOR::started_cycling
private

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