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

#include <elst.h>

Inheritance diagram for ELIST_ITERATOR:
Collaboration diagram for ELIST_ITERATOR:

Public Member Functions

 ELIST_ITERATOR ()
 
 ELIST_ITERATOR (ELIST *list_to_iterate)
 
void set_to_list (ELIST *list_to_iterate)
 
void add_after_then_move (ELIST_LINK *new_link)
 
void add_after_stay_put (ELIST_LINK *new_link)
 
void add_before_then_move (ELIST_LINK *new_link)
 
void add_before_stay_put (ELIST_LINK *new_link)
 
void add_list_after (ELIST *list_to_add)
 
void add_list_before (ELIST *list_to_add)
 
ELIST_LINKdata ()
 
ELIST_LINKdata_relative (int8_t offset)
 
ELIST_LINKforward ()
 
ELIST_LINKextract ()
 
ELIST_LINKmove_to_first ()
 
ELIST_LINKmove_to_last ()
 
void mark_cycle_pt ()
 
bool empty ()
 
bool current_extracted ()
 
bool at_first ()
 
bool at_last ()
 
bool cycled_list ()
 
void add_to_end (ELIST_LINK *new_link)
 
void exchange (ELIST_ITERATOR *other_it)
 
int32_t length ()
 
void sort (int comparator(const void *, const void *))
 

Private Member Functions

ELIST_LINKextract_sublist (ELIST_ITERATOR *other_it)
 

Private Attributes

ELISTlist
 
ELIST_LINKprev
 
ELIST_LINKcurrent
 
ELIST_LINKnext
 
bool ex_current_was_last
 
bool ex_current_was_cycle_pt
 
ELIST_LINKcycle_pt
 
bool started_cycling
 

Friends

void ELIST::assign_to_sublist (ELIST_ITERATOR *, ELIST_ITERATOR *)
 

Constructor & Destructor Documentation

◆ ELIST_ITERATOR() [1/2]

ELIST_ITERATOR::ELIST_ITERATOR ( )
inline

◆ ELIST_ITERATOR() [2/2]

ELIST_ITERATOR::ELIST_ITERATOR ( ELIST list_to_iterate)
inlineexplicit

Member Function Documentation

◆ add_after_stay_put()

void ELIST_ITERATOR::add_after_stay_put ( ELIST_LINK new_link)
inline

◆ add_after_then_move()

void ELIST_ITERATOR::add_after_then_move ( ELIST_LINK new_link)
inline

◆ add_before_stay_put()

void ELIST_ITERATOR::add_before_stay_put ( ELIST_LINK new_link)
inline

◆ add_before_then_move()

void ELIST_ITERATOR::add_before_then_move ( ELIST_LINK new_link)
inline

◆ add_list_after()

void ELIST_ITERATOR::add_list_after ( ELIST list_to_add)
inline

◆ add_list_before()

void ELIST_ITERATOR::add_list_before ( ELIST list_to_add)
inline

◆ add_to_end()

void ELIST_ITERATOR::add_to_end ( ELIST_LINK new_link)
inline

◆ at_first()

bool ELIST_ITERATOR::at_first ( )
inline

◆ at_last()

bool ELIST_ITERATOR::at_last ( )
inline

◆ current_extracted()

bool ELIST_ITERATOR::current_extracted ( )
inline

◆ cycled_list()

bool ELIST_ITERATOR::cycled_list ( )
inline

◆ data()

ELIST_LINK* ELIST_ITERATOR::data ( )
inline

◆ data_relative()

ELIST_LINK * ELIST_ITERATOR::data_relative ( int8_t  offset)

◆ empty()

bool ELIST_ITERATOR::empty ( )
inline

◆ exchange()

void ELIST_ITERATOR::exchange ( ELIST_ITERATOR other_it)

◆ extract()

ELIST_LINK * ELIST_ITERATOR::extract ( )
inline

◆ extract_sublist()

ELIST_LINK * ELIST_ITERATOR::extract_sublist ( ELIST_ITERATOR other_it)
private

◆ forward()

ELIST_LINK * ELIST_ITERATOR::forward ( )

◆ length()

int32_t ELIST_ITERATOR::length ( )
inline

◆ mark_cycle_pt()

void ELIST_ITERATOR::mark_cycle_pt ( )
inline

◆ move_to_first()

ELIST_LINK * ELIST_ITERATOR::move_to_first ( )
inline

◆ move_to_last()

ELIST_LINK * ELIST_ITERATOR::move_to_last ( )

◆ set_to_list()

void ELIST_ITERATOR::set_to_list ( ELIST list_to_iterate)
inline

◆ sort()

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

Friends And Related Function Documentation

◆ ELIST::assign_to_sublist

Member Data Documentation

◆ current

ELIST_LINK* ELIST_ITERATOR::current
private

◆ cycle_pt

ELIST_LINK* ELIST_ITERATOR::cycle_pt
private

◆ ex_current_was_cycle_pt

bool ELIST_ITERATOR::ex_current_was_cycle_pt
private

◆ ex_current_was_last

bool ELIST_ITERATOR::ex_current_was_last
private

◆ list

ELIST* ELIST_ITERATOR::list
private

◆ next

ELIST_LINK* ELIST_ITERATOR::next
private

◆ prev

ELIST_LINK* ELIST_ITERATOR::prev
private

◆ started_cycling

bool ELIST_ITERATOR::started_cycling
private

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