LinkedObjectList Class Reference
Singly-linked list of objects. More...
#include <LinkedObjectList.h>
Inheritance diagram for LinkedObjectList:
Collaboration diagram for LinkedObjectList:
Public Member Functions | |
| LinkedObjectList () | |
| LinkedObjectList (LinkedObject *object) | |
| bool | add (LinkedObject *object) |
| bool | add (const LinkedObject *object) |
| bool | remove (LinkedObject *object) |
| void | clear () |
| LinkedObject * | head () |
| const LinkedObject * | head () const |
| bool | isEmpty () const |
Protected Attributes | |
| LinkedObject * | mHead {nullptr} |
Detailed Description
Singly-linked list of objects.
- Note
- We don't own the items, just keep references to them
Constructor & Destructor Documentation
◆ LinkedObjectList() [1/2]
|
inline |
◆ LinkedObjectList() [2/2]
|
inline |
Member Function Documentation
◆ add() [1/2]
| bool LinkedObjectList::add | ( | LinkedObject * | object | ) |
◆ add() [2/2]
|
inline |
◆ clear()
|
inline |
◆ head() [1/2]
|
inline |
◆ head() [2/2]
|
inline |
◆ isEmpty()
|
inline |
◆ remove()
| bool LinkedObjectList::remove | ( | LinkedObject * | object | ) |
Member Data Documentation
◆ mHead
|
protected |
The documentation for this class was generated from the following file:
1.8.13