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
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, ReadLineOptions option=ReadLineOption::NullTerminated)
 
bool canReadLine () const
 

Friends

class QIODevicePrivate
 

Detailed Description

Definition at line 65 of file qiodevice_p.h.

Member Function Documentation

◆ append() [1/2]

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

Definition at line 93 of file qiodevice_p.h.

◆ append() [2/2]

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

Definition at line 94 of file qiodevice_p.h.

◆ canReadLine()

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

Definition at line 104 of file qiodevice_p.h.

◆ chop()

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

Definition at line 81 of file qiodevice_p.h.

◆ chunkSize()

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

Definition at line 73 of file qiodevice_p.h.

◆ clear()

void QIODevicePrivate::QRingBufferRef::clear ( )
inline

Definition at line 87 of file qiodevice_p.h.

◆ free()

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

Definition at line 77 of file qiodevice_p.h.

◆ getChar()

int QIODevicePrivate::QRingBufferRef::getChar ( )
inline

Definition at line 83 of file qiodevice_p.h.

◆ indexOf() [1/2]

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

Definition at line 88 of file qiodevice_p.h.

◆ indexOf() [2/2]

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

Definition at line 89 of file qiodevice_p.h.

◆ isEmpty()

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

Definition at line 82 of file qiodevice_p.h.

◆ nextDataBlockSize()

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

Definition at line 74 of file qiodevice_p.h.

◆ peek()

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

Definition at line 92 of file qiodevice_p.h.

◆ putChar()

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

Definition at line 84 of file qiodevice_p.h.

◆ read() [1/2]

QByteArray QIODevicePrivate::QRingBufferRef::read ( )
inline

Definition at line 91 of file qiodevice_p.h.

◆ read() [2/2]

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

Definition at line 90 of file qiodevice_p.h.

◆ readLine()

qint64 QIODevicePrivate::QRingBufferRef::readLine ( char * data,
qint64 maxLength,
ReadLineOptions option = ReadLineOption::NullTerminated )
inline

Definition at line 96 of file qiodevice_p.h.

◆ readPointer()

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

Definition at line 75 of file qiodevice_p.h.

◆ readPointerAtPosition()

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

Definition at line 76 of file qiodevice_p.h.

◆ reserve()

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

Definition at line 78 of file qiodevice_p.h.

◆ reserveFront()

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

Definition at line 79 of file qiodevice_p.h.

◆ setChunkSize()

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

Definition at line 72 of file qiodevice_p.h.

◆ size()

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

Definition at line 86 of file qiodevice_p.h.

◆ skip()

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

Definition at line 95 of file qiodevice_p.h.

◆ truncate()

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

Definition at line 80 of file qiodevice_p.h.

◆ ungetChar()

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

Definition at line 85 of file qiodevice_p.h.

Friends And Related Symbol Documentation

◆ QIODevicePrivate

friend class QIODevicePrivate
friend

Definition at line 69 of file qiodevice_p.h.


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