rapidjson::FileWriteStream Class Reference

Wrapper of C file stream for input using fread(). More...

#include <ThirdParty/rapidjson/include/rapidjson/filewritestream.h>

Inheritance diagram for rapidjson::FileWriteStream:
[legend]
Collaboration diagram for rapidjson::FileWriteStream:
[legend]

Public Types

typedef char Ch
 Character type. Only support char.
 

Public Member Functions

 FileWriteStream (FILE *fp, char *buffer, size_t bufferSize)
 
void Put (char c)
 
void PutN (char c, size_t n)
 
void Flush ()
 
char Peek () const
 
char Take ()
 
size_t Tell () const
 
char * PutBegin ()
 
size_t PutEnd (char *)
 

Private Attributes

FILE * fp_
 
char * buffer_
 
char * bufferEnd_
 
char * current_
 

Detailed Description

Wrapper of C file stream for input using fread().


The documentation for this class was generated from the following file:
  • Source/ThirdParty/rapidjson/include/rapidjson/filewritestream.h