|
IMP Reference Guide
develop.169ea894ba,2025/11/01
The Integrative Modeling Platform
|
#include <IMP/scoped.h>
Inheritance diagram for IMP::ScopedSetAttribute< Key, Value >:Set an attribute to a given value and restore the old value when this goes out of scope.
Public Member Functions | |
| ScopedSetAttribute (Particle *p, Key key, const Value &value) | |
| Explicit constructor that sets the properties of ScopedSetAttribute. More... | |
| void | reset () |
| Remove the properties previously set for this class. More... | |
| void | set (Particle *p, Key key, const Value &value) |
| Assign new properties to the class. More... | |
| void | show (std::ostream &out=std::cout) const |
|
explicit |
Explicit constructor that sets the properties of ScopedSetAttribute.
| void IMP::ScopedSetAttribute< Key, Value >::reset | ( | ) |