std::ostream_iterator< Type, CharT, Traits > Class Template Reference

Inheritance diagram for std::ostream_iterator< Type, CharT, Traits >:

Inheritance graph
[legend]
Collaboration diagram for std::ostream_iterator< Type, CharT, Traits >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CharT char_type
typedef Traits traits_type
typedef basic_ostream< CharT,
Traits > 
ostream_type
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.

Public Member Functions

 ostream_iterator (ostream_type &s)
 ostream_iterator (ostream_type &s, const CharT *c)
 ostream_iterator (const ostream_iterator &__obj)
ostream_iteratoroperator= (const Type &value)
ostream_iteratoroperator * ()
ostream_iteratoroperator++ ()
ostream_iteratoroperator++ (int)

Private Attributes

ostream_typeM_stream
const CharT * M_string

Detailed Description

template<typename Type, typename CharT = char, typename Traits = char_traits<CharT>>
class std::ostream_iterator< Type, CharT, Traits >

Definition at line 117 of file stream_iterator.h.


Member Typedef Documentation

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&>
typedef Category std::iterator< Category, Type, Distance, Pointer, Reference >::iterator_category [inherited]

One of the tag types.

Definition at line 107 of file stl_iterator_base_types.h.

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&>
typedef Type std::iterator< Category, Type, Distance, Pointer, Reference >::value_type [inherited]

The type "pointed to" by the iterator.

Reimplemented in __gnu_cxx::sequence_buffer< Sequence, Buf_sz >.

Definition at line 109 of file stl_iterator_base_types.h.

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&>
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 >, and __gnu_cxx::normal_iterator< Iterator, Container >.

Definition at line 111 of file stl_iterator_base_types.h.

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&>
typedef Pointer std::iterator< Category, Type, Distance, Pointer, Reference >::pointer [inherited]

This type represents a pointer-to-value_type.

Reimplemented in std::Bit_iterator, std::Bit_const_iterator, std::reverse_iterator< Iterator >, __gnu_cxx::normal_iterator< Iterator, Container >, __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.

Definition at line 113 of file stl_iterator_base_types.h.

template<typename Category, typename Type, typename Distance = ptrdiff_t, typename Pointer = Type*, typename Reference = Type&>
typedef Reference std::iterator< Category, Type, Distance, Pointer, Reference >::reference [inherited]

This type represents a reference-to-value_type.

Reimplemented in std::Bit_iterator, std::Bit_const_iterator, std::reverse_iterator< Iterator >, __gnu_cxx::normal_iterator< Iterator, Container >, __gnu_cxx::Rope_const_iterator< CharT, Alloc >, and __gnu_cxx::Rope_iterator< CharT, Alloc >.

Definition at line 115 of file stl_iterator_base_types.h.


The documentation for this class was generated from the following file:
Generated on Wed Jan 3 19:45:52 2007 for libstdc++-v3 Source by  doxygen 1.5.1