IMP Reference Guide
develop.1b08965de4,2025/02/17
The Integrative Modeling Platform
|
A decorator for classifying particles in your system. More...
#include <IMP/core/Typed.h>
A decorator for classifying particles in your system.
Public Member Functions | |
Typed (::IMP::Model *m,::IMP::ParticleIndex id) | |
Typed (const IMP::ParticleAdaptor &d) | |
ParticleType | get_type () const |
void | set_type (ParticleType pt) const |
void | show (std::ostream &out=std::cout) const |
![]() | |
bool | get_is_valid () const |
Returns true if constructed with a non-default constructor. More... | |
Model * | get_model () const |
Returns the Model containing the particle. More... | |
Particle * | get_particle () const |
Returns the particle decorated by this decorator. More... | |
ParticleIndex | get_particle_index () const |
Returns the particle index decorated by this decorator. More... | |
operator Particle * () const | |
operator ParticleIndex () const | |
Particle * | operator-> () const |
Static Public Member Functions | |
static bool | get_is_setup (const IMP::ParticleAdaptor &p) |
static bool | get_is_setup (Model *m, ParticleIndex pi) |
static IntKey | get_type_key () |
static Typed | setup_particle (Model *m, ParticleIndex pi, ParticleType t) |
static Typed | setup_particle (IMP::ParticleAdaptor pa, ParticleType t) |
Additional Inherited Members | |
![]() | |
Decorator (Model *m, ParticleIndex pi) | |
Decorator (ParticleAdaptor p) | |
|
static |
|
static |