User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Lists - BinIStreamC & operator >>(BinIStreamC & strm,DListC<DataT> & lst)
 

   BinIStreamC & operator >>(BinIStreamC & strm,DListC<DataT> & lst)    
 
Double linked List
 
include "Ravl/DList.hh"
User Level:Normal
Library:RavlCore
Example:exDList.cc
In Scope:RavlN

This is a reference counted, doubly linked list.

Implementation:

The list contains a head element and a chain of elements. Empty list contains just its head element. Because of efficiency references to elements of a list are not checked if they are proper elements of a list or its head.

To iterate through a list efficiently, you need to use on of the list iterator class DLIterC
Maintainer:Radek Marik, Charles Galambos, Documentation by CxxDoc: Tue Aug 13 10:00:21 2002