IMP Reference Guide
2.5.0
The Integrative Modeling Platform
|
A class to change and restore check state. More...
#include <IMP/SetCheckState.h>
A class to change and restore check state.
To use, create an instance of this class with the check level you want. When it goes out of scope, it will restore the old level.
Definition at line 31 of file SetCheckState.h.
Public Member Functions | |
SetCheckState (Object *o, CheckLevel l) | |
SetCheckState (CheckLevel l) | |
Construct it with the desired level and target. More... | |
void | reset () |
void | set (Object *o, CheckLevel l) |
void | set (CheckLevel l) |
void | show (std::ostream &out=std::cout) const |
|
explicit |
explicit constructor that sets the properties of SetCheckState
Definition at line 43 of file SetCheckState.h.
IMP::SetCheckState::SetCheckState | ( | CheckLevel | l | ) |
Construct it with the desired level and target.
Definition at line 46 of file SetCheckState.h.
void IMP::SetCheckState::reset | ( | ) |
resets the properties previously set for this class
Definition at line 43 of file SetCheckState.h.
void IMP::SetCheckState::set | ( | Object * | o, |
CheckLevel | l | ||
) |
sets the properties of the class to new ones
Definition at line 43 of file SetCheckState.h.