BasicOStreamWrapper
Engine/source/persistence/rapidjson/ostreamwrapper.h
Wrapper of
std::basic_ostreaminto RapidJSON's Stream concept.
Public Types
StreamType::char_type
Ch
Private Attributes
StreamType &
Public Functions
Private Functions
Detailed Description
Wrapper of
std::basic_ostreaminto 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()
Private Functions
BasicOStreamWrapper(const BasicOStreamWrapper & )
operator=(const BasicOStreamWrapper & )