12 #ifndef IMPCONTAINER_IN_CONTAINER_PAIR_FILTER_H
13 #define IMPCONTAINER_IN_CONTAINER_PAIR_FILTER_H
15 #include <IMP/container/container_config.h>
18 #include <IMP/internal/container_helpers.h>
19 #include "internal/PairContainerIndex.h"
24 IMPCONTAINER_BEGIN_NAMESPACE
38 std::string name =
"PairFilter %1%");
40 std::string name =
"PairFilter %1%");
44 return c_->get_contains(vt);
58 IMPCONTAINER_END_NAMESPACE
A filter which returns true if a container containers the Pair.
A shared container for Pairs.
Various general useful macros for IMP.
Macros for various classes.
A class to store an fixed array of same-typed values.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Class for storing model, its restraints, constraints, and particles.
Various general useful macros for IMP.
virtual int get_value_index(Model *, const ParticleIndexPair &vt) const
Compute the predicate and the derivative if needed.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Abstract predicate function.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pi) const
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
#define IMP_PAIR_PREDICATE_METHODS(Name)
Define extra the functions needed for a PairPredicate.