IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::SetCheckState Class Reference

A class to change and restore check state. More...

#include <IMP/SetCheckState.h>

Inheritance diagram for IMP::SetCheckState:

Detailed Description

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.

Note
This will not keep objects alive; make sure there is also some other ref-counted pointer to them.

Definition at line 30 of file SetCheckState.h.

Public Member Functions

 SetCheckState (CheckLevel l)
 Construct it with the desired level and target.
 SetCheckState (Object *o, CheckLevel l)
 Explicit constructor that sets the properties of SetCheckState.
void reset ()
 Remove the properties previously set for this class.
void set (CheckLevel l)
void set (Object *o, CheckLevel l)
 Assign new properties to the class.
void show (std::ostream &out=std::cout) const

Constructor & Destructor Documentation

◆ SetCheckState() [1/3]

IMP::SetCheckState::SetCheckState ( )

Definition at line 43 of file SetCheckState.h.

◆ SetCheckState() [2/3]

IMP::SetCheckState::SetCheckState ( Object * o,
CheckLevel l )
explicit

Explicit constructor that sets the properties of SetCheckState.

Definition at line 43 of file SetCheckState.h.

◆ ~SetCheckState()

IMP::SetCheckState::~SetCheckState ( )

Definition at line 43 of file SetCheckState.h.

◆ SetCheckState() [3/3]

IMP::SetCheckState::SetCheckState ( CheckLevel l)

Construct it with the desired level and target.

Definition at line 46 of file SetCheckState.h.

Here is the call graph for this function:

Member Function Documentation

◆ reset()

void IMP::SetCheckState::reset ( )

Remove the properties previously set for this class.

Definition at line 43 of file SetCheckState.h.

◆ set()

void IMP::SetCheckState::set ( Object * o,
CheckLevel l )

Assign new properties to the class.

Definition at line 43 of file SetCheckState.h.


The documentation for this class was generated from the following file: