Changeset 28534 for branches/pap/ippToPsps/src/ippToPspsBatchDetection.c
- Timestamp:
- Jun 28, 2010, 8:11:04 PM (16 years ago)
- Location:
- branches/pap
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ippToPsps/src/ippToPspsBatchDetection.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/pap
- Property svn:mergeinfo changed
/trunk (added) merged: 28500,28502,28507,28509-28512,28514,28516-28518,28520,28522,28524-28532
- Property svn:mergeinfo changed
-
branches/pap/ippToPsps/src/ippToPspsBatchDetection.c
r28424 r28534 386 386 387 387 // write results 388 if (this->resultsFile) { 389 390 if (fprintf(this->resultsFile, "%ld\n", minObjID) < 1 ) 391 psError(PS_ERR_IO, false, "Unable to write min Object ID to'%s'\n", this->resultsPath); 392 if (fprintf(this->resultsFile, "%ld\n", maxObjID) < 1 ) 393 psError(PS_ERR_IO, false, "Unable to write max Object ID to'%s'\n", this->resultsPath); 394 if (fprintf(this->resultsFile, "%ld\n", totalDetectionsOut) < 1 ) 395 psError(PS_ERR_IO, false, "Unable to write totalDetectionsOut to'%s'\n", this->resultsPath); 388 if (this->resultsXmlDoc) { 389 390 xmlNodePtr rootNode = xmlDocGetRootElement(this->resultsXmlDoc); 391 char tmp[100]; 392 sprintf(tmp, "%ld", minObjID); 393 xmlNewChild(rootNode, NULL, BAD_CAST "minObjID", BAD_CAST tmp); 394 sprintf(tmp, "%ld", maxObjID); 395 xmlNewChild(rootNode, NULL, BAD_CAST "maxObjID", BAD_CAST tmp); 396 sprintf(tmp, "%ld", totalDetectionsOut); 397 xmlNewChild(rootNode, NULL, BAD_CAST "totalDetections", BAD_CAST tmp); 396 398 } 397 399
Note:
See TracChangeset
for help on using the changeset viewer.
