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
QDataBuffer< Type > Class Template Reference

#include <qdatabuffer_p.h>

Collaboration diagram for QDataBuffer< Type >:

Public Member Functions

 QDataBuffer (qsizetype res)
 ~QDataBuffer ()
void reset ()
bool isEmpty () const
qsizetype size () const
Typedata () const
Typeat (qsizetype i)
const Typeat (qsizetype i) const
Typelast ()
const Typelast () const
Typefirst ()
const Typefirst () const
void add (const Type &t)
void pop_back ()
void resize (qsizetype size)
void reserve (qsizetype size)
void shrink (qsizetype size)
void swap (QDataBuffer< Type > &other)
QDataBufferoperator<< (const Type &t)

Detailed Description

template<typename Type>
class QDataBuffer< Type >

Definition at line 28 of file qdatabuffer_p.h.

Constructor & Destructor Documentation

◆ QDataBuffer()

template<typename Type>
QDataBuffer< Type >::QDataBuffer ( qsizetype res)
inlineexplicit

Definition at line 32 of file qdatabuffer_p.h.

◆ ~QDataBuffer()

template<typename Type>
QDataBuffer< Type >::~QDataBuffer ( )
inline

Definition at line 47 of file qdatabuffer_p.h.

Member Function Documentation

◆ add()

template<typename Type>
void QDataBuffer< Type >::add ( const Type & t)
inline

Definition at line 68 of file qdatabuffer_p.h.

◆ at() [1/2]

template<typename Type>
Type & QDataBuffer< Type >::at ( qsizetype i)
inline

Definition at line 61 of file qdatabuffer_p.h.

◆ at() [2/2]

template<typename Type>
const Type & QDataBuffer< Type >::at ( qsizetype i) const
inline

Definition at line 62 of file qdatabuffer_p.h.

◆ data()

template<typename Type>
Type * QDataBuffer< Type >::data ( ) const
inline

Definition at line 59 of file qdatabuffer_p.h.

◆ first() [1/2]

template<typename Type>
Type & QDataBuffer< Type >::first ( )
inline

Definition at line 65 of file qdatabuffer_p.h.

◆ first() [2/2]

template<typename Type>
const Type & QDataBuffer< Type >::first ( ) const
inline

Definition at line 66 of file qdatabuffer_p.h.

◆ isEmpty()

template<typename Type>
bool QDataBuffer< Type >::isEmpty ( ) const
inline

Definition at line 56 of file qdatabuffer_p.h.

◆ last() [1/2]

template<typename Type>
Type & QDataBuffer< Type >::last ( )
inline

Definition at line 63 of file qdatabuffer_p.h.

◆ last() [2/2]

template<typename Type>
const Type & QDataBuffer< Type >::last ( ) const
inline

Definition at line 64 of file qdatabuffer_p.h.

◆ operator<<()

template<typename Type>
QDataBuffer & QDataBuffer< Type >::operator<< ( const Type & t)
inline

Definition at line 118 of file qdatabuffer_p.h.

◆ pop_back()

template<typename Type>
void QDataBuffer< Type >::pop_back ( )
inline

Definition at line 74 of file qdatabuffer_p.h.

◆ reserve()

template<typename Type>
void QDataBuffer< Type >::reserve ( qsizetype size)
inline

Definition at line 84 of file qdatabuffer_p.h.

◆ reset()

template<typename Type>
void QDataBuffer< Type >::reset ( )
inline

Definition at line 54 of file qdatabuffer_p.h.

◆ resize()

template<typename Type>
void QDataBuffer< Type >::resize ( qsizetype size)
inline

Definition at line 79 of file qdatabuffer_p.h.

◆ shrink()

template<typename Type>
void QDataBuffer< Type >::shrink ( qsizetype size)
inline

Definition at line 96 of file qdatabuffer_p.h.

◆ size()

template<typename Type>
qsizetype QDataBuffer< Type >::size ( ) const
inline

Definition at line 58 of file qdatabuffer_p.h.

◆ swap()

template<typename Type>
void QDataBuffer< Type >::swap ( QDataBuffer< Type > & other)
inline

Definition at line 112 of file qdatabuffer_p.h.


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