summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/outfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/fitsy++/outfile.h')
-rw-r--r--tksao/fitsy++/outfile.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/tksao/fitsy++/outfile.h b/tksao/fitsy++/outfile.h
new file mode 100644
index 0000000..7c8329c
--- /dev/null
+++ b/tksao/fitsy++/outfile.h
@@ -0,0 +1,33 @@
+// Copyright (C) 1999-2016
+// 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