IMP  2.0.0
The Integrative Modeling Platform
DynamicListQuadContainer.h
Go to the documentation of this file.
1 /**
2  * \file IMP/container/DynamicListQuadContainer.h
3  * \brief Store a list of ParticleQuadsTemp
4  *
5  * WARNING This file was generated from DynamicListQuadContainer.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_DYNAMIC_LIST_QUAD_CONTAINER_H
13 #define IMPCONTAINER_DYNAMIC_LIST_QUAD_CONTAINER_H
14 
15 #include <IMP/container/container_config.h>
16 #include <IMP/internal/InternalDynamicListQuadContainer.h>
17 
18 IMPCONTAINER_BEGIN_NAMESPACE
19 
20 //! Store a list of ParticleQuadsTemp
21 /** In contrast to ListQuadContainer, this list is designed to act
22  as the output of a ScoreState or another container. The key difference
23  is that it uses the passed Container to define the list of all
24  possible contents of the container.
25  */
26 class IMPCONTAINEREXPORT DynamicListQuadContainer:
27 #if defined(IMP_DOXYGEN) || defined(SWIG)
28 public QuadContainer
29 #else
30 public IMP::kernel::internal::InternalDynamicListQuadContainer
31 #endif
32 {
33  typedef IMP::kernel::internal::InternalDynamicListQuadContainer P;
34 public:
36  std::string name= "ListQuadContainer %1%");
37 
38  /** @name Methods to control the contained objects
39 
40  This container stores a list of Quad objects. To manipulate
41  the list use these methods.
42  */
43  /**@{*/
44  void add_particle_quad(const ParticleQuad& vt);
45  void add_particle_quads(const ParticleQuadsTemp &c);
46  void set_particle_quads(ParticleQuadsTemp c);
47  void clear_particle_quads();
48  /**@}*/
49 #ifdef SWIG
51 #endif
52 };
53 
54 IMP_OBJECTS(DynamicListQuadContainer,DynamicListQuadContainers);
55 
56 IMPCONTAINER_END_NAMESPACE
57 
58 #endif /* IMPCONTAINER_DYNAMIC_LIST_QUAD_CONTAINER_H */