genericguard.hh
Go to the documentation of this file.
A simple class which makes sure that a cleanup function is called once the object is destroyed. Definition: genericguard.hh:43 bool enabled() const Returns whether the guard object is "on duty" or not. Definition: genericguard.hh:79 GenericGuard(const GenericGuard &other)=delete void setEnabled(bool value) Specify whether the guard object is "on duty" or not. Definition: genericguard.hh:73 Definition: blackoilboundaryratevector.hh:37 GenericGuard< Callback > make_guard(Callback &callback) Definition: genericguard.hh:88 |