IMP logo
IMP Reference Guide  develop.18ca3ba1ae,2021/02/28
The Integrative Modeling Platform
IMP::Undecorator Class Referenceabstract

#include <IMP/Undecorator.h>

+ Inheritance diagram for IMP::Undecorator:

Detailed Description

Undecorators can be registered with the model to tear down multi-particle invariants when a particle is removed from the model. Decorators that have such an invariant (eg an IMP::core::RigidBody) should register an Undecorator when setup_particle is called.

Definition at line 25 of file Undecorator.h.

Public Member Functions

 Undecorator (Model *m, std::string name)
 
virtual void teardown (ParticleIndex pi) const =0
 
- Public Member Functions inherited from IMP::Object
virtual void clear_caches ()
 
CheckLevel get_check_level () const
 
LogLevel get_log_level () const
 
virtual VersionInfo get_version_info () const
 Get information about the module and version of the object. More...
 
void set_check_level (CheckLevel l)
 
void set_log_level (LogLevel l)
 Set the logging level used in this object. More...
 
void set_was_used (bool tf) const
 
void show (std::ostream &out=std::cout) const
 
const std::string & get_name () const
 
void set_name (std::string name)
 
virtual std::string get_type_name () const
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name. More...
 
virtual void do_destroy ()
 

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