#include <qringbuffer_p.h>
◆ QRingBuffer()
QRingBuffer::QRingBuffer |
( |
int | growth = 4096 | ) |
|
|
inline |
◆ append()
void QRingBuffer::append |
( |
const QByteArray & | qba | ) |
|
|
inline |
◆ canReadLine()
bool QRingBuffer::canReadLine |
( |
| ) |
const |
|
inline |
◆ chop()
void QRingBuffer::chop |
( |
int | bytes | ) |
|
|
inline |
◆ clear()
void QRingBuffer::clear |
( |
| ) |
|
|
inline |
◆ free()
void QRingBuffer::free |
( |
int | bytes | ) |
|
|
inline |
References basicBlockSize, buffers, bufferSize, clear(), head, isEmpty(), nextDataBlockSize(), tail, and tailBuffer.
Referenced by getChar(), read(), and readLine().
◆ getChar()
int QRingBuffer::getChar |
( |
| ) |
|
|
inline |
◆ indexOf() [1/2]
int QRingBuffer::indexOf |
( |
char | c | ) |
const |
|
inline |
◆ indexOf() [2/2]
int QRingBuffer::indexOf |
( |
char | c, |
|
|
int | maxLength ) const |
|
inline |
◆ isEmpty()
bool QRingBuffer::isEmpty |
( |
| ) |
const |
|
inline |
◆ nextDataBlockSize()
int QRingBuffer::nextDataBlockSize |
( |
| ) |
const |
|
inline |
◆ peek()
QByteArray QRingBuffer::peek |
( |
int | maxLength | ) |
const |
|
inline |
◆ putChar()
void QRingBuffer::putChar |
( |
char | c | ) |
|
|
inline |
◆ read() [1/3]
QByteArray QRingBuffer::read |
( |
| ) |
|
|
inline |
◆ read() [2/3]
int QRingBuffer::read |
( |
char * | data, |
|
|
int | maxLength ) |
|
inline |
◆ read() [3/3]
QByteArray QRingBuffer::read |
( |
int | maxLength | ) |
|
|
inline |
◆ readAll()
QByteArray QRingBuffer::readAll |
( |
| ) |
|
|
inline |
◆ readLine()
int QRingBuffer::readLine |
( |
char * | data, |
|
|
int | maxLength ) |
|
inline |
◆ readPointer()
const char * QRingBuffer::readPointer |
( |
| ) |
const |
|
inline |
◆ readPointerAtPosition()
const char * QRingBuffer::readPointerAtPosition |
( |
qint64 | pos, |
|
|
qint64 & | length ) const |
|
inline |
◆ reserve()
char * QRingBuffer::reserve |
( |
int | bytes | ) |
|
|
inline |
◆ size()
int QRingBuffer::size |
( |
| ) |
const |
|
inline |
◆ skip()
int QRingBuffer::skip |
( |
int | length | ) |
|
|
inline |
◆ truncate()
void QRingBuffer::truncate |
( |
int | pos | ) |
|
|
inline |
◆ ungetChar()
void QRingBuffer::ungetChar |
( |
char | c | ) |
|
|
inline |
◆ basicBlockSize
int QRingBuffer::basicBlockSize |
|
private |
◆ buffers
QList<QByteArray> QRingBuffer::buffers |
|
private |
Referenced by append(), chop(), clear(), free(), indexOf(), indexOf(), nextDataBlockSize(), peek(), QRingBuffer(), read(), readPointer(), readPointerAtPosition(), reserve(), and ungetChar().
◆ bufferSize
int QRingBuffer::bufferSize |
|
private |
◆ head
Referenced by chop(), clear(), free(), indexOf(), indexOf(), nextDataBlockSize(), peek(), read(), readPointer(), readPointerAtPosition(), and ungetChar().
◆ tail
Referenced by append(), chop(), clear(), free(), indexOf(), indexOf(), isEmpty(), nextDataBlockSize(), peek(), read(), readPointerAtPosition(), and reserve().
◆ tailBuffer
int QRingBuffer::tailBuffer |
|
private |
Referenced by append(), chop(), clear(), free(), indexOf(), indexOf(), isEmpty(), nextDataBlockSize(), peek(), read(), readPointerAtPosition(), reserve(), and ungetChar().
The documentation for this class was generated from the following file: