16#ifndef RAPIDJSON_OSTREAMWRAPPER_H_
17#define RAPIDJSON_OSTREAMWRAPPER_H_
24RAPIDJSON_DIAG_OFF(padded)
45template <
typename StreamType>
46class BasicOStreamWrapper {
48 typedef typename StreamType::char_type Ch;
49 BasicOStreamWrapper(StreamType& stream) : stream_(stream) {}
67 BasicOStreamWrapper(
const BasicOStreamWrapper&);
68 BasicOStreamWrapper& operator=(
const BasicOStreamWrapper&);
Wrapper of std::basic_ostream into RapidJSON's Stream concept.
#define RAPIDJSON_ASSERT(x)
Assertion.
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)