3#ifndef HORIZON_CORE_STRUCTURES_LINKEDLIST_ELEMENT_HPP
4#define HORIZON_CORE_STRUCTURES_LINKEDLIST_ELEMENT_HPP
This class is used to manage a linked list of Elements. It is not intended to be used directly....
Definition: Element.hpp:18
void push_after(Element *pElem)
Pushes this Element after the given Element.
Definition: Element.hpp:75
Element const * next() const
Definition: Element.hpp:37
Element * _next
Definition: Element.hpp:22
Element(Element const &)=delete
Element const * prev() const
Definition: Element.hpp:40
Element * next()
Returns the next Element in the list.
Definition: Element.hpp:36
~Element()
Definition: Element.hpp:91
Element const * nocheck_next() const
Definition: Element.hpp:44
void delink()
Removes this Element from the list.
Definition: Element.hpp:50
Element const * nocheck_prev() const
Definition: Element.hpp:47
void push_before(Element *pElem)
Pushes this Element before the given Element.
Definition: Element.hpp:64
bool is_in_list() const
Returns true if this Element is in a list.
Definition: Element.hpp:33
Element & operator=(Element const &)=delete
Element * nocheck_prev()
Returns the previous Element in the list without checking if it exists.
Definition: Element.hpp:46
Element * prev()
Returns the previous Element in the list.
Definition: Element.hpp:39
bool has_next() const
Returns true if this Element has a next Element in the list.
Definition: Element.hpp:29
Element * _prev
Definition: Element.hpp:23
bool has_prev() const
Returns true if this Element has a previous Element in the list.
Definition: Element.hpp:31
Element * nocheck_next()
Returns the next Element in the list without checking if it exists.
Definition: Element.hpp:43
Element()
Definition: Element.hpp:26
LinkedList Head class. This class is used to manage a linked list of Elements. It is used as a base c...
Definition: Head.hpp:26
Definition: Element.hpp:7