Ignore:
Timestamp:
12/16/14 01:48:21 (9 years ago)
Author:
Maciej Komosinski
Message:

ParamInterface::load warns on unknown fields and skips comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/param/param.h

    r253 r268  
    158158        int save(VirtFILE*, const char* altname = NULL, bool force = 0);
    159159        int saveprop(VirtFILE*, int i, const char* p, bool force = 0);
    160         int load(VirtFILE*);///< @return the number of fields loaded
     160        int load(VirtFILE*,bool warn_unknown_fields=true);///< @return the number of fields loaded
    161161        int load2(const SString &, int &);///< @return the number of fields loaded
    162162
Note: See TracChangeset for help on using the changeset viewer.