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
QIODevicePrivate::QRingBufferRef Class Reference

#include <qiodevice_p.h>

+ Collaboration diagram for QIODevicePrivate::QRingBufferRef:

Public Member Functions

void setChunkSize (int size)
 
int chunkSize () const
 
qint64 nextDataBlockSize () const
 
const char * readPointer () const
 
const char * readPointerAtPosition (qint64 pos, qint64 &length) const
 
void free (qint64 bytes)
 
char * reserve (qint64 bytes)
 
char * reserveFront (qint64 bytes)
 
void truncate (qint64 pos)
 
void chop (qint64 bytes)
 
bool isEmpty () const
 
int getChar ()
 
void putChar (char c)
 
void ungetChar (char c)
 
qint64 size () const
 
void clear ()
 
qint64 indexOf (char c) const
 
qint64 indexOf (char c, qint64 maxLength, qint64 pos=0) const
 
qint64 read (char *data, qint64 maxLength)
 
QByteArray read ()
 
qint64 peek (char *data, qint64 maxLength, qint64 pos=0) const
 
void append (const char *data, qint64 size)
 
void append (const QByteArray &qba)
 
qint64 skip (qint64 length)
 
qint64 readLine (char *data, qint64 maxLength)
 
bool canReadLine () const
 

Friends

class QIODevicePrivate
 

Detailed Description

Definition at line 57 of file qiodevice_p.h.

Member Function Documentation

◆ append() [1/2]

void QIODevicePrivate::QRingBufferRef::append ( const char * data,
qint64 size )
inline

Definition at line 85 of file qiodevice_p.h.

