00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef PS_COLLECTIONS_ERRORS_H
00016 #define PS_COLLECTIONS_ERRORS_H
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #define PS_ERRORNAME_DOMAIN "psLib.collections."
00030
00031
00032 #define PS_ERRORTEXT_psArray_REALLOC_NULL "psArrayRealloc must be given a non-NULL psArray to resize."
00033 #define PS_ERRORTEXT_psArray_ARRAY_NULL "Specified psArray can not be NULL."
00034 #define PS_ERRORTEXT_psArray_POSITION_BEYOND_NALLOC "Specified position, %d, is greater than the allocated size of the array, %d."
00035 #define PS_ERRORTEXT_psVector_REALLOC_NULL "psVectorRealloc must a given a non-NULL psVector to resize. Desired datatype unknown."
00036 #define PS_ERRORTEXT_psVector_NOT_A_VECTOR "The input psVector must have a vector dimension type."
00037 #define PS_ERRORTEXT_psVector_SORT_NULL "psVectorSort can not sort a NULL psVector."
00038 #define PS_ERRORTEXT_psVector_UNSUPPORTED_TYPE "Input psVector is an unsupported type (0x%x)."
00039 #define PS_ERRORTEXT_psVector_NULL "The input psVector can not be NULL."
00040 #define PS_ERRORTEXT_psVector_EXTENDSIZE_NEG "The input number of elements to extend must be non-negative."
00041 #define PS_ERRORTEXT_psBitSet_ALLOC_NEG_SIZE "The number of bit in a psBitSet (%d) must be greater than zero."
00042 #define PS_ERRORTEXT_psBitSet_SET_NULL "Can not operate on a NULL psBitSet."
00043 #define PS_ERRORTEXT_psBitSet_BIT_OUTOFRANGE "The specified bit position (%d) is invalid. Position must be between 0 and %d."
00044 #define PS_ERRORTEXT_psBitSet_OPERATOR_NULL "Specified operator is NULL. Must specify desired operator."
00045 #define PS_ERRORTEXT_psBitSet_OPERATOR_INVALID "Specified operator, %s, is invalid. Valid operators are AND, OR, and XOR."
00046 #define PS_ERRORTEXT_psBitSet_FIRST_OPERAND_NULL "First psBitSet operand can not be NULL."
00047 #define PS_ERRORTEXT_psBitSet_SECOND_OPERAND_NULL "Second psBitSet operand can not be NULL."
00048 #define PS_ERRORTEXT_psBitSet_OPERANDS_SIZE_DIFFER "The psBitSet operand must be the same size."
00049 #define PS_ERRORTEXT_psBitSet_NOT_OP_FAILED "Could not perform NOT operation."
00050 #define PS_ERRORTEXT_psBitSet_OPERAND_NULL "Operand can not be NULL."
00051 #define PS_ERRORTEXT_psScalar_UNSUPPORTED_TYPE "Specified datatype (%d) is unsupported by psScalar."
00052 #define PS_ERRORTEXT_psScalar_COPY_NULL "Can not copy a NULL psScalar."
00053 #define PS_ERRORTEXT_psHash_KEY_NULL "Input key can not be NULL."
00054 #define PS_ERRORTEXT_psHash_TABLE_NULL "Input psHash can not be NULL."
00055 #define PS_ERRORTEXT_psHash_DATA_NULL "Input data can not be NULL."
00056 #define PS_ERRORTEXT_psList_LOCATION_INVALID "Specified location, %d, is invalid."
00057 #define PS_ERRORTEXT_psList_ITERATOR_INVALID "Specified iterator is not valid."
00058 #define PS_ERRORTEXT_psList_ITERATOR_NULL "Specified iterator is NULL."
00059 #define PS_ERRORTEXT_psList_ITERATOR_NONMUTABLE "Specified iterator indicates list is non-mutable."
00060 #define PS_ERRORTEXT_psList_LIST_NULL "Specified psList reference is NULL."
00061 #define PS_ERRORTEXT_psList_DATA_NULL "Specified data item is NULL."
00062 #define PS_ERRORTEXT_psList_DATA_NOT_FOUND "Specified data item is not found in the psList."
00063 #define PS_ERRORTEXT_psPixels_NULL "Input psPixels can not be NULL."
00064 #define PS_ERRORTEXT_psPixels_MASK_NULL "Specified mask can not be NULL."
00065 #define PS_ERRORTEXT_psPixels_MASK_TYPE "Specified mask's type, %s, is invalid. Should be PS_TYPE_MASK."
00066 #define PS_ERRORTEXT_psPixels_DATA_NULL "Input psPixels contains no data."
00067 #define PS_ERRORTEXT_psPixels_REGION_INVALID "Specified psRegion, [%d:%d,%d:%d], does not specify a valid region."
00068 #define PS_ERRORTEXT_psPixels_FAILED_IMAGE_CREATE "Failed to create image of size %dx%d."
00069
00070
00071 #endif // #ifndef PS_COLLECTIONS_ERRORS_H