Doubly linked list template. More...
#include <irrList.h>
Doubly linked list template.
irr::core::list< T >::list | ( | ) | [inline] |
irr::core::list< T >::list | ( | const list< T > & | other | ) | [inline] |
irr::core::list< T >::~list | ( | ) | [inline] |
Iterator irr::core::list< T >::begin | ( | ) | [inline] |
Gets first node.
Definition at line 257 of file irrList.h.
Referenced by irr::gui::IGUIElement::bringToFront(), irr::scene::ISceneNode::cloneMembers(), irr::gui::IGUIElement::draw(), irr::gui::IGUIElement::getElementFromId(), irr::gui::IGUIElement::getNextElement(), irr::scene::ISceneNode::OnAnimate(), irr::gui::IGUIElement::OnPostRender(), irr::scene::ISceneNode::OnRegisterSceneNode(), irr::gui::IGUIElement::recalculateAbsolutePosition(), irr::scene::ISceneNode::removeAll(), irr::scene::ISceneNode::removeAnimator(), irr::scene::ISceneNode::removeAnimators(), irr::gui::IGUIElement::removeChild(), irr::scene::ISceneNode::removeChild(), irr::gui::IGUIElement::sendToBack(), irr::scene::ISceneNode::setSceneManager(), irr::gui::IGUIElement::updateAbsolutePosition(), irr::gui::IGUIElement::~IGUIElement(), and irr::scene::ISceneNode::~ISceneNode().
ConstIterator irr::core::list< T >::begin | ( | ) | const [inline] |
void irr::core::list< T >::clear | ( | ) | [inline] |
Clears the list, deletes all elements in the list.
All existing iterators of this list will be invalid.
Definition at line 187 of file irrList.h.
Referenced by irr::core::list< ISceneNode * >::operator=(), irr::scene::ISceneNode::removeAll(), irr::scene::ISceneNode::removeAnimators(), and irr::core::list< ISceneNode * >::~list().
bool irr::core::list< T >::empty | ( | ) | const [inline] |
Iterator irr::core::list< T >::end | ( | ) | [inline] |
Gets end node.
Definition at line 273 of file irrList.h.
Referenced by irr::gui::IGUIElement::bringToFront(), irr::scene::ISceneNode::cloneMembers(), irr::gui::IGUIElement::draw(), irr::gui::IGUIElement::getElementFromId(), irr::gui::IGUIElement::getElementFromPoint(), irr::gui::IGUIElement::getNextElement(), irr::scene::ISceneNode::OnAnimate(), irr::gui::IGUIElement::OnPostRender(), irr::scene::ISceneNode::OnRegisterSceneNode(), irr::gui::IGUIElement::recalculateAbsolutePosition(), irr::scene::ISceneNode::removeAll(), irr::scene::ISceneNode::removeAnimator(), irr::scene::ISceneNode::removeAnimators(), irr::gui::IGUIElement::removeChild(), irr::scene::ISceneNode::removeChild(), irr::gui::IGUIElement::sendToBack(), irr::scene::ISceneNode::setSceneManager(), irr::gui::IGUIElement::updateAbsolutePosition(), irr::gui::IGUIElement::~IGUIElement(), and irr::scene::ISceneNode::~ISceneNode().
ConstIterator irr::core::list< T >::end | ( | ) | const [inline] |
Iterator irr::core::list< T >::erase | ( | Iterator & | it | ) | [inline] |
Erases an element.
it | Iterator pointing to the element which shall be erased. |
Definition at line 354 of file irrList.h.
Referenced by irr::gui::IGUIElement::bringToFront(), irr::scene::ISceneNode::removeAnimator(), irr::gui::IGUIElement::removeChild(), irr::scene::ISceneNode::removeChild(), and irr::gui::IGUIElement::sendToBack().
Iterator irr::core::list< T >::getLast | ( | ) | [inline] |
Gets last element.
Definition at line 289 of file irrList.h.
Referenced by irr::gui::IGUIElement::getElementFromPoint().
ConstIterator irr::core::list< T >::getLast | ( | ) | const [inline] |
u32 irr::core::list< T >::getSize | ( | ) | const [inline] |
void irr::core::list< T >::insert_after | ( | const Iterator & | it, |
const T & | element | ||
) | [inline] |
void irr::core::list< T >::insert_before | ( | const Iterator & | it, |
const T & | element | ||
) | [inline] |
void irr::core::list< T >::operator= | ( | const list< T > & | other | ) | [inline] |
void irr::core::list< T >::push_back | ( | const T & | element | ) | [inline] |
Adds an element at the end of the list.
element | Element to add to the list. |
Definition at line 213 of file irrList.h.
Referenced by irr::scene::ISceneNode::addAnimator(), irr::scene::ISceneNode::addChild(), irr::gui::IGUIElement::addChildToEnd(), irr::gui::IGUIElement::bringToFront(), and irr::core::list< ISceneNode * >::operator=().
void irr::core::list< T >::push_front | ( | const T & | element | ) | [inline] |
Adds an element at the begin of the list.
element,: | Element to add to the list. |
Definition at line 234 of file irrList.h.
Referenced by irr::gui::IGUIElement::sendToBack().
u32 irr::core::list< T >::size | ( | ) | const [inline] |
void irr::core::list< T >::swap | ( | list< T > & | other | ) | [inline] |
Swap the content of this list container with the content of another list.
Afterwards this object will contain the content of the other object and the other object will contain the content of this object. Iterators will afterwards be valid for the swapped object.
other | Swap content with this object |
Definition at line 393 of file irrList.h.
Referenced by irr::core::list< ISceneNode * >::swap().