#include <UT_IStreamBuf.h>
|
static UT_IStreamBuf * | nullBuf () |
|
static UT_IStreamBuf * | fileBuf (const UT_StringHolder &filename, const UT_Options *options, bool bufferable) |
|
static UT_IStreamBuf * | fileBuf (FILE *fp, bool bufferable) |
|
static UT_IStreamBuf * | istreamBuf (std::istream &is, bool bufferable) |
|
static UT_IStreamBuf * | memoryBuf (const char *src, size_t len) |
|
static UT_IStreamBuf * | rangeBuf (UT_IStreamBuf *src, int64 start, int64 end) |
|
static UT_IStreamBuf * | zlibBuf (UT_IStreamBuf *src, bool bufferable=true) |
|
static UT_IStreamBuf * | gzipBuf (UT_IStreamBuf *src, bool bufferable=true) |
|
static UT_IStreamBuf * | bloscBuf (UT_IStreamBuf *src, bool bufferable=true) |
|
static UT_IStreamBuf * | scBuf (UT_IStream *src, bool bufferable=true) |
|
static UT_IStreamBuf * | blowfishBuf (UT_IStreamBuf *src, const unsigned char *key, exint key_length, bool bufferable=true) |
|
static exint | blowfishPlainTextLength (UT_IStreamBuf *src) |
|
static void | setStdinCompatible (bool state) |
|
Definition at line 39 of file UT_IStreamBuf.h.
Enumerator |
---|
UT_SEEK_BEG |
|
UT_SEEK_CUR |
|
UT_SEEK_END |
|
Definition at line 44 of file UT_IStreamBuf.h.
UT_IStreamBuf::UT_IStreamBuf |
( |
bool |
bufferable = true | ) |
|
virtual UT_IStreamBuf::~UT_IStreamBuf |
( |
| ) |
|
|
protectedvirtual |
exint UT_IStreamBuf::bread |
( |
char * |
buffer, |
|
|
exint |
size |
|
) |
| |
|
inline |
void UT_IStreamBuf::bumpRef |
( |
| ) |
|
|
inline |
void UT_IStreamBuf::clearLoadBuffer |
( |
| ) |
|
virtual bool UT_IStreamBuf::closeFile |
( |
| ) |
|
|
virtual |
void UT_IStreamBuf::decRef |
( |
| ) |
|
|
inline |
virtual bool UT_IStreamBuf::endOfFileSet |
( |
| ) |
const |
|
protectedpure virtual |
static UT_IStreamBuf* UT_IStreamBuf::fileBuf |
( |
FILE * |
fp, |
|
|
bool |
bufferable |
|
) |
| |
|
static |
bool UT_IStreamBuf::getAlNumWord |
( |
UT_WorkBuffer & |
buffer, |
|
|
const char * |
prefix = "" |
|
) |
| |
|
protected |
getc and peek return the character read as an unsigned char cast to an int, or -1 (EOF) on failure. In other words, characters with the high bit set will return a number from 128 to 255, not a negative number.
Definition at line 262 of file UT_IStreamBuf.h.
bool UT_IStreamBuf::getError |
( |
| ) |
const |
|
inline |
const char* UT_IStreamBuf::getErrorStr |
( |
| ) |
const |
virtual int UT_IStreamBuf::getFileDescriptor |
( |
| ) |
const |
|
virtual |
virtual int UT_IStreamBuf::getFileSystemType |
( |
| ) |
const |
|
virtual |
bool UT_IStreamBuf::getJSONWord |
( |
UT_WorkBuffer & |
buffer, |
|
|
bool & |
real |
|
) |
| |
virtual int64 UT_IStreamBuf::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
|
virtual |
bool UT_IStreamBuf::getNumber |
( |
UT_WorkBuffer & |
buffer, |
|
|
bool & |
real |
|
) |
| |
bool UT_IStreamBuf::isBufferable |
( |
| ) |
const |
|
inline |
bool UT_IStreamBuf::isEof |
( |
| ) |
const |
|
inline |
virtual bool UT_IStreamBuf::isRandomAccessFile |
( |
UT_WorkBuffer & |
filename | ) |
const |
|
virtual |
static UT_IStreamBuf* UT_IStreamBuf::istreamBuf |
( |
std::istream & |
is, |
|
|
bool |
bufferable |
|
) |
| |
|
static |
virtual void UT_IStreamBuf::loadBuffer |
( |
exint & |
bufstartpos, |
|
|
const char *& |
bufstart, |
|
|
const char *& |
bufend, |
|
|
bool |
keepeofif0 |
|
) |
| |
|
protectedpure virtual |
bool UT_IStreamBuf::loadBuffer |
( |
bool |
keepeofif0 = false | ) |
|
|
protected |
static UT_IStreamBuf* UT_IStreamBuf::memoryBuf |
( |
const char * |
src, |
|
|
size_t |
len |
|
) |
| |
|
static |
virtual exint UT_IStreamBuf::read |
( |
char * |
buffer, |
|
|
exint |
asize = 1 |
|
) |
| |
|
pure virtual |
bool UT_IStreamBuf::seekg |
( |
exint |
pos, |
|
|
int |
seekdir |
|
) |
| |
|
inline |
virtual bool UT_IStreamBuf::seekPos |
( |
exint |
pos, |
|
|
int |
dir |
|
) |
| |
|
protectedpure virtual |
void UT_IStreamBuf::setError |
( |
const char * |
msg = 0 | ) |
|
|
protected |
Set the index for the stream buffer (does nothing if stream buffer does not support index)
Definition at line 87 of file UT_IStreamBuf.h.
static void UT_IStreamBuf::setStdinCompatible |
( |
bool |
state | ) |
|
|
static |
bool UT_IStreamBuf::skipLine |
( |
int |
end = '\n' | ) |
|
|
inline |
bool UT_IStreamBuf::skipWhitespace |
( |
int64 * |
line_count, |
|
|
int64 * |
line_start_pos |
|
) |
| |
void UT_IStreamBuf::stealLoadBufferData |
( |
const char *& |
bufstart, |
|
|
const char *& |
bufend, |
|
|
exint |
maxlen |
|
) |
| |
virtual int UT_IStreamBuf::streamPeek |
( |
| ) |
|
|
pure virtual |
exint UT_IStreamBuf::tellg |
( |
| ) |
const |
|
inline |
virtual exint UT_IStreamBuf::tellPos |
( |
| ) |
const |
|
protectedpure virtual |
The documentation for this class was generated from the following file: