|
IMP Reference Guide
develop.7482b7c7af, 2026/12/05
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. | |
| void | reset () |
| Remove the properties previously set for this class. | |
| void | set (Particle *p, Key key, const Value &value) |
| Assign new properties to the class. | |
| void | show (std::ostream &out=std::cout) const |
| IMP::ScopedAddCacheAttribute< Key, Value >::ScopedAddCacheAttribute | ( | ) |
|
explicit |
Explicit constructor that sets the properties of ScopedAddCacheAttribute.
| IMP::ScopedAddCacheAttribute< Key, Value >::~ScopedAddCacheAttribute | ( | ) |
| void IMP::ScopedAddCacheAttribute< Key, Value >::reset | ( | ) |