Changeset 3153 in Sophya


Ignore:
Timestamp:
Jan 19, 2007, 4:58:39 PM (19 years ago)
Author:
ansari
Message:

Adaptation+petites corrections, suite gestion P1D,P2DArrayAdapter::DecodeOptionString() ::OptionToString() par PIImage et PISurfDrawer, Reza 19/01/2007

Location:
trunk/SophyaPI/PIext
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nomherradapter.cc

    r3149 r3153  
    252252{
    253253Histo2DErrWrapper* hwp = new Histo2DErrWrapper(mHerr, false);
    254 vector<string> vopts;
    255 FillVStringFrString(dopt,vopts,' ');
    256 hwp->DecodeOptionString(vopts,false);
    257254return hwp;
    258255}
  • trunk/SophyaPI/PIext/nomhistadapter.cc

    r3149 r3153  
    340340{
    341341Histo2DWrapper* hwp = new Histo2DWrapper(mHis, false);
    342 vector<string> vopts;
    343 FillVStringFrString(dopt,vopts,' ');
    344 hwp->DecodeOptionString(vopts,false);
    345342return hwp;
    346343}
  • trunk/SophyaPI/PIext/phistwrapper.h

    r3145 r3153  
    5252  virtual int GetStatInfoAsText(vector<string> &  text );
    5353
    54 //   Methode de decodage des options - avec implementation par defaut
    55 //   l'implementation par defaut ds le fichier pihisto.cc
     54//   Methode de decodage des options - herite de P1DArrayAdapter
     55//   implementation ds le fichier pihisto.cc
    5656  virtual int DecodeOptionString(vector<string> & opt, bool rmdecopt=true);
    57 //   liste des options sous forme text (ds pihisto.cc )
     57//   liste des options sous forme text - herite de P1DArrayAdapter (ds pihisto.cc )
    5858  virtual int OptionToString(vector<string> & opt) const;
    5959
     
    108108  virtual int GetStatInfoAsText(vector<string> &  text );
    109109
    110 //   Methode de decodage des options - avec implementation par defaut
    111 //   l'implementation par defaut ds le fichier pihisto.cc
     110//   Methode de decodage des options - herite de P2DArrayAdapter
     111//   l'implementation ds le fichier pihisto2d.cc
    112112  virtual int DecodeOptionString(vector<string> & opt, bool rmdecopt=true);
    113 //   liste des options sous forme text (ds pihisto.cc )
     113//   liste des options sous forme text - herite de P2DArrayAdapter (ds pihisto2d.cc )
    114114  virtual int OptionToString(vector<string> & opt) const;
    115115
  • trunk/SophyaPI/PIext/pihisto.cc

    r3149 r3153  
    310310 opt.push_back(str);
    311311
    312  mHistoWp->OptionToString(opt);
     312 if (mHistoWp) mHistoWp->OptionToString(opt);
    313313 return 1;
    314314}
  • trunk/SophyaPI/PIext/pihisto2d.cc

    r3149 r3153  
    715715
    716716 // Les options du Histo2DWrapper :
    717  mHistoWp->OptionToString(opt);
     717 if(mHistoWp) mHistoWp->OptionToString(opt);
    718718 return 1;
    719719}
Note: See TracChangeset for help on using the changeset viewer.