Ignore:
Timestamp:
Feb 7, 2009, 10:50:34 PM (17 years ago)
Author:
cmv
Message:

char* -> const char* pour regler les problemes de deprecated string const... + comparaison unsigned signed + suppression EVOL_PLANCK rz+cmv 07/02/2009

File:
1 edited

Legend:

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

    r3493 r3572  
    4848  void Print(void);
    4949
    50   static double   ReadKey(fitsfile *fitsptr,char *keyname);
    51   static long     ReadKeyL(fitsfile *fitsptr,char *keyname);
    52   static LONGLONG ReadKeyLL(fitsfile *fitsptr,char *keyname);
    53   static string   ReadKeyS(fitsfile *fitsptr,char *keyname);
     50  static double   ReadKey(fitsfile *fitsptr,const char *keyname);
     51  static long     ReadKeyL(fitsfile *fitsptr,const char *keyname);
     52  static LONGLONG ReadKeyLL(fitsfile *fitsptr,const char *keyname);
     53  static string   ReadKeyS(fitsfile *fitsptr,const char *keyname);
    5454  static void   printerror(int sta);
    5555
     
    7878  void ChangeBuffer(long blen=100,long bsens=1);
    7979
    80   double    ReadKey(char *keyname);
    81   long      ReadKeyL(char *keyname);
    82   LONGLONG  ReadKeyLL(char *keyname);
    83   string    ReadKeyS(char *keyname);
     80  double    ReadKey(const char *keyname);
     81  long      ReadKeyL(const char *keyname);
     82  LONGLONG  ReadKeyLL(const char *keyname);
     83  string    ReadKeyS(const char *keyname);
    8484
    8585  double Read(LONGLONG n,bool usebuffer=true);
     
    195195  virtual ~FitsImg2DRd();
    196196
    197   double   ReadKey(char *keyname);
    198   long     ReadKeyL(char *keyname);
    199   LONGLONG ReadKeyLL(char *keyname);
    200   string   ReadKeyS(char *keyname);
     197  double   ReadKey(const char *keyname);
     198  long     ReadKeyL(const char *keyname);
     199  LONGLONG ReadKeyLL(const char *keyname);
     200  string   ReadKeyS(const char *keyname);
    201201
    202202  LONGLONG Read(TMatrix<uint_2>& data);
     
    260260  virtual ~FitsImg3DRd();
    261261
    262   double   ReadKey(char *keyname);
    263   long     ReadKeyL(char *keyname);
    264   LONGLONG ReadKeyLL(char *keyname);
    265   string   ReadKeyS(char *keyname);
     262  double   ReadKey(const char *keyname);
     263  long     ReadKeyL(const char *keyname);
     264  LONGLONG ReadKeyLL(const char *keyname);
     265  string   ReadKeyS(const char *keyname);
    266266
    267267  LONGLONG Read(TArray<uint_2>& data);
Note: See TracChangeset for help on using the changeset viewer.