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

  PUBLIC
ListElmC::ListElmC(const DataC &)
ListElmC::Data(void)
ListElmC::Data(void) const
ListElmC::UnLink(void)
ListElmC::NextPtr(void)
ListElmC::PrevPtr(void)
ListLinkC::Next(void)
ListLinkC::Prev(void)
ListLinkC::NextPtr(void)
ListLinkC::PrevPtr(void)
ListLinkC::IsHead(void)
ListLinkC::IsFirst(void)
ListLinkC::IsLast(void)
ListLinkC::InsBef(ListLinkC &)
ListLinkC::InsAft(ListLinkC &)
ListLinkC::UnLink(void)
ListLinkC::operator<<(ostream &,ListLinkC &)
ListElmC<class DataC>
 
A template representant of one list element
 
include "amma/ListElm.hh"
User Level:Default
Library:Mold
Example:exBiHash.cc
Section:Obsolete
In Scope:std

Parent Classes:

Variables:
DataC content;

Methods:
ListElmC(const DataC & data)
construct a list element which contains 'data'

DataC & Data()
the reference to the content of the list element

const DataC & Data() const
the constant reference to the content of the list element

ListElmC<DataC> & UnLink()

ListElmC<DataC> * NextPtr()
return the pointer to the next element

ListElmC<DataC> * PrevPtr()
return the pointer to the previous element

#include "amma/ListLink.hh"
ListLinkC & Next()
return the next element in a list

ListLinkC & Prev()
return the previous element in a list

ListLinkC * NextPtr()
return the pointer to the next element

ListLinkC * PrevPtr()
return the pointer to the previous element ------------ Predicates -----------------------

BooleanT IsHead()
is the element a head of a list

BooleanT IsFirst()
is an element the first one in a list?

BooleanT IsLast()
is an element the last one in a list? ----------- Insert / Unlink --------------------------

ListLinkC & InsBef(ListLinkC & elm)
insert 'elm' before the element

ListLinkC & InsAft(ListLinkC & elm)
insert 'elm' after the element

ListLinkC & UnLink()
unlink the list element from the list, return the next list element

ostream & operator<<(ostream & s,ListLinkC & elm)


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