Torque3D Documentation / _generateds / BasicOStreamWrapper

BasicOStreamWrapper

Engine/source/persistence/rapidjson/ostreamwrapper.h

Wrapper of

std::basic_ostream
into RapidJSON's Stream concept.

More...

Public Types

StreamType::char_type
Ch 

Private Attributes

StreamType &

Public Functions

BasicOStreamWrapper(StreamType & stream)
char
Peek()
Put(Ch c)
char *
size_t
PutEnd(char * )
char
Take()
size_t
Tell()

Detailed Description

Wrapper of

std::basic_ostream
into RapidJSON's Stream concept.

The classes can be wrapped including but not limited to:

  • std::ostringstream

  • std::stringstream

  • std::wpstringstream

  • std::wstringstream

  • std::ifstream

  • std::fstream

  • std::wofstream

  • std::wfstream

Parameters:

StreamType

Class derived from

std::basic_ostream
.

Public Types

typedef StreamType::char_type Ch 

Private Attributes

StreamType & stream_ 

Public Functions

BasicOStreamWrapper(StreamType & stream)

Flush()

Peek()

Put(Ch c)

PutBegin()

PutEnd(char * )

Take()

Tell()