5 #ifndef DUNE_COMMON_IOS_STATE_HH
6 #define DUNE_COMMON_IOS_STATE_HH
67 state_type::fmtflags oldflags;
69 std::streamsize oldprec;
71 std::streamsize oldwidth;
~ios_base_all_saver()
Destructor that restores the flags stored by the constructor.
Definition: ios_state.cc:24
void restore()
Restore flags now.
Definition: ios_state.cc:29
std::ios_base state_type
Export type of object we save the state for.
Definition: ios_state.hh:37
ios_base_all_saver(state_type &ios_)
Constructor that stores the currently used flags.
Definition: ios_state.cc:19
Dune namespace.
Definition: alignedallocator.hh:13
Utility class for storing and resetting stream attributes.
Definition: ios_state.hh:34