19 #ifndef RAPIDJSON_ISTREAMWRAPPER_H_ 20 #define RAPIDJSON_ISTREAMWRAPPER_H_ 28 RAPIDJSON_DIAG_OFF(padded)
29 #elif defined(_MSC_VER) 31 RAPIDJSON_DIAG_OFF(4351)
53 template <
typename StreamType>
56 typedef typename StreamType::char_type
Ch;
135 readCount_ =
static_cast<size_t>(
stream_.gcount());
155 #if defined(__clang__) || defined(_MSC_VER) 161 #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 &)