OW_NAMESPACE::IstreamBufIterator Class Reference

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 <OW_IstreamBufIterator.hpp>

List of all members.

Public Member Functions

 IstreamBufIterator ()
 IstreamBufIterator (std::istream &s)
 IstreamBufIterator (std::streambuf *b)
char operator * () const
IstreamBufIteratoroperator++ ()
proxy operator++ (int)
bool equal (const IstreamBufIterator &b) const

Private Attributes

std::streambuf * m_sbuf

Classes

class  proxy


Detailed Description

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 53 of file OW_IstreamBufIterator.hpp.


Constructor & Destructor Documentation

OW_NAMESPACE::IstreamBufIterator::IstreamBufIterator  )  [inline]
 

Definition at line 65 of file OW_IstreamBufIterator.hpp.

OW_NAMESPACE::IstreamBufIterator::IstreamBufIterator std::istream &  s  )  [inline]
 

Definition at line 66 of file OW_IstreamBufIterator.hpp.

OW_NAMESPACE::IstreamBufIterator::IstreamBufIterator std::streambuf *  b  )  [inline]
 

Definition at line 67 of file OW_IstreamBufIterator.hpp.


Member Function Documentation

bool OW_NAMESPACE::IstreamBufIterator::equal const IstreamBufIterator b  )  const [inline]
 

Definition at line 99 of file OW_IstreamBufIterator.hpp.

References m_sbuf.

Referenced by OW_NAMESPACE::operator!=(), and OW_NAMESPACE::operator==().

char OW_NAMESPACE::IstreamBufIterator::operator *  )  const [inline]
 

Definition at line 68 of file OW_IstreamBufIterator.hpp.

References m_sbuf.

proxy OW_NAMESPACE::IstreamBufIterator::operator++ int   )  [inline]
 

Definition at line 88 of file OW_IstreamBufIterator.hpp.

IstreamBufIterator& OW_NAMESPACE::IstreamBufIterator::operator++  )  [inline]
 

Definition at line 79 of file OW_IstreamBufIterator.hpp.

References m_sbuf.


Member Data Documentation

std::streambuf* OW_NAMESPACE::IstreamBufIterator::m_sbuf [private]
 

Definition at line 112 of file OW_IstreamBufIterator.hpp.

Referenced by equal(), operator *(), and operator++().


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:13:53 2006 for openwbem by  doxygen 1.4.6