(Depreciated) Wrapper of C file stream for input or output. More...

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

Inheritance diagram for rapidjson::FileStream:
Collaboration diagram for rapidjson::FileStream:

Public Types

typedef char Ch
 Character type. Only support char.

Public Member Functions

 FileStream (FILE *fp)
char Peek () const
char Take ()
size_t Tell () const
void Put (char c)
void Flush ()
char * PutBegin ()
size_t PutEnd (char *)

Private Member Functions

void Read ()

Private Attributes

FILE * fp_
char current_
size_t count_

Detailed Description

(Depreciated) Wrapper of C file stream for input or output.

This simple wrapper does not check the validity of the stream.

{ This was only for basic testing in version 0.1, it is found that the performance is very low by using fgetc(). Use FileReadStream instead. }

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