Home | History | Annotate | Download | only in i18n
      1 /********************************************************************
      2  * COPYRIGHT:
      3  * Copyright (c) 1997-2010, International Business Machines Corporation and
      4  * others. All Rights Reserved.
      5  * Copyright (C) 2010 , Yahoo! Inc.
      6  ********************************************************************
      7  * File SELECTFMT_IMPL.H
      8  *
      9  *   Date        Name        Description
     10  *   11/11/09    kirtig      Finished first cut of implementation.
     11  *********************************************************************/
     12 
     13 
     14 #ifndef SELFMTIMPL
     15 #define SELFMTIMPL
     16 
     17 /**
     18  * \file
     19  * \brief C++ API: Defines rules for mapping positive long values onto a small set of keywords.
     20  */
     21 
     22 #if !UCONFIG_NO_FORMATTING
     23 
     24 #include "unicode/format.h"
     25 #include "unicode/locid.h"
     26 #include "unicode/parseerr.h"
     27 #include "unicode/utypes.h"
     28 #include "uvector.h"
     29 #include "hash.h"
     30 
     31 U_NAMESPACE_BEGIN
     32 
     33 #define DOT               ((UChar)0x002E)
     34 #define SINGLE_QUOTE      ((UChar)0x0027)
     35 #define SLASH             ((UChar)0x002F)
     36 #define BACKSLASH         ((UChar)0x005C)
     37 #define SPACE             ((UChar)0x0020)
     38 #define TAB               ((UChar)0x0009)
     39 #define QUOTATION_MARK    ((UChar)0x0022)
     40 #define ASTERISK          ((UChar)0x002A)
     41 #define COMMA             ((UChar)0x002C)
     42 #define HYPHEN            ((UChar)0x002D)
     43 #define U_ZERO            ((UChar)0x0030)
     44 #define U_ONE             ((UChar)0x0031)
     45 #define U_TWO             ((UChar)0x0032)
     46 #define U_THREE           ((UChar)0x0033)
     47 #define U_FOUR            ((UChar)0x0034)
     48 #define U_FIVE            ((UChar)0x0035)
     49 #define U_SIX             ((UChar)0x0036)
     50 #define U_SEVEN           ((UChar)0x0037)
     51 #define U_EIGHT           ((UChar)0x0038)
     52 #define U_NINE            ((UChar)0x0039)
     53 #define COLON             ((UChar)0x003A)
     54 #define SEMI_COLON        ((UChar)0x003B)
     55 #define CAP_A             ((UChar)0x0041)
     56 #define CAP_B             ((UChar)0x0042)
     57 #define CAP_R             ((UChar)0x0052)
     58 #define CAP_Z             ((UChar)0x005A)
     59 #define LOWLINE           ((UChar)0x005F)
     60 #define LEFTBRACE         ((UChar)0x007B)
     61 #define RIGHTBRACE        ((UChar)0x007D)
     62 
     63 #define LOW_A             ((UChar)0x0061)
     64 #define LOW_B             ((UChar)0x0062)
     65 #define LOW_C             ((UChar)0x0063)
     66 #define LOW_D             ((UChar)0x0064)
     67 #define LOW_E             ((UChar)0x0065)
     68 #define LOW_F             ((UChar)0x0066)
     69 #define LOW_G             ((UChar)0x0067)
     70 #define LOW_H             ((UChar)0x0068)
     71 #define LOW_I             ((UChar)0x0069)
     72 #define LOW_J             ((UChar)0x006a)
     73 #define LOW_K             ((UChar)0x006B)
     74 #define LOW_L             ((UChar)0x006C)
     75 #define LOW_M             ((UChar)0x006D)
     76 #define LOW_N             ((UChar)0x006E)
     77 #define LOW_O             ((UChar)0x006F)
     78 #define LOW_P             ((UChar)0x0070)
     79 #define LOW_Q             ((UChar)0x0071)
     80 #define LOW_R             ((UChar)0x0072)
     81 #define LOW_S             ((UChar)0x0073)
     82 #define LOW_T             ((UChar)0x0074)
     83 #define LOW_U             ((UChar)0x0075)
     84 #define LOW_V             ((UChar)0x0076)
     85 #define LOW_W             ((UChar)0x0077)
     86 #define LOW_X             ((UChar)0x0078)
     87 #define LOW_Y             ((UChar)0x0079)
     88 #define LOW_Z             ((UChar)0x007A)
     89 
     90 class UnicodeSet;
     91 
     92 U_NAMESPACE_END
     93 
     94 #endif /* #if !UCONFIG_NO_FORMATTING */
     95 
     96 #endif // SELFMTIMPL
     97 //eof
     98