11 #ifndef IMPCONTAINER_IN_CONTAINER_PAIR_FILTER_H
12 #define IMPCONTAINER_IN_CONTAINER_PAIR_FILTER_H
14 #include <IMP/container/container_config.h>
17 #include <IMP/kernel/internal/container_helpers.h>
18 #include "internal/PairContainerIndex.h"
23 IMPCONTAINER_BEGIN_NAMESPACE
37 std::string name =
"PairFilter %1%");
39 std::string name =
"PairFilter %1%");
42 return c_->get_contains(vt);
56 IMPCONTAINER_END_NAMESPACE
A filter which returns true if a container containers the Pair.
Import IMP/kernel/pair_macros.h in the namespace.
ParticlesTemp get_particles(kernel::Model *m, const ParticleIndexes &ps)
A shared container for Pairs.
virtual kernel::ModelObjectsTemp do_get_inputs(kernel::Model *m, const kernel::ParticleIndexes &pi) const
Import IMP/kernel/PairContainer.h in the namespace.
Import IMP/kernel/PairPredicate.h in the namespace.
Various general useful macros for IMP.
#define IMP_PAIR_PREDICATE_METHODS(Name)
Define extra the functions needed for a PairPredicate.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Abstract predicate function.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
Various general useful macros for IMP.
virtual int get_value_index(kernel::Model *m, const ParticleIndexPair &vt) const
Compute the predicate and the derivative if needed.
Class for storing model, its restraints, constraints, and particles.