8 #ifndef IMPCORE_TYPED_H
9 #define IMPCORE_TYPED_H
11 #include <IMP/core/core_config.h>
20 IMPCORE_BEGIN_NAMESPACE
23 #define IMP_PARTICLE_TYPE_INDEX 34897493
43 static IntKey get_type_key();
49 return m->get_has_attribute(get_type_key(), pi);
Import IMP/kernel/Decorator.h in the namespace.
ParticleIndex get_particle_index() const
#define IMP_DECORATOR_METHODS(Name, Parent)
Model * get_model() const
Returns the Model containing the particle.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.
Import IMP/kernel/decorator_macros.h in the namespace.
Key< 34897493, true > ParticleType
void add_attribute(TypeKey attribute_key, ParticleIndex particle, Type value)
A decorator for classifying particles in your system.
#define IMP_DECORATOR_SETUP_1(Name, FirstArgumentType, first_argument_name)
#define IMP_DECORATORS(Name, PluralName, Parent)
Define the types for storing sets of decorators.
Class for storing model, its restraints, constraints, and particles.