summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/smap.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 18:59:29 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-10-27 18:59:29 (GMT)
commitd4d595fa7fb12903db9227d33d48b2b00120dbd1 (patch)
tree7d18365de0d6d1b29399b6a17c7eb01c2eb3ed49 /tksao/fitsy++/smap.h
parent949f96e29bfe0bd8710d775ce220e597064e2589 (diff)
downloadblt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.zip
blt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.tar.gz
blt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.tar.bz2
Initial commit
Diffstat (limited to 'tksao/fitsy++/smap.h')
-rw-r--r--tksao/fitsy++/smap.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/tksao/fitsy++/smap.h b/tksao/fitsy++/smap.h
new file mode 100644
index 0000000..cabd0c1
--- /dev/null
+++ b/tksao/fitsy++/smap.h
@@ -0,0 +1,49 @@
+// Copyright (C) 1999-2016
+// 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
+
+
+
+
+
+
+
+