Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPrivateLinearBuffer Class Reference

#include <qprivatelinearbuffer_p.h>

+ Collaboration diagram for QPrivateLinearBuffer:

Public Member Functions

 QPrivateLinearBuffer ()
 
 ~QPrivateLinearBuffer ()
 
void clear ()
 
qsizetype size () const
 
bool isEmpty () const
 
void skip (qsizetype n)
 
int getChar ()
 
qsizetype read (char *target, qsizetype size)
 
char * reserve (qsizetype size)
 
void chop (qsizetype size)
 
QByteArray readAll ()
 
qsizetype readLine (char *target, qsizetype size)
 
bool canReadLine () const
 
void ungetChar (char c)
 
void ungetBlock (const char *block, qsizetype size)
 

Detailed Description

Definition at line 19 of file qprivatelinearbuffer_p.h.

Constructor & Destructor Documentation

◆ QPrivateLinearBuffer()

QPrivateLinearBuffer::QPrivateLinearBuffer ( )
inline

Definition at line 22 of file qprivatelinearbuffer_p.h.

◆ ~QPrivateLinearBuffer()

QPrivateLinearBuffer::~QPrivateLinearBuffer ( )
inline

Definition at line 24 of file qprivatelinearbuffer_p.h.

Member Function Documentation

◆ canReadLine()

bool QPrivateLinearBuffer::canReadLine ( ) const
inline

Definition at line 95 of file qprivatelinearbuffer_p.h.

Referenced by InputStreamThread::canReadLine(), QBluetoothSocketPrivateBluez::canReadLine(), and QBluetoothSocketPrivateWinRT::canReadLine().

+ Here is the caller graph for this function:

◆ chop()

void QPrivateLinearBuffer::chop ( qsizetype size)
inline

Definition at line 70 of file qprivatelinearbuffer_p.h.

References clear(), and size().

+ Here is the call graph for this function:

◆ clear()

void QPrivateLinearBuffer::clear ( )
inline

Definition at line 27 of file qprivatelinearbuffer_p.h.

Referenced by chop(), readAll(), and skip().

+ Here is the caller graph for this function:

◆ getChar()

int QPrivateLinearBuffer::getChar ( )
inline

Definition at line 47 of file qprivatelinearbuffer_p.h.

References ch.

◆ isEmpty()

bool QPrivateLinearBuffer::isEmpty ( ) const
inline

Definition at line 35 of file qprivatelinearbuffer_p.h.

Referenced by InputStreamThread::readData(), QBluetoothSocketPrivateBluez::readData(), and QBluetoothSocketPrivateWinRT::readData().

+ Here is the caller graph for this function:

◆ read()

qsizetype QPrivateLinearBuffer::read ( char * target,
qsizetype size )
inline

Definition at line 55 of file qprivatelinearbuffer_p.h.

Referenced by InputStreamThread::readData(), QBluetoothSocketPrivateBluez::readData(), and QBluetoothSocketPrivateWinRT::readData().

+ Here is the caller graph for this function:

◆ readAll()

QByteArray QPrivateLinearBuffer::readAll ( )
inline

Definition at line 78 of file qprivatelinearbuffer_p.h.

References clear(), and QByteArray().

+ Here is the call graph for this function:

◆ readLine()

qsizetype QPrivateLinearBuffer::readLine ( char * target,
qsizetype size )
inline

Definition at line 84 of file qprivatelinearbuffer_p.h.

◆ reserve()

char * QPrivateLinearBuffer::reserve ( qsizetype size)
inline

Definition at line 63 of file qprivatelinearbuffer_p.h.

References size().

Referenced by QBluetoothSocketPrivateWinRT::addToPendingData(), InputStreamThread::javaReadyRead(), and QBluetoothSocketPrivateBluez::writeData().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ size()

qsizetype QPrivateLinearBuffer::size ( ) const
inline

Definition at line 31 of file qprivatelinearbuffer_p.h.

Referenced by InputStreamThread::bytesAvailable(), QBluetoothSocketPrivateBluez::bytesAvailable(), QBluetoothSocketPrivateWinRT::bytesAvailable(), QBluetoothSocketPrivateBluez::bytesToWrite(), chop(), QBluetoothSocketPrivateBluez::close(), reserve(), ungetBlock(), and QBluetoothSocketPrivateBluez::writeData().

+ Here is the caller graph for this function:

◆ skip()

void QPrivateLinearBuffer::skip ( qsizetype n)
inline

Definition at line 38 of file qprivatelinearbuffer_p.h.

References clear().

+ Here is the call graph for this function:

◆ ungetBlock()

void QPrivateLinearBuffer::ungetBlock ( const char * block,
qsizetype size )
inline

Definition at line 107 of file qprivatelinearbuffer_p.h.

References size().

+ Here is the call graph for this function:

◆ ungetChar()

void QPrivateLinearBuffer::ungetChar ( char c)
inline

Definition at line 98 of file qprivatelinearbuffer_p.h.


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