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

#include <elst2.h>

Collaboration diagram for ELIST2_ITERATOR:

Public Member Functions

 ELIST2_ITERATOR (ELIST2 *list_to_iterate)
 
void set_to_list (ELIST2 *list_to_iterate)
 
void add_after_then_move (ELIST2_LINK *new_link)
 
void add_after_stay_put (ELIST2_LINK *new_link)
 
void add_before_then_move (ELIST2_LINK *new_link)
 
void add_before_stay_put (ELIST2_LINK *new_link)
 
void add_list_after (ELIST2 *list_to_add)
 
void add_list_before (ELIST2 *list_to_add)
 
ELIST2_LINKdata ()
 
ELIST2_LINKdata_relative (int8_t offset)
 
ELIST2_LINKforward ()
 
ELIST2_LINKbackward ()
 
ELIST2_LINKextract ()
 
ELIST2_LINKmove_to_first ()
 
ELIST2_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 (ELIST2_LINK *new_link)
 
void exchange (ELIST2_ITERATOR *other_it)
 
int32_t length ()
 
void sort (int comparator(const void *, const void *))
 

Private Member Functions

ELIST2_LINKextract_sublist (ELIST2_ITERATOR *other_it)
 
 ELIST2_ITERATOR ()
 

Private Attributes

ELIST2list
 
ELIST2_LINKprev
 
ELIST2_LINKcurrent
 
ELIST2_LINKnext
 
bool ex_current_was_last
 
bool ex_current_was_cycle_pt
 
ELIST2_LINKcycle_pt
 
bool started_cycling
 

Friends

void ELIST2::assign_to_sublist (ELIST2_ITERATOR *, ELIST2_ITERATOR *)
 

Constructor & Destructor Documentation

◆ ELIST2_ITERATOR() [1/2]

ELIST2_ITERATOR::ELIST2_ITERATOR ( ELIST2 list_to_iterate)
inline

◆ ELIST2_ITERATOR() [2/2]

ELIST2_ITERATOR::ELIST2_ITERATOR ( )
private

Member Function Documentation

◆ add_after_stay_put()

void ELIST2_ITERATOR::add_after_stay_put ( ELIST2_LINK new_link)
inline

◆ add_after_then_move()

void ELIST2_ITERATOR::add_after_then_move ( ELIST2_LINK new_link)
inline

◆ add_before_stay_put()

void ELIST2_ITERATOR::add_before_stay_put ( ELIST2_LINK new_link)
inline

◆ add_before_then_move()

void ELIST2_ITERATOR::add_before_then_move ( ELIST2_LINK new_link)
inline

◆ add_list_after()

void ELIST2_ITERATOR::add_list_after ( ELIST2 list_to_add)
inline

◆ add_list_before()

void ELIST2_ITERATOR::add_list_before ( ELIST2 list_to_add)
inline

◆ add_to_end()

void ELIST2_ITERATOR::add_to_end ( ELIST2_LINK new_link)
inline

◆ at_first()

bool ELIST2_ITERATOR::at_first ( )
inline

◆ at_last()

bool ELIST2_ITERATOR::at_last ( )
inline

◆ backward()

ELIST2_LINK * ELIST2_ITERATOR::backward ( )

◆ current_extracted()

bool ELIST2_ITERATOR::current_extracted ( )
inline

◆ cycled_list()

bool ELIST2_ITERATOR::cycled_list ( )
inline

◆ data()

ELIST2_LINK* ELIST2_ITERATOR::data ( )
inline

◆ data_relative()

ELIST2_LINK * ELIST2_ITERATOR::data_relative ( int8_t  offset)

◆ empty()

bool ELIST2_ITERATOR::empty ( )
inline

◆ exchange()

void ELIST2_ITERATOR::exchange ( ELIST2_ITERATOR other_it)

◆ extract()

ELIST2_LINK * ELIST2_ITERATOR::extract ( )
inline

◆ extract_sublist()

ELIST2_LINK * ELIST2_ITERATOR::extract_sublist ( ELIST2_ITERATOR other_it)
private

◆ forward()

ELIST2_LINK * ELIST2_ITERATOR::forward ( )

◆ length()

int32_t ELIST2_ITERATOR::length ( )
inline

◆ mark_cycle_pt()

void ELIST2_ITERATOR::mark_cycle_pt ( )
inline

◆ move_to_first()

ELIST2_LINK * ELIST2_ITERATOR::move_to_first ( )
inline

◆ move_to_last()

ELIST2_LINK * ELIST2_ITERATOR::move_to_last ( )
inline

◆ set_to_list()

void ELIST2_ITERATOR::set_to_list ( ELIST2 list_to_iterate)
inline

◆ sort()

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

Friends And Related Function Documentation

◆ ELIST2::assign_to_sublist

Member Data Documentation

◆ current

ELIST2_LINK* ELIST2_ITERATOR::current
private

◆ cycle_pt

ELIST2_LINK* ELIST2_ITERATOR::cycle_pt
private

◆ ex_current_was_cycle_pt

bool ELIST2_ITERATOR::ex_current_was_cycle_pt
private

◆ ex_current_was_last

bool ELIST2_ITERATOR::ex_current_was_last
private

◆ list

ELIST2* ELIST2_ITERATOR::list
private

◆ next

ELIST2_LINK* ELIST2_ITERATOR::next
private

◆ prev

ELIST2_LINK* ELIST2_ITERATOR::prev
private

◆ started_cycling

bool ELIST2_ITERATOR::started_cycling
private

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