#include <streambuf_iterator.h>
Inheritance diagram for std::ostreambuf_iterator< _CharT, _Traits >:
Public Types | |
typedef _CharT | char_type |
Public typedefs. | |
typedef _Traits | traits_type |
typedef basic_streambuf< _CharT, _Traits > | streambuf_type |
typedef basic_ostream< _CharT, _Traits > | ostream_type |
Public Member Functions | |
ostreambuf_iterator (ostream_type &__s) throw () | |
Construct output iterator from ostream. | |
ostreambuf_iterator (streambuf_type *__s) throw () | |
Construct output iterator from streambuf. | |
ostreambuf_iterator & | operator= (_CharT __c) |
Write character to streambuf. Calls streambuf.sputc(). | |
ostreambuf_iterator & | operator * () |
Return *this. | |
ostreambuf_iterator & | operator++ (int) |
Return *this. | |
ostreambuf_iterator & | operator++ () |
Return *this. | |
bool | failed () const throw () |
Return true if previous operator=() failed. | |
ostreambuf_iterator & | _M_put (const _CharT *__ws, streamsize __len) |
Private Attributes | |
streambuf_type * | _M_sbuf |
bool | _M_failed |
Definition at line 191 of file streambuf_iterator.h.
|
Public typedefs.
Definition at line 198 of file streambuf_iterator.h. |
|
Definition at line 201 of file streambuf_iterator.h. |
|
Definition at line 200 of file streambuf_iterator.h. |
|
Definition at line 199 of file streambuf_iterator.h. |
|
Construct output iterator from ostream.
Definition at line 210 of file streambuf_iterator.h. |
|
Construct output iterator from streambuf.
Definition at line 214 of file streambuf_iterator.h. |
|
Definition at line 248 of file streambuf_iterator.h. References std::ostreambuf_iterator< _CharT, _Traits >::_M_failed, and std::streamsize. Referenced by std::__write(). |
|
Return true if previous operator=() failed.
Definition at line 244 of file streambuf_iterator.h. References std::ostreambuf_iterator< _CharT, _Traits >::_M_failed. |
|
Return *this.
Definition at line 229 of file streambuf_iterator.h. |
|
Return *this.
Definition at line 239 of file streambuf_iterator.h. |
|
Return *this.
Definition at line 234 of file streambuf_iterator.h. |
|
Write character to streambuf. Calls streambuf.sputc().
Definition at line 219 of file streambuf_iterator.h. References std::ostreambuf_iterator< _CharT, _Traits >::_M_failed. |
|
Definition at line 206 of file streambuf_iterator.h. Referenced by std::ostreambuf_iterator< _CharT, _Traits >::_M_put(), std::ostreambuf_iterator< _CharT, _Traits >::failed(), and std::ostreambuf_iterator< _CharT, _Traits >::operator=(). |
|
Definition at line 205 of file streambuf_iterator.h. |