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