8 #ifndef IMPPMI1_SYMMETRIC_H
9 #define IMPPMI1_SYMMETRIC_H
11 #include <IMP/pmi1/pmi1_config.h>
18 IMPPMI1_BEGIN_NAMESPACE
33 Float get_symmetric()
const {
The base class for decorators.
ParticleIndex get_particle_index() const
Returns the particle index decorated by this decorator.
A container for Singletons.
#define IMP_DECORATOR_SETUP_1(Name, FirstArgumentType, first_argument_name)
Model * get_model() const
Returns the Model containing the particle.
Class for storing model, its restraints, constraints, and particles.
void add_attribute(TypeKey attribute_key, ParticleIndex particle, Type value)
add particle atribute with the specied key and initial value
Helper macros for implementing Decorators.
void set_attribute(TypeKey attribute_key, ParticleIndex particle, Type value)
set the value of particle attribute with the specified key
Interface to specialized Particle types (e.g. atoms)
#define IMP_DECORATOR_METHODS(Name, Parent)
double Float
Basic floating-point value (could be float, double...)
Add symmetric attribute to a particle.
bool get_has_attribute(TypeKey attribute_key, ParticleIndex particle) const
return true if particle has attribute with the specified key
Type get_attribute(TypeKey attribute_key, ParticleIndex particle)
get the value of the particle attribute with the specified key