summaryrefslogtreecommitdiffstats
path: root/fitsy++/smap.h
diff options
context:
space:
mode:
Diffstat (limited to 'fitsy++/smap.h')
-rw-r--r--fitsy++/smap.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/fitsy++/smap.h b/fitsy++/smap.h
new file mode 100644
index 0000000..e45ecac
--- /dev/null
+++ b/fitsy++/smap.h
@@ -0,0 +1,49 @@
+// Copyright (C) 1999-2018
+// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+// For conditions of distribution and use, see copyright notice in "copyright"
+
+#ifndef __fitssmap_h__
+#define __fitssmap_h__
+
+#include "file.h"
+
+class FitsSMap : public FitsFile {
+protected:
+ char* hmapdata_;
+ size_t hmapsize_;
+
+ char* mapdata_;
+ size_t mapsize_;
+
+public:
+ FitsSMap();
+ virtual ~FitsSMap() {}
+
+ char* mapdata() {return mapdata_;}
+ size_t mapsize() {return mapsize_;}
+};
+
+class FitsFitsSMap : public virtual FitsSMap {
+public:
+ FitsFitsSMap(FitsHead::Memory);
+};
+
+class FitsENVISMap : public virtual FitsSMap {
+public:
+ FitsENVISMap();
+};
+
+class FitsFitsNextSMap : public FitsSMap {
+public:
+ FitsFitsNextSMap(FitsFile* prev);
+};
+
+#endif
+
+
+
+
+
+
+
+