Whole document tree
    

Whole document tree

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

std::basic_ostream< _CharT, _Traits > Class Template Reference

#include <std_ostream.h>

Inheritance diagram for std::basic_ostream:

Inheritance graph
[legend]
Collaboration diagram for std::basic_ostream< _CharT, _Traits >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _CharT char_type
typedef _Traits::int_type int_type
typedef _Traits::pos_type pos_type
typedef _Traits::off_type off_type
typedef _Traits traits_type
typedef basic_streambuf< _CharT,
_Traits > 
__streambuf_type
typedef basic_ios< _CharT,
_Traits > 
__ios_type
typedef basic_ostream< _CharT,
_Traits > 
__ostream_type
typedef ostreambuf_iterator<
_CharT, _Traits > 
__ostreambuf_iter
typedef num_put< _CharT, __ostreambuf_iter__numput_type
typedef ctype< _CharT > __ctype_type

Public Methods

 basic_ostream (__streambuf_type *__sb)
virtual ~basic_ostream ()
__ostream_typeoperator<< (__ostream_type &(*__pf)(__ostream_type &))
__ostream_typeoperator<< (__ios_type &(*__pf)(__ios_type &))
__ostream_typeoperator<< (ios_base &(*__pf)(ios_base &))
__ostream_typeoperator<< (long __n)
__ostream_typeoperator<< (unsigned long __n)
__ostream_typeoperator<< (bool __n)
__ostream_typeoperator<< (short __n)
__ostream_typeoperator<< (unsigned short __n)
__ostream_typeoperator<< (int __n)
__ostream_typeoperator<< (unsigned int __n)
__ostream_typeoperator<< (double __f)
__ostream_typeoperator<< (float __f)
__ostream_typeoperator<< (long double __f)
__ostream_typeoperator<< (const void *__p)
__ostream_typeoperator<< (__streambuf_type *__sb)
__ostream_typeput (char_type __c)
__ostream_typewrite (const char_type *__s, streamsize __n)
__ostream_typeflush ()
pos_type tellp ()
__ostream_typeseekp (pos_type)
__ostream_typeseekp (off_type, ios_base::seekdir)

Friends

class sentry

template<typename _CharT, typename _Traits>
class std::basic_ostream< _CharT, _Traits >


Member Typedef Documentation

template<typename _CharT, typename _Traits>
typedef ctype<_CharT> std::basic_ostream< _CharT, _Traits >::__ctype_type
 

Reimplemented from std::basic_ios< _CharT, _Traits >.

Definition at line 62 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef basic_ios<_CharT, _Traits> std::basic_ostream< _CharT, _Traits >::__ios_type
 

Reimplemented in std::basic_fstream< _CharT, _Traits >.

Definition at line 58 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef num_put<_CharT, __ostreambuf_iter> std::basic_ostream< _CharT, _Traits >::__numput_type
 

Reimplemented from std::basic_ios< _CharT, _Traits >.

Definition at line 61 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef basic_ostream<_CharT, _Traits> std::basic_ostream< _CharT, _Traits >::__ostream_type
 

Reimplemented in std::basic_ofstream< _CharT, _Traits >, std::basic_iostream< _CharT, _Traits >, and std::basic_ostringstream< _CharT, _Traits, _Alloc >.

Definition at line 59 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef ostreambuf_iterator<_CharT, _Traits> std::basic_ostream< _CharT, _Traits >::__ostreambuf_iter
 

Reimplemented from std::basic_ios< _CharT, _Traits >.

Definition at line 60 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef basic_streambuf<_CharT, _Traits> std::basic_ostream< _CharT, _Traits >::__streambuf_type
 

Definition at line 57 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef _CharT std::basic_ostream< _CharT, _Traits >::char_type
 

Reimplemented from std::basic_ios< _CharT, _Traits >.

Reimplemented in std::basic_ofstream< _CharT, _Traits >, std::basic_fstream< _CharT, _Traits >, std::basic_ostringstream< _CharT, _Traits, _Alloc >, and std::basic_stringstream< _CharT, _Traits, _Alloc >.

