IMP  2.0.0
The Integrative Modeling Platform
IMP::kernel::ScopedAddCacheAttribute< Key, Value > Class Template Reference

#include <IMP/kernel/scoped.h>

+ Inheritance diagram for IMP::kernel::ScopedAddCacheAttribute< Key, Value >:

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
 

Detailed Description

template<class Key, class Value>
class IMP::kernel::ScopedAddCacheAttribute< Key, Value >

Add a cache attribute to a particle and then remove it when this goes out of scope.

Definition at line 207 of file kernel/scoped.h.


The documentation for this class was generated from the following file: