Changeset 3032 in Sophya for trunk/SophyaExt


Ignore:
Timestamp:
Jul 17, 2006, 6:04:59 PM (19 years ago)
Author:
ansari
Message:

Declaration SwFitsDataTable::AddRow(DataTableRow) dans la classe fille , Reza 17/7/2006

Location:
trunk/SophyaExt/FitsIOServer
Files:
2 edited

Legend:

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

    r2889 r3032  
    378378/*!
    379379  The min/max values for each column is updated, in addition
    380   to the actions performed by the base class AddRow()
     380  to the actions performed by the base class AddRow().
     381  The table is also created on the FITS file at the first call to AddRow()
    381382*/
    382383sa_size_t SwFitsDataTable::AddRow(const r_8* data)
     
    400401/*!
    401402  The min/max values for each column is updated, in addition
    402   to the actions performed by the base class AddRow()
     403  to the actions performed by the base class AddRow().
     404  The table is also created on the FITS file at the first call to AddRow()
    403405*/
    404406sa_size_t SwFitsDataTable::AddRow(const MuTyV * data)
     
    419421}
    420422
     423//! Adds a row (or line) to the table with input data as DataTableRow object
     424/*!
     425  The min/max values for each column is updated, in addition
     426  to the actions performed by the base class AddRow().
     427  The table is also created on the FITS file at the first call to AddRow()
     428*/
     429sa_size_t SwFitsDataTable::AddRow(DataTableRow const& data)
     430{
     431  if ( data.Size() != NCols() )
     432    throw SzMismatchError(" SwFitsDataTable::AddRow() - data.Size() != NCols() ");
     433  return AddRow(data.MTVPtr());
     434}
  • trunk/SophyaExt/FitsIOServer/swfitsdtable.h

    r2889 r3032  
    2828  virtual sa_size_t AddRow(const r_8* data);
    2929  virtual sa_size_t AddRow(const MuTyV * data);
     30  virtual sa_size_t AddRow(DataTableRow const& data);
    3031
    3132   //! Equal (copy) operator - Copies the data and the structure from \b a   
Note: See TracChangeset for help on using the changeset viewer.