Qt 4.8
|
#include <qiodevice_p.h>
Public Functions | |
bool | canReadLine () const |
void | chop (int size) |
void | clear () |
int | getChar () |
bool | isEmpty () const |
int | peek (char *target, int size) |
QIODevicePrivateLinearBuffer (int) | |
int | read (char *target, int size) |
QByteArray | readAll () |
int | readLine (char *target, int size) |
char * | reserve (int size) |
int | size () const |
void | skip (int n) |
void | ungetBlock (const char *block, int size) |
void | ungetChar (char c) |
~QIODevicePrivateLinearBuffer () | |
Private Types | |
enum | FreeSpacePos { freeSpaceAtStart, freeSpaceAtEnd } |
Private Functions | |
void | makeSpace (size_t required, FreeSpacePos where) |
Properties | |
char * | buf |
size_t | capacity |
char * | first |
int | len |
Definition at line 72 of file qiodevice_p.h.
|
private |
Enumerator | |
---|---|
freeSpaceAtStart | |
freeSpaceAtEnd |
Definition at line 170 of file qiodevice_p.h.
|
inline |
Definition at line 75 of file qiodevice_p.h.
|
inline |
Definition at line 77 of file qiodevice_p.h.
|
inline |
Definition at line 147 of file qiodevice_p.h.
|
inline |
Definition at line 124 of file qiodevice_p.h.
|
inline |
|
inline |
Definition at line 98 of file qiodevice_p.h.
|
inline |
Definition at line 87 of file qiodevice_p.h.
|
inlineprivate |
Definition at line 171 of file qiodevice_p.h.
Referenced by reserve(), ungetBlock(), and ungetChar().
|
inline |
Definition at line 113 of file qiodevice_p.h.
Referenced by QIODevicePrivate::isSequential(), and QSslSocketPrivate::peek().
|
inline |
Definition at line 106 of file qiodevice_p.h.
|
inline |
Definition at line 131 of file qiodevice_p.h.
|
inline |
Definition at line 137 of file qiodevice_p.h.
|
inline |
Definition at line 118 of file qiodevice_p.h.
|
inline |
Definition at line 84 of file qiodevice_p.h.
Referenced by chop(), reserve(), and ungetBlock().
|
inline |
Definition at line 90 of file qiodevice_p.h.
|
inline |
Definition at line 159 of file qiodevice_p.h.
|
inline |
Definition at line 150 of file qiodevice_p.h.
|
private |
Definition at line 196 of file qiodevice_p.h.
Referenced by clear(), makeSpace(), ungetBlock(), ungetChar(), and ~QIODevicePrivateLinearBuffer().
|
private |
Definition at line 198 of file qiodevice_p.h.
Referenced by makeSpace().
|
private |
Definition at line 194 of file qiodevice_p.h.
Referenced by canReadLine(), clear(), getChar(), makeSpace(), peek(), read(), readAll(), readLine(), reserve(), skip(), ungetBlock(), and ungetChar().
|
private |
Definition at line 192 of file qiodevice_p.h.
Referenced by canReadLine(), chop(), clear(), getChar(), isEmpty(), makeSpace(), peek(), read(), readAll(), readLine(), reserve(), size(), skip(), ungetBlock(), and ungetChar().