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
Type * data () const
Type & at (qsizetype i)
const Type & at (qsizetype i) const
Type & last ()
const Type & last () const
Type & first ()
const Type & first () 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)
QDataBuffer & operator<< (const Type &t)

Detailed Description

template<typename Type>
class QDataBuffer< Type >

Definition at line 29 of file qdatabuffer_p.h.

Constructor & Destructor Documentation

◆ QDataBuffer()

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

Definition at line 33 of file qdatabuffer_p.h.

◆ ~QDataBuffer()

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

Definition at line 48 of file qdatabuffer_p.h.

Member Function Documentation

◆ add()

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

Definition at line 69 of file qdatabuffer_p.h.

◆ at() [1/2]

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

Definition at line 62 of file qdatabuffer_p.h.

◆ at() [2/2]

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

Definition at line 63 of file qdatabuffer_p.h.

◆ data()

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

Definition at line 60 of file qdatabuffer_p.h.

◆ first() [1/2]

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

Definition at line 66 of file qdatabuffer_p.h.

◆ first() [2/2]

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

Definition at line 67 of file qdatabuffer_p.h.

◆ isEmpty()

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

Definition at line 57 of file qdatabuffer_p.h.

◆ last() [1/2]

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

Definition at line 64 of file qdatabuffer_p.h.

◆ last() [2/2]

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

Definition at line 65 of file qdatabuffer_p.h.

◆ operator<<()

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

Definition at line 119 of file qdatabuffer_p.h.

◆ pop_back()

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

Definition at line 75 of file qdatabuffer_p.h.

◆ reserve()

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

Definition at line 85 of file qdatabuffer_p.h.

◆ reset()

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

Definition at line 55 of file qdatabuffer_p.h.

◆ resize()

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

Definition at line 80 of file qdatabuffer_p.h.

◆ shrink()

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

Definition at line 97 of file qdatabuffer_p.h.

◆ size()

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

Definition at line 59 of file qdatabuffer_p.h.

◆ swap()

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

Definition at line 113 of file qdatabuffer_p.h.


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