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

#include <qssgdataref_p.h>

Collaboration diagram for QSSGDataView< T >:

Public Member Functions

 QSSGDataView (const QList< T > &data)
template<qsizetype N>
 QSSGDataView (const QVarLengthArray< T, N > &data)
 QSSGDataView (const T *inData, qsizetype inSize)
constexpr QSSGDataView ()
qsizetype size () const
const T * begin () const
const T * end () const
const T & first () const
const T & last () const
const T & operator[] (int index) const
bool isEmpty () const
void clear ()
 operator const void * ()

Public Attributes

const T * mData
qsizetype mSize

Detailed Description

template<typename T>
struct QSSGDataView< T >

Definition at line 27 of file qssgdataref_p.h.

Constructor & Destructor Documentation

◆ QSSGDataView() [1/4]

template<typename T>
QSSGDataView< T >::QSSGDataView ( const QList< T > & data)
inlineexplicit

Definition at line 32 of file qssgdataref_p.h.

◆ QSSGDataView() [2/4]

template<typename T>
template<qsizetype N>
QSSGDataView< T >::QSSGDataView ( const QVarLengthArray< T, N > & data)
inlineexplicit

Definition at line 34 of file qssgdataref_p.h.

◆ QSSGDataView() [3/4]

template<typename T>
QSSGDataView< T >::QSSGDataView ( const T * inData,
qsizetype inSize )
inline

Definition at line 35 of file qssgdataref_p.h.

◆ QSSGDataView() [4/4]

template<typename T>
QSSGDataView< T >::QSSGDataView ( )
inlineconstexpr

Definition at line 36 of file qssgdataref_p.h.

Member Function Documentation

◆ begin()

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

Definition at line 40 of file qssgdataref_p.h.

◆ clear()

template<typename T>
void QSSGDataView< T >::clear ( )
inline

Definition at line 55 of file qssgdataref_p.h.

◆ end()

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

Definition at line 41 of file qssgdataref_p.h.

◆ first()

template<typename T>
const T & QSSGDataView< T >::first ( ) const
inline

Definition at line 43 of file qssgdataref_p.h.

◆ isEmpty()

template<typename T>
bool QSSGDataView< T >::isEmpty ( ) const
inline

Definition at line 53 of file qssgdataref_p.h.

◆ last()

template<typename T>
const T & QSSGDataView< T >::last ( ) const
inline

Definition at line 44 of file qssgdataref_p.h.

◆ operator const void *()

template<typename T>
QSSGDataView< T >::operator const void * ( )
inline

Definition at line 61 of file qssgdataref_p.h.

◆ operator[]()

template<typename T>
const T & QSSGDataView< T >::operator[] ( int index) const
inline

Definition at line 46 of file qssgdataref_p.h.

◆ size()

template<typename T>
qsizetype QSSGDataView< T >::size ( ) const
inline

Definition at line 38 of file qssgdataref_p.h.

Member Data Documentation

◆ mData

template<typename T>
const T* QSSGDataView< T >::mData

Definition at line 29 of file qssgdataref_p.h.

◆ mSize

template<typename T>
qsizetype QSSGDataView< T >::mSize

Definition at line 30 of file qssgdataref_p.h.


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