Torque3D Documentation / _generateds / FileWriteStream

FileWriteStream

Engine/source/persistence/rapidjson/filewritestream.h

Wrapper of C file stream for output using fwrite().

More...

Public Types

char
Ch 

Character type. Only support char.

Private Attributes

char *
char *
char *
std::FILE *

Public Functions

FileWriteStream(std::FILE * fp, char * buffer, size_t bufferSize)
char
Peek()
Put(char c)
char *
size_t
PutEnd(char * )
PutN(char c, size_t n)
char
Take()
size_t
Tell()

Detailed Description

Wrapper of C file stream for output using fwrite().

note:

implements Stream concept

Public Types

typedef char Ch 

Character type. Only support char.

Private Attributes

char * buffer_ 
char * bufferEnd_ 
char * current_ 
std::FILE * fp_ 

Public Functions

FileWriteStream(std::FILE * fp, char * buffer, size_t bufferSize)

Flush()

Peek()

Put(char c)

PutBegin()

PutEnd(char * )

PutN(char c, size_t n)

Take()

Tell()