istreambuf_iterator Class Reference

class istreambuf_iterator : public iterator< input_iterator_tag, _CharT, _Traits::off_type, _CharT *, _CharT & >
Public Member Functions
istreambuf_iterator(streambuf_type *)
istreambuf_iterator(basic_istream< _CharT, _Traits > &)
boolequal(const istreambuf_iterator< _CharT, _Traits > &)
char_type operator*()
istreambuf_iterator< _CharT, _Traits > &operator++()
istreambuf_iterator< _CharT, _Traits >operator++(int)
Private Member Functions
void_M_getc()
void_M_init(streambuf_type *)
Public Member Type Definitions
typedef_CharT char_type
typedef_Traits::off_type difference_type
typedef_Traits::int_type int_type
typedef basic_istream< _CharT, _Traits > istream_type
typedef input_iterator_tag iterator_category
typedefconst _CharT * pointer
typedefconst _CharT & reference
typedef basic_streambuf< _CharT, _Traits > streambuf_type
typedef_Traits traits_type
typedef_CharT value_type
Private Attributes
streambuf_type *_M_buf
_CharT_M_c
bool_M_eof
bool_M_have_c

Constructor & Destructor Documentation

istreambuf_iterator(streambuf_type *)

istreambuf_iterator(streambuf_type *__p = 0)[inline]

Parameters

streambuf_type * __p = 0

istreambuf_iterator(basic_istream< _CharT, _Traits > &)

istreambuf_iterator(basic_istream< _CharT, _Traits > &__is)[inline]

Parameters

basic_istream< _CharT, _Traits > & __is

Member Functions Documentation

_M_getc()

void_M_getc()const [private, inline]

_M_init(streambuf_type *)

void_M_init(streambuf_type *__p)[private, inline]

Parameters

streambuf_type * __p

equal(const istreambuf_iterator< _CharT, _Traits > &)

boolequal(const istreambuf_iterator< _CharT, _Traits > &__i)const [inline]

Parameters

const istreambuf_iterator< _CharT, _Traits > & __i

operator*()

char_type operator*()const [inline]

operator++()

istreambuf_iterator< _CharT, _Traits > &operator++()[inline]

operator++(int)

istreambuf_iterator< _CharT, _Traits >operator++(int)

Parameters

int

Member Type Definitions Documentation

Typedef char_type

typedef _CharTchar_type

Typedef difference_type

typedef _Traits::off_typedifference_type

Typedef int_type

typedef _Traits::int_typeint_type

Typedef istream_type

typedef basic_istream< _CharT, _Traits >istream_type

Typedef iterator_category

typedef input_iterator_tag iterator_category

Typedef pointer

typedef const _CharT *pointer

Typedef reference

typedef const _CharT &reference

Typedef streambuf_type

typedef basic_streambuf< _CharT, _Traits >streambuf_type

Typedef traits_type

typedef _Traitstraits_type

Typedef value_type

typedef _CharTvalue_type

Member Data Documentation

streambuf_type * _M_buf

streambuf_type *_M_buf[private]

_CharT _M_c

_CharT_M_c[private]

bool _M_eof

bool_M_eof[private]

bool _M_have_c

bool_M_have_c[private]