#include <streambuf_iterator.h>


Public Types | |
| typedef Category | iterator_category |
| One of the tag types. | |
| typedef Type | value_type |
| The type "pointed to" by the iterator. | |
| typedef Distance | difference_type |
| Distance between iterators is represented as this type. | |
| typedef Pointer | pointer |
| This type represents a pointer-to-value_type. | |
| typedef Reference | reference |
| This type represents a reference-to-value_type. | |
| typedef CharT | char_type |
| Public typedefs. | |
| typedef Traits | traits_type |
| Public typedefs. | |
| typedef basic_streambuf< CharT, Traits > | streambuf_type |
| Public typedefs. | |
| typedef basic_ostream< CharT, Traits > | ostream_type |
| Public typedefs. | |
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. | |
Definition at line 191 of file streambuf_iterator.h.
| typedef CharT std::ostreambuf_iterator< CharT, Traits >::char_type |
| typedef Traits std::ostreambuf_iterator< CharT, Traits >::traits_type |
| typedef basic_streambuf<CharT, Traits> std::ostreambuf_iterator< CharT, Traits >::streambuf_type |
| typedef basic_ostream<CharT, Traits> std::ostreambuf_iterator< CharT, Traits >::ostream_type |
typedef Category std::iterator< Category, Type, Distance, Pointer, Reference >::iterator_category [inherited] |
typedef Type std::iterator< Category, Type, Distance, Pointer, Reference >::value_type [inherited] |
typedef Distance std::iterator< Category, Type, Distance, Pointer, Reference >::difference_type [inherited] |
Distance between iterators is represented as this type.
Reimplemented in std::reverse_iterator< Iterator >.
Definition at line 113 of file stl_iterator_base_types.h.
typedef Pointer std::iterator< Category, Type, Distance, Pointer, Reference >::pointer [inherited] |
This type represents a pointer-to-value_type.
Reimplemented in std::reverse_iterator< Iterator >.
Definition at line 115 of file stl_iterator_base_types.h.
typedef Reference std::iterator< Category, Type, Distance, Pointer, Reference >::reference [inherited] |
This type represents a reference-to-value_type.
Reimplemented in std::reverse_iterator< Iterator >.
Definition at line 117 of file stl_iterator_base_types.h.
| std::ostreambuf_iterator< CharT, Traits >::ostreambuf_iterator | ( | ostream_type & | s | ) | throw () [inline] |
| std::ostreambuf_iterator< CharT, Traits >::ostreambuf_iterator | ( | streambuf_type * | s | ) | throw () [inline] |
| ostreambuf_iterator& std::ostreambuf_iterator< CharT, Traits >::operator= | ( | CharT | c | ) | [inline] |
Write character to streambuf. Calls streambuf.sputc().
Definition at line 219 of file streambuf_iterator.h.
| ostreambuf_iterator& std::ostreambuf_iterator< CharT, Traits >::operator* | ( | ) | [inline] |
| ostreambuf_iterator& std::ostreambuf_iterator< CharT, Traits >::operator++ | ( | int | ) | [inline] |
| ostreambuf_iterator& std::ostreambuf_iterator< CharT, Traits >::operator++ | ( | ) | [inline] |
| bool std::ostreambuf_iterator< CharT, Traits >::failed | ( | ) | const throw () [inline] |
1.5.5