IMP logo
IMP Reference Guide  2.6.1
The Integrative Modeling Platform
atom_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 atom_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.
 

Hierarchy I/O

Hierarchy I/O writes IMP::atom::Hierarchy information along with the information contained in the following decorators

Note
IMP::core::XYZ and IMP::core::RigidBody data are stored at each frame. Data for all the other decorators are assumed to be static attributes, and are stored once for the entire RMF file. There is currently no way to customize this. Complain to the IMP team if this is problematic.

Note
To avoid unexpected behavior, be aware that when linking atom::Hierarchies against an RMF file, the linked hierarchies are assumed to be identical in all of their static attributes to the hierarchies in the RMF file (within RMF::REPRESENTATION nodes). In particular, these hierarchies must have the same tree topology (number of children for each node).
void IMP::rmf::add_hierarchies (RMF::FileHandle fh, const atom::Hierarchies &hs)
 
void IMP::rmf::add_hierarchies (RMF::NodeHandle fh, const atom::Hierarchies &hs)
 
void IMP::rmf::add_hierarchy (RMF::FileHandle fh, atom::Hierarchy hs)
 
atom::Hierarchies IMP::rmf::create_hierarchies (RMF::FileConstHandle fh, Model *m)
 
void IMP::rmf::link_hierarchies (RMF::FileConstHandle fh, const atom::Hierarchies &hs)
 

Detailed Description

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

Copyright 2007-2016 IMP Inventors. All rights reserved.

Definition in file atom_io.h.