blob: d9922ae32a16bd59d91d81da45d8cb24253c424a (
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
|
// Copyright (C) 1999-2017
// 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
|