Changeset 2011 for trunk/psLib/src/collections/psMetadataIO.c
- Timestamp:
- Oct 7, 2004, 10:49:57 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psMetadataIO.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psMetadataIO.c
r2004 r2011 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1. 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-10-07 19:31:59$11 * @version $Revision: 1.5 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-10-07 20:49:57 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 463 463 int failedLines = 0; 464 464 psF64 tempDbl = 0.0; 465 psS32 tempInt = 0.0; 465 466 psMetadataItem *metadataItem = NULL; 466 467 psVector *tempVec = NULL; … … 613 614 break; 614 615 case PS_META_S32: 616 tempInt = (psS32)parseValue(strValue, &status); 617 if(!status) { 618 psMetadataAdd(*md, PS_LIST_TAIL, strName, mdType, strComment, tempInt); 619 } else { 620 status = 0; 621 failedLines++; 622 psError(__func__, "Failed to parse value. Value: %s Line %d: %s", strValue, lineCount, line); 623 continue; 624 } 625 break; 615 626 case PS_META_F32: 616 627 case PS_META_F64:
Note:
See TracChangeset
for help on using the changeset viewer.
