diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2020-03-21 20:29:02 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2020-03-21 20:29:02 (GMT) |
commit | a004d413772c16e43004929efb3df2f36c53314c (patch) | |
tree | f635a49cb52ebff944062e7dd6d8833c14a0b40b /fitsy++/socketgz.h | |
parent | c8abfb35e0303f03f75d9fe74dac893b1767924c (diff) | |
download | blt-a004d413772c16e43004929efb3df2f36c53314c.zip blt-a004d413772c16e43004929efb3df2f36c53314c.tar.gz blt-a004d413772c16e43004929efb3df2f36c53314c.tar.bz2 |
libfitsy++
Diffstat (limited to 'fitsy++/socketgz.h')
-rw-r--r-- | fitsy++/socketgz.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/fitsy++/socketgz.h b/fitsy++/socketgz.h new file mode 100644 index 0000000..dc729fc --- /dev/null +++ b/fitsy++/socketgz.h @@ -0,0 +1,48 @@ +// Copyright (C) 1999-2018 +// Smithsonian Astrophysical Observatory, Cambridge, MA, USA +// For conditions of distribution and use, see copyright notice in "copyright" + +#ifndef __fitssocketgz_h__ +#define __fitssocketgz_h__ + +#include "strm.h" + +class FitsSocketGZ : public virtual FitsStream<gzStream> { +public: + FitsSocketGZ(int, const char*); + virtual ~FitsSocketGZ(); +}; + +class FitsFitsSocketGZ : public FitsSocketGZ, + public FitsFitsStream<gzStream> { +public: + FitsFitsSocketGZ(int s, const char* ext, ScanMode mode, FlushMode flush) + : FitsSocketGZ(s, ext), FitsFitsStream<gzStream>(mode, flush) {} +}; + +class FitsFitsNextSocketGZ : public FitsFitsNextStream<gzStream> { +public: + FitsFitsNextSocketGZ(FitsFile* prev) : FitsFitsNextStream<gzStream>(prev) {} +}; + +class FitsArrSocketGZ : public FitsSocketGZ, public FitsArrStream<gzStream> { +public: + FitsArrSocketGZ(int s, const char* ext, FlushMode flush) + : FitsSocketGZ(s, ext), FitsArrStream<gzStream>(flush) {} +}; + +class FitsMosaicSocketGZ : public FitsSocketGZ, + public FitsMosaicStream<gzStream> { +public: + FitsMosaicSocketGZ(int s, FlushMode flush) + : FitsSocketGZ(s, ""), FitsMosaicStream<gzStream>(flush) {} +}; + +class FitsMosaicNextSocketGZ : public FitsMosaicNextStream<gzStream> { +public: + FitsMosaicNextSocketGZ(FitsFile* prev, FlushMode flush) + : FitsMosaicNextStream<gzStream>(prev, flush) {} +}; + +#endif + |