/usr/include/CCfits/CCfits.h is in libccfits-dev 2.4+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 | // Astrophysics Science Division,
// NASA/ Goddard Space Flight Center
// HEASARC
// http://heasarc.gsfc.nasa.gov
// e-mail: ccfits@legacy.gsfc.nasa.gov
//
// Original author: Ben Dorman
#ifndef CCFITS_H
#define CCFITS_H 1
// fitsio
#include "fitsio.h"
// string
#include <string>
namespace CCfits {
class ExtHDU;
} // namespace CCfits
#include <map>
#include <sys/types.h>
#include "longnam.h"
#include "float.h"
namespace CCfits {
/*! \namespace CCfits
* \brief Namespace enclosing all CCfits classes and globals definitions.
*/
static const int BITPIX = -32;
static const int NAXIS = 2;
static const int MAXDIM = 99;
extern const unsigned long USBASE;
extern const unsigned long ULBASE;
extern char BSCALE[7];
extern char BZERO[6];
typedef enum {Read=READONLY,Write=READWRITE} RWmode;
/*! \enum ValueType
* \brief CCfits value types and their CFITSIO equivalents (in caps)
* Tnull,
* Tbit = TBIT,
* Tbyte = TBYTE,
* Tlogical = TLOGICAL,
* Tstring = TSTRING,
* Tushort = TUSHORT,
* Tshort = TSHORT,
* Tuint = TUINT,
* Tint = TINT,
* Tulong = TULONG,
* Tlong = TLONG,
* Tlonglong = TLONGLONG,
* Tfloat = TFLOAT,
* Tdouble = TDOUBLE,
* Tcomplex = TCOMPLEX,
* Tdblcomplex=TDBLCOMPLEX,
* VTbit= -TBIT,
* VTbyte=-TBYTE,
* VTlogical=-Tlogical,
* VTushort=-TUSHORT,
* VTshort=-TSHORT,
* VTuint=-TUINT,
* VTint=-TINT,
* VTulong=-TULONG,
* VTlong=-TLONG,
* VTlonglong=-TLONGLONG,
* VTfloat=-TFLOAT,
* VTdouble=-TDOUBLE,
* VTcomplex=-TCOMPLEX,
* VTdblcomplex=-TDBLCOMPLEX
*/
typedef enum {Tnull, Tbit = TBIT, Tbyte = TBYTE, Tlogical = TLOGICAL, Tstring = TSTRING, Tushort = TUSHORT, Tshort = TSHORT,Tuint = TUINT,Tint = TINT, Tulong = TULONG,Tlong = TLONG, Tlonglong = TLONGLONG, Tfloat = TFLOAT, Tdouble = TDOUBLE, Tcomplex = TCOMPLEX, Tdblcomplex=TDBLCOMPLEX, VTbit= -TBIT, VTbyte=-TBYTE,VTlogical=-Tlogical, VTushort=-TUSHORT,VTshort=-TSHORT,VTuint=-TUINT, VTint=-TINT,VTulong=-TULONG,VTlong=-TLONG,VTlonglong=-TLONGLONG,VTfloat=-TFLOAT,VTdouble=-TDOUBLE,VTcomplex=-TCOMPLEX,VTdblcomplex=-TDBLCOMPLEX} ValueType;
typedef enum {AnyHdu=-1, ImageHdu, AsciiTbl, BinaryTbl} HduType;
typedef enum {Inotype = 0, Ibyte=BYTE_IMG,
Ishort = SHORT_IMG,
Ilong = LONG_IMG,
Ifloat = FLOAT_IMG,
Idouble = DOUBLE_IMG,
Iushort = USHORT_IMG,
Iulong = ULONG_IMG} ImageType;
typedef std::string String;
typedef std::multimap<String,CCfits::ExtHDU*> ExtMap;
typedef ExtMap::const_iterator ExtMapConstIt;
typedef ExtMap::iterator ExtMapIt;
} // namespace CCfits
#endif
|