15 #ifndef RAPIDJSON_OSTREAMWRAPPER_H_ 16 #define RAPIDJSON_OSTREAMWRAPPER_H_ 23 RAPIDJSON_DIAG_OFF(padded)
44 template <
typename StreamType>
47 typedef typename StreamType::char_type
Ch;
81 #endif // RAPIDJSON_OSTREAMWRAPPER_H_ Wrapper of std::basic_ostream into RapidJSON's Stream concept.
Definition: ostreamwrapper.h:45
#define RAPIDJSON_ASSERT(x)
Assertion.
Definition: rapidjson.h:411
BasicOStreamWrapper(StreamType &stream)
Definition: ostreamwrapper.h:48
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
Definition: rapidjson.h:124
StreamType & stream_
Definition: ostreamwrapper.h:69
BasicOStreamWrapper & operator=(const BasicOStreamWrapper &)
char Take()
Definition: ostreamwrapper.h:60
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
Definition: rapidjson.h:121
BasicOStreamWrapper< std::ostream > OStreamWrapper
Definition: ostreamwrapper.h:72
void Flush()
Definition: ostreamwrapper.h:54
BasicOStreamWrapper< std::wostream > WOStreamWrapper
Definition: ostreamwrapper.h:73
char * PutBegin()
Definition: ostreamwrapper.h:62
StreamType::char_type Ch
Definition: ostreamwrapper.h:47
size_t Tell() const
Definition: ostreamwrapper.h:61
char Peek() const
Definition: ostreamwrapper.h:59
void Put(Ch c)
Definition: ostreamwrapper.h:50
c
Definition: pymoduletest.py:79
size_t PutEnd(char *)
Definition: ostreamwrapper.h:63