IMP
2.0.0
The Integrative Modeling Platform
|
#include <IMP/kernel/scoped.h>
Public Member Functions | |
ScopedSetAttribute (Particle *p, Key key, const Value &value) | |
void | reset () |
void | set (Particle *p, Key key, const Value &value) |
void | show (std::ostream &out=std::cout) const |
Set an attribute to a given value and restore the old value when this goes out of scope..
Definition at line 233 of file kernel/scoped.h.