15 #ifndef RAPIDJSON_FILEREADSTREAM_H_
16 #define RAPIDJSON_FILEREADSTREAM_H_
88 #endif // RAPIDJSON_FILESTREAM_H_
#define RAPIDJSON_ASSERT(x)
Assertion.
Definition: rapidjson.h:344
const size_t bufferSize
Definition: RASession.h:31
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition: rapidjson.h:119
void Flush()
Definition: filereadstream.h:49
size_t count_
Number of characters read.
Definition: filereadstream.h:82
#define false
Definition: CascPort.h:18
Ch Take()
Definition: filereadstream.h:44
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition: rapidjson.h:116
Ch * buffer_
Definition: filereadstream.h:77
FileReadStream(std::FILE *fp, char *buffer, size_t bufferSize)
Constructor.
Definition: filereadstream.h:37
Ch Peek() const
Definition: filereadstream.h:43
bool eof_
Definition: filereadstream.h:83
Ch * bufferLast_
Definition: filereadstream.h:79
char Ch
Character type (byte).
Definition: filereadstream.h:29
size_t bufferSize_
Definition: filereadstream.h:78
std::FILE * fp_
Definition: filereadstream.h:76
void Put(Ch)
Definition: filereadstream.h:48
size_t PutEnd(Ch *)
Definition: filereadstream.h:51
File byte stream for input using fread().
Definition: filereadstream.h:27
common definitions and configuration
size_t Tell() const
Definition: filereadstream.h:45
void Read()
Definition: filereadstream.h:59
size_t readCount_
Definition: filereadstream.h:81
Ch * PutBegin()
Definition: filereadstream.h:50
Ch * current_
Definition: filereadstream.h:80
const Ch * Peek4() const
Definition: filereadstream.h:54