Make your own free website on Tripod.com

Contents Turbed: A Turbulent Behavior Development System News
In file list.hpp:

class DBNode

Generic DBNode

Public Methods

[more] DBNode(DBNode *, DBNode*, T*)
Create a node, receives pointer to data (creates a copy of the data), and next/prev nodes ptrs
o* pprev()
Return a pointer to previous node
o* pnext()
Return a pointer to Next
oT* info()
Return a pointer to stored data
ovoid chgnxt(DBNode*)
Change the next ptr for the input parameter value
ovoid chgprev(DBNode*)
Change the pre ptr for the input parameter value
ovoid chgdata(T*)
change the stored data for the new one
o ~DBNode()
destroy this node and free all memory used

Private Fields

o* previous
Previous node
o* next
Next node
oT* data
Pointer to data


Documentation

Generic DBNode.

This is the internal node representation for the generic List class

o DBNode(DBNode *, DBNode*, T*)
Create a node, receives pointer to data (creates a copy of the data), and next/prev nodes ptrs.


This class has no child classes.
Author:
Daniel Barrero
See Also:
List

Alphabetic index HTML hierarchy of classes or Java


This software was originally written by Daniel Barrero at the IRIT's Equipe Synthèse d'Images
contact: barrero@irit.fr

Generated by doc++