#include <streambuf_iterator.h>
Inheritance diagram for std::istreambuf_iterator< CharT, Traits >:


Public Types | |
| typedef Category | iterator_category |
| One of the tag types. | |
| typedef Type | value_type |
| The type "pointed to" by the iterator. | |
| typedef Distance | difference_type |
| Distance between iterators is represented as this type. | |
| typedef Pointer | pointer |
| This type represents a pointer-to-value_type. | |
| typedef Reference | reference |
| This type represents a reference-to-value_type. | |
| typedef CharT | char_type |
| Public typedefs. | |
| typedef Traits | traits_type |
| Public typedefs. | |
| typedef Traits::int_type | int_type |
| Public typedefs. | |
| typedef basic_streambuf< CharT, Traits > | streambuf_type |
| Public typedefs. | |
| typedef basic_istream< CharT, Traits > | istream_type |
| Public typedefs. | |
Public Member Functions | |
| istreambuf_iterator () throw () | |
| Construct end of input stream iterator. | |
| istreambuf_iterator (istream_type &s) throw () | |
| Construct start of input stream iterator. | |
| istreambuf_iterator (streambuf_type *s) throw () | |
| Construct start of streambuf iterator. | |
| char_type | operator * () const |
| operator*() on an end of stream is undefined. | |
| istreambuf_iterator & | operator++ () |
| Advance the iterator. Calls streambuf.sbumpc(). | |
| istreambuf_iterator | operator++ (int) |
| Advance the iterator. Calls streambuf.sbumpc(). | |
| bool | equal (const istreambuf_iterator &__b) const |
| Return true both iterators are end or both are not end. | |
Private Member Functions | |
| int_type | M_get () const |
| bool | M_at_eof () const |
Private Attributes | |
| streambuf_type * | M_sbuf |
| int_type | M_c |
Definition at line 51 of file streambuf_iterator.h.
| typedef CharT std::istreambuf_iterator< CharT, Traits >::char_type |
| typedef Traits std::istreambuf_iterator< CharT, Traits >::traits_type |
| typedef Traits::int_type std::istreambuf_iterator< CharT, Traits >::int_type |
| typedef basic_streambuf<CharT, Traits> std::istreambuf_iterator< CharT, Traits >::streambuf_type |
| typedef basic_istream<CharT, Traits> std::istreambuf_iterator< CharT, Traits >::istream_type |
typedef Category std::iterator< Category, Type, Distance, Pointer, Reference >::iterator_category [inherited] |
typedef Type std::iterator< Category, Type, Distance, Pointer, Reference >::value_type [inherited] |
The type "pointed to" by the iterator.
Reimplemented in __gnu_cxx::sequence_buffer< Sequence, Buf_sz >.
Definition at line 111 of file stl_iterator_base_types.h.
typedef Distance std::iterator< Category, Type, Distance, Pointer, Reference >::difference_type [inherited] |
Distance between iterators is represented as this type.
Reimplemented in std::reverse_iterator< Iterator >.
Definition at line 113 of file stl_iterator_base_types.h.
typedef Pointer std::iterator< Category, Type, Distance, Pointer, Reference >::pointer [inherited] |
This type represents a pointer-to-value_type.
Reimplemented in std::Bit_iterator, std::Bit_const_iterator, std::reverse_iterator< Iterator >, __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.
Definition at line 115 of file stl_iterator_base_types.h.
typedef Reference std::iterator< Category, Type, Distance, Pointer, Reference >::reference [inherited] |
This type represents a reference-to-value_type.
Reimplemented in std::Bit_iterator, std::Bit_const_iterator, std::reverse_iterator< Iterator >, __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.
Definition at line 117 of file stl_iterator_base_types.h.
| std::istreambuf_iterator< CharT, Traits >::istreambuf_iterator | ( | ) | throw () [inline] |
| std::istreambuf_iterator< CharT, Traits >::istreambuf_iterator | ( | istream_type & | s | ) | throw () [inline] |
| std::istreambuf_iterator< CharT, Traits >::istreambuf_iterator | ( | streambuf_type * | s | ) | throw () [inline] |
| char_type std::istreambuf_iterator< CharT, Traits >::operator * | ( | ) | const [inline] |
| istreambuf_iterator& std::istreambuf_iterator< CharT, Traits >::operator++ | ( | ) | [inline] |
Advance the iterator. Calls streambuf.sbumpc().
Definition at line 108 of file streambuf_iterator.h.
| istreambuf_iterator std::istreambuf_iterator< CharT, Traits >::operator++ | ( | int | ) | [inline] |
Advance the iterator. Calls streambuf.sbumpc().
Definition at line 123 of file streambuf_iterator.h.
| bool std::istreambuf_iterator< CharT, Traits >::equal | ( | const istreambuf_iterator< CharT, Traits > & | __b | ) | const [inline] |
Return true both iterators are end or both are not end.
Definition at line 145 of file streambuf_iterator.h.
Referenced by std::operator!=(), and std::operator==().
1.5.1