|
blocxx
|
This class differs from a std::istreambuf_iterator in that dereferncing an eof iterator returns 0 This class is mostly just a replacement for std::istreambuf_iterator<>, since it doesn't exist in the gcc 2.95.x standard lib. More...
#include <IstreamBufIterator.hpp>
Classes | |
| class | proxy |
Public Member Functions | |
| IstreamBufIterator () | |
| IstreamBufIterator (std::istream &s) | |
| IstreamBufIterator (std::streambuf *b) | |
| char | operator* () const |
| IstreamBufIterator & | operator++ () |
| proxy | operator++ (int) |
| bool | equal (const IstreamBufIterator &b) const |
Private Attributes | |
| std::streambuf * | m_sbuf |
This class differs from a std::istreambuf_iterator in that dereferncing an eof iterator returns 0 This class is mostly just a replacement for std::istreambuf_iterator<>, since it doesn't exist in the gcc 2.95.x standard lib.
We also added/removed some features to make it more efficient.
Definition at line 56 of file IstreamBufIterator.hpp.
| BLOCXX_NAMESPACE::IstreamBufIterator::IstreamBufIterator | ( | ) | [inline] |
Definition at line 68 of file IstreamBufIterator.hpp.
| BLOCXX_NAMESPACE::IstreamBufIterator::IstreamBufIterator | ( | std::istream & | s | ) | [inline] |
Definition at line 69 of file IstreamBufIterator.hpp.
| BLOCXX_NAMESPACE::IstreamBufIterator::IstreamBufIterator | ( | std::streambuf * | b | ) | [inline] |
Definition at line 70 of file IstreamBufIterator.hpp.
| bool BLOCXX_NAMESPACE::IstreamBufIterator::equal | ( | const IstreamBufIterator & | b | ) | const [inline] |
Definition at line 102 of file IstreamBufIterator.hpp.
References m_sbuf.
Referenced by BLOCXX_NAMESPACE::operator!=(), and BLOCXX_NAMESPACE::operator==().
| char BLOCXX_NAMESPACE::IstreamBufIterator::operator* | ( | ) | const [inline] |
Definition at line 71 of file IstreamBufIterator.hpp.
References m_sbuf.
| proxy BLOCXX_NAMESPACE::IstreamBufIterator::operator++ | ( | int | ) | [inline] |
Definition at line 91 of file IstreamBufIterator.hpp.
References m_sbuf.
| IstreamBufIterator& BLOCXX_NAMESPACE::IstreamBufIterator::operator++ | ( | ) | [inline] |
Definition at line 82 of file IstreamBufIterator.hpp.
References m_sbuf.
std::streambuf* BLOCXX_NAMESPACE::IstreamBufIterator::m_sbuf [private] |
Definition at line 115 of file IstreamBufIterator.hpp.
Referenced by equal(), operator*(), and operator++().
1.7.3