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

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

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 hierachies 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)
 
void IMP::rmf::set_save_forces (RMF::FileHandle fh, bool tf)
 

Detailed Description

Copyright 2007-2013 IMP Inventors. All rights reserved.

Definition in file atom_io.h.