/** * \file MapReaderWriter.h * \brief An abstract class for reading a map * * Copyright 2007-2010 IMP Inventors. All rights reserved. * */ #ifndef IMPEM_MAP_READER_WRITER_H #define IMPEM_MAP_READER_WRITER_H #include "em_config.h" #include "DensityHeader.h" #include #include IMPEM_BEGIN_NAMESPACE class IMPEMEXPORT MapReaderWriter { public: virtual void Read(const char *filename, float **data, DensityHeader &header) =0; virtual void Write(const char *filename, const float *data, const DensityHeader &header) =0; virtual ~MapReaderWriter() {} }; IMPEM_END_NAMESPACE #endif /* IMPEM_MAP_READER_WRITER_H */