Changeset 3572 in Sophya for trunk/SophyaExt/FitsIOServer/fitsfile.cc
- Timestamp:
- Feb 7, 2009, 10:50:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fitsfile.cc
r2907 r3572 228 228 */ 229 229 230 /*! \fn void SOPHYA::FitsIOHandler::Read(c har flnm[],int hdunum)230 /*! \fn void SOPHYA::FitsIOHandler::Read(const char flnm[],int hdunum) 231 231 232 232 this method is called from inherited objects : … … 238 238 calls the method 'ReadFromFits' from the inherited object 239 239 */ 240 void FitsIOHandler::Read(c har flnm[],int hdunum)240 void FitsIOHandler::Read(const char flnm[],int hdunum) 241 241 { 242 242 FitsInFile ifts(flnm); … … 274 274 275 275 */ 276 void FitsIOHandler::Write(c har flnm[])276 void FitsIOHandler::Write(const char flnm[]) 277 277 278 278 { … … 327 327 } 328 328 329 void FitsFile::printerror(int& status, c har* texte)329 void FitsFile::printerror(int& status, const char* texte) 330 330 //*****************************************************/ 331 331 //* Print out cfitsio error messages and exit program */ … … 338 338 throw IOExc("FitsFile:: error FITSIO status"); 339 339 } 340 void FitsFile::printerrorAndContinue(int& status, c har* texte)340 void FitsFile::printerrorAndContinue(int& status, const char* texte) 341 341 //*****************************************************/ 342 342 //* Print out cfitsio error messages and exit program */ … … 1534 1534 char dtype; 1535 1535 char card[FLEN_CARD]; 1536 c har *comkey = "COMMENT";1536 const char *comkey = "COMMENT"; 1537 1537 char comment[FLEN_COMMENT]; 1538 1538 … … 2198 2198 char comment[FLEN_COMMENT]; 2199 2199 char strval[FLEN_VALUE]= ""; 2200 c har *comkey = "COMMENT";2200 const char *comkey = "COMMENT"; 2201 2201 // fits_read_keyword(fptr_, keyname, strval, NULL, &status); 2202 2202 // if (status != 0 || strncmp(keyname,comkey,LEN_KEYWORD-1) == 0 ) … … 2527 2527 default : 2528 2528 { 2529 c har *comkey = "COMMENT";2529 const char *comkey = "COMMENT"; 2530 2530 if(strncmp(keyname,comkey,LEN_KEYWORD-1) == 0) 2531 2531 {
Note:
See TracChangeset
for help on using the changeset viewer.