IMP  2.1.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:
As of IMP release 2.1. See the IMP Deprecation Policy for more information about deprecation in IMP. With the advent of the ScoringFunction, this should not be needed.

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


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