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;
77 #endif // DUNE_COMMON_IOS_STATE_HH ios_base_all_saver(state_type &ios_)
Constructor that stores the currently used flags.
Definition: ios_state.cc:15
Utility class for storing and resetting stream attributes.
Definition: ios_state.hh:33
Dune namespace
Definition: alignedallocator.hh:12
~ios_base_all_saver()
Destructor that restores the flags stored by the constructor.
Definition: ios_state.cc:20
void restore()
Restore flags now.
Definition: ios_state.cc:25
std::ios_base state_type
Export type of object we save the state for.
Definition: ios_state.hh:37