Changeset 1224 in Sophya for trunk/SophyaPI


Ignore:
Timestamp:
Oct 11, 2000, 7:26:43 PM (25 years ago)
Author:
ercodmgr
Message:

Ajout de cxxexecutor (Execution C++ en ligne ds piapp) - CMV+Reza 11/10/2000

Location:
trunk/SophyaPI/PIext
Files:
2 added
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/Makefile

    r1164 r1224  
    44 
    55all: $(LIB)libPIext.a
    6 $(LIB)libPIext.a : $(OBJ)basexecut.o $(OBJ)nobjmgr.o $(OBJ)nomgadapter.o $(OBJ)nomgfdadapter.o $(OBJ)nomhistadapter.o $(OBJ)nomimagadapter.o $(OBJ)nomskymapadapter.o $(OBJ)nomspecrespadapter.o $(OBJ)nomtmatvecadapter.o $(OBJ)pawexecut.o $(OBJ)piacmd.o $(OBJ)piafitting.o $(OBJ)pigfd1.o $(OBJ)pigfd2.o $(OBJ)pihisto.o $(OBJ)pihisto2d.o $(OBJ)piinit.o $(OBJ)pintup3d.o $(OBJ)pintuple.o $(OBJ)pipodrw.o $(OBJ)pisiadw.o $(OBJ)pistdimgapp.o $(OBJ)pitvmaad.o $(OBJ)servnobjm.o
     6$(LIB)libPIext.a : $(OBJ)basexecut.o $(OBJ)cxxexecutor.o $(OBJ)nobjmgr.o $(OBJ)nomgadapter.o $(OBJ)nomgfdadapter.o $(OBJ)nomhistadapter.o $(OBJ)nomimagadapter.o $(OBJ)nomskymapadapter.o $(OBJ)nomspecrespadapter.o $(OBJ)nomtmatvecadapter.o $(OBJ)pawexecut.o $(OBJ)piacmd.o $(OBJ)piafitting.o $(OBJ)pigfd1.o $(OBJ)pigfd2.o $(OBJ)pihisto.o $(OBJ)pihisto2d.o $(OBJ)piinit.o $(OBJ)pintup3d.o $(OBJ)pintuple.o $(OBJ)pipodrw.o $(OBJ)pisiadw.o $(OBJ)pistdimgapp.o $(OBJ)pitvmaad.o $(OBJ)servnobjm.o
    77        $(AR) $(ARFLAGS)  $@ $?
    88ifeq ($(CXX),cxx)
     
    1111 
    1212clean:
    13         rm -f $(OBJ)basexecut.o $(OBJ)nobjmgr.o $(OBJ)nomgadapter.o $(OBJ)nomgfdadapter.o $(OBJ)nomhistadapter.o $(OBJ)nomimagadapter.o $(OBJ)nomskymapadapter.o $(OBJ)nomspecrespadapter.o $(OBJ)nomtmatvecadapter.o $(OBJ)pawexecut.o $(OBJ)piacmd.o $(OBJ)piafitting.o $(OBJ)pigfd1.o $(OBJ)pigfd2.o $(OBJ)pihisto.o $(OBJ)pihisto2d.o $(OBJ)piinit.o $(OBJ)pintup3d.o $(OBJ)pintuple.o $(OBJ)pipodrw.o $(OBJ)pisiadw.o $(OBJ)pistdimgapp.o $(OBJ)pitvmaad.o $(OBJ)servnobjm.o
     13        rm -f $(OBJ)basexecut.o $(OBJ)cxxexecutor.o $(OBJ)nobjmgr.o $(OBJ)nomgadapter.o $(OBJ)nomgfdadapter.o $(OBJ)nomhistadapter.o $(OBJ)nomimagadapter.o $(OBJ)nomskymapadapter.o $(OBJ)nomspecrespadapter.o $(OBJ)nomtmatvecadapter.o $(OBJ)pawexecut.o $(OBJ)piacmd.o $(OBJ)piafitting.o $(OBJ)pigfd1.o $(OBJ)pigfd2.o $(OBJ)pihisto.o $(OBJ)pihisto2d.o $(OBJ)piinit.o $(OBJ)pintup3d.o $(OBJ)pintuple.o $(OBJ)pipodrw.o $(OBJ)pisiadw.o $(OBJ)pistdimgapp.o $(OBJ)pitvmaad.o $(OBJ)servnobjm.o
    1414ifeq ($(CXX),cxx)
    1515        cd $(REPM); rm -f *.o
     
    9393 $(INC)generaldata.h \
    9494 $(INC)poly.h
     95$(OBJ)cxxexecutor.o: cxxexecutor.cc cxxexecutor.h \
     96 $(INC)machdefs.h piacmd.h dlftypes.h \
     97 $(INC)pdlmgr.h nobjmgr.h \
     98 $(INC)anydataobj.h \
     99 $(INC)ppersist.h \
     100 $(INC)pexceptions.h \
     101 $(INC)gnumd5.h \
     102 $(INC)dvlist.h \
     103 $(INC)objfio.h \
     104 $(INC)mutyv.h nomgadapter.h \
     105 $(INC)pidrawer.h \
     106 $(INC)pibwdggen.h \
     107 $(INC)pisysdep.h \
     108 $(INC)piwdgx.h \
     109 $(INC)piwdggen.h \
     110 $(INC)pimsghandler.h \
     111 $(INC)picolist.h \
     112 $(INC)picmap.h \
     113 $(INC)picmapx.h \
     114 $(INC)picmapgen.h \
     115 $(INC)pigraphx.h \
     116 $(INC)pigraphgen.h \
     117 $(INC)pifontx.h \
     118 $(INC)pifontgen.h \
     119 $(INC)pigraphuc.h \
     120 $(INC)pievthandler.h \
     121 $(INC)psfile.h \
     122 $(INC)parradapter.h \
     123 $(INC)lut.h \
     124 $(INC)ntupintf.h \
     125 $(INC)generalfit.h \
     126 $(INC)tvector.h \
     127 $(INC)tmatrix.h \
     128 $(INC)tarray.h \
     129 $(INC)basarr.h \
     130 $(INC)ndatablock.h \
     131 $(INC)utilarr.h \
     132 $(INC)generaldata.h \
     133 $(INC)poly.h \
     134 $(INC)peida.h \
     135 $(INC)utils.h \
     136 $(INC)perrors.h \
     137 $(INC)fmath.h pistdimgapp.h \
     138 $(INC)piapplx.h \
     139 $(INC)piapplgen.h \
     140 $(INC)picontainerx.h \
     141 $(INC)picontainergen.h \
     142 $(INC)pimenubarx.h \
     143 $(INC)pimenubargen.h \
     144 $(INC)pimenux.h \
     145 $(INC)pimenugen.h \
     146 $(INC)picons.h \
     147 $(INC)pistdwdgx.h \
     148 $(INC)pistdwdggen.h \
     149 $(INC)pibwdgx.h \
     150 $(INC)pigraphps.h \
     151 $(INC)piwindowx.h \
     152 $(INC)piwindowgen.h \
     153 $(INC)pioptmenux.h \
     154 $(INC)pioptmenugen.h \
     155 $(INC)pifilechox.h \
     156 $(INC)pifilechogen.h \
     157 $(INC)piimage.h \
     158 $(INC)pipixmapx.h \
     159 $(INC)pipixmapgen.h \
     160 $(INC)picmapview.h \
     161 $(INC)pi3ddrw.h \
     162 $(INC)pigraph3d.h pisiadw.h \
     163 $(INC)pilistx.h \
     164 $(INC)pilistgen.h \
     165 $(INC)pistzwin.h \
     166 $(INC)piperiodx.h \
     167 $(INC)periodic.h
    95168$(OBJ)nobjmgr.o: nobjmgr.cc $(INC)strutil.h \
    96169 $(INC)datatypes.h \
     
    123196 $(INC)parradapter.h \
    124197 $(INC)lut.h \
    125  $(INC)ntupintf.h pistdimgapp.h \
     198 $(INC)ntupintf.h \
     199 $(INC)generalfit.h \
     200 $(INC)tvector.h \
     201 $(INC)tmatrix.h \
     202 $(INC)tarray.h \
     203 $(INC)basarr.h \
     204 $(INC)ndatablock.h \
     205 $(INC)utilarr.h \
     206 $(INC)generaldata.h \
     207 $(INC)poly.h \
     208 $(INC)peida.h \
     209 $(INC)utils.h \
     210 $(INC)perrors.h \
     211 $(INC)fmath.h pistdimgapp.h \
    126212 $(INC)piapplx.h \
    127213 $(INC)piapplgen.h \
     
    156242 $(INC)pisurfdr.h pipodrw.h \
    157243 $(INC)histos2.h \
    158  $(INC)peida.h \
    159  $(INC)utils.h \
    160  $(INC)perrors.h \
    161  $(INC)fmath.h \
    162  $(INC)histos.h \
    163  $(INC)tvector.h \
    164  $(INC)tmatrix.h \
    165  $(INC)tarray.h \
    166  $(INC)basarr.h \
    167  $(INC)ndatablock.h \
    168  $(INC)utilarr.h pintuple.h pintup3d.h \
    169  pigfd1.h $(INC)generaldata.h \
    170  $(INC)poly.h pigfd2.h
     244 $(INC)histos.h pintuple.h pintup3d.h \
     245 pigfd1.h pigfd2.h
    171246$(OBJ)nomgadapter.o: nomgadapter.cc \
    172247 $(INC)machdefs.h nomgadapter.h \
     
    194269 $(INC)parradapter.h \
    195270 $(INC)lut.h \
    196  $(INC)ntupintf.h
     271 $(INC)ntupintf.h \
     272 $(INC)generalfit.h \
     273 $(INC)tvector.h \
     274 $(INC)tmatrix.h \
     275 $(INC)tarray.h \
     276 $(INC)basarr.h \
     277 $(INC)mutyv.h \
     278 $(INC)dvlist.h \
     279 $(INC)objfio.h \
     280 $(INC)ndatablock.h \
     281 $(INC)utilarr.h \
     282 $(INC)generaldata.h \
     283 $(INC)poly.h \
     284 $(INC)peida.h \
     285 $(INC)utils.h \
     286 $(INC)perrors.h \
     287 $(INC)fmath.h
    197288$(OBJ)nomgfdadapter.o: nomgfdadapter.cc \
    198289 $(INC)machdefs.h nomgfdadapter.h \
     
    221312 $(INC)lut.h \
    222313 $(INC)ntupintf.h \
    223  $(INC)generaldata.h \
    224  $(INC)objfio.h \
     314 $(INC)generalfit.h \
     315 $(INC)tvector.h \
     316 $(INC)tmatrix.h \
     317 $(INC)tarray.h \
     318 $(INC)basarr.h \
     319 $(INC)mutyv.h \
     320 $(INC)dvlist.h \
     321 $(INC)objfio.h \
     322 $(INC)ndatablock.h \
     323 $(INC)utilarr.h \
     324 $(INC)generaldata.h \
    225325 $(INC)poly.h \
    226326 $(INC)peida.h \
    227327 $(INC)utils.h \
    228328 $(INC)perrors.h \
    229  $(INC)fmath.h \
    230  $(INC)tvector.h \
    231  $(INC)tmatrix.h \
    232  $(INC)tarray.h \
    233  $(INC)basarr.h \
    234  $(INC)mutyv.h \
    235  $(INC)dvlist.h \
    236  $(INC)ndatablock.h \
    237  $(INC)utilarr.h pipodrw.h \
     329 $(INC)fmath.h pipodrw.h \
    238330 $(INC)histos2.h \
    239  $(INC)histos.h
     331 $(INC)histos.h \
     332 $(INC)objfitter.h \
     333 $(INC)cimage.h \
     334 $(INC)fioarr.h \
     335 $(INC)hisprof.h
    240336$(OBJ)nomhistadapter.o: nomhistadapter.cc \
    241337 $(INC)machdefs.h nomhistadapter.h \
     
    264360 $(INC)lut.h \
    265361 $(INC)ntupintf.h \
     362 $(INC)generalfit.h \
     363 $(INC)tvector.h \
     364 $(INC)tmatrix.h \
     365 $(INC)tarray.h \
     366 $(INC)basarr.h \
     367 $(INC)mutyv.h \
     368 $(INC)dvlist.h \
     369 $(INC)objfio.h \
     370 $(INC)ndatablock.h \
     371 $(INC)utilarr.h \
     372 $(INC)generaldata.h \
     373 $(INC)poly.h \
     374 $(INC)peida.h \
     375 $(INC)utils.h \
     376 $(INC)perrors.h \
     377 $(INC)fmath.h \
    266378 $(INC)histos.h \
    267  $(INC)objfio.h \
    268  $(INC)peida.h \
    269  $(INC)utils.h \
    270  $(INC)perrors.h \
    271  $(INC)fmath.h \
    272  $(INC)tvector.h \
    273  $(INC)tmatrix.h \
    274  $(INC)tarray.h \
    275  $(INC)basarr.h \
    276  $(INC)mutyv.h \
    277  $(INC)dvlist.h \
    278  $(INC)ndatablock.h \
    279  $(INC)utilarr.h \
    280379 $(INC)histos2.h \
    281380 $(INC)hisprof.h \
     
    297396 $(INC)picontainerx.h \
    298397 $(INC)picontainergen.h pipodrw.h servnobjm.h \
    299  $(INC)pdlmgr.h dlftypes.h
     398 $(INC)pdlmgr.h dlftypes.h \
     399 $(INC)objfitter.h \
     400 $(INC)cimage.h \
     401 $(INC)fioarr.h
    300402$(OBJ)nomimagadapter.o: nomimagadapter.cc \
    301403 $(INC)machdefs.h nomimagadapter.h \
     
    324426 $(INC)lut.h \
    325427 $(INC)ntupintf.h \
     428 $(INC)generalfit.h \
     429 $(INC)tvector.h \
     430 $(INC)tmatrix.h \
     431 $(INC)tarray.h \
     432 $(INC)basarr.h \
     433 $(INC)mutyv.h \
     434 $(INC)dvlist.h \
     435 $(INC)objfio.h \
     436 $(INC)ndatablock.h \
     437 $(INC)utilarr.h \
     438 $(INC)generaldata.h \
     439 $(INC)poly.h \
     440 $(INC)peida.h \
     441 $(INC)utils.h \
     442 $(INC)perrors.h \
     443 $(INC)fmath.h \
    326444 $(INC)cimage.h \
    327  $(INC)tmatrix.h \
    328  $(INC)tarray.h \
    329  $(INC)basarr.h \
    330  $(INC)mutyv.h \
    331  $(INC)dvlist.h \
    332  $(INC)objfio.h \
    333  $(INC)ndatablock.h \
    334  $(INC)utilarr.h \
    335  $(INC)fioarr.h \
    336  $(INC)tvector.h pimgadapter.h
     445 $(INC)fioarr.h pimgadapter.h \
     446 $(INC)objfitter.h \
     447 $(INC)histos.h \
     448 $(INC)histos2.h \
     449 $(INC)hisprof.h
    337450$(OBJ)nomskymapadapter.o: nomskymapadapter.cc \
    338451 $(INC)machdefs.h nomskymapadapter.h \
     
    361474 $(INC)lut.h \
    362475 $(INC)ntupintf.h \
    363  $(INC)tmatrix.h \
    364  $(INC)tarray.h \
    365  $(INC)basarr.h \
    366  $(INC)mutyv.h \
    367  $(INC)dvlist.h \
    368  $(INC)objfio.h \
    369  $(INC)ndatablock.h \
    370  $(INC)utilarr.h \
     476 $(INC)generalfit.h \
     477 $(INC)tvector.h \
     478 $(INC)tmatrix.h \
     479 $(INC)tarray.h \
     480 $(INC)basarr.h \
     481 $(INC)mutyv.h \
     482 $(INC)dvlist.h \
     483 $(INC)objfio.h \
     484 $(INC)ndatablock.h \
     485 $(INC)utilarr.h \
     486 $(INC)generaldata.h \
     487 $(INC)poly.h \
     488 $(INC)peida.h \
     489 $(INC)utils.h \
     490 $(INC)perrors.h \
     491 $(INC)fmath.h \
    371492 $(INC)pixelmap.h \
    372493 $(INC)spherepos.h \
     
    379500 $(INC)sphericalmap.h \
    380501 $(INC)smathconst.h \
    381  $(INC)tvector.h \
    382502 $(INC)spherehealpix.h \
     503 $(INC)HEALPixUtils.h \
    383504 $(INC)localmap.h \
    384505 $(INC)fiospherethetaphi.h \
     
    412533 $(INC)lut.h \
    413534 $(INC)ntupintf.h \
     535 $(INC)generalfit.h \
     536 $(INC)tvector.h \
     537 $(INC)tmatrix.h \
     538 $(INC)tarray.h \
     539 $(INC)basarr.h \
     540 $(INC)mutyv.h \
     541 $(INC)dvlist.h \
     542 $(INC)objfio.h \
     543 $(INC)ndatablock.h \
     544 $(INC)utilarr.h \
     545 $(INC)generaldata.h \
     546 $(INC)poly.h \
     547 $(INC)peida.h \
     548 $(INC)utils.h \
     549 $(INC)perrors.h \
     550 $(INC)fmath.h \
    414551 $(INC)specresp.h \
    415552 $(INC)specrespvector.h \
    416  $(INC)tvector.h \
    417  $(INC)tmatrix.h \
    418  $(INC)tarray.h \
    419  $(INC)basarr.h \
    420  $(INC)mutyv.h \
    421  $(INC)dvlist.h \
    422  $(INC)objfio.h \
    423  $(INC)ndatablock.h \
    424  $(INC)utilarr.h \
    425553 $(INC)gaussfilt.h
    426554$(OBJ)nomtmatvecadapter.o: nomtmatvecadapter.cc \
     
    438566 $(INC)gnumd5.h \
    439567 $(INC)ndatablock.h \
    440  $(INC)utilarr.h nomtmatvecadapter.h \
     568 $(INC)utilarr.h \
     569 $(INC)objfitter.h \
     570 $(INC)cimage.h \
     571 $(INC)fioarr.h \
     572 $(INC)histos.h \
     573 $(INC)peida.h \
     574 $(INC)utils.h \
     575 $(INC)perrors.h \
     576 $(INC)fmath.h \
     577 $(INC)histos2.h \
     578 $(INC)hisprof.h \
     579 $(INC)generalfit.h \
     580 $(INC)generaldata.h \
     581 $(INC)ntupintf.h \
     582 $(INC)poly.h nomtmatvecadapter.h \
    441583 nomgadapter.h $(INC)pidrawer.h \
    442584 $(INC)pibwdggen.h \
     
    458600 $(INC)parradapter.h \
    459601 $(INC)lut.h \
    460  $(INC)ntupintf.h \
    461602 $(INC)piscdrawwdg.h \
    462603 $(INC)pibwdgx.h \
     
    467608 $(INC)piwindowgen.h \
    468609 $(INC)picontainerx.h \
    469  $(INC)picontainergen.h pitvmaad.h \
    470  $(INC)fioarr.h
     610 $(INC)picontainergen.h pitvmaad.h
    471611$(OBJ)pawexecut.o: pawexecut.cc $(INC)strutil.h \
    472612 $(INC)histos.h \
     
    601741 $(INC)pistzwin.h \
    602742 $(INC)piperiodx.h \
    603  $(INC)periodic.h piafitting.h \
    604  $(INC)tvector.h \
    605  $(INC)tmatrix.h \
    606  $(INC)tarray.h \
    607  $(INC)basarr.h \
    608  $(INC)ndatablock.h \
    609  $(INC)utilarr.h pawexecut.h
     743 $(INC)periodic.h piafitting.h nomgadapter.h \
     744 $(INC)ntupintf.h \
     745 $(INC)generalfit.h \
     746 $(INC)tvector.h \
     747 $(INC)tmatrix.h \
     748 $(INC)tarray.h \
     749 $(INC)basarr.h \
     750 $(INC)ndatablock.h \
     751 $(INC)utilarr.h \
     752 $(INC)generaldata.h \
     753 $(INC)poly.h \
     754 $(INC)peida.h \
     755 $(INC)utils.h \
     756 $(INC)perrors.h \
     757 $(INC)fmath.h pawexecut.h cxxexecutor.h
    610758$(OBJ)piafitting.o: piafitting.cc $(INC)strutil.h \
    611759 $(INC)nbtri.h \
     
    640788 $(INC)histos2.h \
    641789 $(INC)hisprof.h \
    642  $(INC)objfitter.h piafitting.h \
     790 $(INC)objfitter.h piafitting.h nomgadapter.h \
     791 $(INC)pidrawer.h \
     792 $(INC)pibwdggen.h \
     793 $(INC)pisysdep.h \
     794 $(INC)piwdgx.h \
     795 $(INC)piwdggen.h \
     796 $(INC)pimsghandler.h \
     797 $(INC)picolist.h \
     798 $(INC)picmap.h \
     799 $(INC)picmapx.h \
     800 $(INC)picmapgen.h \
     801 $(INC)pigraphx.h \
     802 $(INC)pigraphgen.h \
     803 $(INC)pifontx.h \
     804 $(INC)pifontgen.h \
     805 $(INC)pigraphuc.h \
     806 $(INC)pievthandler.h \
     807 $(INC)psfile.h \
     808 $(INC)parradapter.h \
     809 $(INC)lut.h \
    643810 $(INC)pdlmgr.h dlftypes.h piacmd.h nobjmgr.h \
    644  pistdimgapp.h $(INC)pisysdep.h \
    645  $(INC)piapplx.h \
     811 pistdimgapp.h $(INC)piapplx.h \
    646812 $(INC)piapplgen.h \
    647  $(INC)pimsghandler.h \
    648813 $(INC)picontainerx.h \
    649814 $(INC)picontainergen.h \
    650  $(INC)piwdgx.h \
    651  $(INC)piwdggen.h \
    652  $(INC)picolist.h \
    653815 $(INC)pimenubarx.h \
    654816 $(INC)pimenubargen.h \
     
    659821 $(INC)pistdwdggen.h \
    660822 $(INC)pibwdgx.h \
    661  $(INC)pibwdggen.h \
    662  $(INC)picmap.h \
    663  $(INC)picmapx.h \
    664  $(INC)picmapgen.h \
    665  $(INC)pigraphx.h \
    666  $(INC)pigraphgen.h \
    667  $(INC)pifontx.h \
    668  $(INC)pifontgen.h \
    669  $(INC)pigraphuc.h \
    670  $(INC)pievthandler.h \
    671  $(INC)psfile.h \
    672823 $(INC)pigraphps.h \
    673824 $(INC)piwindowx.h \
     
    678829 $(INC)pifilechogen.h \
    679830 $(INC)piimage.h \
    680  $(INC)parradapter.h \
    681  $(INC)lut.h \
    682  $(INC)pidrawer.h \
    683831 $(INC)pipixmapx.h \
    684832 $(INC)pipixmapgen.h \
     
    690838 $(INC)pistzwin.h \
    691839 $(INC)piperiodx.h \
    692  $(INC)periodic.h
     840 $(INC)periodic.h nomhistadapter.h \
     841 $(INC)xntuple.h nomgfdadapter.h \
     842 nomimagadapter.h nomtmatvecadapter.h
    693843$(OBJ)pigfd1.o: pigfd1.cc pigfd1.h \
    694844 $(INC)generaldata.h \
     
    9321082 nomhistadapter.h nomgadapter.h \
    9331083 $(INC)ntupintf.h \
     1084 $(INC)generalfit.h \
     1085 $(INC)tvector.h \
     1086 $(INC)tmatrix.h \
     1087 $(INC)tarray.h \
     1088 $(INC)basarr.h \
     1089 $(INC)ndatablock.h \
     1090 $(INC)utilarr.h \
     1091 $(INC)generaldata.h \
     1092 $(INC)poly.h \
     1093 $(INC)peida.h \
     1094 $(INC)utils.h \
     1095 $(INC)perrors.h \
     1096 $(INC)fmath.h \
    9341097 $(INC)histos.h \
    935  $(INC)peida.h \
    936  $(INC)utils.h \
    937  $(INC)perrors.h \
    938  $(INC)fmath.h \
    939  $(INC)tvector.h \
    940  $(INC)tmatrix.h \
    941  $(INC)tarray.h \
    942  $(INC)basarr.h \
    943  $(INC)ndatablock.h \
    944  $(INC)utilarr.h \
    9451098 $(INC)histos2.h \
    9461099 $(INC)hisprof.h \
    9471100 $(INC)ntuple.h \
    9481101 $(INC)xntuple.h nomgfdadapter.h \
    949  $(INC)generaldata.h \
    950  $(INC)poly.h nomimagadapter.h \
    951  $(INC)cimage.h \
     1102 nomimagadapter.h $(INC)cimage.h \
    9521103 $(INC)fioarr.h nomtmatvecadapter.h \
    9531104 nomskymapadapter.h $(INC)pixelmap.h \
     
    9611112 $(INC)smathconst.h \
    9621113 $(INC)spherehealpix.h \
     1114 $(INC)HEALPixUtils.h \
    9631115 $(INC)localmap.h \
    9641116 $(INC)specrespvector.h \
     
    12471399 $(INC)parradapter.h \
    12481400 $(INC)lut.h \
    1249  $(INC)ntupintf.h pistdimgapp.h \
     1401 $(INC)ntupintf.h \
     1402 $(INC)generalfit.h \
     1403 $(INC)tvector.h \
     1404 $(INC)tmatrix.h \
     1405 $(INC)tarray.h \
     1406 $(INC)basarr.h \
     1407 $(INC)ndatablock.h \
     1408 $(INC)utilarr.h \
     1409 $(INC)generaldata.h \
     1410 $(INC)poly.h \
     1411 $(INC)peida.h \
     1412 $(INC)utils.h \
     1413 $(INC)perrors.h \
     1414 $(INC)fmath.h pistdimgapp.h \
    12501415 $(INC)piapplx.h \
    12511416 $(INC)piapplgen.h \
     
    12791444 $(INC)periodic.h \
    12801445 $(INC)fct1dfit.h \
    1281  $(INC)generalfit.h \
    1282  $(INC)tvector.h \
    1283  $(INC)tmatrix.h \
    1284  $(INC)tarray.h \
    1285  $(INC)basarr.h \
    1286  $(INC)ndatablock.h \
    1287  $(INC)utilarr.h \
    1288  $(INC)generaldata.h \
    1289  $(INC)poly.h \
    1290  $(INC)peida.h \
    1291  $(INC)utils.h \
    1292  $(INC)perrors.h \
    1293  $(INC)fmath.h \
    12941446 $(INC)fct2dfit.h pitvmaad.h \
    12951447 $(INC)ntuple.h \
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r1207 r1224  
    204204#endif
    205205  myVars->SetS(key, val);
     206  //  cout << " DEBUG::SetVar " << *myVars << endl;
    206207  return(fg);
    207208}
     
    230231string NamedObjMgr::GetVar(string const & key)
    231232{
     233  //  cout << " DEBUG::GetVar " << *myVars << endl;
    232234  return(myVars->GetS(key));
    233235}
     
    236238DVList& NamedObjMgr::GetVarList()
    237239{
     240  //  cout << " DEBUG::GetVarList " << *myVars << endl;
    238241  return(*myVars);
    239242}
     
    526529}
    527530
     531bool NamedObjMgr::AddObj(AnyDataObj& obj, string & nom, bool crd)
     532{
     533NObjMgrAdapter* adap = GetServiceObj()->GetAdapter(&obj);
     534if (adap == NULL) {
     535  cout << "NamedObjMgr::AddObj() No Adapter !   " << nom << endl;
     536  return(false);
     537}
     538AnyDataObj * cloneobj = adap->CloneDataObj();
     539delete adap;
     540if (cloneobj == NULL) {
     541  cout << "NamedObjMgr::AddObj() Pb cloning object ! " << nom << endl;
     542  return(false);
     543}
     544return ( AddObj(cloneobj , nom, crd) );
     545}
     546
    528547/* --Methode-- */
    529548bool NamedObjMgr::RenameObj(string & nom, string& nomnew)
  • trunk/SophyaPI/PIext/nobjmgr.h

    r1207 r1224  
    5353//  Pour ajouter, supprimer et acceder aux objets
    5454  virtual bool          AddObj(AnyDataObj* obj, string & nom, bool crd=false);
     55  virtual bool          AddObj(AnyDataObj& obj, string & nom, bool crd=false);
    5556  virtual bool          RenameObj(string & nom, string& nomnew);
    5657  virtual bool          DelObj(string & nom, bool fgd=true);
  • trunk/SophyaPI/PIext/nomgadapter.cc

    r1222 r1224  
    143143}
    144144
    145 /* --Methode-- */
    146 string NObjMgrAdapter::DecodeTypeIdName(string linuxtype)
    147 // seulement pour Linux qui ne code pas correctement
    148 {
    149 #if defined(Linux)  || defined(linux)
    150   string type("");
    151   const char* str = linuxtype.c_str();
    152   int lstr = (int) strlen(str);
    153   if(lstr<=0) return string("Linux Decoding error: lstr<=0");
    154 
    155   // Le dernier caractere donne le type
    156   lstr--;
    157   if     (str[lstr]=='v') type = "void";
    158   else if(str[lstr]=='b') type = "bool";
    159   else if(str[lstr]=='c') type = "char";
    160   else if(str[lstr]=='s') type = "short";
    161   else if(str[lstr]=='i') type = "int";
    162   else if(str[lstr]=='l') type = "long";
    163   else if(str[lstr]=='x') type = "long long";
    164   else if(str[lstr]=='f') type = "float";
    165   else if(str[lstr]=='d') type = "double";
    166   else if(str[lstr]=='r') type = "long double";
    167   else return string("Linux Decoding error: bad last char");
    168   if(lstr==0) return type;
    169 
    170   // Les caracteres precedents donnent: signed, unsigned, *, & ou const.
    171   // Mais si on a un Z, alors c'est un complexe (code ...t7complex1Z...)
    172   for(int i=0; i<(int)strlen(str); i++) {
    173     lstr--;
    174     if     (str[lstr]=='U') type = "unsigned " + type;
    175     else if(str[lstr]=='S') type = "signed " + type;
    176     else if(str[lstr]=='P') type = type + "*";
    177     else if(str[lstr]=='R') type = type + "&";
    178     else if(str[lstr]=='C') type = "const " + type;
    179     else if(str[lstr]=='Z') {  // Complexe
    180       type = "complex<" + type + ">";
    181       for(int j=0;j<(int)strlen(str);j++) {
    182         if     (str[j]=='P') type = type + "*";
    183         else if(str[j]=='R') type = type + "&";
    184         else if(str[j]=='C') type = "const " + type;
    185         else if(str[j]=='t') break;
    186         else return string("Linux Decoding error: bad char 1,2 for Z");
    187       }
    188       break;
    189     }
    190     else return string("Linux Decoding error: bad last-1,last-2 char");
    191     if(lstr==0) break;
    192   }
    193 
    194 return type;
    195 #else
    196 return linuxtype;
    197 #endif
    198 }
  • trunk/SophyaPI/PIext/nomgadapter.h

    r1215 r1224  
    6767
    6868protected:
    69   string DecodeTypeIdName(string linuxtype);
    70 
    7169  AnyDataObj* mObj;
    7270};
  • trunk/SophyaPI/PIext/nomimagadapter.cc

    r1215 r1224  
    55#include <string>
    66
     7#include "datatype.h"
     8
    79#include "nomimagadapter.h"
    810#include "pimgadapter.h"
     
    4951{
    5052string type = "Image< ";
    51 type +=  DecodeTypeIdName(typeid(T).name());
     53// type +=  DecodeTypeIdName(typeid(T).name());
     54type += DataType<T>::getTypeName();
    5255type +=  " > ";
    5356return(type);
  • trunk/SophyaPI/PIext/nomskymapadapter.cc

    r1215 r1224  
    77#include <complex>
    88
     9#include "datatype.h"
     10
    911#include "nomskymapadapter.h"
    1012#include "skymap.h"
     
    8587if (sg != NULL) type = "SphereHEALPix< ";
    8688
    87 type +=  DecodeTypeIdName(typeid(T).name());
     89// type +=  DecodeTypeIdName(typeid(T).name());
     90type += DataType<T>::getTypeName();
    8891type +=  " > ";
    8992return(type);
  • trunk/SophyaPI/PIext/nomtmatvecadapter.cc

    r1215 r1224  
    66#include <complex>
    77
     8#include "datatype.h"
     9
    810#include "tvector.h"
    911#include "objfitter.h"
     
    5355if (v != NULL) type = "TVector< ";
    5456
    55 type +=  DecodeTypeIdName(typeid(T).name());
     57// type +=  DecodeTypeIdName(typeid(T).name());
     58type += DataType<T>::getTypeName();
    5659type +=  " > ";
    5760return(type);
  • trunk/SophyaPI/PIext/objlist.list

    r826 r1224  
    11basexecut.o
     2cxxexecutor.o
    23nobjmgr.o
    34nomgadapter.o
  • trunk/SophyaPI/PIext/piacmd.cc

    r484 r1224  
    1515#include "piafitting.h"
    1616#include "pawexecut.h"
     17#include "cxxexecutor.h"
    1718
    1819#include PISTDWDG_H
     
    313314fitexec = new PIAFitter(this, app);
    314315pawexec = new PAWExecutor(this, app);
     316cxxexec = new CxxExecutor(this, app);
    315317AddInterpreter(this);
    316318curcmdi = this;
     
    334336delete fitexec;
    335337delete pawexec;
     338delete cxxexec;
    336339}
    337340
  • trunk/SophyaPI/PIext/piacmd.h

    r912 r1224  
    9797
    9898  CmdInterpreter* curcmdi;
    99   CmdExecutor* basexec;
    100   CmdExecutor* fitexec;
    101   CmdExecutor* pawexec;
     99  CmdExecutor* basexec;  // basic command executor
     100  CmdExecutor* fitexec;  // Fit command executor
     101  CmdExecutor* pawexec;  // paw-like command executor
     102  CmdExecutor* cxxexec;  // on-line c++ compile/execution command executor
    102103
    103104// Pour enregistrer la liste de commandes et leurs executeurs et le help
Note: See TracChangeset for help on using the changeset viewer.