IMP  2.4.0
The Integrative Modeling Platform
particle_io.h File Reference

Handle read/write of kernel::Model data from/to files. More...

#include <IMP/rmf/rmf_config.h>
#include "link_macros.h"
#include <IMP/atom/Hierarchy.h>
+ Include dependency graph for particle_io.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


 Synonym for IMP::kernel.
 Support for the RMF file format for storing hierarchical molecular data and markup.

kernel::Particle I/O

Arbitrary (non IMP::atom::Hierarchy) particles can be written to the file and read back from them. All non IMP::base::Object attributes are supported. Note that currently particles must be added so that any particles that are stored in a given particles attributes are added to the file first.

The data is stored in a category named IMP.

void IMP::rmf::add_particles (RMF::FileHandle fh, const kernel::ParticlesTemp &hs)
void IMP::rmf::add_particles (RMF::NodeHandle fh, const kernel::ParticlesTemp &hs)
void IMP::rmf::add_particle (RMF::FileHandle fh, kernel::Particle *hs)
kernel::ParticlesTemp IMP::rmf::create_particles (RMF::FileConstHandle fh, kernel::Model *m)
void IMP::rmf::link_particles (RMF::FileConstHandle fh, const kernel::ParticlesTemp &hs)

Detailed Description

Handle read/write of kernel::Model data from/to files.

Copyright 2007-2015 IMP Inventors. All rights reserved.

Definition in file particle_io.h.