9 #ifndef IMPKERNEL_SET_CHECK_STATE_H
10 #define IMPKERNEL_SET_CHECK_STATE_H
12 #include <IMP/kernel_config.h>
17 IMPKERNEL_BEGIN_NAMESPACE
35 void do_show(std::ostream &out)
const;
42 { do_set(o, l); }, { do_reset(); }, do_show(out););
55 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.
A more IMP-like version of the std::vector.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.
Common base class for heavy weight IMP objects.
A class to change and restore check state.
Basic enumeration types used by IMP.
CheckLevel
Specify the level of runtime checks performed.
Macros to help in implementing Value objects.
Macros to aid in writing RAII-style classes.