|
pulsatrix 1.1.0
|
Saves every parameter of a module and restores them exactly when it goes out of scope. More...
#include <null_model_baseline.hpp>
Public Member Functions | |
| ParameterSnapshot (Module &model) | |
| ~ParameterSnapshot () | |
| ParameterSnapshot (const ParameterSnapshot &)=delete | |
| ParameterSnapshot & | operator= (const ParameterSnapshot &)=delete |
| void | restore () |
| Puts the saved values back now (the destructor does it again, harmlessly). | |
Saves every parameter of a module and restores them exactly when it goes out of scope.
|
inlineexplicit |
|
inline |
|
delete |
|
delete |
|
inline |
Puts the saved values back now (the destructor does it again, harmlessly).