IMP logo
IMP Reference Guide  2.20.2
The Integrative Modeling Platform
particle_io.h File Reference

Manage read/write of particles from/to RMF 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
 Base functionality and abstract base classes for representation, scoring and sampling.
 
 IMP::rmf
 Support for the RMF file format for storing hierarchical molecular data and markup.
 

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

Manage read/write of particles from/to RMF files.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file particle_io.h.