Changeset 1351 in Sophya for trunk


Ignore:
Timestamp:
Dec 7, 2000, 5:18:43 PM (25 years ago)
Author:
yvon
Message:

les enums dans les flots cout sont castes en (int)

dominique

Location:
trunk/SophyaExt/FitsIOServer
Files:
5 edited

Legend:

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

    r1334 r1351  
    129129          }
    130130        default :
    131           cout << "type = " << dtype << endl;
     131          cout << "type = " << (int) dtype << endl;
    132132          throw IOExc("FITS_AutoReader::ReadObject : unsupported data type for TArray");
    133133        }
     
    167167          }
    168168        default :
    169           cout << "type = " << dtype << endl;
     169          cout << "type = " << (int) dtype << endl;
    170170          throw IOExc("FITS_AutoReader::ReadObject : unsupported data type for SphereHEALpix");
    171171        }
     
    205205          }
    206206        default :
    207           cout << "type = " << dtype << endl;
     207          cout << "type = " << (int) dtype << endl;
    208208          throw IOExc("FITS_AutoReader::ReadObject : unsupported data type for LocalMap");
    209209        }
  • trunk/SophyaExt/FitsIOServer/fitsbntbllineRW.cc

    r1300 r1351  
    5858      else if (ss == FitsFile::FitsDataType_char) SfitsCol.push_back(k);
    5959      else {
    60         cout << " FITS_XNTuple: colonne fits " << k << " type= " << ss << endl;
     60        cout << " FITS_XNTuple: colonne fits " << k << " type= " << (int) ss << endl;
    6161        throw  IOExc("type de champ inconnu");
    6262      }
  • trunk/SophyaExt/FitsIOServer/fitsfile.cc

    r1334 r1351  
    510510    else
    511511      {
    512         cout << " hdutype= " << hdutype_ << endl;
     512        cout << " hdutype= " << (int) hdutype_ << endl;
    513513        throw PException("FitsFile::NbColsFromFits, HDU  not supported");
    514514      }
     
    528528      else
    529529        {
    530           cout << "hdutype= " << hdutype_ << endl;
     530          cout << "hdutype= " << (int) hdutype_ << endl;
    531531          throw PException("FitsFile::NentriesFromFits, this HDU is not supported");
    532532        }
     
    880880    else
    881881      {
    882       cout << " hdutype= " << hdutype_ << endl;
     882      cout << " hdutype= " << (int) hdutype_ << endl;
    883883      throw IOExc("FitsFile::GetSingleColumn, this HDU is unknown");
    884884      }
     
    913913    else
    914914      {
    915       cout << " hdutype= " << hdutype_ << endl;
     915      cout << " hdutype= " << (int) hdutype_ << endl;
    916916      throw IOExc("FitsFile::GetSingleColumn this HDU is unknown");
    917917      }
     
    946946    else
    947947      {
    948       cout << " hdutype= " << hdutype_ << endl;
     948      cout << " hdutype= " << (int) hdutype_ << endl;
    949949      throw IOExc("FitsFile::GetSingleColumn this HDU is unknown");
    950950      }
  • trunk/SophyaExt/FitsIOServer/fitslocalmap.cc

    r1300 r1351  
    127127  if(dobj_->LocalMap_isDone())
    128128    {
    129       dvl["LCMP"] = 1;
     129      dvl["LCMP"] = (int_4) 1;
    130130      dvl.SetComment("LCMP", "local mapping 1= done, 0= not done");
    131131      int_4 x0 = 0;
     
    156156  else
    157157    {
    158       dvl["LCMP"] = 0;
     158      dvl["LCMP"] = (int_4) 0;
    159159    }
    160160  dvl["Content"]= "LocalMap";
  • trunk/SophyaExt/FitsIOServer/fitsxntuple.cc

    r1300 r1351  
    8686      else if (ss == FitsFile::FitsDataType_char) SfitsCol.push_back(k);
    8787      else {
    88         cout << " FITS_XNTuple: colonne fits " << k << " type= " << ss << endl;
     88        cout << " FITS_XNTuple: colonne fits " << k << " type= " << (int) ss << endl;
    8989        throw  IOExc("type de champ inconnu");
    9090      }
Note: See TracChangeset for help on using the changeset viewer.