Set an attribute to a given value and restore the old value when this goes out of scope..
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 |