IMP logo

IMP::DumpModelOnFailure Class Reference


Detailed Description

Dump the state of the model to a file on an error and then go on the the other handlers.

When an error (check or assertion failure) occurs, the model is dumped to the specified file.

import IMP
import IMP.core

m= IMP.Model()
pts= IMP.core.create_xyzr_particles(m, 10, 10, 10)

IMP.add_failure_handler(IMP.DumpModelOnFailure(m, "error.imp"))
Inheritance diagram for IMP::DumpModelOnFailure:

Inheritance graph
[legend]

Public Member Functions

 DumpModelOnFailure (Model *m, TextOutput out)
virtual std::string get_type_name () const
virtual ::IMP::VersionInfo get_version_info () const
void handle_failure ()

Friends

template<class T >
void IMP::internal::unref (T *)

The documentation for this class was generated from the following files:

Generated on Mon Mar 8 23:08:41 2010 for IMP by doxygen 1.5.8