3 #ifndef DUNE_COMMON_IOS_STATE_HH
4 #define DUNE_COMMON_IOS_STATE_HH
65 state_type::fmtflags oldflags;
67 std::streamsize oldprec;
69 std::streamsize oldwidth;
75 #endif // DUNE_COMMON_IOS_STATE_HH
Dune namespace.
Definition: alignment.hh:13
ios_base_all_saver(state_type &ios_)
Constructor that stores the currently used flags.
Definition: ios_state.cc:17
std::ios_base state_type
Export type of object we save the state for.
Definition: ios_state.hh:35
Utility class for storing and resetting stream attributes.
Definition: ios_state.hh:31
void restore()
Restore flags now.
Definition: ios_state.cc:27
~ios_base_all_saver()
Destructor that restores the flags stored by the constructor.
Definition: ios_state.cc:22