8 #ifndef IMPKERNEL_SET_LOG_STATE_H
9 #define IMPKERNEL_SET_LOG_STATE_H
11 #include <IMP/kernel_config.h>
16 IMPKERNEL_BEGIN_NAMESPACE
35 void do_show(std::ostream &out)
const;
42 { do_set(o, l); }, { do_reset(); }, do_show(out););
51 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.
LogLevel
The log levels supported by IMP.
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 log state.
Basic enumeration types used by IMP.
Macros to help in implementing Value objects.
Macros to aid in writing RAII-style classes.