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

#include <qarraydataops.h>

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

Classes

struct  Inserter

Public Types

using Base = QGenericArrayOps<T>
typedef QGenericArrayOps< T >::parameter_type parameter_type
Public Types inherited from QtPrivate::QGenericArrayOps< T >
typedef QArrayDataPointer< T >::parameter_type parameter_type

Public Member Functions

 QMovableArrayOps (DataPointer &dp)
DataPointerthat ()
const DataPointerthat () const
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 reallocate (qsizetype alloc, QArrayData::AllocationOption option)
Public Member Functions inherited from QtPrivate::QGenericArrayOps< T >
 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>
Protected Types inherited from QtPrivate::QGenericArrayOps< T >
typedef QTypedArrayData< T > Data
using DataPointer = QArrayDataPointer<T>

Detailed Description

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

Definition at line 636 of file qarraydataops.h.

Member Typedef Documentation

◆ Base

template<class T>
using QtPrivate::QMovableArrayOps< T >::Base = QGenericArrayOps<T>

Definition at line 639 of file qarraydataops.h.

◆ Data

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

Definition at line 643 of file qarraydataops.h.

◆ DataPointer

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

Definition at line 644 of file qarraydataops.h.

◆ parameter_type

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

Definition at line 658 of file qarraydataops.h.

Constructor & Destructor Documentation

◆ QMovableArrayOps()

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

Definition at line 647 of file qarraydataops.h.

Member Function Documentation

◆ emplace()

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

Definition at line 770 of file qarraydataops.h.

◆ erase()

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

Definition at line 801 of file qarraydataops.h.

◆ insert() [1/2]

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

Definition at line 721 of file qarraydataops.h.

◆ insert() [2/2]

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

Definition at line 745 of file qarraydataops.h.

◆ reallocate()

template<class T>
void QtPrivate::QMovableArrayOps< T >::reallocate ( qsizetype alloc,
QArrayData::AllocationOption option )
inline

Definition at line 824 of file qarraydataops.h.

◆ that() [1/2]

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

Definition at line 649 of file qarraydataops.h.

◆ that() [2/2]

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

Definition at line 651 of file qarraydataops.h.


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