ROSE
0.11.96.11
|
Saves and restores facilities.
The constructor saves the facilities settings (which streams are enabled and disabled) and the destructor restores them. This does not save the actual list of streams, so if streams are erased/inserted they will not be restored.
#include <Message.h>
Public Member Functions | |
FacilitiesGuard () | |
Saves and restores the global message facilities. More... | |
FacilitiesGuard (Facilities &facilities) | |
Saves and restores specified message facilities. | |
~FacilitiesGuard () | |
Restores previously saved facility settings. | |
|
inline |
Saves and restores the global message facilities.
Saves and restores which streams are enabled in mfacilities.