IMP
2.0.0
The Integrative Modeling Platform
|
Removes the Restraint when the RAII object is destroyed. More...
#include <IMP/kernel/scoped.h>
Public Member Functions | |
GenericScopedRestraint (SS *ss, RestraintSet *rs) | |
bool | get_is_set () const |
const SS & | operator* () const |
SS & | operator* () |
const SS * | operator-> () const |
SS * | operator-> () |
void | reset () |
void | set (SS *ss, RestraintSet *rs) |
void | show (std::ostream &out=std::cout) const |
It is templated so it can act as a general pointer to the restraint.
Definition at line 65 of file kernel/scoped.h.