home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / istrenum.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-22  |  1.7 KB  |  57 lines

  1.  
  2. #ifndef _ISTRENUM_
  3. #define _ISTRENUM_
  4. /*******************************************************************************
  5. * FILE NAME: istrenum.hpp                                                      *
  6. *                                                                              *
  7. * DESCRIPTION:                                                                 *
  8. *   Declaration of the classes:                                                *
  9. *     IStringEnum                                                              *
  10. *                                                                              *
  11. * COPYRIGHT:                                                                   *
  12. *   IBM Open Class Library                                                     *
  13. *   (C) Copyright International Business Machines Corporation 1992, 1996       *
  14. *   Licensed Material - Program-Property of IBM - All Rights Reserved.         *
  15. *   US Government Users Restricted Rights - Use, duplication, or disclosure    *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. *******************************************************************************/
  19.  
  20. #pragma pack(4)
  21.  
  22.  
  23.  
  24. class IStringEnum {
  25. public:
  26. /*------------------------- StripMode ----------------------------------------*/
  27. typedef enum {
  28.   leading,
  29.   trailing,
  30.   both
  31.   } StripMode;
  32.  
  33. /*------------------------- Character Type -----------------------------------*/
  34. typedef enum {
  35.   sbcs,
  36.   dbcs1 = 1,
  37.   mbcs1 = 1,
  38.   dbcs2 = 2,
  39.   mbcs2 = 2,
  40.   mbcs3 = 3,
  41.   mbcs4 = 4
  42.   } CharType;
  43.  
  44.  
  45.  
  46.  
  47. };
  48.  
  49.  
  50.  
  51. #pragma pack()
  52.  
  53. #endif // _ISTRENUM_
  54.  
  55.  
  56.  
  57.