163 if (
Next) (*Next).Prev =
this;
171 if ((*Next).Prev) (*(*Next).Prev).
Next = 0;
207 #ifndef CASACORE_NO_AUTO_TEMPLATES
208 #include <casacore/casa/Containers/Link.tcc>
209 #endif //# CASACORE_NO_AUTO_TEMPLATES
doubly linked list primitive
t & val()
The val() member function will return a reference to the contents of the current node.
Link(t e, Link< t > *p=0, Link< t > *n=0)
This is where the maintenance of the list happens.
~Link()
This destructor destroys the rest of the list, i.e.
Link< t > *& next()
These member functions allow traversal of the list.
const Link< t > * prev() const
const Link< t > * next() const
Link< t > * unlink(Link< t > *=0)
This function unlinks a given element of the list.
const Double e
e and functions thereof:
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.