102 template<
class R,
class N,
int n>
class ListInRoot {
106 typedef ListInNode<R, N, n>
Node;
116 void remove(N& node);
117 void remove(N* node);
120 #if __cplusplus < 201101L
143 template<
class R,
class N,
int n>
class ListInNode {
147 typedef ListInRoot<R, N, n> Root;
163 R*
root()
const {
return root_; }
164 N*
next()
const {
return next_; }
166 #if __cplusplus < 201101L
ListInNode(R &root)
Definition: ListIn.hpp:331
N * next() const
Return pointer to next Node on List.
Definition: ListIn.h:164
void addToFront(R &root)
Definition: ListIn.hpp:204
void addTo(R &root)
Definition: ListIn.hpp:283
void addLast(N &node)
Definition: ListIn.hpp:142
void addAfter(N &node)
Definition: ListIn.hpp:253
R * root() const
Return pointer to List we are on.
Definition: ListIn.h:163
N * first() const
Return pointer to first Node on list.
Definition: ListIn.h:118
ListInRoot()
Definition: ListIn.hpp:303
~ListInRoot()
Definition: ListIn.hpp:311
~ListInNode()
Definition: ListIn.hpp:343
void add(N &node)
Definition: ListIn.hpp:182
void addFirst(N &node)
Definition: ListIn.hpp:115
void addToEnd(R &root)
Definition: ListIn.hpp:227