Changeset 15168 for branches/pap_branch_070920/psLib/src/fits/psFits.h
- Timestamp:
- Oct 2, 2007, 5:01:45 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_070920/psLib/src/fits/psFits.h
r15111 r15168 4 4 * @author Robert DeSonia, MHPCC 5 5 * 6 * @version $Revision: 1.31.2. 2$ $Name: not supported by cvs2svn $7 * @date $Date: 2007- 09-29 21:55:41$6 * @version $Revision: 1.31.2.3 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-10-03 03:01:45 $ 8 8 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 9 9 */ … … 55 55 bool writable; ///< Is the file writable? 56 56 char *extword; ///< user-specified word to name extensions (NULL implies EXTNAME) 57 bool compression; ///< Treat compressed images automatically? 57 58 } psFits; 58 59 … … 140 141 */ 141 142 bool psFitsSetCompression( 142 psFits* fits, ///< psFits object to close143 psFits* fits, ///< psFits object for which to set compression 143 144 psFitsCompressionType type, ///< type of compression 144 145 psVector *tilesize, ///< vector defining compression tile size … … 148 149 ); 149 150 151 /// Get the compression options for a file handle 152 psFitsCompression *psFitsCompressionGet( 153 psFits* fits ///< psFits object for which to get compression 154 ); 155 156 /// Get the compression type for a file handle 157 psFitsCompressionType psFitsCompressionGetType( 158 psFits* fits ///< psFits object for which to get compression type 159 ); 160 150 161 /** Sets FITS write options 151 162 * … … 153 164 */ 154 165 bool psFitsCompressionApply( 155 psFits* fits, ///< psFits object to close166 psFits* fits, ///< psFits object for which to set compression 156 167 psFitsCompression *compress ///< options object 157 168 ); … … 290 301 ); 291 302 303 #define PS_ASSERT_FITS_NON_NULL(NAME, RVAL) \ 304 if (!(NAME) || !(NAME)->fd) { \ 305 psError(PS_ERR_UNEXPECTED_NULL, true, "Error: FITS file pointer %s is NULL", #NAME); \ 306 return RVAL; \ 307 } 308 292 309 /// @} 293 310 #endif // #ifndef PS_FITS_H
Note:
See TracChangeset
for help on using the changeset viewer.
