Changeset 1214 in Sophya for trunk/SophyaPI/PIext


Ignore:
Timestamp:
Sep 30, 2000, 1:03:24 PM (25 years ago)
Author:
ercodmgr
Message:

bugs et oublis dans GetDataObjType cmv 30/9/00

Location:
trunk/SophyaPI/PIext
Files:
3 edited

Legend:

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

    r1207 r1214  
    4343{
    4444HProf * hp = dynamic_cast<HProf *>(mHis);
    45 if(hp==NULL) return("HProf ");
    46 else return("Histo ");
     45if(hp) return("HProf "); else return("Histo ");
    4746}
    4847
  • trunk/SophyaPI/PIext/nomimagadapter.cc

    r1207 r1214  
    4242if (im) return ( new NOMAdapter_Image<T>(im) );
    4343return ( new NObjMgrAdapter(o) );
     44}
     45
     46/* --Methode-- */
     47template <class T>
     48string NOMAdapter_Image<T>::GetDataObjType()
     49{
     50string type = "Image< ";
     51type +=  typeid(T).name();
     52type +=  " > ";
     53return(type);
    4454}
    4555
  • trunk/SophyaPI/PIext/nomimagadapter.h

    r1207 r1214  
    2424
    2525  virtual NObjMgrAdapter*       Clone(AnyDataObj* o);
     26  virtual string                GetDataObjType();
    2627  virtual AnyDataObj*           CloneDataObj();
    2728
Note: See TracChangeset for help on using the changeset viewer.