stream_util.cpp

Go to the documentation of this file.
00001 
00012 #include "stream_util.h"
00013 
00014 using namespace std;
00015 
00016 io_state::io_state(ios & stream_)
00017     :
00018     stream(stream_),
00019     format(stream.flags()),
00020     precision(stream.precision()),
00021     fill(stream.fill())
00022 {
00023 }
00024 
00025 
00026 io_state::~io_state()
00027 {
00028     stream.flags(format);
00029     stream.precision(precision);
00030     stream.fill(fill);
00031 }

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1