Changeset 1450 in Sophya for trunk/SophyaPI/PIext/cxxexecutor.cc
- Timestamp:
- Apr 6, 2001, 11:52:28 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/cxxexecutor.cc
r1319 r1450 426 426 os<<obtype<<"* "<<stmp 427 427 <<" = dynamic_cast< "<<obtype<<" * >(omg.GetObj(___nomobj));"<<endl; 428 #ifdef SANS_EVOLPLANCK 429 os<<"if("<<stmp<<"==NULL) { \n" 430 <<" cerr << \"CxxExecutor::PutObject: Non existing object " 431 <<" ... please update file \\n \" ;" 432 <<" throw nullPtrErr ; \n } "<<endl; 433 #else 428 434 os<<"if("<<stmp<<"==NULL) throw NullPtrError" 429 435 <<"(\"CxxExecutor::PutObject: Non existing object "<<nobj 430 436 <<"... please update file\");"<<endl; 437 #endif 431 438 os<<obtype<<"& "<<nobj<<" = (*"<<stmp<<");"<<endl<<endl; 432 439 }
Note:
See TracChangeset
for help on using the changeset viewer.