ostreambuf_iterator Class Reference

class ostreambuf_iterator : public iterator< output_iterator_tag, void, void, void, void >
Public Member Functions
ostreambuf_iterator(streambuf_type *)
ostreambuf_iterator(ostream_type &)
boolfailed()
ostreambuf_iterator< _CharT, _Traits > &operator*()
ostreambuf_iterator< _CharT, _Traits > &operator++()
ostreambuf_iterator< _CharT, _Traits > &operator++(int)
ostreambuf_iterator< _CharT, _Traits > &operator=(char_type)
Public Member Type Definitions
typedef_CharT char_type
typedefvoid difference_type
typedef_Traits::int_type int_type
typedef output_iterator_tag iterator_category
typedef basic_ostream< _CharT, _Traits > ostream_type
typedefvoid pointer
typedefvoid reference
typedef basic_streambuf< _CharT, _Traits > streambuf_type
typedef_Traits traits_type
typedefvoid value_type
Private Attributes
streambuf_type *_M_buf
bool_M_ok

Constructor & Destructor Documentation

ostreambuf_iterator(streambuf_type *)

ostreambuf_iterator(streambuf_type *__buf)[inline]

Parameters

streambuf_type * __buf

ostreambuf_iterator(ostream_type &)

ostreambuf_iterator(ostream_type &__o)[inline]

Parameters

ostream_type & __o

Member Functions Documentation

failed()

boolfailed()const [inline]

operator*()

ostreambuf_iterator< _CharT, _Traits > &operator*()[inline]

operator++()

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

operator++(int)

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

Parameters

int

operator=(char_type)

ostreambuf_iterator< _CharT, _Traits > &operator=(char_type__c)[inline]

Parameters

char_type __c

Member Type Definitions Documentation

Typedef char_type

typedef _CharTchar_type

Typedef difference_type

typedef voiddifference_type

Typedef int_type

typedef _Traits::int_typeint_type

Typedef iterator_category

typedef output_iterator_tag iterator_category

Typedef ostream_type

typedef basic_ostream< _CharT, _Traits >ostream_type

Typedef pointer

typedef voidpointer

Typedef reference

typedef voidreference

Typedef streambuf_type

typedef basic_streambuf< _CharT, _Traits >streambuf_type

Typedef traits_type

typedef _Traitstraits_type

Typedef value_type

typedef voidvalue_type

Member Data Documentation

streambuf_type * _M_buf

streambuf_type *_M_buf[private]

bool _M_ok

bool_M_ok[private]