Changeset 1413 in Sophya for trunk/SophyaLib/HiStats/histos2.h


Ignore:
Timestamp:
Feb 20, 2001, 7:29:48 PM (25 years ago)
Author:
ansari
Message:

Methode Show et operateur << pour Histos - Reza 20/2/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/HiStats/histos2.h

    r1109 r1413  
    138138
    139139  // Print et Display ASCII
    140   void PrintStatus() const;
     140  virtual void Show(ostream& os) const;
     141  inline void  PrintStatus() const { Show(cout); }
     142 
    141143  void Print(r_8 min=1.,r_8 max=-1.
    142144            ,int_4 il=1,int_4 ih= -1,int_4 jl=1,int_4 jh= -1) const;
     
    237239};
    238240
     241/*! Prints histogram information on stream \b s (h.Show(s)) */
     242inline ostream& operator << (ostream& s, Histo2D const & h)
     243  {  h.Show(s);  return(s);  }
     244
    239245/////////////////////////////////////////////////////////////////////////
    240246// Classe pour la gestion de persistance
Note: See TracChangeset for help on using the changeset viewer.