Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
DLinkC::DLinkC(void)
DLinkC::DLinkC(const DLinkC &)
DLinkC::DLinkC(DLinkC *,DLinkC *)
DLinkC::Swap(void)
DLinkC::SetSelfPointing(void)
DLinkC::operator<<(ostream &,const DLinkC &)
DLinkC
 
DLinkC represent a double-linked element.
 
include "amma/DLink.hh"
User Level:Default
Library:Mlist
Example:exBuffer.cc
Section:Containers.Lists.DList
In Scope:std

Comments:
It is a basic building unit of double-linked lists.

Variables:
DLinkC * succ;
the next element

DLinkC * pred;
the previous element

Methods:
DLinkC()
Creates one double-link. The links are undefined.

DLinkC(const DLinkC & link)
Copy constructor.

DLinkC(DLinkC * s,DLinkC * p)
Constructor from specific items: the successor 's', the predecessor 'p'. Modifications of the object ---------------------------

void Swap()
Swaps the links in this double link element. If there are other elements linked to this element, their links are not changed!!

void SetSelfPointing()
Set both links to point to this object.

ostream & operator<<(ostream & s,const DLinkC & elm)


Programmer:Radek Marik, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001