15#ifndef RAPIDJSON_OSTREAMWRAPPER_H_
16#define RAPIDJSON_OSTREAMWRAPPER_H_
23RAPIDJSON_DIAG_OFF(padded)
44template <
typename StreamType>
45class BasicOStreamWrapper {
47 typedef typename StreamType::char_type Ch;
48 BasicOStreamWrapper(StreamType& stream) : stream_(stream) {}
66 BasicOStreamWrapper(
const BasicOStreamWrapper&);
67 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)