Changeset 28001 for trunk/ippTools/src/warptool.c
- Timestamp:
- May 18, 2010, 12:10:07 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/warptool.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/warptool.c
r27834 r28001 248 248 PXOPT_COPY_F64(config->args, where, "-posang_max", "rawExp.posang", "<"); 249 249 PXOPT_COPY_STR(config->args, where, "-object", "rawExp.object", "=="); 250 PXOPT_COPY_STR(config->args, where, "-comment", "rawExp.comment", "LIKE"); 251 PXOPT_COPY_STR(config->args, where, "-obs_mode", "rawExp.obs_mode", "LIKE"); 250 252 PXOPT_COPY_F32(config->args, where, "-sun_angle_min", "rawExp.sun_angle", ">="); 251 253 PXOPT_COPY_F32(config->args, where, "-sun_angle_max", "rawExp.sun_angle", "<"); … … 273 275 PXOPT_LOOKUP_TIME(registered, config->args, "-registered", false, false); 274 276 PXOPT_LOOKUP_BOOL(simple, config->args, "-simple", false); 277 PXOPT_LOOKUP_BOOL(pretend, config->args, "-pretend", false); 275 278 276 279 // check mode … … 310 313 if (!psArrayLength(output)) { 311 314 psTrace("warptool", PS_LOG_INFO, "no rows found"); 315 psFree(output); 316 return true; 317 } 318 319 if (pretend) { 320 // negative simple so the default is true 321 if (!ippdbPrintMetadatas(stdout, output, "rawExp", !simple)) { 322 psError(PS_ERR_UNKNOWN, false, "failed to print array"); 323 psFree(output); 324 return false; 325 } 312 326 psFree(output); 313 327 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
