8 #ifndef IMPCONTAINER_ALL_BIPARTITE_PAIR_CONTAINER_H
9 #define IMPCONTAINER_ALL_BIPARTITE_PAIR_CONTAINER_H
11 #include <IMP/container/container_config.h>
19 #include <boost/functional/hash/hash.hpp>
21 IMPCONTAINER_BEGIN_NAMESPACE
31 virtual std::size_t do_get_contents_hash()
const IMP_OVERRIDE {
32 std::size_t ret = a_->get_contents_hash();
33 boost::hash_combine(ret, b_->get_contents_hash());
49 std::string name =
"AllBipartitePairContainer%1%");
60 IMPCONTAINER_END_NAMESPACE
virtual ParticleIndexPairs get_range_indexes() const =0
A shared container for Pairs.
Macros for various classes.
A container for Singletons.
void apply_generic(const PairModifier *m) const
Just use apply() in the base class.
A class to store an fixed array of same-typed values.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Store a set of PairContainers.
Macros for various classes.
#define IMP_PAIR_CONTAINER_METHODS(Name)
A smart pointer to a ref-counted Object that is a class member.
Store a list of ParticleIndexPairs.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing lists of object pointers.
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
virtual ParticleIndexPairs get_indexes() const =0
Return all bipartite pairs between two containers.
virtual ModelObjectsTemp do_get_inputs() const =0
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.