IMP logo

IMP::container::ListSingletonContainer Class Reference


Detailed Description

Store a list of Particles.

Note:
The indexes can change when particles are inserted as the list is maintained in sorted order.
Inheritance diagram for IMP::container::ListSingletonContainer:

Inheritance graph
[legend]

Public Member Functions

void apply (const SingletonModifier *sm, DerivativeAccumulator &da)
void apply (const SingletonModifier *sm)
double evaluate (const SingletonScore *s, DerivativeAccumulator *da) const
double evaluate_change (const SingletonScore *s, DerivativeAccumulator *da) const
double evaluate_prechange (const SingletonScore *s, DerivativeAccumulator *da) const
ParticlesTemp get_contained_particles () const
bool get_contained_particles_changed () const
bool get_contains_particle (Particle *p) const
ContainersTemp get_input_containers () const
unsigned int get_number_of_particles () const
Particleget_particle (unsigned int i) const
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const
 ListSingletonContainer (const char *name)
 ListSingletonContainer (std::string name="ListSingletonContainer %1%")
 ListSingletonContainer (const Particles &ps, std::string name="ListSingletonContainer %1%")
 construct and pass an initial set of particles
Methods to control the contained objects
This container stores a list of Particle objects. To manipulate the list use these methods.

void add_particle (Particle *vt)
void add_particles (const ParticlesTemp &c)
void clear_particles ()
void set_particles (ParticlesTemp c)

Friends

template<class T >
void IMP::internal::unref (T *)

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

Generated on Mon Mar 8 23:08:52 2010 for IMP by doxygen 1.5.8