Ignore:
Timestamp:
Jul 25, 2000, 12:20:52 PM (25 years ago)
Author:
ercodmgr
Message:

updatehisto formalisation cmv 25/7/00

File:
1 edited

Legend:

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

    r1057 r1090  
    3838AnyDataObj* NOMAdapter_Histo::GetCopyObj()
    3939{
     40mHis->UpdateHisto();  // pour le cas ou c'est un HProf
    4041HProf * hp = dynamic_cast<HProf *>(mHis);
    41 if (hp == NULL) return( new Histo(*mHis) );
    42 // C'est un HProf, il faut l'updater si on le copie
    43 //   car seule la partie "Histo" est copiee!
    44 if( !(hp->IsOk()) ) hp->UpdateHisto();
     42if(hp==NULL) return( new Histo(*mHis) );
    4543return( new HProf(*hp) );
    4644}
Note: See TracChangeset for help on using the changeset viewer.