IMP  2.0.1
The Integrative Modeling Platform
IMP::kernel::GenericScopedScoreState< SS > Class Template Reference

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

#include <IMP/kernel/scoped.h>

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

Public Member Functions

 GenericScopedScoreState (SS *ss, Model *m)
 
bool get_is_set () const
 
const SS & operator* () const
 
SS & operator* ()
 
const SS * operator-> () const
 
SS * operator-> ()
 
void reset ()
 
void set (SS *ss, Model *m)
 
void show (std::ostream &out=std::cout) const
 

Detailed Description

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

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

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


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