IMP Reference Guide
2.5.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) | |
void | reset () |
void | set (Particle *p, Key key, const Value &value) |
void | show (std::ostream &out=std::cout) const |
|
explicit |
explicit constructor that sets the properties of ScopedAddCacheAttribute
void IMP::ScopedAddCacheAttribute< Key, Value >::reset | ( | ) |