summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/smmap.h
blob: eb04ca9d96158036be70ec3b60029e2dded1f46f (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
// Copyright (C) 1999-2018
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#ifndef __fitssmmap_h__
#define __fitssmmap_h__

#include "smap.h"

class FitsSMMap : public virtual FitsSMap {
public:
  FitsSMMap(const char*, const char*);
  virtual ~FitsSMMap();
};

class FitsFitsSMMap : public FitsSMMap, public FitsFitsSMap {
public:
  FitsFitsSMMap(const char* hdr, const char* fn) 
    : FitsSMMap(hdr,fn), FitsFitsSMap(FitsHead::MMAP) {}
};

class FitsENVISMMap : public FitsSMMap, public FitsENVISMap {
public:
 FitsENVISMMap(const char* hdr, const char* fn) : 
  FitsSMMap(hdr,fn), FitsENVISMap() {}
};

class FitsFitsNextSMMap : public FitsFitsNextSMap {
public:
  FitsFitsNextSMMap(FitsFile* prev) : FitsFitsNextSMap(prev) {}
};

#endif