Go to the documentation of this file. 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
char CharAt(size_t i) const
std::deque< char > m_readahead
void StreamInUtf8() const
unsigned char *const m_pPrefetched
void StreamInUtf32() const
unsigned char GetNextByte() const
void StreamInUtf16() const
bool ReadAheadTo(size_t i) const
bool _ReadAheadTo(size_t i) const
size_t m_nPrefetchedAvailable
Stream(std::istream &input)
mp2p_icp
Author(s):
autogenerated on Fri Dec 20 2024 03:46:00