home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 May / PCFMay2001.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / Rw / rwstderr.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  2.3 KB  |  64 lines

  1. #ifndef __RWSTDERR_H
  2. #define __RWSTDERR_H
  3. #pragma option push -b -a8 -pc -Vx- -Ve- -w-inl -w-aus -w-sig
  4. #ifndef __STD_RWSTDERR_H
  5. #define __STD_RWSTDERR_H
  6. /**************************************************************************
  7.  *
  8.  * Declarations for class _RWSTDExport
  9.  *
  10.  ***************************************************************************
  11.  *
  12.  * Copyright (c) 1994-1999 Rogue Wave Software, Inc.  All Rights Reserved.
  13.  *
  14.  * This computer software is owned by Rogue Wave Software, Inc. and is
  15.  * protected by U.S. copyright laws and other laws and by international
  16.  * treaties.  This computer software is furnished by Rogue Wave Software,
  17.  * Inc. pursuant to a written license agreement and may be used, copied,
  18.  * transmitted, and stored only in accordance with the terms of such
  19.  * license and with the inclusion of the above copyright notice.  This
  20.  * computer software or any other copies thereof may not be provided or
  21.  * otherwise made available to any other person.
  22.  *
  23.  * U.S. Government Restricted Rights.  This computer software is provided
  24.  * with Restricted Rights.  Use, duplication, or disclosure by the
  25.  * Government is subject to restrictions as set forth in subparagraph (c)
  26.  * (1) (ii) of The Rights in Technical Data and Computer Software clause
  27.  * at DFARS 252.227-7013 or subparagraphs (c) (1) and (2) of the
  28.  * Commercial Computer Software รป Restricted Rights at 48 CFR 52.227-19,
  29.  * as applicable.  Manufacturer is Rogue Wave Software, Inc., 5500
  30.  * Flatiron Parkway, Boulder, Colorado 80301 USA.
  31.  *
  32.  ***************************************************************************/
  33.  
  34. #include <stdcomp.h>
  35. #include <rw/stddefs.h> 
  36. #include <stdarg.h>
  37. #include <rw/rwstderr_macros.h>
  38.  
  39. #ifndef _RWSTD_NO_NAMESPACE
  40. namespace __rwstd {
  41. #endif
  42.  
  43. #define _RWSTD_ERROR_BUFSIZE 240
  44.  
  45.   class _RWSTDExport except_msg_string
  46.     {
  47.     public:
  48.     except_msg_string(const char* ...);
  49.     except_msg_string(unsigned int ...);
  50.     const char* msgstr() const {return __msg;}
  51.     private:
  52.     except_msg_string(const except_msg_string&);
  53.     except_msg_string& operator=(const except_msg_string&);
  54.     char __msg[_RWSTD_ERROR_BUFSIZE];
  55.     };
  56.  
  57. #ifndef _RWSTD_NO_NAMESPACE
  58. } // __rwstd
  59. #endif
  60.          
  61. #endif// __STD_RWSTDERR_H
  62. #pragma option pop
  63. #endif /* __RWSTDERR_H */
  64.