![]() |
|
Wrapper of C file stream for input or output. More...
#include <filestream.h>
Inheritance diagram for rapidjson::FileStream:Public Types | |
| typedef char | Ch |
| Character type. Only support char. More... | |
Public Member Functions | |
| FileStream (FILE *fp) | |
| char | Peek () const |
| char | Take () |
| size_t | Tell () const |
| void | Put (char c) |
| char * | PutBegin () |
| size_t | PutEnd (char *) |
Private Member Functions | |
| void | Read () |
Private Attributes | |
| FILE * | fp_ |
| char | current_ |
| size_t | count_ |
Wrapper of C file stream for input or output.
This simple wrapper does not check the validity of the stream.
| typedef char rapidjson::FileStream::Ch |
Character type. Only support char.
|
inline |
References Read().
|
inline |
References calibrate::c, and fp_.
|
inline |
|
inline |
|
inlineprivate |
References calibrate::c, count_, current_, fp_, and RAPIDJSON_ASSERT.
Referenced by FileStream(), and Take().
|
inline |