summaryrefslogtreecommitdiffstats
path: root/fitsy/block.h
diff options
context:
space:
mode:
Diffstat (limited to 'fitsy/block.h')
-rw-r--r--fitsy/block.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/fitsy/block.h b/fitsy/block.h
new file mode 100644
index 0000000..816c788
--- /dev/null
+++ b/fitsy/block.h
@@ -0,0 +1,30 @@
+// Copyright (C) 1999-2018
+// Smithsonian Astrophysical Observatory, Cambridge, MA, USA
+// For conditions of distribution and use, see copyright notice in "copyright"
+
+#ifndef __fitsblock_h__
+#define __fitsblock_h__
+
+#include "vector.h"
+#include "vectorstr.h"
+#include "file.h"
+
+class FitsBlock : public FitsFile {
+ protected:
+ int width_;
+ int height_;
+ size_t size_;
+ int bitpix_;
+
+ void initHeader(FitsFile*, Vector&);
+
+ void initCCDSUM(Vector&);
+ void initKeySEC(const char*, Vector&);
+ void initLTMV(Vector&);
+
+ public:
+ FitsBlock(FitsFile*, Vector&);
+ ~FitsBlock();
+};
+
+#endif