Changeset 268 for cpp/frams/param/multiparamload.h
- Timestamp:
- 12/16/14 01:48:21 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/param/multiparamload.h
r197 r268 12 12 13 13 /** This is the general "framsticks-format" file parser for loading multiple objects. 14 The loader can be configured to recognize multiple object types from object headers 14 http://www.framsticks.com/common/formatspec.html 15 The loader can be configured to recognize multiple object types from object headers 15 16 and automatically call ParamInterface::load for the matching class. 16 17 … … 123 124 const SString& getError() {return lasterror;} 124 125 /** Can be used BeforeObject and BeforeUnknown */ 125 int loadObjectNow(ParamInterface *pi ) {return loadObjectNow(ExtObject(pi));}126 int loadObjectNow(const ExtObject &o );126 int loadObjectNow(ParamInterface *pi,bool warn_unknown_fields=true) {return loadObjectNow(ExtObject(pi),warn_unknown_fields);} 127 int loadObjectNow(const ExtObject &o,bool warn_unknown_fields=true); 127 128 /** Can be used BeforeObject */ 128 129 int loadObjectNow() {return loadObjectNow(getObject());} 129 130 /** Can be used BeforeObject and BeforeUnknown. 130 131 Object data will not be loaded. */ 131 int skipObject() {return loadObjectNow(&emptyparam );}132 int skipObject() {return loadObjectNow(&emptyparam,false);} 132 133 /** @return 1 if no errors */ 133 134 int run();
Note: See TracChangeset
for help on using the changeset viewer.