12 #ifndef IMPCONTAINER_LIST_PAIR_CONTAINER_H
13 #define IMPCONTAINER_LIST_PAIR_CONTAINER_H
15 #include <IMP/container/container_config.h>
17 #include <IMP/internal/StaticListContainer.h>
21 #include <cereal/access.hpp>
22 #include <cereal/types/base_class.hpp>
24 IMPCONTAINER_BEGIN_NAMESPACE
36 #if defined(IMP_DOXYGEN) || defined(SWIG)
39 public IMP::internal::StaticListContainer<PairContainer>
42 typedef IMP::internal::StaticListContainer<PairContainer> P;
46 std::string name =
"ListPairContainer%1%");
50 std::string name =
"ListPairContainer %1%");
55 #if defined(SWIG) || defined(IMP_DOXYGEN)
80 std::size_t do_get_contents_hash()
const;
84 friend class cereal::access;
86 template<
class Archive>
void serialize(Archive &ar) {
87 ar(cereal::base_class<P>(
this));
94 IMPCONTAINER_END_NAMESPACE
virtual ParticleIndexPairs get_range_indexes() const =0
A shared container for Pairs.
Helper macros for implementing IMP Objects.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
A base class for modifiers of ParticlePairsTemp.
Class for storing model, its restraints, constraints, and particles.
Store a list of ParticleIndexPairs.
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
A Modifier on ParticlePairsTemp.
#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
virtual ModelObjectsTemp do_get_inputs() const =0