9 #ifndef IMPKERNEL_SET_CHECK_STATE_H
10 #define IMPKERNEL_SET_CHECK_STATE_H
12 #include <IMP/kernel_config.h>
18 IMPKERNEL_BEGIN_NAMESPACE
36 void do_show(std::ostream &out)
const;
43 { do_set(o, l); }, { do_reset(); }, do_show(out););
56 IMPKERNEL_END_NAMESPACE
Temporarily change something; undo the change when this object is destroyed.
#define IMP_RAII(Name, args, Initialize, Set, Reset, Show)
Declares RAII-style methods in a class.
SetCheckState(CheckLevel l)
Construct it with the desired level and target.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.
Provide a nullptr keyword analog.
Common base class for heavy weight IMP objects.
A class to change and restore check state.
CheckLevel
Specify the level of runtime checks performed.
Various general useful macros for IMP.
Various general useful macros for IMP.