ELIST2_LINK Class Reference

#include <elst2.h>

Inheritance diagram for ELIST2_LINK:

POLYPT TO_ROW List of all members.

Detailed Description

Generic link class for doubly linked lists with embedded links.

No destructor - elements are assumed to be destroyed EITHER after they have been extracted from a list OR by the ELIST2 destructor which walks the list.

Note:
None of the serialise member functions are required for ELIST2_LINKs as they are never serialised. (We demand that the derived class terminates recursion - just to make sure that it defines the member functions anyway.)

Definition at line 58 of file elst2.h.

Public Member Functions

Private Attributes

Friends


Constructor & Destructor Documentation

ELIST2_LINK::ELIST2_LINK (  )  [inline]

Definition at line 67 of file elst2.h.

References NULL.

00067                   {  //constructor
00068       prev = next = NULL;
00069     }

ELIST2_LINK::ELIST2_LINK ( const ELIST2_LINK  )  [inline]

Definition at line 71 of file elst2.h.

References NULL.

00072                                      {  //dont copy link
00073       prev = next = NULL;
00074     }


Member Function Documentation

void ELIST2_LINK::operator= ( const ELIST2_LINK  )  [inline]

Definition at line 76 of file elst2.h.

References NULL.

00077                          {
00078       prev = next = NULL;
00079     }


Friends And Related Function Documentation

friend class ELIST2 [friend]

Definition at line 61 of file elst2.h.

friend class ELIST2_ITERATOR [friend]

Definition at line 60 of file elst2.h.


Member Data Documentation

ELIST2_LINK* ELIST2_LINK::next [private]

Definition at line 64 of file elst2.h.

Referenced by ELIST2_ITERATOR::add_after_stay_put(), ELIST2_ITERATOR::add_after_then_move(), ELIST2_ITERATOR::add_before_stay_put(), ELIST2_ITERATOR::add_before_then_move(), ELIST2_ITERATOR::add_list_after(), ELIST2_ITERATOR::add_list_before(), ELIST2_ITERATOR::add_to_end(), ELIST2_ITERATOR::data_relative(), ELIST2_ITERATOR::exchange(), ELIST2_ITERATOR::extract(), ELIST2_ITERATOR::extract_sublist(), ELIST2_ITERATOR::forward(), ELIST2::internal_clear(), ELIST2::internal_de_dump(), ELIST2_ITERATOR::move_to_first(), ELIST2_ITERATOR::move_to_last(), and ELIST2_ITERATOR::set_to_list().

ELIST2_LINK* ELIST2_LINK::prev [private]

Definition at line 63 of file elst2.h.

Referenced by ELIST2_ITERATOR::add_after_stay_put(), ELIST2_ITERATOR::add_after_then_move(), ELIST2_ITERATOR::add_before_stay_put(), ELIST2_ITERATOR::add_before_then_move(), ELIST2_ITERATOR::add_list_after(), ELIST2_ITERATOR::add_list_before(), ELIST2_ITERATOR::add_to_end(), ELIST2_ITERATOR::backward(), ELIST2_ITERATOR::data_relative(), ELIST2_ITERATOR::exchange(), ELIST2_ITERATOR::extract(), ELIST2_ITERATOR::extract_sublist(), ELIST2::internal_de_dump(), and ELIST2_ITERATOR::move_to_last().


The documentation for this class was generated from the following file:
Generated on Wed Feb 28 19:49:31 2007 for Tesseract by  doxygen 1.5.1