Changeset 179 in Sophya for trunk/SophyaPI/PIext/nobjmgr.cc
- Timestamp:
- Dec 23, 1998, 5:04:15 PM (27 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nobjmgr.cc
r178 r179 976 976 977 977 // Creation NTuple 978 c onst char* ntn[4] = {"expx","expy","expex","expey",};978 char* ntn[4] = {"expx","expy","expex","expey",}; 979 979 NTuple* nt = NULL; 980 980 bool haserr = false; … … 1016 1016 if (!myImgApp) return; 1017 1017 1018 c onst char* ntn[3] = {"expx","expy","expz"};1018 char* ntn[3] = {"expx","expy","expz"}; 1019 1019 NTuple* nt = new NTuple(3,ntn); // Creation NTuple 1020 1020 … … 1063 1063 if ( (oh != NULL) && (oh->ClassId() == ClassId_Histo1D) ) h1 = (Histo*)oh; // Pas de remise a zero ! h1->Zero(); 1064 1064 else { 1065 c onst char* ntn[2]= {"hxval", "hwt"};1065 char* ntn[2]= {"hxval", "hwt"}; 1066 1066 nt = new NTuple(2,ntn); // Creation NTuple 1067 1067 } … … 1112 1112 if ( (oh != NULL) && (oh->ClassId() == ClassId_Histo2D) ) h2 = (Histo2D*)oh; // Pas de remise a zero ! h2->Zero(); 1113 1113 else { 1114 c onst char* ntn[3]= {"hxval", "hyval", "hwt"};1114 char* ntn[3]= {"hxval", "hyval", "hwt"}; 1115 1115 nt = new NTuple(3,ntn); // Creation NTuple 1116 1116 } … … 1173 1173 if( (oh!=NULL) && (oh->ClassId()== ClassId_HProf) ) hprof = (HProf*)oh; 1174 1174 else { 1175 c onst char* ntn[3]= {"hxval", "hyval", "hwt"};1175 char* ntn[3]= {"hxval", "hyval", "hwt"}; 1176 1176 nt = new NTuple(3,ntn); // Creation NTuple 1177 1177 } … … 1218 1218 if (nomvec.length() < 1) nomvec = "VecFill"; 1219 1219 1220 c onst char* ntn[2]= {"vecval", "vecwt"};1220 char* ntn[2]= {"vecval", "vecwt"}; 1221 1221 nt = new NTuple(1,ntn); // Creation NTuple 1222 1222 … … 1270 1270 } 1271 1271 if (nt == NULL) { 1272 c onst char* ntn[4]= {"x", "y","z","t"};1272 char* ntn[4]= {"x", "y","z","t"}; 1273 1273 nt = new NTuple(4,ntn); // Creation NTuple 1274 1274 fgnnt = true; … … 1357 1357 1358 1358 // Creation NTuple Buffer 1359 c onst char* ntn[4]= {"x","y","f","e"};1359 char* ntn[4]= {"x","y","f","e"}; 1360 1360 NTuple*nt = new NTuple(4,ntn); 1361 1361 … … 1884 1884 Gauss1DPol* myf; 1885 1885 if(degre>=0) myf = new Gauss1DPol((unsigned int)degre,((O.polcx)?true:false)); 1886 else myf = new Gauss1DPol(((O.polcx)?true:false));1886 else { bool bfg = (O.polcx)?true:false; myf = new Gauss1DPol(bfg); } 1887 1887 myfunc = myf; 1888 1888 … … 1894 1894 GaussN1DPol* myf; 1895 1895 if(degre>=0) myf = new GaussN1DPol((unsigned int)degre,((O.polcx)?true:false)); 1896 else myf = new GaussN1DPol(((O.polcx)?true:false));1896 else { bool bfg = (O.polcx)?true:false; myf = new GaussN1DPol(bfg); } 1897 1897 myfunc = myf; 1898 1898 … … 2031 2031 if (fft.NData() < 1) return; 2032 2032 2033 c onst char* ntn[3] = {"refc", "imfc", "pfc"};2033 char* ntn[3] = {"refc", "imfc", "pfc"}; 2034 2034 NTuple* nt = new NTuple(3,ntn); // Creation NTuple 2035 2035 Vector* vf = new Vector(fft.NData()/2);
Note:
See TracChangeset
for help on using the changeset viewer.