![]() |
Qt 6.x
The Qt SDK
|
#include <qssginvasivelinkedlist_p.h>
Public Types | |
using | HeadOp = QSSGListAccessorPrevious< T, Previous > |
using | TailOp = QSSGListAccessorNext< T, Next > |
using | List = QSSGInvasiveLinkedList< T, Previous, Next > |
using | BaseList = QSSGInvasiveLinkListBase< T, HeadOp, TailOp > |
using | iterator = QSSGLinkedListIterator< T, TailOp > |
using | const_iterator = iterator |
using | reverse_iterator = QSSGLinkedListIterator< T, HeadOp > |
using | const_reverse_iterator = reverse_iterator |
Public Member Functions | |
T & | front () const |
T & | back () const |
T * | front_ptr () const |
T * | back_ptr () const |
void | push_front (T &inObj) |
void | push_back (T &inObj) |
void | remove (T &inObj) |
void | removeAll () |
removeAll removes all nodes and re-sets their head and tail to null. | |
void | clear () |
clear will set the head and tail of the list to null. | |
bool | isEmpty () const |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
reverse_iterator | rbegin () |
reverse_iterator | rend () |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
![]() | |
T * | tail (T *inObj) |
const T * | tail (const T *inObj) |
T * | head (T *inObj) |
const T * | head (const T *inObj) |
void | remove (T &inObj) |
void | insert_after (T &inPosition, T &inObj) |
void | insert_before (T &inPosition, T &inObj) |
void | insert_unsafe (T *inHead, T *inTail, T &inObj) |
Public Attributes | |
T * | m_head = nullptr |
T * | m_tail = nullptr |
Definition at line 223 of file qssginvasivelinkedlist_p.h.
using QSSGInvasiveLinkedList< T, Previous, Next >::BaseList = QSSGInvasiveLinkListBase<T, HeadOp, TailOp> |
Definition at line 228 of file qssginvasivelinkedlist_p.h.
using QSSGInvasiveLinkedList< T, Previous, Next >::const_iterator = iterator |
Definition at line 230 of file qssginvasivelinkedlist_p.h.
using QSSGInvasiveLinkedList< T, Previous, Next >::const_reverse_iterator = reverse_iterator |
Definition at line 232 of file qssginvasivelinkedlist_p.h.
using QSSGInvasiveLinkedList< T, Previous, Next >::HeadOp = QSSGListAccessorPrevious<T, Previous> |
Definition at line 225 of file qssginvasivelinkedlist_p.h.
using QSSGInvasiveLinkedList< T, Previous, Next >::iterator = QSSGLinkedListIterator<T, TailOp> |
Definition at line 229 of file qssginvasivelinkedlist_p.h.
using QSSGInvasiveLinkedList< T, Previous, Next >::List = QSSGInvasiveLinkedList<T, Previous, Next> |
Definition at line 227 of file qssginvasivelinkedlist_p.h.
using QSSGInvasiveLinkedList< T, Previous, Next >::reverse_iterator = QSSGLinkedListIterator<T, HeadOp> |
Definition at line 231 of file qssginvasivelinkedlist_p.h.
using QSSGInvasiveLinkedList< T, Previous, Next >::TailOp = QSSGListAccessorNext<T, Next> |
Definition at line 226 of file qssginvasivelinkedlist_p.h.
|
inline |
Definition at line 242 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_tail, and Q_ASSERT.
Referenced by QSSGRenderLayer::removeImportScene().
|
inline |
Definition at line 249 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_tail.
|
inline |
Definition at line 318 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_head.
Referenced by QSSGInvasiveLinkedList< T, Previous, Next >::removeAll(), and QSSGRenderNode::removeFromGraph().
|
inline |
Definition at line 321 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_head.
|
inline |
clear will set the head and tail of the list to null.
Note that the nodes are not updated in this case!
Definition at line 311 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_head, and QSSGInvasiveLinkedList< T, Previous, Next >::m_tail.
Referenced by QSSGRenderLayer::removeImportScene(), and QSSGRenderLayer::setImportScene().
|
inline |
Definition at line 319 of file qssginvasivelinkedlist_p.h.
Referenced by QSSGInvasiveLinkedList< T, Previous, Next >::removeAll(), and QSSGRenderNode::removeFromGraph().
|
inline |
Definition at line 322 of file qssginvasivelinkedlist_p.h.
|
inline |
Definition at line 237 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_head, and Q_ASSERT.
|
inline |
Definition at line 248 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_head.
|
inline |
Definition at line 316 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_head.
Referenced by QSSGRenderLayer::removeImportScene().
|
inline |
Definition at line 269 of file qssginvasivelinkedlist_p.h.
References QSSGListAccessorNext< T, n >::get(), QSSGInvasiveLinkListBase< T, HeadOp, TailOp >::insert_after(), QSSGInvasiveLinkedList< T, Previous, Next >::m_head, QSSGInvasiveLinkedList< T, Previous, Next >::m_tail, QSSG_VERIFY_NODE, and QSSGListAccessorNext< T, n >::set().
Referenced by QSSGRenderNode::addChild(), and QSSGRenderLayer::setImportScene().
|
inline |
Definition at line 251 of file qssginvasivelinkedlist_p.h.
References QSSGListAccessorPrevious< T, p >::get(), QSSGInvasiveLinkListBase< T, HeadOp, TailOp >::insert_before(), QSSGInvasiveLinkedList< T, Previous, Next >::m_head, QSSGInvasiveLinkedList< T, Previous, Next >::m_tail, QSSG_VERIFY_NODE, and QSSGListAccessorPrevious< T, p >::set().
|
inline |
Definition at line 324 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_tail.
|
inline |
Definition at line 327 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::m_tail.
|
inline |
Definition at line 288 of file qssginvasivelinkedlist_p.h.
References QSSGListAccessorNext< T, n >::get(), QSSGListAccessorPrevious< T, p >::get(), QSSGInvasiveLinkedList< T, Previous, Next >::m_head, QSSGInvasiveLinkedList< T, Previous, Next >::m_tail, and QSSGInvasiveLinkListBase< T, HeadOp, TailOp >::remove().
Referenced by QSSGInvasiveLinkedList< T, Previous, Next >::removeAll(), QSSGRenderNode::removeChild(), and QSSGRenderNode::removeFromGraph().
|
inline |
removeAll removes all nodes and re-sets their head and tail to null.
Definition at line 301 of file qssginvasivelinkedlist_p.h.
References QSSGInvasiveLinkedList< T, Previous, Next >::begin(), e, QSSGInvasiveLinkedList< T, Previous, Next >::end(), it, and QSSGInvasiveLinkedList< T, Previous, Next >::remove().
|
inline |
Definition at line 325 of file qssginvasivelinkedlist_p.h.
|
inline |
Definition at line 328 of file qssginvasivelinkedlist_p.h.
T* QSSGInvasiveLinkedList< T, Previous, Next >::m_head = nullptr |
Definition at line 234 of file qssginvasivelinkedlist_p.h.
Referenced by QSSGInvasiveLinkedList< T, Previous, Next >::begin(), QSSGInvasiveLinkedList< T, Previous, Next >::begin(), QSSGInvasiveLinkedList< T, Previous, Next >::clear(), QSSGInvasiveLinkedList< T, Previous, Next >::front(), QSSGInvasiveLinkedList< T, Previous, Next >::front_ptr(), QSSGInvasiveLinkedList< T, Previous, Next >::isEmpty(), QSSGInvasiveLinkedList< T, Previous, Next >::push_back(), QSSGInvasiveLinkedList< T, Previous, Next >::push_front(), and QSSGInvasiveLinkedList< T, Previous, Next >::remove().
T* QSSGInvasiveLinkedList< T, Previous, Next >::m_tail = nullptr |
Definition at line 235 of file qssginvasivelinkedlist_p.h.
Referenced by QSSGInvasiveLinkedList< T, Previous, Next >::back(), QSSGInvasiveLinkedList< T, Previous, Next >::back_ptr(), QSSGInvasiveLinkedList< T, Previous, Next >::clear(), QSSGInvasiveLinkedList< T, Previous, Next >::push_back(), QSSGInvasiveLinkedList< T, Previous, Next >::push_front(), QSSGInvasiveLinkedList< T, Previous, Next >::rbegin(), QSSGInvasiveLinkedList< T, Previous, Next >::rbegin(), and QSSGInvasiveLinkedList< T, Previous, Next >::remove().