Personal tools
basic_iostream




Click on the banner to return to the class reference home page.
basic_iostream
...basic_ostream... basic_iostream... ...
basic_ios
ios_base ...
basic_istream...
- Data Type and Member Function Indexes
 - Synopsis
 - Description
 - Interface
 - Public Constructors
 - Destructor
 - Examples
 - See Also
 - Standards Conformance
 
Data Type and Member Function Indexes
(exclusive of constructors and destructors)
None
Synopsis
#include <istream> template<class charT, class traits = char_traits<charT> > class basic_iostream : public basic_istream<charT, traits>, public basic_ostream<charT, traits>
Description
The class basic_iostream inherits a number of functions from classes basic_ostream<charT, traits> and basic_istream<charT, traits>. They assist in formatting and interpreting sequences of characters controlled by a stream buffer. Two groups of functions share common properties, the formatted functions and the unformatted functions.
Interface
template<class charT, class traits>
class basic_iostream 
: public basic_istream<charT, traits>,
  public basic_ostream<charT, traits> 
{
 public:
  explicit basic_iostream(basic_streambuf<charT, traits> *sb);
  virtual ~basic_iostream();
 protected:
  explicit basic_iostream();
};
Public Constructors
explicit basic_iostream(basic_streambuf<charT, traits>* sb);
Constructs an object of class basic_iostream, assigning initial values to the base class by calling basic_istream<charT, traits>(sb) and basic_ostream<charT, traits>(sb).
explicit basic_iostream();
Constructs an object of class basic_iostream, assigning initial values to the base class by calling basic_istream<charT, traits>() and basic_ostream<charT, traits>(). After construction the object has its badbit set.
Destructor
virtual ~basic_iostream();
Destroys an object of class basic_iostream.
Examples
See basic_istream and basic_ostream examples.
See Also
char_traits(3C++), ios_base(3C++), basic_ios(3C++), basic_streambuf(3C++), basic_istream(3C++), basic_ostream(3C++)
Working Paper for Draft Proposed International Standard for Information Systems--Programming Language C++, Section 27.6.1.4.1
Standards Conformance
ANSI X3J16/ISO WG21 Joint C++ Committee



©Copyright 1996, Rogue Wave Software, Inc.
