◆ ~CBofList()
◆ getActualCount()
Retrieves the number of items in this list
- Returns
- Returns the number of linked items in this linked list.
◆ isEmpty()
Returns true if the list is empty
- Returns
◆ getNodeItem()
Retrieves the item at the specified location
- Returns
- Returns the item located at the node with given index.
- Parameters
-
nNodeIndex | Index of node to retrieve |
◆ getNode()
Retrieves the node at the specified location
- Returns
- Returns the node located at the given index.
- Parameters
-
nNodeIndex | Index of node to retrieve |
◆ insertBefore() [1/2]
Inserts a new node as the previous node to the one specified
- Parameters
-
nNodeIndex | Index of node to insert before |
cNewItem | Data to store at new node |
◆ insertBefore() [2/2]
Inserts a new node as the previous node to the one specified
- Parameters
-
pNode | Node to insert before |
cNewItem | Data to store at new node |
◆ insertAfter() [1/2]
Inserts a new node as the next node to the one specified
- Parameters
-
nNodeIndex | Index of node to insert after |
cNewItem | Data to store at new node |
◆ insertAfter() [2/2]
Inserts a new node as the next node to the one specified
- Parameters
-
pNode | Node to insert after |
cNewItem | Data to store at new node |
◆ remove() [1/2]
Removes specified node from the list
- Parameters
-
- Returns
- Item stored at specified location
◆ remove() [2/2]
Removes specified node (by index) from the list
- Parameters
-
nNodeIndex | Index of node to remove |
- Returns
- Item stored at specified location
◆ removeAll()
Removes all nodes from this list
◆ removeHead()
Removes specified node (by index) from the list
- Returns
- Item stored at specified location
◆ removeTail()
Removes specified node (by index) from the list
- Returns
- Item stored at specified location
◆ addToHead() [1/2]
Adds specified node as the new head of this list
- Parameters
-
pNewNode | Pointer to node to add to the list |
◆ addToHead() [2/2]
Adds specified item as the new head of this list
- Parameters
-
cItem | Item to add to the list |
◆ addToTail() [1/2]
Adds specified node as the new tail of this list
- Parameters
-
pNewNode | Pointer to node to add to the list |
◆ addToTail() [2/2]
Adds specified item as the new tail of this list
- Parameters
-
cItem | Item to add to the list |
The documentation for this class was generated from the following file: