1 #ifndef STREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 2 #define STREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 25 Stream(std::istream& input);
28 operator bool()
const;
29 bool operator !()
const {
return !static_cast <
bool>(*this); }
36 static char eof() {
return 0x04; }
57 char CharAt(
size_t i)
const;
79 #endif // STREAM_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
unsigned char *const m_pPrefetched
bool ReadAheadTo(size_t i) const
void StreamInUtf8() const
std::deque< char > m_readahead
unsigned char GetNextByte() const
bool _ReadAheadTo(size_t i) const
size_t m_nPrefetchedAvailable
char CharAt(size_t i) const
Stream(std::istream &input)
void StreamInUtf16() const
void StreamInUtf32() const