5 #include <libutl/MaxObject.h> 65 return (_prev ==
nullptr);
72 return (_next ==
nullptr);
117 _object =
const_cast<Object*
>(object);
124 _prev = _next =
nullptr;
125 _object =
const_cast<Object*
>(object);
ListNode(const Object *object)
Constructor.
bool isTail() const
Determine whether self is the tail node.
const MaxObject maxObject
Global instance of MaxObject.
void setNext(ListNode *node)
Set the next node.
ListNode * prev() const
Get the previous node (= nullptr if self is head node).
bool isSentinelTail() const
Determine whether self is a "sentinal" tail node.
bool isHead() const
Determine whether self is the head node.
ListNode * next() const
Get the next node (= self if self is tail node).
Root of UTL++ class hierarchy.
void init()
Initialize UTL++.
void setPrev(ListNode *prev)
Set the previous node.