IMP  2.0.0
The Integrative Modeling Platform
ListTripletContainer.h
Go to the documentation of this file.
1 /**
2  * \file IMP/container/ListTripletContainer.h
3  * \brief Store a list of ParticleTripletsTemp
4  *
5  * WARNING This file was generated from ListTripletContainer.h
6  * in /tmp/nightly-build-5687/imp-2.0.0/tools/build/container_templates/container
7  * by tools/maintenance/setup_containers.py.
8  *
9  * Copyright 2007-2013 IMP Inventors. All rights reserved.
10  */
11 
12 #ifndef IMPCONTAINER_LIST_TRIPLET_CONTAINER_H
13 #define IMPCONTAINER_LIST_TRIPLET_CONTAINER_H
14 
15 #include <IMP/container/container_config.h>
16 #include <IMP/internal/InternalListTripletContainer.h>
17 
18 IMPCONTAINER_BEGIN_NAMESPACE
19 
20 //! Store a list of ParticleTripletsTemp
21 /** \note The order can change when particles are inserted
22  as the list is maintained in sorted order.
23  */
24 class IMPCONTAINEREXPORT ListTripletContainer:
25 #if defined(IMP_DOXYGEN) || defined(SWIG)
26 public TripletContainer
27 #else
28 public IMP::kernel::internal::InternalListTripletContainer
29 #endif
30 {
31  typedef IMP::kernel::internal::InternalListTripletContainer P;
32 public:
34  const ParticleIndexTriplets &contents,
35  std::string name= "ListTripletContainer%1%");
36 
38  std::string name= "ListTripletContainer%1%");
39 
40 
41  void set_particle_triplets(const ParticleTripletsTemp &ps);
42  void set_particle_triplets(const ParticleIndexTriplets &contents);
43 #ifndef IMP_DOXYGEN
45  std::string name= "ListTripletContainer %1%");
46  ListTripletContainer(Model *m, const char *name);
47 
48  void add_particle_triplet(const ParticleTriplet& vt);
49  void add_particle_triplets(const ParticleTripletsTemp &c);
50  void clear_particle_triplets();
51 #endif
52 #ifdef SWIG
54 #endif
55 };
56 
57 IMP_OBJECTS(ListTripletContainer,ListTripletContainers);
58 
59 IMPCONTAINER_END_NAMESPACE
60 
61 #endif /* IMPCONTAINER_LIST_TRIPLET_CONTAINER_H */