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

#include <filestream.h>

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

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.

Deprecated:
{ 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:
  • /home/travis/build/urho3d/Urho3D/Source/ThirdParty/rapidjson/include/rapidjson/filestream.h