IMP
2.1.0
The Integrative Modeling Platform
|
#include <IMP/base/RAII.h>
An RAII class (Resource Aquisition Is Initialization) provides a way of temporarily changing something and undoing the change when the RAII object is destroyed. Examples include reference counting and changing the log level where you want to do something (increase the amount of logging), but ensure that when your function exits, things are put back to how they were before.
Definition at line 27 of file base/RAII.h.