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

#include <qarraydataops.h>

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

Public Types

using Base = typename QArrayOpsSelector<T>::Type
using Data = QTypedArrayData<T>
using DataPointer = QArrayDataPointer<T>
using parameter_type = typename Base::parameter_type
Public Types inherited from QtPrivate::QGenericArrayOps< T >
typedef QArrayDataPointer< T >::parameter_type parameter_type

Public Member Functions

DataPointerthat ()
const DataPointerthat () const
template<typename It>
void appendIteratorRange (It b, It e, QtPrivate::IfIsForwardIterator< It >=true)
void growAppend (const T *b, const T *e)
void appendUninitialized (qsizetype newSize)
template<typename InputIterator, typename Projection = q20::identity>
void assign (InputIterator first, InputIterator last, Projection proj={})
template<typename InputIterator, typename Projection>
void assign_impl (InputIterator first, InputIterator last, T *capacityBegin, T *dst, T *dend, Projection proj, std::input_iterator_tag)
template<typename InputIterator, typename Projection>
void assign_impl (InputIterator first, InputIterator last, T *capacityBegin, T *dst, T *dend, Projection proj, std::forward_iterator_tag)
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

using Self = QCommonArrayOps<T>
Protected Types inherited from QtPrivate::QGenericArrayOps< T >
typedef QTypedArrayData< T > Data
using DataPointer = QArrayDataPointer<T>

Detailed Description

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

Definition at line 859 of file qarraydataops.h.

Member Typedef Documentation

◆ Base

template<class T>
using QtPrivate::QCommonArrayOps< T >::Base = typename QArrayOpsSelector<T>::Type

Definition at line 861 of file qarraydataops.h.

◆ Data

template<class T>
using QtPrivate::QCommonArrayOps< T >::Data = QTypedArrayData<T>

Definition at line 862 of file qarraydataops.h.

◆ DataPointer

template<class T>
using QtPrivate::QCommonArrayOps< T >::DataPointer = QArrayDataPointer<T>

Definition at line 863 of file qarraydataops.h.

◆ parameter_type

template<class T>
using QtPrivate::QCommonArrayOps< T >::parameter_type = typename Base::parameter_type

Definition at line 864 of file qarraydataops.h.

◆ Self

template<class T>
using QtPrivate::QCommonArrayOps< T >::Self = QCommonArrayOps<T>
protected

Definition at line 867 of file qarraydataops.h.

Member Function Documentation

◆ appendIteratorRange()

template<class T>
template<typename It>
void QtPrivate::QCommonArrayOps< T >::appendIteratorRange ( It b,
It e,
QtPrivate::IfIsForwardIterator< It > = true )
inline

Definition at line 881 of file qarraydataops.h.

◆ appendUninitialized()

template<class T>
void QtPrivate::QCommonArrayOps< T >::appendUninitialized ( qsizetype newSize)
inline

Definition at line 928 of file qarraydataops.h.

◆ assign()

template<class T>
template<typename InputIterator, typename Projection = q20::identity>
void QtPrivate::QCommonArrayOps< T >::assign ( InputIterator first,
InputIterator last,
Projection proj = {} )
inline

Definition at line 948 of file qarraydataops.h.

◆ assign_impl() [1/2]

template<class T>
template<typename InputIterator, typename Projection>
void QtPrivate::QCommonArrayOps< T >::assign_impl ( InputIterator first,
InputIterator last,
T * capacityBegin,
T * dst,
T * dend,
Projection proj,
std::forward_iterator_tag  )
inline

Definition at line 1051 of file qarraydataops.h.

◆ assign_impl() [2/2]

template<class T>
template<typename InputIterator, typename Projection>
void QtPrivate::QCommonArrayOps< T >::assign_impl ( InputIterator first,
InputIterator last,
T * capacityBegin,
T * dst,
T * dend,
Projection proj,
std::input_iterator_tag  )
inline

Definition at line 1003 of file qarraydataops.h.

◆ growAppend()

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

Definition at line 910 of file qarraydataops.h.

◆ that() [1/2]

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

Definition at line 872 of file qarraydataops.h.

◆ that() [2/2]

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

Definition at line 874 of file qarraydataops.h.


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