basic_ostream< _CharT, _Traits > Class Template Reference

#include <_ostream.h>

Inheritance diagram for basic_ostream< _CharT, _Traits >:

basic_ios< _CharT, _Traits > ios_base basic_iostream< _CharT, _Traits > basic_ofstream< _CharT, _Traits > basic_ostringstream< _CharT, _Traits, _Alloc > ostrstream basic_fstream< _CharT, _Traits > basic_stringstream< _CharT, _Traits, _Alloc > strstream 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_ios< _CharT,
_Traits > 
_Basic_ios
typedef basic_ios< _CharT,
_Traits > &(_STLP_CALL *) 
__ios_fn (basic_ios< _CharT, _Traits > &)
typedef ios_base &(_STLP_CALL *) __ios_base_fn (ios_base &)
typedef _Self &(_STLP_CALL *) __ostream_fn (_Self &)

Public Member Functions

 basic_ostream (basic_streambuf< _CharT, _Traits > *__buf)
 ~basic_ostream ()
_Selfoperator<< (__ostream_fn __f)
_Selfoperator<< (__ios_base_fn __f)
_Selfoperator<< (__ios_fn __ff)
void _M_put_char (_CharT __c)
void _M_put_nowiden (const _CharT *__s)
void _M_put_widen (const char *__s)
bool _M_put_widen_aux (const char *__s, streamsize __n)
_Selfput (char_type __c)
_Selfwrite (const char_type *__s, streamsize __n)
_Selfoperator<< (basic_streambuf< _CharT, _Traits > *__buf)
_Selfoperator<< (unsigned char __x)
_Selfoperator<< (short __x)
_Selfoperator<< (unsigned short __x)
_Selfoperator<< (int __x)
_Selfoperator<< (unsigned int __x)
_Selfoperator<< (long __x)
_Selfoperator<< (unsigned long __x)
_Selfoperator<< (float __x)
_Selfoperator<< (double __x)
_Selfoperator<< (long double __x)
_Selfoperator<< (const void *__x)
_Selfoperator<< (bool __x)
_Selfflush ()
pos_type tellp ()
_Selfseekp (pos_type __pos)
_Selfseekp (off_type __off, ios_base::seekdir __dir)

Classes

class  sentry

Detailed Description

template<class _CharT, class _Traits>
class basic_ostream< _CharT, _Traits >

Definition at line 53 of file _ostream.h.


Member Typedef Documentation

template<class _CharT, class _Traits>
typedef _CharT basic_ostream< _CharT, _Traits >::char_type

template<class _CharT, class _Traits>
typedef _Traits::int_type basic_ostream< _CharT, _Traits >::int_type

template<class _CharT, class _Traits>
typedef _Traits::pos_type basic_ostream< _CharT, _Traits >::pos_type

template<class _CharT, class _Traits>
typedef _Traits::off_type basic_ostream< _CharT, _Traits >::off_type

template<class _CharT, class _Traits>
typedef _Traits basic_ostream< _CharT, _Traits >::traits_type

template<class _CharT, class _Traits>
typedef basic_ios<_CharT, _Traits>&(_STLP_CALL *) basic_ostream< _CharT, _Traits >::__ios_fn(basic_ios< _CharT, _Traits > &)

Definition at line 75 of file _ostream.h.

template<class _CharT, class _Traits>
typedef ios_base&(_STLP_CALL *) basic_ostream< _CharT, _Traits >::__ios_base_fn(ios_base &)

Definition at line 76 of file _ostream.h.

template<class _CharT, class _Traits>
typedef _Self&(_STLP_CALL *) basic_ostream< _CharT, _Traits >::__ostream_fn(_Self &)

Definition at line 77 of file _ostream.h.


Constructor & Destructor Documentation

template<class _CharT, class _Traits>
_STLP_BEGIN_NAMESPACE basic_ostream< _CharT, _Traits >::basic_ostream ( basic_streambuf< _CharT, _Traits > *  __buf  )  [explicit]

