Changeset 2885 in Sophya for trunk/SophyaLib/NTools/cimage.h


Ignore:
Timestamp:
Jan 4, 2006, 2:36:47 PM (20 years ago)
Author:
ansari
Message:

Modifs (ajout this->) pour compilation avec g++ 4 (V >= 3.4) - Reza 4 Jan 2006

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/cimage.h

    r1390 r2885  
    3333
    3434  //! Returns the image size along X (corresponding to the number of columns) 
    35   inline sa_size_t  XSize() const {return NCols();}
     35  inline sa_size_t  XSize() const {return this->NCols();}
    3636  //! Returns the image size along Y (corresponding to the number of lines) 
    37   inline sa_size_t  YSize() const {return NRows();}
     37  inline sa_size_t  YSize() const {return this->NRows();}
    3838
    3939  //! Returns the X position, for pixel(0,0)
     
    8989  //  virtual ~FIO_Image(); 
    9090  virtual void        SetDataObj(AnyDataObj & o);
    91   inline operator Image<T>() { return(*(dynamic_cast<Image<T> * >(dobj))); }
     91  inline operator Image<T>() { return(*(dynamic_cast<Image<T> * >(this->dobj))); }
    9292protected :
    9393  virtual void ReadSelf(PInPersist&);           
Note: See TracChangeset for help on using the changeset viewer.