28 #ifndef EWOMS_GENERIC_GUARD_HH 29 #define EWOMS_GENERIC_GUARD_HH 41 template <
class Callback>
63 { isEnabled_ = value; }
69 {
return isEnabled_; }
Definition: baseauxiliarymodule.hh:37
bool enabled() const
Returns whether the guard object is "on duty" or not.
Definition: genericguard.hh:68
A simple class which makes sure that a cleanup function is called once the object is destroyed...
Definition: genericguard.hh:42
void setEnabled(bool value)
Specify whether the guard object is "on duty" or not.
Definition: genericguard.hh:62