1 #ifndef STREAMCHARSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 2 #define STREAMCHARSOURCE_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 21 operator bool()
const;
23 bool operator !()
const {
return !
static_cast<bool>(*this); }
34 inline StreamCharSource::operator bool()
const {
40 if(static_cast<int> (source.
m_offset) + i >= 0)
48 #endif // STREAMCHARSOURCE_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM StreamCharSource(const StreamCharSource &source)
bool ReadAheadTo(size_t i) const
StreamCharSource(const Stream &stream)
char CharAt(size_t i) const
StreamCharSource & operator=(const StreamCharSource &)
const StreamCharSource operator+(int i) const
char operator[](std::size_t i) const