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
QQmlJS::FixedPoolArray< T > Class Template Reference

#include <qqmljsfixedpoolarray_p.h>

+ Collaboration diagram for QQmlJS::FixedPoolArray< T >:

Public Member Functions

 FixedPoolArray ()
 
 FixedPoolArray (MemoryPool *pool, int size)
 
void allocate (MemoryPool *pool, int size)
 
void allocate (MemoryPool *pool, const QVector< T > &vector)
 
template<typename Container >
void allocate (MemoryPool *pool, const Container &container)
 
int size () const
 
const T & at (int index) const
 
T & at (int index)
 
T & operator[] (int index)
 
int indexOf (const T &value) const
 
const T * begin () const
 
const T * end () const
 
T * begin ()
 
T * end ()
 

Detailed Description

template<typename T>
class QQmlJS::FixedPoolArray< T >

Definition at line 26 of file qqmljsfixedpoolarray_p.h.

Constructor & Destructor Documentation

◆ FixedPoolArray() [1/2]

template<typename T >
QQmlJS::FixedPoolArray< T >::FixedPoolArray ( )
inline

Definition at line 32 of file qqmljsfixedpoolarray_p.h.

◆ FixedPoolArray() [2/2]

template<typename T >
QQmlJS::FixedPoolArray< T >::FixedPoolArray ( MemoryPool * pool,
int size )
inline

Definition at line 36 of file qqmljsfixedpoolarray_p.h.

References QQmlJS::FixedPoolArray< T >::allocate(), and pool.

+ Here is the call graph for this function:

Member Function Documentation

◆ allocate() [1/3]

template<typename T >
template<typename Container >
void QQmlJS::FixedPoolArray< T >::allocate ( MemoryPool * pool,
const Container & container )
inline

Definition at line 59 of file qqmljsfixedpoolarray_p.h.

References QSet< T >::constBegin(), i, it, and pool.

+ Here is the call graph for this function:

◆ allocate() [2/3]

template<typename T >
void QQmlJS::FixedPoolArray< T >::allocate ( MemoryPool * pool,
const QVector< T > & vector )
inline

Definition at line 45 of file qqmljsfixedpoolarray_p.h.

References QList< T >::at(), QList< T >::constData(), i, pool, QList< T >::size(), and vector.

+ Here is the call graph for this function:

◆ allocate() [3/3]

template<typename T >
void QQmlJS::FixedPoolArray< T >::allocate ( MemoryPool * pool,
int size )
inline

Definition at line 39 of file qqmljsfixedpoolarray_p.h.

References pool, and QQmlJS::FixedPoolArray< T >::size().

Referenced by QQmlJS::FixedPoolArray< T >::FixedPoolArray().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ at() [1/2]

template<typename T >
T & QQmlJS::FixedPoolArray< T >::at ( int index)
inline

Definition at line 76 of file qqmljsfixedpoolarray_p.h.

References Q_ASSERT.

◆ at() [2/2]

template<typename T >
const T & QQmlJS::FixedPoolArray< T >::at ( int index) const
inline

Definition at line 71 of file qqmljsfixedpoolarray_p.h.

References Q_ASSERT.

◆ begin() [1/2]

template<typename T >
T * QQmlJS::FixedPoolArray< T >::begin ( )
inline

Definition at line 96 of file qqmljsfixedpoolarray_p.h.

◆ begin() [2/2]

template<typename T >
const T * QQmlJS::FixedPoolArray< T >::begin ( ) const
inline

Definition at line 93 of file qqmljsfixedpoolarray_p.h.

Referenced by QmlIR::Object::namedObjectsInComponentTable().

+ Here is the caller graph for this function:

◆ end() [1/2]

template<typename T >
T * QQmlJS::FixedPoolArray< T >::end ( )
inline

Definition at line 97 of file qqmljsfixedpoolarray_p.h.

◆ end() [2/2]

template<typename T >
const T * QQmlJS::FixedPoolArray< T >::end ( ) const
inline

Definition at line 94 of file qqmljsfixedpoolarray_p.h.

◆ indexOf()

template<typename T >
int QQmlJS::FixedPoolArray< T >::indexOf ( const T & value) const
inline

Definition at line 86 of file qqmljsfixedpoolarray_p.h.

References i.

◆ operator[]()

template<typename T >
T & QQmlJS::FixedPoolArray< T >::operator[] ( int index)
inline

Definition at line 81 of file qqmljsfixedpoolarray_p.h.

References at.

◆ size()

template<typename T >
int QQmlJS::FixedPoolArray< T >::size ( ) const
inline

Definition at line 68 of file qqmljsfixedpoolarray_p.h.

Referenced by QQmlJS::FixedPoolArray< T >::allocate(), and QmlIR::Object::namedObjectsInComponentCount().

+ Here is the caller graph for this function:

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