IMP  2.2.1
The Integrative Modeling Platform
particle_io.h
Go to the documentation of this file.
1 /**
2  * \file IMP/rmf/particle_io.h
3  * \brief Handle read/write of kernel::Model data from/to files.
4  *
5  * Copyright 2007-2014 IMP Inventors. All rights reserved.
6  *
7  */
8 
9 #ifndef IMPRMF_PARTICLE_IO_H
10 #define IMPRMF_PARTICLE_IO_H
11 
12 #include <IMP/rmf/rmf_config.h>
13 #include "link_macros.h"
14 #include <IMP/atom/Hierarchy.h>
15 
16 IMPRMF_BEGIN_NAMESPACE
17 
18 /** \name kernel::Particle I/O
19  Arbitrary (non IMP::atom::Hierarchy) particles can be written to
20  the file and read back from them. All non IMP::base::Object attributes are
21  supported. Note that currently particles must be added so that
22  any particles that are stored in a given particles attributes are
23  added to the file first.
24 
25  The data is stored in a category named IMP.
26  @{
27 */
29  kernel::ParticlesTemp,
30  (RMF::FileConstHandle fh, kernel::Model *m), );
31 
32 /** @} */
33 
34 IMPRMF_END_NAMESPACE
35 
36 #endif /* IMPRMF_PARTICLE_IO_H */
Decorator for helping deal with a hierarchy of molecules.
IMP::kernel::Model Model
IMP::kernel::Particle Particle