diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2016-10-27 18:59:29 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2016-10-27 18:59:29 (GMT) |
commit | d4d595fa7fb12903db9227d33d48b2b00120dbd1 (patch) | |
tree | 7d18365de0d6d1b29399b6a17c7eb01c2eb3ed49 /tksao/fitsy++/smap.h | |
parent | 949f96e29bfe0bd8710d775ce220e597064e2589 (diff) | |
download | blt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.zip blt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.tar.gz blt-d4d595fa7fb12903db9227d33d48b2b00120dbd1.tar.bz2 |
Initial commit
Diffstat (limited to 'tksao/fitsy++/smap.h')
-rw-r--r-- | tksao/fitsy++/smap.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tksao/fitsy++/smap.h b/tksao/fitsy++/smap.h new file mode 100644 index 0000000..cabd0c1 --- /dev/null +++ b/tksao/fitsy++/smap.h @@ -0,0 +1,49 @@ +// Copyright (C) 1999-2016 +// Smithsonian Astrophysical Observatory, Cambridge, MA, USA +// For conditions of distribution and use, see copyright notice in "copyright" + +#ifndef __fitssmap_h__ +#define __fitssmap_h__ + +#include "file.h" + +class FitsSMap : public FitsFile { +protected: + char* hmapdata_; + size_t hmapsize_; + + char* mapdata_; + size_t mapsize_; + +public: + FitsSMap(); + virtual ~FitsSMap() {} + + char* mapdata() {return mapdata_;} + size_t mapsize() {return mapsize_;} +}; + +class FitsFitsSMap : public virtual FitsSMap { +public: + FitsFitsSMap(FitsHead::Memory); +}; + +class FitsENVISMap : public virtual FitsSMap { +public: + FitsENVISMap(); +}; + +class FitsFitsNextSMap : public FitsSMap { +public: + FitsFitsNextSMap(FitsFile* prev); +}; + +#endif + + + + + + + + |