rapidjson::BasicOStreamWrapper< StreamType > 模板类 参考

Wrapper of std::basic_ostream into RapidJSON's Stream concept. 更多...

#include <ostreamwrapper.h>

Public 类型

typedef StreamType::char_type Ch
 

Public 成员函数

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

详细描述

template<typename StreamType>
class rapidjson::BasicOStreamWrapper< StreamType >

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
模板参数
StreamTypeClass derived from std::basic_ostream.

该类的文档由以下文件生成: