Changeset 3447 in Sophya for trunk/SophyaExt/FitsIOServer/fitsinoutfile.h
- Timestamp:
- Jan 31, 2008, 7:11:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsinoutfile.h
r3167 r3447 37 37 static int ImageType(int_2 d) { return SHORT_IMG; } 38 38 static int ImageType(int_4 d) { return LONG_IMG; } 39 #ifdef LONGLONGIMG 40 static int ImageType(int_8 d) { return LONGLONG_IMG; } 41 #else 42 static int ImageType(int_8 d) 43 { throw FitsIOException("FitsImageType: Unsupported data type int_8"); } 44 #endif 45 39 46 static int ImageType(r_4 d) { return FLOAT_IMG; } 40 47 static int ImageType(r_8 d) { return DOUBLE_IMG; } … … 121 128 int GetImageHDUInfo(int& naxis, LONGLONG* naxes) const; 122 129 130 //! Change BSCALE/BZERO when reading/writing primary HDU 131 void SetBScaleBZero(double bscale=1., double bzero=0.); 132 123 133 //---- BINARY_TBL or ASCII_TBL 124 134 //! Return number of rows in a table HDU
Note:
See TracChangeset
for help on using the changeset viewer.