|
Wrapper of C file stream for input or output. More...
#include <filestream.h>
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 |
|
inline |
|
inlineprivate |
|
inline |