User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Core - Lists - DLinkHeadC
 

  PUBLIC
DLinkHeadC::DLinkHeadC(void)
DLinkHeadC::IsEmpty(void) const
DLinkHeadC::Size(void) const
DLinkHeadC::Reverse(void)
DLinkHeadC::MergeSort(MergeSortInterCmpT,void *)
DLinkHeadC::Head(void)

   DLinkHeadC   
 
Double-link list head.
 
include "Ravl/DLink.hh"
User Level:Advanced
Library:RavlCore
In Scope:RavlN

Derived Classes: Typedefs:
typedef bool (*MergeSortInterCmpT)(DLinkC * l1,DLinkC * l2,void * dat) ;
Comparison function for merge sort.

Variables:
Methods:
DLinkHeadC()
Default constructor.
creates an empty list.

bool IsEmpty() const
Is list empty ?

UIntT Size() const
Count the number of elements in the list.
This is of order N, where N is the number of elements in the list.

void Reverse()
Reverse the order of the list.
This is of order N, where N is the number of elements in the list.

void MergeSort(MergeSortInterCmpT ms,void * pass = 0)
Merge sort the list using given comparison function.

DLinkC & Head()
Get head of list.


Maintainer:Radek Marik, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002