CoolProp  4.2.5
An open-source fluid property and humid air property database
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | List of all members
rapidjson::FileStream Class Reference

Wrapper of C file stream for input or output. More...

#include <filestream.h>

Inheritance diagram for rapidjson::FileStream:
rapidjson::Stream

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 *)
 

Detailed Description

Wrapper of C file stream for input or output.

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

Definition at line 13 of file filestream.h.

Member Typedef Documentation

Character type. Only support char.

Definition at line 15 of file filestream.h.

Constructor & Destructor Documentation

rapidjson::FileStream::FileStream ( FILE *  fp)
inline

Definition at line 17 of file filestream.h.

Member Function Documentation

char rapidjson::FileStream::Peek ( ) const
inline

Definition at line 18 of file filestream.h.

void rapidjson::FileStream::Put ( char  c)
inline

Definition at line 21 of file filestream.h.

char* rapidjson::FileStream::PutBegin ( )
inline

Definition at line 24 of file filestream.h.

size_t rapidjson::FileStream::PutEnd ( char *  )
inline

Definition at line 25 of file filestream.h.

char rapidjson::FileStream::Take ( )
inline

Definition at line 19 of file filestream.h.

size_t rapidjson::FileStream::Tell ( ) const
inline

Definition at line 20 of file filestream.h.


The documentation for this class was generated from the following file: