#ifndef __STD_RWSTDERROR_H
#define __STD_RWSTDERROR_H

/***************************************************************************
 *
 * rwstderr_macros - stderr macro sdeclarations for the Standard Library
 *
 ***************************************************************************
 *    
 *  Copyright 2000 Compaq Computer Corporation
 *
 *  COMPAQ Registered in U.S. Patent and Trademark Office.
 *
 *  Confidential computer software. Valid license from Compaq required for
 *  possession, use or copying. Consistent with FAR 12.211 and 12.212,
 *  Commercial Computer Software, Computer Software Documentation, and
 *  Technical Data for Commercial Items are licensed to the U.S. Government
 *  under vendor's standard commercial license.
 *
 ****************************************************************************
 *
 * (c) Copyright 1994, 1998 Rogue Wave Software, Inc.
 * ALL RIGHTS RESERVED
 *
 * The software and information contained herein are proprietary to, and
 * comprise valuable trade secrets of, Rogue Wave Software, Inc., which
 * intends to preserve as trade secrets such software and information.
 * This software is furnished pursuant to a written license agreement and
 * may be used, copied, transmitted, and stored only in accordance with
 * the terms of such license and with the inclusion of the above copyright
 * notice.  This software and information or any other copies thereof may
 * not be provided or otherwise made available to any other person.
 *
 * Notwithstanding any other lease or license that may pertain to, or
 * accompany the delivery of, this computer software and information, the
 * rights of the Government regarding its use, reproduction and disclosure
 * are as set forth in Section 52.227-19 of the FARS Computer
 * Software-Restricted Rights clause.
 * 
 * Use, duplication, or disclosure by the Government is subject to
 * restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in
 * Technical Data and Computer Software clause at DFARS 252.227-7013.
 * Contractor/Manufacturer is Rogue Wave Software, Inc.,
 * P.O. Box 2328, Corvallis, Oregon 97339.
 *
 * This computer software and information is distributed with "restricted
 * rights."  Use, duplication or disclosure is subject to restrictions as
 * set forth in NASA FAR SUP 18-52.227-79 (April 1985) "Commercial
 * Computer Software-Restricted Rights (April 1985)."  If the Clause at
 * 18-52.227-74 "Rights in Data General" is specified in the contract,
 * then the "Alternate III" clause applies.
 *
 **************************************************************************/

#ifndef  _RWSTD_ERROR_MSG_FILE
 #define _RWSTD_ERROR_MSG_FILE "rwstderr"
#endif

#ifndef  _RWSTD_ERROR_SET
 #define _RWSTD_ERROR_SET 1
#endif

#ifndef  _RWSTD_ERROR_FIRST
 #define _RWSTD_ERROR_FIRST 1
#endif

#define _RWSTD_ERROR_FAILBIT_SET                  _RWSTD_ERROR_FIRST + 1
#define _RWSTD_ERROR_BADBIT_SET                   _RWSTD_ERROR_FIRST + 2
#define _RWSTD_ERROR_EOFBIT_SET                   _RWSTD_ERROR_FIRST + 3
#define _RWSTD_ERROR_LOCALE_BAD_NUMERIC_NAME      _RWSTD_ERROR_FIRST + 4
#define _RWSTD_ERROR_LOCALE_NOT_PRESENT           _RWSTD_ERROR_FIRST + 5
#define _RWSTD_ERROR_LOCALE_INIT_CALLED_TWICE     _RWSTD_ERROR_FIRST + 6
#define _RWSTD_ERROR_LOCALE_NULL_POINTER          _RWSTD_ERROR_FIRST + 7
#define _RWSTD_ERROR_LOCALE_BAD_NAME              _RWSTD_ERROR_FIRST + 8
#define _RWSTD_ERROR_LOCALE_ERROR_NAME            _RWSTD_ERROR_FIRST + 9
#define _RWSTD_ERROR_LOCALE_CODE_CONV_FAILED      _RWSTD_ERROR_FIRST + 10
#define _RWSTD_ERROR_LOCALE_BAD_MONEY_NAME        _RWSTD_ERROR_FIRST + 11
#define _RWSTD_ERROR_BITSET_INVALID_POSITION      _RWSTD_ERROR_FIRST + 12
#define _RWSTD_ERROR_BITSET_INVALID_CTOR_ARGUMENT _RWSTD_ERROR_FIRST + 13
#define _RWSTD_ERROR_BITSET_CONVERSION_OVERFLOW   _RWSTD_ERROR_FIRST + 14
#define _RWSTD_ERROR_OUT_OF_RANGE                 _RWSTD_ERROR_FIRST + 15
#define _RWSTD_ERROR_INVALID_SIZE_PARAM           _RWSTD_ERROR_FIRST + 16
#define _RWSTD_ERROR_POS_BEYOND_END_OF_STRING     _RWSTD_ERROR_FIRST + 17
#define _RWSTD_ERROR_RESULT_LEN_INVALID           _RWSTD_ERROR_FIRST + 18
#define _RWSTD_ERROR_STRING_INDEX_OUT_OF_RANGE    _RWSTD_ERROR_FIRST + 19
#define _RWSTD_ERROR_UNEXPECTED_NULL_PTR          _RWSTD_ERROR_FIRST + 20

         
#endif// __STD_RWSTDERR_H
