Ignore:
Timestamp:
Oct 21, 1999, 4:03:55 PM (26 years ago)
Author:
ansari
Message:

quelques const et autres delete[] 21-OCT-99 GLM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsioserver.h

    r482 r488  
    1818public :
    1919
    20   FitsIoServer() : FITS_tab_typ_(0),i_4tab_(NULL),ftab_(NULL),dtab_(NULL) {;}
     20  FitsIoServer() : FITS_tab_typ_(0),i_4tab_(NULL),r_4tab_(NULL),r_8tab_(NULL) {;}
    2121 ~FitsIoServer()
    2222   {
    2323     if (i_4tab_ != NULL) delete [] i_4tab_;
    24      if (ftab_ != NULL) delete [] ftab_;
    25      if (dtab_ != NULL) delete [] dtab_;
     24     if (r_4tab_ != NULL) delete [] r_4tab_;
     25     if (r_8tab_ != NULL) delete [] r_8tab_;
    2626   }
    2727
     
    3838 void save(SphericalMap<float>& sph, char flnm[]);
    3939 void save(LocalMap<double>& locm, char flnm[]);
    40  void save(ImageR4& DpcImg,char flnm[]);
    41  void save(ImageI4& DpcImg,char flnm[]);
     40 void save(const ImageR4& DpcImg,char flnm[]);
     41 void save(const ImageI4& DpcImg,char flnm[]);
    4242 void sinus_picture_projection(SphericalMap<double>& sph, char flnm[]);
    4343 void sinus_picture_projection(SphericalMap<float>& sph, char flnm[]);
     
    5050 private :
    5151 
    52  void read_sphere(char flnm[],int& npixels,int& nside);
    5352
    5453 // creer, ecrire une imageformat FITS, a partir des tableaux de donnees
     
    8180 int FITS_tab_typ_;
    8281 int_4* i_4tab_;
    83  float* ftab_;
    84  double* dtab_;
     82 r_4* r_4tab_;
     83 r_8* r_8tab_;
    8584};
    8685
Note: See TracChangeset for help on using the changeset viewer.