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 >::Inserter Struct Reference

#include <qarraydataops.h>

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

Public Member Functions

void verifyPost ()
 Inserter (QArrayDataPointer< T > *d, qsizetype pos, qsizetype n)
 ~Inserter ()
void insertRange (const T *source, qsizetype n)
void insertFill (const T &t, qsizetype n)
void insertOne (T &&t)

Public Attributes

QArrayDataPointer< T > *const data
T * displaceFrom
T *const displaceTo
const qsizetype nInserts = 0
const size_t bytes

Detailed Description

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

Definition at line 635 of file qarraydataops.h.

Constructor & Destructor Documentation

◆ Inserter()

template<class T>
QtPrivate::QMovableArrayOps< T >::Inserter::Inserter ( QArrayDataPointer< T > * d,
qsizetype pos,
qsizetype n )
inlineexplicit

Definition at line 646 of file qarraydataops.h.

◆ ~Inserter()

template<class T>
QtPrivate::QMovableArrayOps< T >::Inserter::~Inserter ( )
inline

Definition at line 655 of file qarraydataops.h.

Member Function Documentation

◆ insertFill()

template<class T>
void QtPrivate::QMovableArrayOps< T >::Inserter::insertFill ( const T & t,
qsizetype n )
inline

Definition at line 677 of file qarraydataops.h.

◆ insertOne()

template<class T>
void QtPrivate::QMovableArrayOps< T >::Inserter::insertOne ( T && t)
inline

Definition at line 686 of file qarraydataops.h.

◆ insertRange()

template<class T>
void QtPrivate::QMovableArrayOps< T >::Inserter::insertRange ( const T * source,
qsizetype n )
inline

Definition at line 667 of file qarraydataops.h.

◆ verifyPost()

template<class T>
void QtPrivate::QMovableArrayOps< T >::Inserter::verifyPost ( )
inline

Definition at line 643 of file qarraydataops.h.

References displaceFrom, and displaceTo.

Member Data Documentation

◆ bytes

template<class T>
const size_t QtPrivate::QMovableArrayOps< T >::Inserter::bytes

Definition at line 641 of file qarraydataops.h.

◆ data

template<class T>
QArrayDataPointer<T>* const QtPrivate::QMovableArrayOps< T >::Inserter::data

Definition at line 637 of file qarraydataops.h.

◆ displaceFrom

template<class T>
T* QtPrivate::QMovableArrayOps< T >::Inserter::displaceFrom

Definition at line 638 of file qarraydataops.h.

Referenced by verifyPost().

◆ displaceTo

template<class T>
T* const QtPrivate::QMovableArrayOps< T >::Inserter::displaceTo

Definition at line 639 of file qarraydataops.h.

Referenced by verifyPost().

◆ nInserts

template<class T>
const qsizetype QtPrivate::QMovableArrayOps< T >::Inserter::nInserts = 0

Definition at line 640 of file qarraydataops.h.


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