12 #ifndef IMPCONTAINER_LIST_TRIPLET_CONTAINER_H
13 #define IMPCONTAINER_LIST_TRIPLET_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<TripletContainer>
42 typedef IMP::internal::StaticListContainer<TripletContainer> P;
46 std::string name =
"ListTripletContainer%1%");
50 std::string name =
"ListTripletContainer %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
Helper macros for implementing IMP Objects.
Store a list of ParticleIndexTriplets.
A container for Triplets.
A class to store a fixed array of same-typed values.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
virtual ParticleIndexTriplets get_range_indexes() const =0
Class for storing model, its restraints, constraints, and particles.
#define IMP_OBJECT_SERIALIZE_DECL(Name)
Declare methods needed for serialization of Object pointers.
virtual ParticleIndexTriplets get_indexes() const =0
#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.
A base class for modifiers of ParticleTripletsTemp.
A shared container for Triplets.
A Modifier on ParticleTripletsTemp.
virtual ModelObjectsTemp do_get_inputs() const =0