15 #ifndef RAPIDJSON_ISTREAMWRAPPER_H_ 16 #define RAPIDJSON_ISTREAMWRAPPER_H_ 23 RAPIDJSON_DIAG_OFF(padded)
24 #elif defined(_MSC_VER) 26 RAPIDJSON_DIAG_OFF(4351)
47 template <
typename StreamType>
50 typedef typename StreamType::char_type
Ch;
101 readCount_ =
static_cast<size_t>(
stream_.gcount());
121 #if defined(__clang__) || defined(_MSC_VER) 127 #endif // RAPIDJSON_ISTREAMWRAPPER_H_ BasicIStreamWrapper< std::istream > IStreamWrapper
#define RAPIDJSON_NAMESPACE_BEGIN
provide custom rapidjson namespace (opening expression)
BasicIStreamWrapper(StreamType &stream, char *buffer, size_t bufferSize)
Constructor.
BasicIStreamWrapper< std::wistream > WIStreamWrapper
#define RAPIDJSON_NAMESPACE_END
provide custom rapidjson namespace (closing expression)
size_t count_
Number of characters read.
BasicIStreamWrapper & operator=(const BasicIStreamWrapper &)
#define RAPIDJSON_ASSERT(x)
Assertion.
BasicIStreamWrapper(StreamType &stream)
Constructor.
Wrapper of std::basic_istream into RapidJSON's Stream concept.