diff options
Diffstat (limited to 'fitsy++/map.h')
-rw-r--r-- | fitsy++/map.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/fitsy++/map.h b/fitsy++/map.h new file mode 100644 index 0000000..6adae65 --- /dev/null +++ b/fitsy++/map.h @@ -0,0 +1,69 @@ +// Copyright (C) 1999-2018 +// Smithsonian Astrophysical Observatory, Cambridge, MA, USA +// For conditions of distribution and use, see copyright notice in "copyright" + +#ifndef __fitsmap_h__ +#define __fitsmap_h__ + +#include "file.h" + +class FitsMap : public FitsFile { +protected: + char* mapdata_; + size_t mapsize_; + +public: + FitsMap(); + virtual ~FitsMap() {} + + char* mapdata() {return mapdata_;} + size_t mapsize() {return mapsize_;} + void found(char*); + void error(); + char* enddata(); + size_t endsize(); +}; + +class FitsFitsMap : public virtual FitsMap { +protected: + void processExact(); + void processRelax(); + +public: + FitsFitsMap(ScanMode); +}; + +class FitsFitsNextMap : public FitsMap { +public: + FitsFitsNextMap(FitsFile* prev); +}; + +class FitsArrMap : public virtual FitsMap { +public: + FitsArrMap(); +}; + +class FitsNRRDMap : public virtual FitsMap { +public: + FitsNRRDMap(); +}; + +class FitsMosaicMap : public virtual FitsMap { +public: + FitsMosaicMap(); +}; + +class FitsMosaicNextMap : public FitsMap { +public: + FitsMosaicNextMap(FitsFile* prev); +}; + +#endif + + + + + + + + |