IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6635


Ignore:
Timestamp:
Mar 17, 2006, 3:59:30 PM (20 years ago)
Author:
Paul Price
Message:

Removing "concept" in favour of "item".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/pslib/psMetadataItemParse.c

    r6619 r6635  
    1515        return (float)item->data.S32;
    1616    default:
    17         psError(PS_ERR_IO, true, "Concept %s (%s) is not of floating point type (%x) --- treating as NaN.\n",
     17        psError(PS_ERR_IO, true, "Item %s (%s) is not of floating point type (%x) --- treating as NaN.\n",
    1818                item->name, item->comment, item->type);
    1919        return NAN;
     
    3434        return (double)item->data.S32;
    3535    default:
    36         psError(PS_ERR_IO, true, "Concept %s (%s) is not of double-precision floating point type (%x) "
     36        psError(PS_ERR_IO, true, "Item %s (%s) is not of double-precision floating point type (%x) "
    3737                "--- treating as NaN.\n", item->name, item->comment, item->type);
    3838        return NAN;
     
    4747        return item->data.S32;
    4848    case PS_TYPE_F32:
    49         psLogMsg(__func__, PS_LOG_WARN, "Concept %s (%s) should be S32, but is F32 --- converting.\n",
     49        psLogMsg(__func__, PS_LOG_WARN, "Item %s (%s) should be S32, but is F32 --- converting.\n",
    5050                 item->name, comment);
    5151        return (int)item->data.F32;
    5252    case PS_TYPE_F64:
    53         psLogMsg(__func__, PS_LOG_WARN, "Concept %s (%s) should be S32, but is F64 --- converting.\n",
     53        psLogMsg(__func__, PS_LOG_WARN, "Item %s (%s) should be S32, but is F64 --- converting.\n",
    5454                 item->name, comment);
    5555        return (int)item->data.F64;
    5656    default:
    57         psError(PS_ERR_IO, true, "Concept %s (%s) is not of integer type (%x) --- treating as zero.\n",
     57        psError(PS_ERR_IO, true, "Item %s (%s) is not of integer type (%x) --- treating as zero.\n",
    5858                item->name, item->comment, item->type);
    5959        return 0;
     
    7878        }
    7979    default:
    80         psError(PS_ERR_IO, true, "Concept %s (%s) is not of string type (%x) --- treating as "
     80        psError(PS_ERR_IO, true, "Item %s (%s) is not of string type (%x) --- treating as "
    8181                "undefined.\n", item->name, item->comment, item->type);
    8282        return psStringCopy("");
Note: See TracChangeset for help on using the changeset viewer.