#include <CNCL/DLObject.h>
CN_DLOBJECT
CNSLObject
None
CNDLList, CNDLIterator
CNDLObject
is a node in the CNDLList
doubly linked
list. In addition to the base class it contains a pointer to the
previous node.
Constructors:
CNDLObject();
CNDLObject(CNParam *param);
CNDLObject(CNObject *obj);
CNDLObject
and optionally sets a referenced object.
CNDLObject
s have a private destructor and can therefore only be
allocated on the heap. Furthermore CNDLObject
s cannot be copied,
no copy constructor is supplied; an
attempt do so results in a runtime error.
In addition to the member functions required by CNCL and to the
functions declared at CNSLObject
, CNDLObject
provides:
CNDLObject *prev(CNDLObject *p);
CNDLObject *prev();
CNDLObject *set_prev(CNDLObject *p);
CNDLObject *get_prev();
Go to the first, previous, next, last section, table of contents.