IMP  2.0.0
The Integrative Modeling Platform
ListQuadContainer.h
Go to the documentation of this file.
1 /**
2  * \file IMP/container/ListQuadContainer.h
3  * \brief Store a list of ParticleQuadsTemp
4  *
5  * WARNING This file was generated from ListQuadContainer.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_QUAD_CONTAINER_H
13 #define IMPCONTAINER_LIST_QUAD_CONTAINER_H
14 
15 #include <IMP/container/container_config.h>
16 #include <IMP/internal/InternalListQuadContainer.h>
17 
18 IMPCONTAINER_BEGIN_NAMESPACE
19 
20 //! Store a list of ParticleQuadsTemp
21 /** \note The order can change when particles are inserted
22  as the list is maintained in sorted order.
23  */
24 class IMPCONTAINEREXPORT ListQuadContainer:
25 #if defined(IMP_DOXYGEN) || defined(SWIG)
26 public QuadContainer
27 #else
28 public IMP::kernel::internal::InternalListQuadContainer
29 #endif
30 {
31  typedef IMP::kernel::internal::InternalListQuadContainer P;
32 public:
34  const ParticleIndexQuads &contents,
35  std::string name= "ListQuadContainer%1%");
36 
38  std::string name= "ListQuadContainer%1%");
39 
40 
41  void set_particle_quads(const ParticleQuadsTemp &ps);
42  void set_particle_quads(const ParticleIndexQuads &contents);
43 #ifndef IMP_DOXYGEN
45  std::string name= "ListQuadContainer %1%");
46  ListQuadContainer(Model *m, const char *name);
47 
48  void add_particle_quad(const ParticleQuad& vt);
49  void add_particle_quads(const ParticleQuadsTemp &c);
50  void clear_particle_quads();
51 #endif
52 #ifdef SWIG
54 #endif
55 };
56 
57 IMP_OBJECTS(ListQuadContainer,ListQuadContainers);
58 
59 IMPCONTAINER_END_NAMESPACE
60 
61 #endif /* IMPCONTAINER_LIST_QUAD_CONTAINER_H */