Changeset 2229 in Sophya for trunk/SophyaPI/PIext/pihisto.h


Ignore:
Timestamp:
Oct 24, 2002, 11:17:29 PM (23 years ago)
Author:
cmv
Message:

Gestion des options graph. cmv 24/10/02

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/pihisto.h

    r1971 r2229  
    1414  virtual void       Draw(PIGraphicUC* g, double xmin, double ymin, double xmax, double ymax);
    1515  virtual void       UpdateLimits();
    16   inline  void       SetStats(bool fg=true) { stats = fg; }
    17   inline  Histo*     Histogram() { return(mHisto); }
     16  inline  void       SetStats(bool fg=true) {stats=fg;}
     17  // fg=-1 pas de barre d'erreur, 1=barres d'erreurs,
     18  // 0=barres d'erreurs automatiques: trace si HProf ou markeur demande
     19  inline  void       SetError(unsigned short fg=0) {error=fg;}
     20  inline  Histo*     Histogram() {return(mHisto);}
    1821
    1922//   Methode de decodage des options
    2023  virtual int        DecodeOptionString(vector<string> & opt, bool rmdecopt=true);
     24  virtual void       GetOptionsHelpInfo(string& info);
    2125
    2226protected:
     
    2428  Histo* mHisto;
    2529  bool mAdDO;
    26   bool stats;        // true -> indication des stats d'histo
     30  bool stats,error;
    2731};
    2832
Note: See TracChangeset for help on using the changeset viewer.