Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QmlIR::PoolList< T > Struct Template Reference

#include <qqmlirbuilder_p.h>

Collaboration diagram for QmlIR::PoolList< T >:

Classes

struct  Iterator

Public Types

using iterator = Iterator

Public Member Functions

 PoolList ()
int append (T *item)
void prepend (T *item)
template<typename Sortable, typename Base, Sortable Base::* sortMember>
T * findSortedInsertionPoint (T *item) const
void insertAfter (T *insertionPoint, T *item)
T * unlink (T *before, T *item)
T * slowAt (int index) const
Iterator begin ()
Iterator end ()

Public Attributes

T * first
T * last
int count = 0

Detailed Description

template<typename T>
struct QmlIR::PoolList< T >

Definition at line 40 of file qqmlirbuilder_p.h.

Member Typedef Documentation

◆ iterator

template<typename T>
using QmlIR::PoolList< T >::iterator = Iterator

Definition at line 178 of file qqmlirbuilder_p.h.

Constructor & Destructor Documentation

◆ PoolList()

template<typename T>
QmlIR::PoolList< T >::PoolList ( )
inline

Definition at line 42 of file qqmlirbuilder_p.h.

References first, and last.

Member Function Documentation

◆ append()

template<typename T>
int QmlIR::PoolList< T >::append ( T * item)
inline

Definition at line 51 of file qqmlirbuilder_p.h.

References count, first, and last.

Referenced by insertAfter().

Here is the caller graph for this function:

◆ begin()

template<typename T>
Iterator QmlIR::PoolList< T >::begin ( )
inline

Definition at line 175 of file qqmlirbuilder_p.h.

References first.

◆ end()

template<typename T>
Iterator QmlIR::PoolList< T >::end ( )
inline

Definition at line 176 of file qqmlirbuilder_p.h.

◆ findSortedInsertionPoint()

template<typename T>
template<typename Sortable, typename Base, Sortable Base::* sortMember>
T * QmlIR::PoolList< T >::findSortedInsertionPoint ( T * item) const
inline

Definition at line 70 of file qqmlirbuilder_p.h.

References first.

◆ insertAfter()

template<typename T>
void QmlIR::PoolList< T >::insertAfter ( T * insertionPoint,
T * item )
inline

Definition at line 83 of file qqmlirbuilder_p.h.

References append(), count, last, and prepend().

Here is the call graph for this function:

◆ prepend()

template<typename T>
void QmlIR::PoolList< T >::prepend ( T * item)
inline

Definition at line 61 of file qqmlirbuilder_p.h.

References count, first, and last.

Referenced by insertAfter().

Here is the caller graph for this function:

◆ slowAt()

template<typename T>
T * QmlIR::PoolList< T >::slowAt ( int index) const
inline

Definition at line 114 of file qqmlirbuilder_p.h.

References first.

◆ unlink()

template<typename T>
T * QmlIR::PoolList< T >::unlink ( T * before,
T * item )
inline

Definition at line 95 of file qqmlirbuilder_p.h.

References count, first, and last.

Member Data Documentation

◆ count

template<typename T>
int QmlIR::PoolList< T >::count = 0

Definition at line 49 of file qqmlirbuilder_p.h.

Referenced by append(), insertAfter(), prepend(), and unlink().

◆ first

template<typename T>
T* QmlIR::PoolList< T >::first

◆ last

template<typename T>
T* QmlIR::PoolList< T >::last

Definition at line 48 of file qqmlirbuilder_p.h.

Referenced by PoolList(), append(), insertAfter(), prepend(), and unlink().


The documentation for this struct was generated from the following file: