Changeset 449 in Sophya for trunk/SophyaPI/PIext/servnobjm.cc
- Timestamp:
- Oct 1, 1999, 3:47:18 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/servnobjm.cc
r447 r449 94 94 if ((fip = fopen(fname.c_str(), "w")) == NULL) { 95 95 string sn = fname; 96 cout << "Services2NObjMgr/PlotFunc_Err eur: Pb. Ouverture" << sn << endl;96 cout << "Services2NObjMgr/PlotFunc_Error: fopen( " << sn << endl; 97 97 return; 98 98 } … … 129 129 if ((fip = fopen(fname.c_str(), "w")) == NULL) { 130 130 string sn = fname; 131 cout << "Services2NObjMgr/PlotFunc2D_Err eur: Pb. Ouverture" << sn << endl;131 cout << "Services2NObjMgr/PlotFunc2D_Error: fopen( " << sn << endl; 132 132 return; 133 133 } … … 287 287 obja = mOmg->GetObjAdapter(nom); 288 288 if (obja == NULL) { 289 cout << "Services2NObjMgr::DisplayPoints2D() Error , Pas d'objet de nom" << nom << endl;289 cout << "Services2NObjMgr::DisplayPoints2D() Error , No such object " << nom << endl; 290 290 return; 291 291 } … … 330 330 obja = mOmg->GetObjAdapter(nom); 331 331 if (obja == NULL) { 332 cout << "Services2NObjMgr::DisplayPoints3D() Error , Pas d'objet de nom" << nom << endl;332 cout << "Services2NObjMgr::DisplayPoints3D() Error , No such object " << nom << endl; 333 333 return; 334 334 } … … 372 372 obja = mOmg->GetObjAdapter(nom); 373 373 if (obja == NULL) { 374 cout << "Services2NObjMgr::DisplayPoints2DW() Error , Pas d'objet de nom" << nom << endl;374 cout << "Services2NObjMgr::DisplayPoints2DW() Error , No such object " << nom << endl; 375 375 return; 376 376 } … … 408 408 obja = mOmg->GetObjAdapter(nom); 409 409 if (obja == NULL) { 410 cout << "Services2NObjMgr::ProjectH1() Error , Pas d'objet de nom" << nom << endl;410 cout << "Services2NObjMgr::ProjectH1() Error , No such object " << nom << endl; 411 411 return; 412 412 } … … 457 457 obja = mOmg->GetObjAdapter(nom); 458 458 if (obja == NULL) { 459 cout << "Services2NObjMgr::ProjectH2() Error , Pas d'objet de nom" << nom << endl;459 cout << "Services2NObjMgr::ProjectH2() Error , No such object " << nom << endl; 460 460 return; 461 461 } … … 518 518 obja = mOmg->GetObjAdapter(nom); 519 519 if (obja == NULL) { 520 cout << "Services2NObjMgr::ProjectHProf() Error , Pas d'objet de nom" << nom << endl;520 cout << "Services2NObjMgr::ProjectHProf() Error , No such object " << nom << endl; 521 521 return; 522 522 } … … 670 670 obja = mOmg->GetObjAdapter(nom); 671 671 if (obja == NULL) { 672 cout << "Services2NObjMgr::ExpressionToVector() Error , Pas d'objet de nom" << nom << endl;672 cout << "Services2NObjMgr::ExpressionToVector() Error , No such object " << nom << endl; 673 673 return; 674 674 } … … 723 723 724 724 NTuple* nt = (NTuple*) mobj; 725 cout<<"CMV -> Reza tu dois mofidier FillFromASCIIFile"<<endl; 726 cout<<"CMV -> Reza pour permettre une valeur par defaut"<<endl; 727 cout<<"CMV -> Reza n oublie AUSSI pas l arg par def dans servnobj.h"<<endl; 728 cout<<"CMV -> Reza > nt->FillFromASCIIFile(filename,def_val);"<<endl; 729 nt->FillFromASCIIFile(filename); 725 nt->FillFromASCIIFile(filename, def_val); 730 726 return; 731 727 } … … 738 734 obja = mOmg->GetObjAdapter(nom); 739 735 if (obja == NULL) { 740 cout << "Services2NObjMgr::FillNT() Error , Pas d'objet de nom" << nom << endl;736 cout << "Services2NObjMgr::FillNT() Error , No such object " << nom << endl; 741 737 return; 742 738 } … … 751 747 nt = (NTuple*)oh; 752 748 if (nt->NVar() > 10) { 753 cout << "Services2NObjMgr::FillNT() Warning , Max 10 var dsNTuple -> new NTuple" << endl;749 cout << "Services2NObjMgr::FillNT() Warning , Max 10 var in NTuple -> new NTuple" << endl; 754 750 nt = NULL; 755 751 } … … 783 779 NTupleInterface* objnt = obja->GetNTupleInterface(adel); 784 780 if (objnt == NULL) { 785 cout << "Services2NObjMgr::FillNTFrCFile( " << nom << "...) No NTupleInterface !" <<endl;781 cout << "Services2NObjMgr::FillNTFrCFile( " << nom << "...) Not an NTupleInterface !" <<endl; 786 782 return; 787 783 } … … 802 798 nt = (NTuple*)oh; 803 799 if (nt->NVar() > 10) { 804 cout << "Services2NObjMgr::FillNTFrCFile() Warning , Max 10 var dsNTuple -> new NTuple" << endl;800 cout << "Services2NObjMgr::FillNTFrCFile() Warning , Max 10 var in NTuple -> new NTuple" << endl; 805 801 nt = NULL; 806 802 } … … 945 941 obja = mOmg->GetObjAdapter(nom); 946 942 if (obja == NULL) { 947 cout << "Services2NObjMgr::FillGFD() Error , Pas d'objet de nom"<<nom<<endl;943 cout << "Services2NObjMgr::FillGFD() Error , No such object "<<nom<<endl; 948 944 return; 949 945 } … … 1062 1058 if ((fip = fopen(fname.c_str(), "w")) == NULL) { 1063 1059 string sn = fname; 1064 cout << "Services2NObjMgr/LinkExprFunc_Err eur: Pb. Ouverture" << sn << endl;1060 cout << "Services2NObjMgr/LinkExprFunc_Error: fopen( " << sn << endl; 1065 1061 return(NULL); 1066 1062 }
Note:
See TracChangeset
for help on using the changeset viewer.