Documentation
Public Types |
Public Member Functions |
Private Member Functions |
Private Attributes |
List of all members
rapidjson::FileReadStream Class Reference
File byte stream for input using fread(). More...
#include <filereadstream.h>
Inheritance diagram for rapidjson::FileReadStream:
Collaboration diagram for rapidjson::FileReadStream:
Public Types | |
typedef char | Ch |
Character type (byte). | |
Public Member Functions | |
FileReadStream (FILE *fp, char *buffer, size_t bufferSize) | |
Constructor. More... | |
Ch | Peek () const |
Ch | Take () |
size_t | Tell () const |
void | Put (Ch) |
void | Flush () |
Ch * | PutBegin () |
size_t | PutEnd (Ch *) |
const Ch * | Peek4 () const |
Private Member Functions | |
void | Read () |
Private Attributes | |
FILE * | fp_ |
Ch * | buffer_ |
size_t | bufferSize_ |
Ch * | bufferLast_ |
Ch * | current_ |
size_t | readCount_ |
size_t | count_ |
Number of characters read. | |
bool | eof_ |
Detailed Description
File byte stream for input using fread().
Constructor & Destructor Documentation
|
inline |
Constructor.
- Parameters
-
fp File pointer opened for read. buffer user-supplied buffer. bufferSize size of buffer in bytes. Must >=4 bytes.
The documentation for this class was generated from the following file:
- /home/travis/build/urho3d/Urho3D/Source/ThirdParty/rapidjson/include/rapidjson/filereadstream.h