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 | insert (LinkedObject *object) |
bool | insert (const LinkedObject *object) |
bool | remove (LinkedObject *object) |
LinkedObject * | pop () |
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]
|
inline |
◆ add() [2/2]
bool LinkedObjectList::add | ( | LinkedObject * | object | ) |
◆ clear()
|
inline |
◆ head() [1/2]
|
inline |
◆ head() [2/2]
|
inline |
◆ insert() [1/2]
|
inline |
◆ insert() [2/2]
|
inline |
◆ isEmpty()
|
inline |
◆ pop()
|
inline |
◆ remove()
bool LinkedObjectList::remove | ( | LinkedObject * | object | ) |
Member Data Documentation
◆ mHead
|
protected |
The documentation for this class was generated from the following file: