Public Member Functions | |
T * | PopNode () |
Pop the head of the list and return it. Returns 0 if the list is empty. | |
T * | Head () const |
Return the head of the list. Returns 0 if the list is empty. | |
void | PushNode (Node *pNode) |
Push the given node onto the list. | |
void | InsertAfter (Node *pNode, Node *pNewNode) |
Insert pNewNode after pNode in the list. If pNode is 0 then this degenerates to a PushNode(). | |
unsigned long | Count () const |
Returns the number of nodes in the list. | |
bool | IsEmpty () const |
Returns true if the list contains no nodes. | |
Static Public Member Functions | |
static T * | Next (const T *pNode) |
T * PopNode | ( | ) | [inline] |
Pop the head of the list and return it. Returns 0 if the list is empty.
Reimplemented from CNodeList.
T * Head | ( | ) | const [inline] |
T * Next | ( | const T * | pNode | ) | [inline, static] |
void PushNode | ( | Node * | pNode | ) | [inherited] |
Push the given node onto the list.
Insert pNewNode after pNode in the list. If pNode is 0 then this degenerates to a PushNode().
unsigned long Count | ( | ) | const [inherited] |
Returns the number of nodes in the list.
bool IsEmpty | ( | ) | const [inherited] |
Returns true if the list contains no nodes.