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

Merging istream and ostream capabilities. More...

Inheritance diagram for std::basic_iostream< _CharT, _Traits >:

std::basic_istream< _CharT, _Traits > std::basic_ostream< _CharT, _Traits > std::basic_ios< _CharT, _Traits > std::basic_ios< _CharT, _Traits > std::ios_base std::ios_base std::basic_fstream< _CharT, _Traits > std::basic_stringstream< _CharT, _Traits, _Alloc > 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_istream< _CharT,
_Traits > 
__istream_type
typedef basic_ostream< _CharT,
_Traits > 
__ostream_type

Public Member Functions

 basic_iostream (basic_streambuf< _CharT, _Traits > *__sb)
 Constructor does nothing.
virtual ~basic_iostream ()
 Destructor does nothing.

Protected Member Functions

 basic_iostream ()

Detailed Description

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

Merging istream and ostream capabilities.

This class multiply inherits from the input and output stream classes simply to provide a single interface.

Definition at line 751 of file istream.


Member Typedef Documentation

template<typename _CharT, typename _Traits>
typedef basic_istream<_CharT, _Traits> std::basic_iostream< _CharT, _Traits >::__istream_type

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

Definition at line 766 of file istream.

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

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

Definition at line 767 of file istream.

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

These are standard types. They permit a standardized way of referring to names of (or names dependant on) the template parameters, which are specific to the implementation.

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

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

Definition at line 759 of file istream.

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

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

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

Definition at line 760 of file istream.

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

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

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

Definition at line 762 of file istream.

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

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

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

Definition at line 761 of file istream.

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

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

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

Definition at line 763 of file istream.


Constructor & Destructor Documentation

template<typename _CharT, typename _Traits>
std::basic_iostream< _CharT, _Traits >::basic_iostream ( basic_streambuf< _CharT, _Traits > *  __sb  )  [inline, explicit]

Constructor does nothing.

Both of the parent classes are initialized with the same streambuf pointer passed to this constructor.

Definition at line 776 of file istream.

template<typename _CharT, typename _Traits>
virtual std::basic_iostream< _CharT, _Traits >::~basic_iostream (  )  [inline, virtual]

Destructor does nothing.

Definition at line 784 of file istream.

template<typename _CharT, typename _Traits>
std::basic_iostream< _CharT, _Traits >::basic_iostream (  )  [inline, explicit, protected]

Definition at line 788 of file istream.


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:59:28 2010 for GNU C++ STL by  doxygen 1.4.7