12 #ifndef IMPCONTAINER_IN_CONTAINER_TRIPLET_FILTER_H
13 #define IMPCONTAINER_IN_CONTAINER_TRIPLET_FILTER_H
15 #include <IMP/container/container_config.h>
18 #include <IMP/internal/container_helpers.h>
19 #include "internal/TripletContainerIndex.h"
24 IMPCONTAINER_BEGIN_NAMESPACE
38 std::string name =
"TripletFilter %1%");
40 std::string name =
"TripletFilter %1%");
44 return c_->get_contains(vt);
58 IMPCONTAINER_END_NAMESPACE
#define IMP_TRIPLET_PREDICATE_METHODS(Name)
Define extra the functions needed for a TripletPredicate.
Helper macros for implementing IMP Objects.
A filter which returns true if a container contains the Triplet.
A container for Triplets.
A class to store a fixed array of same-typed values.
Macros for various classes.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Get the particles from a list of indexes.
A more IMP-like version of the std::vector.
virtual int get_value_index(Model *, const ParticleIndexTriplet &vt) const override
Compute the predicate and the derivative if needed.
Class for storing model, its restraints, constraints, and particles.
Abstract predicate function.
Macros to control compiler warnings.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pi) const override
Overload this method to specify the inputs.
A shared container for Triplets.