#include <streambuf_iterator.h>
Inheritance diagram for std::istreambuf_iterator< CharT, Traits >:
Public Types | |
typedef input_iterator_tag | iterator_category |
One of the tag types. | |
typedef CharT | value_type |
The type "pointed to" by the iterator. | |
typedef Traits::off_type | difference_type |
Distance between iterators is represented as this type. | |
typedef CharT * | pointer |
This type represents a pointer-to-value_type. | |
typedef CharT & | 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.
|
Public typedefs.
Definition at line 59 of file streambuf_iterator.h. |
|
Distance between iterators is represented as this type.
Definition at line 113 of file stl_iterator_base_types.h. |
|
Public typedefs.
Definition at line 61 of file streambuf_iterator.h. |
|
Public typedefs.
Definition at line 63 of file streambuf_iterator.h. |
|
One of the tag types.
Definition at line 109 of file stl_iterator_base_types.h. |
|
This type represents a pointer-to-value_type.
Definition at line 115 of file stl_iterator_base_types.h. |
|
This type represents a reference-to-value_type.
Definition at line 117 of file stl_iterator_base_types.h. |
|
Public typedefs.
Definition at line 62 of file streambuf_iterator.h. |
|
Public typedefs.
Definition at line 60 of file streambuf_iterator.h. |
|
The type "pointed to" by the iterator.
Definition at line 111 of file stl_iterator_base_types.h. |
|
Construct end of input stream iterator.
Definition at line 79 of file streambuf_iterator.h. |
|
Construct start of input stream iterator.
Definition at line 83 of file streambuf_iterator.h. |
|
Construct start of streambuf iterator.
Definition at line 87 of file streambuf_iterator.h. |
|
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==(). |
|
operator*() on an end of stream is undefined.
Definition at line 94 of file streambuf_iterator.h. |
|
Advance the iterator. Calls streambuf.sbumpc().
Definition at line 123 of file streambuf_iterator.h. |
|
Advance the iterator. Calls streambuf.sbumpc().
Definition at line 108 of file streambuf_iterator.h. |