References QRingBuffer::append(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ append() [2/2]

void QIODevicePrivate::QRingBufferRef::append ( const QByteArray & qba)
inline

Definition at line 86 of file qiodevice_p.h.

References QRingBuffer::append(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ canReadLine()

bool QIODevicePrivate::QRingBufferRef::canReadLine ( ) const
inline

Definition at line 89 of file qiodevice_p.h.

References QRingBuffer::canReadLine().

+ Here is the call graph for this function:

◆ chop()

void QIODevicePrivate::QRingBufferRef::chop ( qint64 bytes)
inline

Definition at line 73 of file qiodevice_p.h.

References QRingBuffer::chop(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ chunkSize()

int QIODevicePrivate::QRingBufferRef::chunkSize ( ) const
inline

Definition at line 65 of file qiodevice_p.h.

References QRingBuffer::chunkSize(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ clear()

void QIODevicePrivate::QRingBufferRef::clear ( )
inline

Definition at line 79 of file qiodevice_p.h.

References QRingBuffer::clear().

+ Here is the call graph for this function:

◆ free()

void QIODevicePrivate::QRingBufferRef::free ( qint64 bytes)
inline

Definition at line 69 of file qiodevice_p.h.

References QRingBuffer::free(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ getChar()

int QIODevicePrivate::QRingBufferRef::getChar ( )
inline

Definition at line 75 of file qiodevice_p.h.

References QRingBuffer::getChar().

+ Here is the call graph for this function:

◆ indexOf() [1/2]

qint64 QIODevicePrivate::QRingBufferRef::indexOf ( char c) const
inline

Definition at line 80 of file qiodevice_p.h.

References QRingBuffer::indexOf(), Q_INT64_C, and QRingBuffer::size().

+ Here is the call graph for this function:

◆ indexOf() [2/2]

qint64 QIODevicePrivate::QRingBufferRef::indexOf ( char c,
qint64 maxLength,
qint64 pos = 0 ) const
inline

Definition at line 81 of file qiodevice_p.h.

References QRingBuffer::indexOf(), pos, and Q_INT64_C.

+ Here is the call graph for this function:

◆ isEmpty()

bool QIODevicePrivate::QRingBufferRef::isEmpty ( ) const
inline

Definition at line 74 of file qiodevice_p.h.

References QRingBuffer::isEmpty().

+ Here is the call graph for this function:

◆ nextDataBlockSize()

qint64 QIODevicePrivate::QRingBufferRef::nextDataBlockSize ( ) const
inline

Definition at line 66 of file qiodevice_p.h.

References QRingBuffer::nextDataBlockSize(), and Q_INT64_C.

Referenced by QTlsPrivate::TlsCryptographSecureTransport::transmit().

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

◆ peek()

qint64 QIODevicePrivate::QRingBufferRef::peek ( char * data,
qint64 maxLength,
qint64 pos = 0 ) const
inline

Definition at line 84 of file qiodevice_p.h.

References QRingBuffer::peek(), pos, and Q_INT64_C.

Referenced by QSslSocketPrivate::peek().

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

◆ putChar()

void QIODevicePrivate::QRingBufferRef::putChar ( char c)
inline

Definition at line 76 of file qiodevice_p.h.

References QRingBuffer::putChar(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ read() [1/2]

QByteArray QIODevicePrivate::QRingBufferRef::read ( )
inline

Definition at line 83 of file qiodevice_p.h.

References QByteArray(), and QRingBuffer::read().

+ Here is the call graph for this function:

◆ read() [2/2]

qint64 QIODevicePrivate::QRingBufferRef::read ( char * data,
qint64 maxLength )
inline

Definition at line 82 of file qiodevice_p.h.

References Q_INT64_C, and QRingBuffer::read().

+ Here is the call graph for this function:

◆ readLine()

qint64 QIODevicePrivate::QRingBufferRef::readLine ( char * data,
qint64 maxLength )
inline

Definition at line 88 of file qiodevice_p.h.

References Q_INT64_C, and QRingBuffer::readLine().

+ Here is the call graph for this function:

◆ readPointer()

const char * QIODevicePrivate::QRingBufferRef::readPointer ( ) const
inline

Definition at line 67 of file qiodevice_p.h.

References QRingBuffer::readPointer().

+ Here is the call graph for this function:

◆ readPointerAtPosition()

const char * QIODevicePrivate::QRingBufferRef::readPointerAtPosition ( qint64 pos,
qint64 & length ) const
inline

Definition at line 68 of file qiodevice_p.h.

References pos, Q_ASSERT, and QRingBuffer::readPointerAtPosition().

+ Here is the call graph for this function:

◆ reserve()

char * QIODevicePrivate::QRingBufferRef::reserve ( qint64 bytes)
inline

Definition at line 70 of file qiodevice_p.h.

References Q_ASSERT, and QRingBuffer::reserve().

+ Here is the call graph for this function:

◆ reserveFront()

char * QIODevicePrivate::QRingBufferRef::reserveFront ( qint64 bytes)
inline

Definition at line 71 of file qiodevice_p.h.

References Q_ASSERT, and QRingBuffer::reserveFront().

+ Here is the call graph for this function:

◆ setChunkSize()

void QIODevicePrivate::QRingBufferRef::setChunkSize ( int size)
inline

Definition at line 64 of file qiodevice_p.h.

References Q_ASSERT, and QRingBuffer::setChunkSize().

+ Here is the call graph for this function:

◆ size()

qint64 QIODevicePrivate::QRingBufferRef::size ( ) const
inline

Definition at line 78 of file qiodevice_p.h.

References Q_INT64_C, and QRingBuffer::size().

+ Here is the call graph for this function:

◆ skip()

qint64 QIODevicePrivate::QRingBufferRef::skip ( qint64 length)
inline

Definition at line 87 of file qiodevice_p.h.

References Q_INT64_C, and QRingBuffer::skip().

+ Here is the call graph for this function:

◆ truncate()

void QIODevicePrivate::QRingBufferRef::truncate ( qint64 pos)
inline

Definition at line 72 of file qiodevice_p.h.

References pos, Q_ASSERT, and QRingBuffer::truncate().

+ Here is the call graph for this function:

◆ ungetChar()

void QIODevicePrivate::QRingBufferRef::ungetChar ( char c)
inline

Definition at line 77 of file qiodevice_p.h.

References Q_ASSERT, and QRingBuffer::ungetChar().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ QIODevicePrivate

friend class QIODevicePrivate
friend

Definition at line 61 of file qiodevice_p.h.


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