cplusplus.com cplusplus.com
cplusplus.com   C++ : Reference : IOstream Library : ios : ios
- -
C++
Information
Documentation
Reference
Articles
Sourcecode
Forum
Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
IOstream Library
manipulators
classes:
· filebuf
· fstream
· ifstream
· ios
· iostream
· ios_base
· istream
· istringstream
· ofstream
· ostream
· ostringstream
· streambuf
· stringbuf
· stringstream
objects:
· cerr
· cin
· clog
· cout
types:
· fpos
· streamoff
· streampos
· streamsize
ios
· ios::ios
· ios::~ios
member functions:
· ios::bad
· ios::clear
· ios::copyfmt
· ios::eof
· ios::exceptions
· ios::fail
· ios::fill
· ios::good
· ios::imbue
· ios::init
· ios::narrow
· ios::operator!
· ios::operator void*
· ios::rdbuf
· ios::rdstate
· ios::setstate
· ios::tie
· ios::widen

-

ios::ios constructor member
   public: explicit  ios (streambuf * sb);
protected: ios ( );

Construct object

If called with the public syntax, the constructor sets the initial values to its member objects by calling init(sb);

If invoked by a derived class using the default constructor (which is protected), it constructs an object leaving its members uninitialized. In this case the object shall be explicitly initialized calling init.

Parameters

sb
pointer to a streambuf object.

Return Value

None (constructor).

Basic template member declaration

( basic_ios<charT,traits> )
public: explicit basic_ios ( basic_streambuf<charT,traits>* sb );
protected: basic_ios ();

See also

ios::init Initialize object [protected] (protected member function)
ios_base::ios_base Construct object (constructor member)

© The C++ Resources Network, 2000-2007 - All rights reserved
Spotted an error? - contact us