ios::init [protected]
 void init ( streambuf * sb );
ios
  cplusplus.com  

Initialize internal values.
  Set default values to internal members in the following way:

internal member:value set:can be obtained/modified by calling:
pointer to stream bufferparameter sbrdbuf
pointer to tied streamnull pointertie
fill characterspace characterfill
format flagsskipws | decios_base::flags
field width0ios_base::width
precision6ios_base::precision
localedefault localeios_base::getloc / ios_base::imbue
error stateios_base::goodbit (or ios_base::badbit if sb is a null pointer)rdstate / setstate
exception maskios_base::goodbitexception
internal extensible arraysnull pointerios_base::iword, ios_base::pword

Parameters.

sb
pointer to a streambuf object.

Return Value.
  None.

Basic template member declaration ( basic_ios<charT,traits> ):
void init ( basic_streambuf<charT,traits>* sb );

See also.
  (constructor)
  ios class


© The C++ Resources Network, 2001