io_state Class Reference

class which save a stream state and restore it at dtor time More...

#include <stream_util.h>

List of all members.

Public Member Functions

 io_state (std::ios &stream)
 save the stream flags, precision and fill char.
 ~io_state ()
 restore the stream state

Detailed Description

class which save a stream state and restore it at dtor time


Constructor & Destructor Documentation

io_state::io_state ( std::ios &  stream  ) 

save the stream flags, precision and fill char.

width is restored at end of expression, there is no need to save it. tie and locale are not saved currently

error state shouldn't be saved.

io_state::~io_state (  ) 

restore the stream state


The documentation for this class was generated from the following files:

Generated on 29 Jul 2013 for oprofile by  doxygen 1.6.1