summaryrefslogtreecommitdiffstats
path: root/fitsy++/mmapincr.h
diff options
context:
space:
mode:
Diffstat (limited to 'fitsy++/mmapincr.h')
-rw-r--r--fitsy++/mmapincr.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/fitsy++/mmapincr.h b/fitsy++/mmapincr.h
new file mode 100644
index 0000000..0355e78
--- /dev/null
+++ b/fitsy++/mmapincr.h
@@ -0,0 +1,41 @@
+// Copyright (C) 1999-2018
+// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+// For conditions of distribution and use, see copyright notice in "copyright"
+
+#ifndef __fitsmmapincr_h__
+#define __fitsmmapincr_h__
+
+#include "mapincr.h"
+
+class FitsMMapIncr : public virtual FitsMapIncr {
+public:
+ FitsMMapIncr(const char*);
+};
+
+class FitsFitsMMapIncr : public FitsMMapIncr, public FitsFitsMapIncr {
+public:
+ FitsFitsMMapIncr(const char* fn, ScanMode mode)
+ : FitsMMapIncr(fn), FitsFitsMapIncr(mode) {}
+};
+
+class FitsFitsNextMMapIncr : public FitsFitsNextMapIncr {
+public:
+ FitsFitsNextMMapIncr(FitsFile* prev) : FitsFitsNextMapIncr(prev) {}
+};
+
+class FitsArrMMapIncr : public FitsMMapIncr, public FitsArrMapIncr {
+public:
+ FitsArrMMapIncr(const char* fn) : FitsMMapIncr(fn), FitsArrMapIncr() {}
+};
+
+class FitsMosaicMMapIncr : public FitsMMapIncr, public FitsMosaicMapIncr {
+public:
+ FitsMosaicMMapIncr(const char* fn) : FitsMMapIncr(fn), FitsMosaicMapIncr() {}
+};
+
+class FitsMosaicNextMMapIncr : public FitsMosaicNextMapIncr {
+public:
+ FitsMosaicNextMMapIncr(FitsFile* prev) : FitsMosaicNextMapIncr(prev) {}
+};
+
+#endif