20 #ifndef Om_Macro_Precompilation_
22 #include "boost/array.hpp"
34 template <
typename ThisValue>
115 template <
typename ThisValue>
118 friend class List<ThisValue>;
Node * GetNode(NodeIndex const)
Gets the prior or next Node.
ThisValue & GetValue()
Gets a reference to the stored value.
Node const * GetNode(NodeIndex const) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NodeArray thisNodeArray
The prior and next Node; cannot both be null.
ThisValue const & GetValue() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
A doubly-linked list in which nodes are unowned.
Node * UnlinkNode(NodeIndex const)
Unlinks the Node at the specified end and returns it.
NodeArray thisNodeArray
The first and last Node; both are null if the list is empty.
boost::array< Node *, 2 > NodeArray
void RelinkNode(NodeIndex const, Node &)
Relinks the Node to the specified end.
Node const * GetNode(NodeIndex const) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
Node * GetNode(NodeIndex const)
Gets the first or last Node.
void LinkNode(NodeIndex const, Node &)
Links the Node to the specified end.