summaryrefslogtreecommitdiffstats
path: root/tksao/fitsy++/outfits.h
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/fitsy++/outfits.h')
-rw-r--r--tksao/fitsy++/outfits.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/tksao/fitsy++/outfits.h b/tksao/fitsy++/outfits.h
new file mode 100644
index 0000000..aa8b340
--- /dev/null
+++ b/tksao/fitsy++/outfits.h
@@ -0,0 +1,27 @@
+// Copyright (C) 1999-2016
+// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+// For conditions of distribution and use, see copyright notice in "copyright"
+
+#ifndef __outfits_h__
+#define __outfits_h__
+
+#include "util.h"
+
+#define B1KB 1024
+#define B4KB 4096
+#define B1MB 1048576
+
+class OutFitsStream {
+ protected:
+ int valid_;
+
+ public:
+ OutFitsStream();
+ virtual ~OutFitsStream();
+
+ virtual int write(char*, size_t) =0;
+ int writeSwap(char*, int, int);
+ int valid() {return valid_;}
+};
+
+#endif