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
QtPrivate::QGenericArrayOps< T > Struct Template Reference

#include <qarraydataops.h>

Inheritance diagram for QtPrivate::QGenericArrayOps< T >:
Collaboration diagram for QtPrivate::QGenericArrayOps< T >:

Classes

struct  Inserter

Public Types

typedef QArrayDataPointer< T >::parameter_type parameter_type

Public Member Functions

 QGenericArrayOps (DataPointer &dp)
DataPointerthat ()
const DataPointerthat () const
void copyAppend (const T *b, const T *e)
void copyAppend (qsizetype n, parameter_type t)
void moveAppend (T *b, T *e)
void truncate (size_t newSize)
void destroyAll ()
void insert (qsizetype i, const T *data, qsizetype n)
void insert (qsizetype i, qsizetype n, parameter_type t)
template<typename... Args>
void emplace (qsizetype i, Args &&... args)
void erase (T *b, qsizetype n)
void eraseFirst () noexcept
void eraseLast () noexcept
void assign (T *b, T *e, parameter_type t)

Protected Types

typedef QTypedArrayData< T > Data
using DataPointer = QArrayDataPointer<T>

Detailed Description

template<class T>
struct QtPrivate::QGenericArrayOps< T >

Definition at line 278 of file qarraydataops.h.

Member Typedef Documentation

◆ Data

template<class T>
typedef QTypedArrayData<T> QtPrivate::QGenericArrayOps< T >::Data
protected

Definition at line 283 of file qarraydataops.h.

◆ DataPointer

template<class T>
using QtPrivate::QGenericArrayOps< T >::DataPointer = QArrayDataPointer<T>
protected

Definition at line 284 of file qarraydataops.h.

◆ parameter_type

template<class T>
typedef QArrayDataPointer<T>::parameter_type QtPrivate::QGenericArrayOps< T >::parameter_type

Definition at line 297 of file qarraydataops.h.

Constructor & Destructor Documentation

◆ QGenericArrayOps()

template<class T>
QtPrivate::QGenericArrayOps< T >::QGenericArrayOps ( DataPointer & dp)
inlineexplicit

Definition at line 290 of file qarraydataops.h.

Referenced by QtPrivate::parameter_type< T >::QGenericArrayOps().

Here is the caller graph for this function:

Member Function Documentation

◆ assign()

template<class T>
void QtPrivate::QGenericArrayOps< T >::assign ( T * b,
T * e,
parameter_type t )
inline

Definition at line 625 of file qarraydataops.h.

◆ copyAppend() [1/2]

template<class T>
void QtPrivate::QGenericArrayOps< T >::copyAppend ( const T * b,
const T * e )
inline

Definition at line 299 of file qarraydataops.h.

◆ copyAppend() [2/2]

template<class T>
void QtPrivate::QGenericArrayOps< T >::copyAppend ( qsizetype n,
parameter_type t )
inline

Definition at line 317 of file qarraydataops.h.

◆ destroyAll()

template<class T>
void QtPrivate::QGenericArrayOps< T >::destroyAll ( )
inline

Definition at line 359 of file qarraydataops.h.

◆ emplace()

template<class T>
template<typename... Args>
void QtPrivate::QGenericArrayOps< T >::emplace ( qsizetype i,
Args &&... args )
inline

Definition at line 546 of file qarraydataops.h.

◆ erase()

template<class T>
void QtPrivate::QGenericArrayOps< T >::erase ( T * b,
qsizetype n )
inline

Definition at line 578 of file qarraydataops.h.

◆ eraseFirst()

template<class T>
void QtPrivate::QGenericArrayOps< T >::eraseFirst ( )
inlinenoexcept

Definition at line 607 of file qarraydataops.h.

◆ eraseLast()

template<class T>
void QtPrivate::QGenericArrayOps< T >::eraseLast ( )
inlinenoexcept

Definition at line 616 of file qarraydataops.h.

◆ insert() [1/2]

template<class T>
void QtPrivate::QGenericArrayOps< T >::insert ( qsizetype i,
const T * data,
qsizetype n )
inline

Definition at line 497 of file qarraydataops.h.

◆ insert() [2/2]

template<class T>
void QtPrivate::QGenericArrayOps< T >::insert ( qsizetype i,
qsizetype n,
parameter_type t )
inline

Definition at line 521 of file qarraydataops.h.

◆ moveAppend()

template<class T>
void QtPrivate::QGenericArrayOps< T >::moveAppend ( T * b,
T * e )
inline

Definition at line 331 of file qarraydataops.h.

◆ that() [1/2]

template<class T>
DataPointer * QtPrivate::QGenericArrayOps< T >::that ( )
inline

Definition at line 292 of file qarraydataops.h.

◆ that() [2/2]

template<class T>
const DataPointer * QtPrivate::QGenericArrayOps< T >::that ( ) const
inline

Definition at line 294 of file qarraydataops.h.

◆ truncate()

template<class T>
void QtPrivate::QGenericArrayOps< T >::truncate ( size_t newSize)
inline

Definition at line 349 of file qarraydataops.h.


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