IMP  2.2.1
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.

Namespaces

 IMP
 All IMP::kernel code is brought into the IMP namespace.
 
 IMP::rmf
 See IMP.rmf for more information.
 

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

Copyright 2007-2014 IMP Inventors. All rights reserved.

Definition in file particle_io.h.