IMP  2.0.1
The Integrative Modeling Platform
particle_io.h File Reference

Handle read/write of 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

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

Particle I/O

Arbitrary (non IMP::atom::Hierarchy) particles can be written to the file and read back from them. All non-IMP::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 ParticlesTemp &hs)
 
void IMP::rmf::add_particles (RMF::NodeHandle fh, const ParticlesTemp &hs)
 
void IMP::rmf::add_particle (RMF::FileHandle fh, Particle *hs)
 
ParticlesTemp IMP::rmf::create_particles (RMF::FileConstHandle fh, Model *m)
 
void IMP::rmf::link_particles (RMF::FileConstHandle fh, const ParticlesTemp &hs)
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file particle_io.h.