Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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.

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 item, and QmlIR::PoolList< T >::last.

Referenced by QmlIR::PoolList< T >::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.

◆ 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 it.

◆ insertAfter()

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

Definition at line 83 of file qqmlirbuilder_p.h.

References QmlIR::PoolList< T >::append(), QmlIR::PoolList< T >::count, item, QmlIR::PoolList< T >::last, and QmlIR::PoolList< T >::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 QmlIR::PoolList< T >::count, QmlIR::PoolList< T >::first, item, and QmlIR::PoolList< T >::last.

Referenced by QmlIR::PoolList< T >::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 QmlIR::PoolList< T >::first.

◆ unlink()

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

Member Data Documentation

◆ count

◆ first

◆ last


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