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