home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / Rw / rwstderr.mac < prev    next >
Encoding:
Text File  |  2000-01-31  |  3.2 KB  |  65 lines

  1. #ifndef __STD_RWSTDERROR_H
  2. #define __STD_RWSTDERROR_H
  3. /***************************************************************************
  4.  *
  5.  * Macro definitions for error message indicators.
  6.  *
  7.  ***************************************************************************
  8.  *
  9.  * Copyright (c) 1994-1999 Rogue Wave Software, Inc.  All Rights Reserved.
  10.  *
  11.  * This computer software is owned by Rogue Wave Software, Inc. and is
  12.  * protected by U.S. copyright laws and other laws and by international
  13.  * treaties.  This computer software is furnished by Rogue Wave Software,
  14.  * Inc. pursuant to a written license agreement and may be used, copied,
  15.  * transmitted, and stored only in accordance with the terms of such
  16.  * license and with the inclusion of the above copyright notice.  This
  17.  * computer software or any other copies thereof may not be provided or
  18.  * otherwise made available to any other person.
  19.  *
  20.  * U.S. Government Restricted Rights.  This computer software is provided
  21.  * with Restricted Rights.  Use, duplication, or disclosure by the
  22.  * Government is subject to restrictions as set forth in subparagraph (c)
  23.  * (1) (ii) of The Rights in Technical Data and Computer Software clause
  24.  * at DFARS 252.227-7013 or subparagraphs (c) (1) and (2) of the
  25.  * Commercial Computer Software รป Restricted Rights at 48 CFR 52.227-19,
  26.  * as applicable.  Manufacturer is Rogue Wave Software, Inc., 5500
  27.  * Flatiron Parkway, Boulder, Colorado 80301 USA.
  28.  *
  29.  ***************************************************************************/
  30. #ifndef  _RWSTD_ERROR_MSG_FILE
  31.  #define _RWSTD_ERROR_MSG_FILE "rwstderr"
  32. #endif
  33.  
  34. #ifndef  _RWSTD_ERROR_SET
  35.  #define _RWSTD_ERROR_SET 1
  36. #endif
  37.  
  38. #ifndef  _RWSTD_ERROR_FIRST
  39.  #define _RWSTD_ERROR_FIRST 1
  40. #endif
  41.  
  42. #define _RWSTD_ERROR_FAILBIT_SET                  _RWSTD_ERROR_FIRST + 1
  43. #define _RWSTD_ERROR_BADBIT_SET                   _RWSTD_ERROR_FIRST + 2
  44. #define _RWSTD_ERROR_EOFBIT_SET                   _RWSTD_ERROR_FIRST + 3
  45. #define _RWSTD_ERROR_LOCALE_BAD_NUMERIC_NAME      _RWSTD_ERROR_FIRST + 4
  46. #define _RWSTD_ERROR_LOCALE_NOT_PRESENT           _RWSTD_ERROR_FIRST + 5
  47. #define _RWSTD_ERROR_LOCALE_INIT_CALLED_TWICE     _RWSTD_ERROR_FIRST + 6
  48. #define _RWSTD_ERROR_LOCALE_NULL_POINTER          _RWSTD_ERROR_FIRST + 7
  49. #define _RWSTD_ERROR_LOCALE_BAD_NAME              _RWSTD_ERROR_FIRST + 8
  50. #define _RWSTD_ERROR_LOCALE_ERROR_NAME            _RWSTD_ERROR_FIRST + 9
  51. #define _RWSTD_ERROR_LOCALE_CODE_CONV_FAILED      _RWSTD_ERROR_FIRST + 10
  52. #define _RWSTD_ERROR_LOCALE_BAD_MONEY_NAME        _RWSTD_ERROR_FIRST + 11
  53. #define _RWSTD_ERROR_BITSET_INVALID_POSITION      _RWSTD_ERROR_FIRST + 12
  54. #define _RWSTD_ERROR_BITSET_INVALID_CTOR_ARGUMENT _RWSTD_ERROR_FIRST + 13
  55. #define _RWSTD_ERROR_BITSET_CONVERSION_OVERFLOW   _RWSTD_ERROR_FIRST + 14
  56. #define _RWSTD_ERROR_OUT_OF_RANGE                 _RWSTD_ERROR_FIRST + 15
  57. #define _RWSTD_ERROR_INVALID_SIZE_PARAM           _RWSTD_ERROR_FIRST + 16
  58. #define _RWSTD_ERROR_POS_BEYOND_END_OF_STRING     _RWSTD_ERROR_FIRST + 17
  59. #define _RWSTD_ERROR_RESULT_LEN_INVALID           _RWSTD_ERROR_FIRST + 18
  60. #define _RWSTD_ERROR_STRING_INDEX_OUT_OF_RANGE    _RWSTD_ERROR_FIRST + 19
  61. #define _RWSTD_ERROR_UNEXPECTED_NULL_PTR          _RWSTD_ERROR_FIRST + 20
  62.  
  63.          
  64. #endif// __STD_RWSTDERR_H
  65.