Go to the source code of this file.
Data Structures | |
class | IMP::DumpModelOnFailure |
Dump the state of the model to a file on an error and then go on the the other handlers. More... | |
Namespaces | |
namespace | IMP |
The IMP kernel provides base classes and key shared functionality. | |
Functions | |
Model IO | |
Models can be written to files in an easy-to-read file format based on “name: value” pairs on separate lines with indentation used to indicated nesting (as in Python). The functions take a list of the particles to write/read. The particles need to be provided in the same order for reading and writing. This is not checked. If a passed particle has a particle attribute which is a particle not in the list, an IOException is thrown. This can change to silently ignoring such attributes if desired.
| |
void | IMP::read_model (TextInput in, const ParticlesTemp &particles, Model *m) |
void | IMP::write_model (Model *m, const ParticlesTemp &particles, TextOutput out) |
Copyright 2007-2010 IMP Inventors. All rights reserved.