Changeset 2683 in Sophya for trunk/SophyaExt


Ignore:
Timestamp:
Apr 21, 2005, 6:05:19 PM (20 years ago)
Author:
ansari
Message:

Adaptation au changement de int par sa_size_t ds la classe interface NTuple NTupInterface - Reza 21/4/2005

Location:
trunk/SophyaExt/FitsIOServer
Files:
2 edited

Legend:

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

    r2615 r2683  
    183183
    184184/////////////////////////////////////////////////
    185 uint_4 FitsBTNtuIntf::NbLines() const
     185sa_size_t FitsBTNtuIntf::NbLines() const
    186186{
    187187 return NBline;
    188188}
    189189
    190 uint_4 FitsBTNtuIntf::NbColumns() const
     190sa_size_t FitsBTNtuIntf::NbColumns() const
    191191{
    192192 return NBcol;
    193193}
    194194
    195 r_8 * FitsBTNtuIntf::GetLineD(int n) const
     195r_8 * FitsBTNtuIntf::GetLineD(sa_size_t n) const
    196196// Attention: n [0,NBline[, cfistio veut [1,NBline]
    197197{
     
    248248}
    249249
    250 r_8 FitsBTNtuIntf::GetCell(int n, int k) const
     250r_8 FitsBTNtuIntf::GetCell(sa_size_t n, sa_size_t k) const
    251251{
    252252 if(n<0 || n>=NBline || k<0 || k>=NBcol) return 0.;
  • trunk/SophyaExt/FitsIOServer/fbtntintf.h

    r2322 r2683  
    2929  inline  void Print(int lp=1) const {Print(cout,lp);}
    3030
    31   virtual uint_4 NbLines() const ;
    32   virtual uint_4 NbColumns() const ;
    33   virtual r_8 * GetLineD(int n) const ;
    34   virtual r_8 GetCell(int n, int k) const ;
     31  virtual sa_size_t NbLines() const ;
     32  virtual sa_size_t NbColumns() const ;
     33  virtual r_8 * GetLineD(sa_size_t n) const ;
     34  virtual r_8 GetCell( sa_size_t n, sa_size_t k) const ;
    3535  virtual string VarList_C(const char* nomx=NULL) const ;
    3636
Note: See TracChangeset for help on using the changeset viewer.