Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

more::gen::linked Class Reference

A class for linking objects together. More...

#include <more/gen/link.h>

Inheritance diagram for more::gen::linked:

Inheritance graph
[legend]
Collaboration diagram for more::gen::linked:

Collaboration graph
[legend]
List of all members.

Public Methods

Friends


Detailed Description

A class for linking objects together.

This allows you for instance to link objects on the stack into a (unordered) list.


Constructor & Destructor Documentation

more::gen::linked::linked linked &    gr [inline, explicit]
 

construct a link which is a member of gr.

gr may be eigher a linked object or a link<T>.

more::gen::linked::linked   [inline]
 

construct a node to be later linked in with the link member function.

more::gen::linked::~linked   [inline]
 

unlink and destruct.


Member Function Documentation

bool more::gen::linked::is_linked   [inline]
 

void more::gen::linked::join linked &    x [inline]
 

join with another link.

void more::gen::linked::join_after linked *    ln [inline]
 

Join ln so that the next node becomes ln.

void more::gen::linked::join_before linked *    ln [inline]
 

Join ln so that the previous node becomes ln.

void more::gen::linked::link_to linked &    gr [inline]
 

link in a node which as constructed by the default constructor.

void more::gen::linked::unlink   [inline]
 

unlink.


Friends And Related Function Documentation

friend class link [friend]
 

void swap linked &    x,
linked &    y
[friend]
 

swap the possitions of the linked objects, possibly between different rings.


The documentation for this class was generated from the following file:
Generated on Sat Sep 7 19:12:31 2002 for more with Doxygen 1.2.13.1. Doxygen 1.2.13.1 is written and copyright 1997-2002 by Dimitri van Heesch.