11 #ifndef IMPCONTAINER_ALL_PAIR_CONTAINER_H
12 #define IMPCONTAINER_ALL_PAIR_CONTAINER_H
14 #include <IMP/container/container_config.h>
21 IMPCONTAINER_BEGIN_NAMESPACE
31 virtual std::size_t do_get_contents_hash()
const IMP_OVERRIDE {
32 return c_->get_contents_hash();
40 for (
unsigned int i = 0; i < pis.size(); ++i) {
41 for (
unsigned int j = 0; j < i; ++j) {
48 std::string name =
"AllPairContainer%1%");
59 IMPCONTAINER_END_NAMESPACE
virtual ParticleIndexes get_all_possible_indexes() const =0
Get contained particles.
Import IMP/kernel/pair_macros.h in the namespace.
Import IMP/kernel/SingletonContainer.h in the namespace.
A smart pointer to a ref-counted Object that is a class member.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
#define IMP_PAIR_CONTAINER_METHODS(Name)
virtual kernel::ParticleIndexPairs get_indexes() const =0
A shared container for Pairs.
Return all unordered pairs of particles taken from the SingletonContainer.
A class to store an fixed array of same-typed values.
Import IMP/kernel/PairContainer.h in the namespace.
virtual kernel::ParticleIndexPairs get_range_indexes() const =0
Store a list of kernel::ParticlePairsTemp.
#define IMP_OBJECTS(Name, PluralName)
Define the types for storing sets of objects.
A nullptr-initialized pointer to an IMP Object.
void apply_generic(const PairModifier *m) const
Just use apply() in the base class.
virtual ModelObjectsTemp do_get_inputs() const =0
#define IMP_OVERRIDE
Cause a compile error if this method does not override a parent method.
Import IMP/kernel/generic.h in the namespace.