Changeset 1379 in Sophya


Ignore:
Timestamp:
Jan 10, 2001, 5:52:40 PM (25 years ago)
Author:
yvon
Message:

les arguments pointeur de diverses fonctions sont passes de int a int_4 etc
et quelques enums sont castes dans les cout

File:
1 edited

Legend:

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

    r1371 r1379  
    574574    else
    575575      {
    576         cout << " hdutype= " << hdutype_ << endl;
     576        cout << " hdutype= " << (int) hdutype_ << endl;
    577577        throw PException("FitsFile::NbColsFromFits, HDU  not supported");
    578578      }
     
    592592      else
    593593        {
    594           cout << "hdutype= " << hdutype_ << endl;
     594          cout << "hdutype= " << (int) hdutype_ << endl;
    595595          throw PException("FitsFile::NentriesFromFits, this HDU is not supported");
    596596        }
     
    781781\param <nentries>  number of data to be read
    782782*/
    783 void FitsInFile::GetBinTabFCol(double* valeurs,int nentries, int NoCol) const
     783void FitsInFile::GetBinTabFCol(r_8* valeurs,int nentries, int NoCol) const
    784784    {
    785785      int status= 0;
     
    818818 same as previous method with float data
    819819*/
    820 void FitsInFile::GetBinTabFCol(float* valeurs,int nentries, int NoCol) const
     820void FitsInFile::GetBinTabFCol(r_4* valeurs,int nentries, int NoCol) const
    821821    {
    822822      int status= 0;
     
    855855*/
    856856
    857 void FitsInFile::GetBinTabFCol(int* valeurs,int nentries, int NoCol) const
     857void FitsInFile::GetBinTabFCol(int_4* valeurs,int nentries, int NoCol) const
    858858    {
    859859      int status= 0;
     
    922922\param <nentries>  number of data to be read
    923923*/
    924 void FitsInFile::GetSingleColumn(double* map, int nentries) const
     924void FitsInFile::GetSingleColumn(r_8* map, int nentries) const
    925925{
    926926  int status = 0;
     
    949949    else
    950950      {
    951       cout << " hdutype= " << hdutype_ << endl;
     951      cout << " hdutype= " << (int) hdutype_ << endl;
    952952      throw IOExc("FitsFile::GetSingleColumn, this HDU is unknown");
    953953      }
     
    957957same as above with float data
    958958*/
    959 void FitsInFile::GetSingleColumn(float* map, int nentries) const
     959void FitsInFile::GetSingleColumn(r_4* map, int nentries) const
    960960{
    961961  int status = 0;
     
    982982    else
    983983      {
    984       cout << " hdutype= " << hdutype_ << endl;
     984      cout << " hdutype= " << (int) hdutype_ << endl;
    985985      throw IOExc("FitsFile::GetSingleColumn this HDU is unknown");
    986986      }
     
    990990 same as above with int data
    991991*/
    992 void FitsInFile::GetSingleColumn( int* map, int nentries) const
     992void FitsInFile::GetSingleColumn( int_4* map, int nentries) const
    993993{
    994994  int status = 0;
     
    10151015    else
    10161016      {
    1017       cout << " hdutype= " << hdutype_ << endl;
     1017      cout << " hdutype= " << (int) hdutype_ << endl;
    10181018      throw IOExc("FitsFile::GetSingleColumn this HDU is unknown");
    10191019      }
     
    14011401\param <nbData>  number of data to be written
    14021402*/
    1403 void FitsOutFile::PutImageToFits(int nbData, double* map) const
     1403void FitsOutFile::PutImageToFits(int nbData, r_8* map) const
    14041404{
    14051405  int status = 0;
     
    14131413same as previous method with float data
    14141414*/
    1415 void FitsOutFile::PutImageToFits(int nbData, float* map) const
     1415void FitsOutFile::PutImageToFits(int nbData, r_4* map) const
    14161416{
    14171417  int status = 0;
     
    14251425
    14261426 same as previous method with int data */
    1427 void FitsOutFile::PutImageToFits( int nbData, int* map) const
     1427void FitsOutFile::PutImageToFits( int nbData, int_4* map) const
    14281428{
    14291429  int status = 0;
     
    15631563*/
    15641564
    1565 void FitsOutFile::PutColToFits(int nocol, int nentries, double* donnees) const
     1565void FitsOutFile::PutColToFits(int nocol, int nentries, r_8* donnees) const
    15661566{
    15671567  int status = 0;
     
    15921592same as previous method with float data
    15931593*/
    1594 void FitsOutFile::PutColToFits(int nocol, int nentries, float* donnees) const
     1594void FitsOutFile::PutColToFits(int nocol, int nentries, r_4* donnees) const
    15951595{
    15961596  int status = 0;
     
    16241624same as previous method with int data
    16251625*/
    1626 void FitsOutFile::PutColToFits(int nocol, int nentries, int* donnees) const
     1626void FitsOutFile::PutColToFits(int nocol, int nentries, int_4* donnees) const
    16271627{
    16281628  int status = 0;
Note: See TracChangeset for help on using the changeset viewer.