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

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

#include <IMP/kernel/scoped.h>

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

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
 

Detailed Description

template<class SS>
class IMP::kernel::GenericScopedRestraint< 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 65 of file kernel/scoped.h.


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