IMP
2.0.0
The Integrative Modeling Platform
|
A base class for modifiers of ParticleTripletsTemp. More...
#include <IMP/kernel/TripletModifier.h>
Public Types | |
typedef ParticleTriplet | Argument |
typedef ParticleIndexTriplet | IndexArgument |
Public Member Functions | |
TripletModifier (std::string name="TripletModifier %1%") | |
virtual void | apply (const ParticleTriplet &) const =0 |
virtual void | apply_index (Model *m, const ParticleIndexTriplet &v) const |
virtual void | apply_indexes (Model *m, const ParticleIndexTriplets &o, unsigned int lower_bound, unsigned int upper_bound) const |
ContainersTemp | get_input_containers (Particle *p) const |
ParticlesTemp | get_input_particles (Particle *p) const |
ModelObjectsTemp | get_inputs (Model *m, const ParticleIndexes &pis) const |
ContainersTemp | get_output_containers (Particle *p) const |
ParticlesTemp | get_output_particles (Particle *p) const |
ModelObjectsTemp | get_outputs (Model *m, const ParticleIndexes &pis) const |
Public Member Functions inherited from IMP::base::Object | |
virtual void | clear_caches () |
virtual IMP::base::VersionInfo | get_version_info () const =0 |
Get information about the module and version of the object. | |
void | set_check_level (CheckLevel l) |
void | set_log_level (LogLevel l) |
Set the logging level used in this object. More... | |
void | set_was_used (bool tf) const |
void | show (std::ostream &out=std::cout) const |
const std::string & | get_name () const |
void | set_name (std::string name) |
Protected Member Functions | |
virtual ModelObjectsTemp | do_get_inputs (Model *m, const ParticleIndexes &pis) const =0 |
virtual ModelObjectsTemp | do_get_outputs (Model *m, const ParticleIndexes &pis) const =0 |
Protected Member Functions inherited from IMP::base::Object | |
Object (std::string name) | |
Construct an object with the given name. More... | |
Related Functions | |
(Note that these are not member functions.) | |
typedef IMP::base::Vector < IMP::base::WeakPointer < TripletModifier > > | TripletModifiersTemp |
Related Functions inherited from IMP::base::Object | |
typedef IMP::base::Vector < IMP::base::WeakPointer < Object > > | ObjectsTemp |
The primary function of such a class is to change the passed particles.
Implementors should see IMP_TRIPLET_MODIFIER(). Also see TripletDerivativeModifier.
Definition at line 33 of file kernel/TripletModifier.h.
|
pure virtual |
Apply the function to a single value
|
virtual |
Apply the function to a single value
Definition at line 44 of file kernel/TripletModifier.h.
|
virtual |
Apply the function to a collection of ParticleTripletsTemp If bounds are passed, only apply to ones between the upper and lower bounds.
Definition at line 51 of file kernel/TripletModifier.h.
|
protectedpure virtual |
Override if this reads other objects during evaluate.
|
protectedpure virtual |
Override if this reads other objects during evaluate.
ContainersTemp IMP::kernel::TripletModifier::get_input_containers | ( | Particle * | p | ) | const |
Get the set of input containers when this modifier is applied to the arguments.
ParticlesTemp IMP::kernel::TripletModifier::get_input_particles | ( | Particle * | p | ) | const |
Get the set of particles read when applied to the arguments.
ModelObjectsTemp IMP::kernel::TripletModifier::get_inputs | ( | Model * | m, |
const ParticleIndexes & | pis | ||
) | const |
Get all the ModelObject objects that are read when the referenced particles are passed in.
ContainersTemp IMP::kernel::TripletModifier::get_output_containers | ( | Particle * | p | ) | const |
Get the set of output containers when this modifier is applied to the arguments.
ParticlesTemp IMP::kernel::TripletModifier::get_output_particles | ( | Particle * | p | ) | const |
Get the set of particles read when applied to the arguments.
ModelObjectsTemp IMP::kernel::TripletModifier::get_outputs | ( | Model * | m, |
const ParticleIndexes & | pis | ||
) | const |
Get all the ModelObject objects that are read when the referenced particles are passed in.
|
related |
Pass a set of objects.
Definition at line 117 of file kernel/base_types.h.