15 #ifndef RAPIDJSON_FILEREADSTREAM_H_ 16 #define RAPIDJSON_FILEREADSTREAM_H_ 23 RAPIDJSON_DIAG_OFF(padded)
24 RAPIDJSON_DIAG_OFF(unreachable-
code)
25 RAPIDJSON_DIAG_OFF(missing-noreturn)
99 #endif // RAPIDJSON_FILESTREAM_H_ #define RAPIDJSON_ASSERT(x)
Assertion.
Definition: rapidjson.h:411
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition: rapidjson.h:124
void Flush()
Definition: filereadstream.h:56
size_t count_
Number of characters read.
Definition: filereadstream.h:89
Ch Take()
Definition: filereadstream.h:51
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition: rapidjson.h:121
Ch * buffer_
Definition: filereadstream.h:84
FileReadStream(std::FILE *fp, char *buffer, size_t bufferSize)
Constructor.
Definition: filereadstream.h:44
Ch Peek() const
Definition: filereadstream.h:50
bool eof_
Definition: filereadstream.h:90
Ch * bufferLast_
Definition: filereadstream.h:86
const portMappingElt code
Definition: portlistingparse.c:22
const T buffer
Definition: byte_slice.cpp:83
char Ch
Character type (byte).
Definition: filereadstream.h:36
size_t bufferSize_
Definition: filereadstream.h:85
#define false
Definition: stdbool.h:37
std::FILE * fp_
Definition: filereadstream.h:83
void Put(Ch)
Definition: filereadstream.h:55
size_t PutEnd(Ch *)
Definition: filereadstream.h:58
File byte stream for input using fread().
Definition: filereadstream.h:34
size_t Tell() const
Definition: filereadstream.h:52
void Read()
Definition: filereadstream.h:66
size_t readCount_
Definition: filereadstream.h:88
Ch * PutBegin()
Definition: filereadstream.h:57
Ch * current_
Definition: filereadstream.h:87
c
Definition: pymoduletest.py:79
const Ch * Peek4() const
Definition: filereadstream.h:61