Changeset 2789 in Sophya for trunk/SophyaExt
- Timestamp:
- May 31, 2005, 9:45:43 AM (20 years ago)
- Location:
- trunk/SophyaExt/FitsIOServer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaExt/FitsIOServer/fabtcolread.cc
r2615 r2789 252 252 \class SOPHYA::FitsABTColRd 253 253 \ingroup FitsIOServer 254 Class for reading a column in a FITS ASCII or BINARY table 254 Class for reading a column in a FITS ASCII or BINARY table. 255 You can read many columns of the same FITS table by instanciating 256 many FitsABTColRd on the same FitsOpenFile. So, the FITS file is 257 opened only once. Of course the various FitsABTColRd must read 258 the same FITS file HDU. 255 259 \verbatim 256 260 -- Exemple: … … 839 843 \class SOPHYA::FitsABTColRead 840 844 \ingroup FitsIOServer 841 Class for reading a column in a FITS ASCII or BINARY table with fits file opening 845 Class for reading a column in a FITS ASCII or BINARY table with fits file opening. 846 The FITS file is opened each time you instanciate a FitsABTColRead. 847 So reading "n" columns of the same FITS table by instanciating "n" 848 FitsABTColRead, will open "n" times te FITS file. 849 Use FitsABTColRd if you want to open the FITS file only once. 842 850 \verbatim 843 851 -- Exemple: … … 929 937 FitsABTColRead::~FitsABTColRead() 930 938 { 931 Delete(); 939 Delete(); // ?? inutile ?? 940 // On detruit le FitsOpenFile, cad qu'on ferme (fits_file_close) le fichier FITS 932 941 if(FitsOF!=NULL) delete FitsOF; 933 942 } -
trunk/SophyaExt/FitsIOServer/fabtwriter.cc
r2615 r2789 533 533 printerrorwrite("signed char",col,row,sta); 534 534 #else 535 throw PException("FitsABTWriter::Write(..,int_ 2) Not in that cfitsio version");535 throw PException("FitsABTWriter::Write(..,int_1) Not in that cfitsio version"); 536 536 #endif 537 537 }
Note:
See TracChangeset
for help on using the changeset viewer.