Colobot
|
Public Member Functions | |
virtual | ~CBotDoublyLinkedList () |
Destructor. Be careful, destroys the whole linked list! More... | |
T * | GetNext () |
Returns the next variable in the linked list. More... | |
T * | GetPrev () |
Returns the previous variable in the linked list. More... | |
void | AddNext (T *elem) |
Appends a new element at the end of the linked list. More... | |
Protected Attributes | |
T * | m_next = nullptr |
T * | m_prev = nullptr |
|
inlinevirtual |
Destructor. Be careful, destroys the whole linked list!
|
inline |
Returns the next variable in the linked list.
|
inline |
Returns the previous variable in the linked list.
|
inline |
Appends a new element at the end of the linked list.
elem | Element to add |