IMP  2.0.1
The Integrative Modeling Platform
IMP::core::Typed Class Reference

A decorator for classifying particles in your system. More...

#include <IMP/core/Typed.h>

+ Inheritance diagram for IMP::core::Typed:

Public Member Functions

 Typed (Model *m, ParticleIndex id)
 
 Typed (::IMP::kernel::Particle *p)
 
ParticleType get_type () const
 
void show (std::ostream &out=std::cout) const
 
- Public Member Functions inherited from IMP::kernel::Decorator
ParticleIndex get_particle_index () const
 
Particleget_particle () const
 
Modelget_model () const
 Returns the Model containing the particle.
 
 Decorator (Particle *p)
 
 Decorator ()
 

Static Public Member Functions

static Typed decorate_particle (::IMP::kernel::Particle *p)
 
static IntKey get_type_key ()
 
static bool particle_is_instance (Particle *p)
 
static bool particle_is_instance (Model *m, ParticleIndex pi)
 
static Typed setup_particle (Particle *p, ParticleType t)
 
- Static Public Member Functions inherited from IMP::kernel::Decorator
static bool particle_is_instance (Particle *p)
 Return true if the particle can be cast to the decorator. More...
 

Additional Inherited Members

- Protected Member Functions inherited from IMP::kernel::Decorator
 Decorator (Model *m, ParticleIndex pi)
 
 Decorator (Particle *p)
 

Detailed Description

This decorator

Definition at line 35 of file Typed.h.

Member Function Documentation

static Typed IMP::core::Typed::setup_particle ( Particle p,
ParticleType  t 
)
static

Create a decorator with the passed coordinates.

Definition at line 44 of file Typed.h.


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