dune-common
2.2.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dune
common
ios_state.hh
Go to the documentation of this file.
1
// -*- tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2
// vi: set ts=8 sw=2 et sts=2:
3
#ifndef DUNE_COMMON_IOS_STATE_HH
4
#define DUNE_COMMON_IOS_STATE_HH
5
6
#include<ios>
7
8
namespace
Dune{
31
class
ios_base_all_saver
32
{
33
public
:
35
typedef
std::ios_base
state_type
;
36
46
ios_base_all_saver
(
state_type
& ios_);
47
51
~ios_base_all_saver
();
52
59
void
restore
();
60
61
private
:
63
state_type
& ios;
65
state_type::fmtflags oldflags;
67
std::streamsize oldprec;
69
std::streamsize oldwidth;
70
};
71
73
}
74
75
#endif // DUNE_COMMON_IOS_STATE_HH
Generated on Thu Mar 20 2014 22:12:03 for dune-common by
1.8.1.2