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 &)
bool failed ()
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
typedef void difference_type
typedef _Traits::int_type int_type
typedef output_iterator_tag iterator_category
typedef basic_ostream < _CharT, _Traits > ostream_type
typedef void pointer
typedef void reference
typedef basic_streambuf < _CharT, _Traits > streambuf_type
typedef _Traits traits_type
typedef void 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()

bool failed ( ) 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 _CharT char_type

Typedef difference_type

typedef void difference_type

Typedef int_type

typedef _Traits::int_type int_type

Typedef iterator_category

typedef output_iterator_tag iterator_category

Typedef ostream_type

typedef basic_ostream < _CharT, _Traits > ostream_type

Typedef pointer

typedef void pointer

Typedef reference

typedef void reference

Typedef streambuf_type

typedef basic_streambuf < _CharT, _Traits > streambuf_type

Typedef traits_type

typedef _Traits traits_type

Typedef value_type

typedef void value_type

Member Data Documentation

streambuf_type * _M_buf

streambuf_type * _M_buf [private]

bool _M_ok

bool _M_ok [private]