IMP
2.2.1
The Integrative Modeling Platform
|
#include <IMP/kernel/scoped.h>
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 |
Add a cache attribute to a particle and then remove it when this goes out of scope.
Definition at line 30 of file kernel/scoped.h.
|
explicit |
explicit constructor that sets the properties of ScopedAddCacheAttribute
Definition at line 48 of file kernel/scoped.h.
void IMP::kernel::ScopedAddCacheAttribute< Key, Value >::reset | ( | ) |
resets the properties previously set for this class
Definition at line 48 of file kernel/scoped.h.
void IMP::kernel::ScopedAddCacheAttribute< Key, Value >::set | ( | Particle * | p, |
Key | key, | ||
const Value & | value | ||
) |
sets the properties of the class to new ones
Definition at line 48 of file kernel/scoped.h.