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

  PUBLIC
DChainC::DChainC(void)
DChainC::DChainC(const DChainC &)
DChainC::Next(void) const
DChainC::Prev(void) const
DChainC::NextPtr(void) const
DChainC::PrevPtr(void) const
DChainC::Next(void)
DChainC::Prev(void)
DChainC::NextPtr(void)
DChainC::PrevPtr(void)
DChainC::Reverse(void)
DChainC::IsSelfPointing(void) const
DChainC::LinkBef(DChainC *)
DChainC::LinkAft(DChainC *)
DChainC::Unlink(void)
DChainC::CutPaste(DChainC &,DChainC &)
DChainC::SetSelfPointing(void)
DChainC::operator<<(ostream &,const DChainC &)
DChainC
 
Double-link
 
include "amma/DChain.hh"
Created:22.07.94 
Source file:amma/Contain/DList/DChain.hh
User Level:Develop
Library:Mlist
Section:Containers.Lists.DList
In Scope:std

Comments:

Parent Classes: Derived Classes: Methods:
DChainC()

Creates one double-link which points to itself.

DChainC(const DChainC & link)

Copy constructor.

const DChainC & Next() const

Returns the next element in a constant list.

const DChainC & Prev() const

Returns the previous element in a constant list.

const DChainC * NextPtr() const

Returns the pointer to the next constant element

const DChainC * PrevPtr() const

Returns the pointer to the previous constant element

DChainC & Next()

Returns the next element in a list.

DChainC & Prev()

Returns the previous element in a list.

DChainC * NextPtr()

Returns the pointer to the next element

DChainC * PrevPtr()

Returns the pointer to the previous element

void Reverse()

Swaps the links in all chain elements exchanging meaning of "successor" and "predecessor".

BooleanT IsSelfPointing() const

Returns TRUE if the next element is this element. ----------- Link / Unlink --------------------------

DChainC * LinkBef(DChainC * elm)

Links 'elm' before the element. The links of 'elm' need not to be proper links.

DChainC * LinkAft(DChainC * elm)

Links 'elm' after the element. The links of 'elm' need not to be proper links.

DChainC * Unlink()

Unlinks the list element from the list. The predecessor and the successor of this element will be linked to each other. However, the links of this element stay unchanged. Returns this list element.

void CutPaste(DChainC & firstCut,DChainC & firstNotCut)

Cuts the chain of double links elements starting at 'firstCut' and ending at the element previous of 'firstNotCut' from a chain. The rest of the chain is linked together again. The cut part is linked in after this element.

void SetSelfPointing()

Set both links to point to this object.

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



Programmer:Radek Marik, Created: 22.07.94, Documentation by CxxDoc: Fri Mar 16 21:16:41 2001