Changeset 7423 for trunk/ippTools/src/dettool.c
- Timestamp:
- Jun 7, 2006, 6:10:08 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippTools/src/dettool.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTools/src/dettool.c
r7422 r7423 17 17 static bool addstacMode(pxConfig *config); 18 18 static bool stacMode(pxConfig *config); 19 static psArray *validDetInputClassIds(pxConfig *config, const char *det_id);20 static psArray *searchInputImfiles(pxConfig *config, const char *det_id);21 19 static bool stacframeMode(pxConfig *config); 22 20 static bool addnormalizedMode(pxConfig *config); … … 30 28 static bool masterframeMode(pxConfig *config); 31 29 static bool masterMode(pxConfig *config); 32 30 static bool rerunMode(pxConfig *config); 31 32 static psArray *validDetInputClassIds(pxConfig *config, const char *det_id); 33 static psArray *searchInputImfiles(pxConfig *config, const char *det_id); 33 34 static detInputExpRow *rawDetrenTodetInputExpRow(rawDetrendExpRow *rawExp, psS32 det_id, psS32 iteration); 34 35 static psArray *searchRawImfiles(pxConfig *config, psMetadata *where); … … 65 66 MODECASE(DETTOOL_MODE_MASTERFRAME, masterframeMode); 66 67 MODECASE(DETTOOL_MODE_MASTER, masterMode); 68 MODECASE(DETTOOL_MODE_RERUN, rerunMode); 67 69 default: 68 70 psAbort(argv[0], "invalid option (this should not happen)"); … … 1772 1774 return true; 1773 1775 } 1776 1777 1778 static bool rerunMode(pxConfig *config) 1779 { 1780 PS_ASSERT_PTR_NON_NULL(config, false); 1781 1782 // det_id is required 1783 bool status = false; 1784 psString det_id = psMetadataLookupStr(&status, config->args, "-det_id"); 1785 if (!status) { 1786 psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -det_id"); 1787 return false; 1788 } 1789 if (!det_id) { 1790 psError(PS_ERR_UNKNOWN, true, "-det_id is required"); 1791 return false; 1792 } 1793 1794 return true; 1795 }
Note:
See TracChangeset
for help on using the changeset viewer.
