Whole document tree
    

Whole document tree

Templatestd::ostream_iterator class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

std::ostream_iterator< _Tp, _CharT, _Traits > Class Template Reference

#include <stl_iterator.h>

Collaboration diagram for std::ostream_iterator< _Tp, _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 output_iterator_tag iterator_category
typedef void value_type
typedef void difference_type
typedef void pointer
typedef void reference

Public Methods

 ostream_iterator (ostream_type &__s)
 ostream_iterator (ostream_type &__s, const _CharT *__c)
ostream_iterator< _Tp > & operator= (const _Tp &__value)
ostream_iterator< _Tp > & operator * ()
ostream_iterator< _Tp > & operator++ ()
ostream_iterator< _Tp > & operator++ (int)

Private Attributes

ostream_type_M_stream
const _CharT * _M_string

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
class std::ostream_iterator< _Tp, _CharT, _Traits >


Member Typedef Documentation

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
typedef _CharT std::ostream_iterator< _Tp, _CharT, _Traits >::char_type
 

Definition at line 412 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
typedef void std::ostream_iterator< _Tp, _CharT, _Traits >::difference_type
 

Definition at line 418 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
typedef output_iterator_tag std::ostream_iterator< _Tp, _CharT, _Traits >::iterator_category
 

Definition at line 416 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
typedef basic_ostream<_CharT, _Traits> std::ostream_iterator< _Tp, _CharT, _Traits >::ostream_type
 

Definition at line 414 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
typedef void std::ostream_iterator< _Tp, _CharT, _Traits >::pointer
 

Definition at line 419 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
typedef void std::ostream_iterator< _Tp, _CharT, _Traits >::reference
 

Definition at line 420 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
typedef _Traits std::ostream_iterator< _Tp, _CharT, _Traits >::traits_type
 

Definition at line 413 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
typedef void std::ostream_iterator< _Tp, _CharT, _Traits >::value_type
 

Definition at line 417 of file stl_iterator.h.


Constructor & Destructor Documentation

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
std::ostream_iterator< _Tp, _CharT, _Traits >::ostream_iterator ostream_type   __s [inline]
 

Definition at line 422 of file stl_iterator.h.

References std::ostream_iterator< _Tp, _CharT, _Traits >::_M_stream, and std::ostream_iterator< _Tp, _CharT, _Traits >::_M_string.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
std::ostream_iterator< _Tp, _CharT, _Traits >::ostream_iterator ostream_type   __s,
const _CharT *    __c
[inline]
 

Definition at line 423 of file stl_iterator.h.

References std::ostream_iterator< _Tp, _CharT, _Traits >::_M_stream, and std::ostream_iterator< _Tp, _CharT, _Traits >::_M_string.


Member Function Documentation

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
ostream_iterator<_Tp>& std::ostream_iterator< _Tp, _CharT, _Traits >::operator *   [inline]
 

Definition at line 430 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
ostream_iterator<_Tp>& std::ostream_iterator< _Tp, _CharT, _Traits >::operator++ int    [inline]
 

Definition at line 432 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
ostream_iterator<_Tp>& std::ostream_iterator< _Tp, _CharT, _Traits >::operator++   [inline]
 

Definition at line 431 of file stl_iterator.h.

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
ostream_iterator<_Tp>& std::ostream_iterator< _Tp, _CharT, _Traits >::operator= const _Tp &    __value [inline]
 

Definition at line 425 of file stl_iterator.h.

References std::ostream_iterator< _Tp, _CharT, _Traits >::_M_stream, and std::ostream_iterator< _Tp, _CharT, _Traits >::_M_string.


Member Data Documentation

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
ostream_type* std::ostream_iterator< _Tp, _CharT, _Traits >::_M_stream [private]
 

Definition at line 434 of file stl_iterator.h.

Referenced by std::ostream_iterator< _Tp, _CharT, _Traits >::operator=(), and std::ostream_iterator< _Tp, _CharT, _Traits >::ostream_iterator().

template<class _Tp, class _CharT = char, class _Traits = char_traits<_CharT>>
const _CharT* std::ostream_iterator< _Tp, _CharT, _Traits >::_M_string [private]
 

Definition at line 435 of file stl_iterator.h.

Referenced by std::ostream_iterator< _Tp, _CharT, _Traits >::operator=(), and std::ostream_iterator< _Tp, _CharT, _Traits >::ostream_iterator().


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:19:20 2002 for libstdc++-v3 Source by doxygen1.2.15