Definition at line 37 of file _ostream.c.

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

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits >::~basic_ostream (  ) 

Definition at line 43 of file _ostream.c.


Member Function Documentation

template<class _CharT, class _Traits>
_Self& basic_ostream< _CharT, _Traits >::operator<< ( __ostream_fn  __f  )  [inline]

Definition at line 78 of file _ostream.h.

Referenced by basic_ostream< _CharT, _Traits >::operator<<().

template<class _CharT, class _Traits>
_Self& basic_ostream< _CharT, _Traits >::operator<< ( __ios_base_fn  __f  )  [inline]

Definition at line 79 of file _ostream.h.

template<class _CharT, class _Traits>
_Self& basic_ostream< _CharT, _Traits >::operator<< ( __ios_fn  __ff  )  [inline]

Definition at line 80 of file _ostream.h.

template<class _CharT, class _Traits>
bool basic_ostream< _CharT, _Traits >::_M_put_widen_aux ( const char *  __s,
streamsize  __n 
)

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::put ( char_type  __c  ) 

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::write ( const char_type __s,
streamsize  __n 
)

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( basic_streambuf< _CharT, _Traits > *  __buf  ) 

template<class _CharT, class _Traits>
_Self& basic_ostream< _CharT, _Traits >::operator<< ( unsigned char  __x  )  [inline]

Definition at line 104 of file _ostream.h.

template<class _CharT, class _Traits>
_STLP_MOVE_TO_STD_NAMESPACE basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( short  __x  ) 

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( unsigned short  __x  ) 

Definition at line 221 of file _ostream.c.

References __put_num(), __STATIC_CAST, _STLP_PRIV, and _STLP_STATIC_ASSERT.

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( int  __x  ) 

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( unsigned int  __x  ) 

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( long  __x  ) 

Definition at line 249 of file _ostream.c.

References __put_num(), and _STLP_PRIV.

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( unsigned long  __x  ) 

Definition at line 253 of file _ostream.c.

References __put_num(), and _STLP_PRIV.

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( float  __x  ) 

Definition at line 267 of file _ostream.c.

References __put_num(), __STATIC_CAST, and _STLP_PRIV.

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( double  __x  ) 

Definition at line 271 of file _ostream.c.

References __put_num(), and _STLP_PRIV.

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( long double  __x  ) 

Definition at line 276 of file _ostream.c.

References __put_num(), and _STLP_PRIV.

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( const void *  __x  ) 

Definition at line 281 of file _ostream.c.

References __put_num(), and _STLP_PRIV.

template<class _CharT, class _Traits>
basic_ostream< _CharT, _Traits > & basic_ostream< _CharT, _Traits >::operator<< ( bool  __x  ) 

Definition at line 286 of file _ostream.c.

References __put_num(), and _STLP_PRIV.

template<class _CharT, class _Traits>
_Self& basic_ostream< _CharT, _Traits >::flush (  )  [inline]

Definition at line 134 of file _ostream.h.

Referenced by endl(), and flush().

template<class _CharT, class _Traits>
pos_type basic_ostream< _CharT, _Traits >::tellp (  )  [inline]

Definition at line 141 of file _ostream.h.

template<class _CharT, class _Traits>
_Self& basic_ostream< _CharT, _Traits >::seekp ( pos_type  __pos  )  [inline]

Definition at line 147 of file _ostream.h.

template<class _CharT, class _Traits>
_Self& basic_ostream< _CharT, _Traits >::seekp ( off_type  __off,
ios_base::seekdir  __dir 
) [inline]

Definition at line 156 of file _ostream.h.


The documentation for this class was generated from the following files:
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_ostream.h
  • /home/ntakagi/work/STLport-5.1.5/stlport/stl/_ostream.c



Generated on Mon Mar 10 15:32:57 2008 by  doxygen 1.5.1