IMP  2.0.0
The Integrative Modeling Platform
IMP::kernel::GenericScopedRemoveRestraint< SS > Class Template Reference

Removes the Restraint until RAII object is destroyed. More...

#include <IMP/kernel/scoped.h>

+ Inheritance diagram for IMP::kernel::GenericScopedRemoveRestraint< SS >:

Public Member Functions

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

Detailed Description

template<class SS>
class IMP::kernel::GenericScopedRemoveRestraint< SS >

It is templated so it can act as a general pointer to the restraint.

Deprecated:
{With the advent of the ScoringFunction, this should not be needed.}

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


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