blob: d8d0051cabd04eb9f6b6700dfc15c68b47d8645f (
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 __outfile_h__
#define __outfile_h__
#include "outfits.h"
#include "zlib.h"
class OutFitsFile : public virtual OutFitsStream {
private:
FILE* fd_;
public:
OutFitsFile(const char*);
~OutFitsFile();
int write(char*, size_t);
};
class OutFitsFileGZ : public virtual OutFitsStream {
private:
gzFile fd_;
public:
OutFitsFileGZ(const char*);
~OutFitsFileGZ();
int write(char*, size_t);
};
#endif
|