Changeset 277 for cpp/frams/param
- Timestamp:
- 12/22/14 23:20:27 (10 years ago)
- Location:
- cpp/frams/param
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/param/multiparamload.cpp
r268 r277 19 19 status=0; 20 20 breakcond=OnError; 21 aborting=false; 21 22 emptyparam.setParamTab(empty_paramtab); 22 23 } … … 57 58 } 58 59 status=Loading; 60 aborting=false; 59 61 } 60 62 … … 68 70 clearstack(); 69 71 status=Finished; 72 aborting=true; 70 73 } 71 74 … … 96 99 Param tmp_param; 97 100 ParamInterface *pi=lastobject.getParamInterface(tmp_param); 98 pi->load(file );101 pi->load(file,true,&aborting); 99 102 if ((status!=Finished) && maybeBreak(AfterObject)) 100 103 break; … … 242 245 Param tmp_param; 243 246 ParamInterface *pi=o.getParamInterface(tmp_param); 244 pi->load(file,warn_unknown_fields );247 pi->load(file,warn_unknown_fields,&aborting); 245 248 status=AfterObject; 246 249 return 0; -
cpp/frams/param/multiparamload.h
r268 r277 45 45 int breakcond; 46 46 Param emptyparam; 47 bool aborting; 47 48 48 49 void init();
Note: See TracChangeset
for help on using the changeset viewer.