Cytosim PI Cytoskeleton Simulator

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

List of all members | Public Member Functions | Protected Attributes | Friends
Node Class Reference

## Detailed Description

This provides the necessary pointers to build doubly-linked lists:

- nNext points to the next Node, and is null if *this is first in the list.
- nPrev points to the previous Node, and is null if *this is last in the list.
- nList is a back pointer to the current NodeList.

A given Node can only be part of one NodeList. One can unlink the object with

obj->list()->pop(obj);
Inheritance diagram for Node:

## Public Member Functions
| Node ()
| constructor set as unlinked
virtual | ~Node ()
| destructor More...
bool | linked () const
| true if Node is linked
Node * | next () const
| the next Node in the list, or zero if this is last
Node * | prev () const
| the previous Node in the list, or zero if this is first
NodeList * | list () const
| the list where the object is linked, or zero
ObjectSet * | objset () const
| return associated ObjectSet

## Protected Attributes
Node * | nNext
| the next Node in the list
Node * | nPrev
| the previous Node in the list

## Friends
class | NodeList

## Constructor & Destructor Documentation

~Node | ( |  | ) |
| virtual

the Node should have been unlinked first