semf
|
Implements the next()
functionality for every element in a queue.
More...
#include <linkedqueue.h>
Public Member Functions | |
virtual | ~Node ()=default |
T * | next () const |
Returns a pointer to the next element in a queue. More... | |
void | setNext (T *next) |
Sets a pointer to the next element in a list. More... | |
bool | isInQueue (LinkedQueue &queue) |
Returns if a node is part of this LinkedQueue . More... | |
Implements the next()
functionality for every element in a queue.
A class type using LinkedQueue
has to inherit from this class.
Definition at line 45 of file linkedqueue.h.
|
virtualdefault |
|
inline |
Returns if a node is part of this LinkedQueue
.
nullptr
and if this node is the last element in queue
. queue | Queue to check. |
false
for is not in this LinkedQueue
, otherwise true
. Definition at line 75 of file linkedqueue.h.
|
inline |
Returns a pointer to the next element in a queue.
nullptr
. Definition at line 55 of file linkedqueue.h.
|
inline |
Sets a pointer to the next element in a list.
next | The next element in a list. |
Definition at line 64 of file linkedqueue.h.