Changeset 720 for cpp/frams/genetics/fF
- Timestamp:
- 01/14/18 11:24:22 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fF/fF_genotype.h
r667 r720 36 36 { 37 37 SString s = serialized; 38 int p = 0; //position in string39 return ((param.load 2(s, p) == param.getPropCount()) && (p== s.len()));38 ParamInterface::LoadOptions opts; 39 return ((param.load(ParamInterface::FormatSingleLine, s, &opts) == param.getPropCount()) && (opts.offset == s.len())); 40 40 } 41 41 … … 43 43 { 44 44 SString tmp; 45 param.save 2(tmp, NULL/*object containing default values for comparison*/, false/*add CR*/, false/*force field names*/);45 param.saveSingleLine(tmp, NULL/*object containing default values for comparison*/, false/*add CR*/, false/*force field names*/); 46 46 return string(tmp.c_str()); 47 47 }
Note: See TracChangeset
for help on using the changeset viewer.