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