IMP Reference Guide
2.20.0
The Integrative Modeling Platform
|
#include <IMP/scoped.h>
Add a cache attribute to a particle and then remove it when this goes out of scope.
Public Member Functions | |
ScopedAddCacheAttribute (Particle *p, Key key, const Value &value) | |
Explicit constructor that sets the properties of ScopedAddCacheAttribute. 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 ScopedAddCacheAttribute.
void IMP::ScopedAddCacheAttribute< Key, Value >::reset | ( | ) |