9 #ifndef IMPEM_MAP_READER_WRITER_H
10 #define IMPEM_MAP_READER_WRITER_H
12 #include <IMP/em/em_config.h>
27 #if !defined(DOXYGEN) && !defined(SWIG)
30 virtual void read(
const char *filename,
float **data,
DensityHeader &) {
35 virtual void write(
const char *filename,
const float *data,
The base class to handle reading and writing of density maps.
Various general useful macros for IMP.
#define IMP_FAILURE(message)
A runtime failure for IMP.
#define IMP_OBJECT_METHODS(Name)
Define the basic things needed by any Object.
Common base class for heavy weight IMP objects.
#define IMP_UNUSED(variable)
A shared base class to help in debugging and things.
Object(std::string name)
Construct an object with the given name.