/** @file  psCollectionsErrors.h
 *
 *  @brief Contains the error text for the collections functions
 *
 *  @ingroup ErrorHandling
 *
 *  @author Robert DeSonia, MHPCC
 *
 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
 *  @date $Date: 2005-02-17 19:26:23 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
 */

#ifndef PS_COLLECTIONS_ERRORS_H
#define PS_COLLECTIONS_ERRORS_H

/* N.B., lines between '//~Start' and '//~End' are automatic generated from
 * the template following the '//~Start'.  The template is used to generate
 * the other lines by, for each error text in psCollectionsErrors.dat, the following
 * substitutions are made:
 *     $1  The error text macro name (first word in the psCollectionsErrors.dat lines)
 *     $2  The error text (rest of the line in psCollectionsErrors.dat)
 *     $n  The order of the source line in psCollecitonsErrors.dat (comments excluded)
 * 
 * DO NOT EDIT THE LINES BETWEEN //~Start and //~End!  ANY CHANGES WILL BE OVERWRITTEN.
 */

#define PS_ERRORNAME_DOMAIN "psLib.collections."

//~Start #define PS_ERRORTEXT_$1 "$2"
#define PS_ERRORTEXT_psArray_REALLOC_NULL "psArrayRealloc must be given a non-NULL psArray to resize."
#define PS_ERRORTEXT_psArray_ARRAY_NULL "Specified psArray can not be NULL."
#define PS_ERRORTEXT_psArray_POSITION_BEYOND_NALLOC "Specified position, %d, is greater than the allocated size of the array, %d."
#define PS_ERRORTEXT_psVector_REALLOC_NULL "psVectorRealloc must a given a non-NULL psVector to resize.  Desired datatype unknown."
#define PS_ERRORTEXT_psVector_NOT_A_VECTOR "The input psVector must have a vector dimension type."
#define PS_ERRORTEXT_psVector_SORT_NULL "psVectorSort can not sort a NULL psVector."
#define PS_ERRORTEXT_psVector_UNSUPPORTED_TYPE "Input psVector is an unsupported type (%d)."
#define PS_ERRORTEXT_psBitSet_ALLOC_NEG_SIZE "The number of bit in a psBitSet (%d) must be greater than zero."
#define PS_ERRORTEXT_psBitSet_SET_NULL "Can not operate on a NULL psBitSet."
#define PS_ERRORTEXT_psBitSet_BIT_OUTOFRANGE "The specified bit position (%d) is invalid.  Position must be between 0 and %d."
#define PS_ERRORTEXT_psBitSet_OPERATOR_NULL "Specified operator is NULL.  Must specify desired operator."
#define PS_ERRORTEXT_psBitSet_OPERATOR_INVALID "Specified operator, %s, is invalid.  Valid operators are AND, OR, and XOR."
#define PS_ERRORTEXT_psBitSet_FIRST_OPERAND_NULL "First psBitSet operand can not be NULL."
#define PS_ERRORTEXT_psBitSet_SECOND_OPERAND_NULL "Second psBitSet operand can not be NULL."
#define PS_ERRORTEXT_psBitSet_OPERANDS_SIZE_DIFFER "The psBitSet operand must be the same size."
#define PS_ERRORTEXT_psBitSet_NOT_OP_FAILED "Could not perform NOT operation."
#define PS_ERRORTEXT_psBitSet_OPERAND_NULL "Operand can not be NULL."
#define PS_ERRORTEXT_psScalar_UNSUPPORTED_TYPE "Specified datatype (%d) is unsupported by psScalar."
#define PS_ERRORTEXT_psScalar_COPY_NULL "Can not copy a NULL psScalar."
#define PS_ERRORTEXT_psHash_KEY_NULL "Input key can not be NULL."
#define PS_ERRORTEXT_psHash_TABLE_NULL "Input psHash can not be NULL."
#define PS_ERRORTEXT_psHash_DATA_NULL "Input data can not be NULL."
#define PS_ERRORTEXT_psList_LOCATION_INVALID "Specified location, %d, is invalid."
#define PS_ERRORTEXT_psList_ITERATOR_INVALID "Specified iterator is not valid."
#define PS_ERRORTEXT_psList_ITERATOR_NULL "Specified iterator is NULL."
#define PS_ERRORTEXT_psList_ITERATOR_NONMUTABLE "Specified iterator indicates list is non-mutable."
#define PS_ERRORTEXT_psList_LIST_NULL "Specified psList reference is NULL."
#define PS_ERRORTEXT_psList_DATA_NULL "Specified data item is NULL."
#define PS_ERRORTEXT_psList_DATA_NOT_FOUND "Specified data item is not found in the psList."
//~End

#endif
