Changeset 2346 in Sophya for trunk/SophyaLib/Samba/mlobe.h


Ignore:
Timestamp:
Mar 18, 2003, 11:25:13 AM (23 years ago)
Author:
ansari
Message:

Correction declaration ostream << ds MainLobe - Reza+cmv 18/03/2003

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/mlobe.h

    r2322 r2346  
    3535               double   Value(int kpx, float& teta, float& phi);
    3636               double   Convol(SphericalMap<double>& sph);
    37         friend ostream& operator << (ostream& s, MainLobe const& lob);
    38         inline void     Print() { cout << (*this); }
     37               void     Print(ostream& os) const;
    3938
    4039float mSigma, mDels;
     
    5251};
    5352
     53inline ostream& operator << (ostream& s, MainLobe const & ml)
     54  {  ml.Print(s);  return(s);  }
     55
    5456} // namespace SOPHYA
    5557
Note: See TracChangeset for help on using the changeset viewer.