summaryrefslogtreecommitdiffstats
path: root/fitsy/share.h
blob: 5fae9e399b41674c80e909b5147789a901877132 (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// Copyright (C) 1999-2018
// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
// For conditions of distribution and use, see copyright notice in "copyright"

#ifndef __fitsshare_h__
#define __fitsshare_h__

#include "map.h"

class FitsShareID : public virtual FitsMap {
public:
  FitsShareID(int, const char*);
  virtual ~FitsShareID();
};

class FitsShareKey : public virtual FitsMap {
public:
  FitsShareKey(int, const char*);
  virtual ~FitsShareKey();
};

class FitsFitsShare : public virtual FitsMap, public FitsFitsMap {
 public:
  FitsFitsShare(ScanMode mode) : FitsMap(), FitsFitsMap(mode) {}
};

class FitsFitsNextShare : public FitsFitsNextMap {
public:
  FitsFitsNextShare(FitsFile* prev) : FitsFitsNextMap(prev) {}
};

class FitsArrShare : public virtual FitsMap, public FitsArrMap {
 public:
  FitsArrShare() : FitsMap(), FitsArrMap() {}
};

class FitsNRRDShare : public virtual FitsMap, public FitsNRRDMap {
 public:
  FitsNRRDShare() : FitsMap(), FitsNRRDMap() {}
};

class FitsMosaicShare : public virtual FitsMap, public FitsMosaicMap {
 public:
  FitsMosaicShare() : FitsMap(), FitsMosaicMap() {}
};

class FitsMosaicNextShare : public FitsMosaicNextMap {
public:
  FitsMosaicNextShare(FitsFile* prev) : FitsMosaicNextMap(prev) {}
};

class FitsFitsShareID : public FitsShareID, public FitsFitsShare {
public:
  FitsFitsShareID(int shmid, const char* filter, ScanMode mode)
    : FitsShareID(shmid, filter), FitsFitsShare(mode) {}
};

class FitsFitsShareKey : public FitsShareKey, public FitsFitsShare {
public:
  FitsFitsShareKey(int key, const char* filter, ScanMode mode)
    : FitsShareKey(key, filter), FitsFitsShare(mode) {}
};

class FitsArrShareID : public FitsShareID, public FitsArrShare {
public:
  FitsArrShareID(int shmid, const char* filter)
    : FitsShareID(shmid, filter), FitsArrShare() {}
};

class FitsArrShareKey : public FitsShareKey, public FitsArrShare {
public:
  FitsArrShareKey(int key, const char* filter) 
    : FitsShareKey(key, filter), FitsArrShare() {}
};

class FitsNRRDShareID : public FitsShareID, public FitsNRRDShare {
public:
  FitsNRRDShareID(int shmid, const char* filter)
    : FitsShareID(shmid, filter), FitsNRRDShare() {}
};

class FitsNRRDShareKey : public FitsShareKey, public FitsNRRDShare {
public:
  FitsNRRDShareKey(int key, const char* filter) 
    : FitsShareKey(key, filter), FitsNRRDShare() {}
};

class FitsMosaicShareID : public FitsShareID, public FitsMosaicShare {
public:
  FitsMosaicShareID(int shmid) : FitsShareID(shmid, ""), FitsMosaicShare() {}
};

class FitsMosaicShareKey : public FitsShareKey, public FitsMosaicShare {
public:
  FitsMosaicShareKey(int key) : FitsShareKey(key, ""), FitsMosaicShare() {}
};

#endif