summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/mmapincr.h
blob: 4fffafd00804dc09681f61b9d81be9cdbebd3f3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright (C) 1999-2017
// 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