Changeset 2789 in Sophya


Ignore:
Timestamp:
May 31, 2005, 9:45:43 AM (20 years ago)
Author:
cmv
Message:

ajouts de commentaires cmv 31/05/2005

Location:
trunk/SophyaExt/FitsIOServer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fabtcolread.cc

    r2615 r2789  
    252252  \class SOPHYA::FitsABTColRd
    253253  \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.
    255259  \verbatim
    256260  -- Exemple:
     
    839843  \class SOPHYA::FitsABTColRead
    840844  \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.
    842850  \verbatim
    843851  -- Exemple:
     
    929937FitsABTColRead::~FitsABTColRead()
    930938{
    931  Delete();
     939 Delete(); // ?? inutile ??
     940 // On detruit le FitsOpenFile, cad qu'on ferme (fits_file_close) le fichier FITS
    932941 if(FitsOF!=NULL) delete FitsOF;
    933942}
  • trunk/SophyaExt/FitsIOServer/fabtwriter.cc

    r2615 r2789  
    533533    printerrorwrite("signed char",col,row,sta);
    534534#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");
    536536#endif
    537537}
Note: See TracChangeset for help on using the changeset viewer.