IMP logo
Public Member Functions
IMP::ScopedSetAttribute< Key, Value > Class Template Reference

Detailed Description

template<class Key, class Value>
class IMP::ScopedSetAttribute< Key, Value >

Set an attribute to a given value and restore the old value when this goes out of scope..

List of all members.

Public Member Functions

 ScopedSetAttribute (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

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

Generated on Tue May 22 2012 23:33:24 for IMP by doxygen 1.8.1