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

#include <qssgdataref_p.h>

Collaboration diagram for QSSGDataRef< T >:

Public Member Functions

 QSSGDataRef (T *inData, qsizetype inSize)
 QSSGDataRef ()
qsizetype size () const
T * begin ()
T * end ()
T * begin () const
T * end () const
T & first ()
T & last ()
const T & first () const
const T & last () const
bool isEmpty () const
T & operator[] (qsizetype index)
const T & operator[] (qsizetype index) const
void clear ()
 operator QSSGDataView< T > () const
 operator void * ()

Public Attributes

T * mData
qsizetype mSize

Detailed Description

template<typename T>
struct QSSGDataRef< T >

Definition at line 156 of file qssgdataref_p.h.

Constructor & Destructor Documentation

◆ QSSGDataRef() [1/2]

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

Definition at line 161 of file qssgdataref_p.h.

Referenced by QSSGDataRef< quint8 >::QSSGDataRef().

Here is the caller graph for this function:

◆ QSSGDataRef() [2/2]

template<typename T>
QSSGDataRef< T >::QSSGDataRef ( )
inline

Definition at line 162 of file qssgdataref_p.h.

Referenced by QSSGDataRef< quint8 >::QSSGDataRef().

Here is the caller graph for this function:

Member Function Documentation

◆ begin() [1/2]

template<typename T>
T * QSSGDataRef< T >::begin ( )
inline

Definition at line 165 of file qssgdataref_p.h.

◆ begin() [2/2]

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

Definition at line 168 of file qssgdataref_p.h.

◆ clear()

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

Definition at line 193 of file qssgdataref_p.h.

◆ end() [1/2]

template<typename T>
T * QSSGDataRef< T >::end ( )
inline

Definition at line 166 of file qssgdataref_p.h.

◆ end() [2/2]

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

Definition at line 169 of file qssgdataref_p.h.

◆ first() [1/2]

template<typename T>
T & QSSGDataRef< T >::first ( )
inline

Definition at line 171 of file qssgdataref_p.h.

◆ first() [2/2]

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

Definition at line 174 of file qssgdataref_p.h.

◆ isEmpty()

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

Definition at line 177 of file qssgdataref_p.h.

Referenced by QSSGDataRef< quint8 >::first(), QSSGDataRef< quint8 >::first(), QSSGDataRef< quint8 >::last(), and QSSGDataRef< quint8 >::last().

Here is the caller graph for this function:

◆ last() [1/2]

template<typename T>
T & QSSGDataRef< T >::last ( )
inline

Definition at line 172 of file qssgdataref_p.h.

◆ last() [2/2]

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

Definition at line 175 of file qssgdataref_p.h.

◆ operator QSSGDataView< T >()

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

Definition at line 199 of file qssgdataref_p.h.

◆ operator void *()

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

Definition at line 200 of file qssgdataref_p.h.

◆ operator[]() [1/2]

template<typename T>
T & QSSGDataRef< T >::operator[] ( qsizetype index)
inline

Definition at line 179 of file qssgdataref_p.h.

◆ operator[]() [2/2]

template<typename T>
const T & QSSGDataRef< T >::operator[] ( qsizetype index) const
inline

Definition at line 186 of file qssgdataref_p.h.

◆ size()

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

Definition at line 163 of file qssgdataref_p.h.

Member Data Documentation

◆ mData

◆ mSize

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

Definition at line 159 of file qssgdataref_p.h.


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