Go to the previous, next section.
#include <CNCL/SLObject.h>
CN_SLOBJECT
CNObject
CNDLObject
CNSLList, CNSLIterator
CNSLObject is a node in the CNSLList single linked list. It
contains a pointer to the next and a pointer to the referenced object.
Constructors:
CNSLObject();
CNSLObject(CNParam *param);
CNSLObject(CNObject *obj);
CNSLObject and optionally sets a referenced object.
CNSLObjects have a private destructor and can therefore only be
allocated on the heap. Furthermore CNSLObjects cannot be copied,
no copy constructor is supplied; an
attempt to do so results in a runtime error.
In addition to the member functions required by CNCL, CNSLObject
provides:
CNSLObject *set_next(CNSLObject *p);
CNSLObject *next(CNSLObject *p);
CNSLObject *get_next();
CNSLObject *next();
CNObject *object(CNObject *obj);
CNObject *object();
CNObject *set_object(CNObject *obj);
CNObject *get_object();
void delete_object();
Go to the previous, next section.