Definition at line 50 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef _Traits::int_type std::basic_ostream< _CharT, _Traits >::int_type
 

Reimplemented from std::basic_ios< _CharT, _Traits >.

Reimplemented in std::basic_ofstream< _CharT, _Traits >, std::basic_fstream< _CharT, _Traits >, std::basic_ostringstream< _CharT, _Traits, _Alloc >, and std::basic_stringstream< _CharT, _Traits, _Alloc >.

Definition at line 51 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef _Traits::off_type std::basic_ostream< _CharT, _Traits >::off_type
 

Reimplemented from std::basic_ios< _CharT, _Traits >.

Reimplemented in std::basic_ofstream< _CharT, _Traits >, std::basic_fstream< _CharT, _Traits >, std::basic_ostringstream< _CharT, _Traits, _Alloc >, and std::basic_stringstream< _CharT, _Traits, _Alloc >.

Definition at line 53 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef _Traits::pos_type std::basic_ostream< _CharT, _Traits >::pos_type
 

Reimplemented from std::basic_ios< _CharT, _Traits >.

Reimplemented in std::basic_ofstream< _CharT, _Traits >, std::basic_fstream< _CharT, _Traits >, std::basic_ostringstream< _CharT, _Traits, _Alloc >, and std::basic_stringstream< _CharT, _Traits, _Alloc >.

Definition at line 52 of file std_ostream.h.

template<typename _CharT, typename _Traits>
typedef _Traits std::basic_ostream< _CharT, _Traits >::traits_type
 

Reimplemented from std::basic_ios< _CharT, _Traits >.

Reimplemented in std::basic_ofstream< _CharT, _Traits >, std::basic_fstream< _CharT, _Traits >, std::basic_ostringstream< _CharT, _Traits, _Alloc >, and std::basic_stringstream< _CharT, _Traits, _Alloc >.

Definition at line 54 of file std_ostream.h.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits>
std::basic_ostream< _CharT, _Traits >::basic_ostream __streambuf_type   __sb [inline, explicit]
 

Definition at line 66 of file std_ostream.h.

References std::basic_ios< _CharT, _Traits >::init().

template<typename _CharT, typename _Traits>
virtual std::basic_ostream< _CharT, _Traits >::~basic_ostream   [inline, virtual]
 

Definition at line 70 of file std_ostream.h.


Member Function Documentation

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::flush  
 

Referenced by std::flush().

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< __streambuf_type   __sb
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< const void *    __p
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< long double    __f
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< float    __f [inline]
 

Definition at line 139 of file std_ostream.h.

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< double    __f
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< unsigned int    __n [inline]
 

Definition at line 124 of file std_ostream.h.

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< int    __n [inline]
 

Definition at line 113 of file std_ostream.h.

References std::ios_base::flags().

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< unsigned short    __n [inline]
 

Definition at line 109 of file std_ostream.h.

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< short    __n [inline]
 

Definition at line 98 of file std_ostream.h.

References std::ios_base::flags().

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< bool    __n
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< unsigned long    __n
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< long    __n
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< ios_base &(*    __pf)(ios_base &)
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< __ios_type &(*    __pf)(__ios_type &)
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::operator<< __ostream_type &(*    __pf)(__ostream_type &)
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::put char_type    __c
 

Referenced by std::endl(), and std::ends().

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::seekp off_type   ,
ios_base::seekdir   
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::seekp pos_type   
 

template<typename _CharT, typename _Traits>
pos_type std::basic_ostream< _CharT, _Traits >::tellp  
 

template<typename _CharT, typename _Traits>
__ostream_type& std::basic_ostream< _CharT, _Traits >::write const char_type   __s,
streamsize    __n
 


Friends And Related Function Documentation

template<typename _CharT, typename _Traits>
friend class sentry [friend]
 

Definition at line 74 of file std_ostream.h.


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