<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ICU 3.6: uscript.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <h1>uscript.h</h1><a href="uscript_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment">**********************************************************************</span> <a name="l00003"></a>00003 <span class="comment">* Copyright (C) 1997-2006, International Business Machines</span> <a name="l00004"></a>00004 <span class="comment">* Corporation and others. All Rights Reserved.</span> <a name="l00005"></a>00005 <span class="comment">**********************************************************************</span> <a name="l00006"></a>00006 <span class="comment">*</span> <a name="l00007"></a>00007 <span class="comment">* File USCRIPT.H</span> <a name="l00008"></a>00008 <span class="comment">*</span> <a name="l00009"></a>00009 <span class="comment">* Modification History:</span> <a name="l00010"></a>00010 <span class="comment">*</span> <a name="l00011"></a>00011 <span class="comment">* Date Name Description</span> <a name="l00012"></a>00012 <span class="comment">* 07/06/2001 Ram Creation.</span> <a name="l00013"></a>00013 <span class="comment">******************************************************************************</span> <a name="l00014"></a>00014 <span class="comment">*/</span> <a name="l00015"></a>00015 <span class="preprocessor">#ifndef USCRIPT_H</span> <a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#define USCRIPT_H</span> <a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span> <a name="l00018"></a>00018 <a name="l00045"></a><a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed">00045</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed">UScriptCode</a> { <a name="l00046"></a>00046 USCRIPT_INVALID_CODE = -1, <a name="l00047"></a>00047 USCRIPT_COMMON = 0 , <span class="comment">/* Zyyy */</span> <a name="l00048"></a>00048 USCRIPT_INHERITED = 1, <span class="comment">/* Qaai */</span> <a name="l00049"></a>00049 USCRIPT_ARABIC = 2, <span class="comment">/* Arab */</span> <a name="l00050"></a>00050 USCRIPT_ARMENIAN = 3, <span class="comment">/* Armn */</span> <a name="l00051"></a>00051 USCRIPT_BENGALI = 4, <span class="comment">/* Beng */</span> <a name="l00052"></a>00052 USCRIPT_BOPOMOFO = 5, <span class="comment">/* Bopo */</span> <a name="l00053"></a>00053 USCRIPT_CHEROKEE = 6, <span class="comment">/* Cher */</span> <a name="l00054"></a>00054 USCRIPT_COPTIC = 7, <span class="comment">/* Copt */</span> <a name="l00055"></a>00055 USCRIPT_CYRILLIC = 8, <span class="comment">/* Cyrl */</span> <a name="l00056"></a>00056 USCRIPT_DESERET = 9, <span class="comment">/* Dsrt */</span> <a name="l00057"></a>00057 USCRIPT_DEVANAGARI = 10, <span class="comment">/* Deva */</span> <a name="l00058"></a>00058 USCRIPT_ETHIOPIC = 11, <span class="comment">/* Ethi */</span> <a name="l00059"></a>00059 USCRIPT_GEORGIAN = 12, <span class="comment">/* Geor */</span> <a name="l00060"></a>00060 USCRIPT_GOTHIC = 13, <span class="comment">/* Goth */</span> <a name="l00061"></a>00061 USCRIPT_GREEK = 14, <span class="comment">/* Grek */</span> <a name="l00062"></a>00062 USCRIPT_GUJARATI = 15, <span class="comment">/* Gujr */</span> <a name="l00063"></a>00063 USCRIPT_GURMUKHI = 16, <span class="comment">/* Guru */</span> <a name="l00064"></a>00064 USCRIPT_HAN = 17, <span class="comment">/* Hani */</span> <a name="l00065"></a>00065 USCRIPT_HANGUL = 18, <span class="comment">/* Hang */</span> <a name="l00066"></a>00066 USCRIPT_HEBREW = 19, <span class="comment">/* Hebr */</span> <a name="l00067"></a>00067 USCRIPT_HIRAGANA = 20, <span class="comment">/* Hira */</span> <a name="l00068"></a>00068 USCRIPT_KANNADA = 21, <span class="comment">/* Knda */</span> <a name="l00069"></a>00069 USCRIPT_KATAKANA = 22, <span class="comment">/* Kana */</span> <a name="l00070"></a>00070 USCRIPT_KHMER = 23, <span class="comment">/* Khmr */</span> <a name="l00071"></a>00071 USCRIPT_LAO = 24, <span class="comment">/* Laoo */</span> <a name="l00072"></a>00072 USCRIPT_LATIN = 25, <span class="comment">/* Latn */</span> <a name="l00073"></a>00073 USCRIPT_MALAYALAM = 26, <span class="comment">/* Mlym */</span> <a name="l00074"></a>00074 USCRIPT_MONGOLIAN = 27, <span class="comment">/* Mong */</span> <a name="l00075"></a>00075 USCRIPT_MYANMAR = 28, <span class="comment">/* Mymr */</span> <a name="l00076"></a>00076 USCRIPT_OGHAM = 29, <span class="comment">/* Ogam */</span> <a name="l00077"></a>00077 USCRIPT_OLD_ITALIC = 30, <span class="comment">/* Ital */</span> <a name="l00078"></a>00078 USCRIPT_ORIYA = 31, <span class="comment">/* Orya */</span> <a name="l00079"></a>00079 USCRIPT_RUNIC = 32, <span class="comment">/* Runr */</span> <a name="l00080"></a>00080 USCRIPT_SINHALA = 33, <span class="comment">/* Sinh */</span> <a name="l00081"></a>00081 USCRIPT_SYRIAC = 34, <span class="comment">/* Syrc */</span> <a name="l00082"></a>00082 USCRIPT_TAMIL = 35, <span class="comment">/* Taml */</span> <a name="l00083"></a>00083 USCRIPT_TELUGU = 36, <span class="comment">/* Telu */</span> <a name="l00084"></a>00084 USCRIPT_THAANA = 37, <span class="comment">/* Thaa */</span> <a name="l00085"></a>00085 USCRIPT_THAI = 38, <span class="comment">/* Thai */</span> <a name="l00086"></a>00086 USCRIPT_TIBETAN = 39, <span class="comment">/* Tibt */</span> <a name="l00088"></a>00088 <a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed9f32cb827a31b1428fc8c2fca20f74c2">USCRIPT_CANADIAN_ABORIGINAL</a> = 40, <span class="comment">/* Cans */</span> <a name="l00090"></a>00090 <a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8edfde185c180050946b3a555f0aa0ad069">USCRIPT_UCAS</a> = <a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed9f32cb827a31b1428fc8c2fca20f74c2">USCRIPT_CANADIAN_ABORIGINAL</a>, <a name="l00091"></a>00091 USCRIPT_YI = 41, <span class="comment">/* Yiii */</span> <a name="l00092"></a>00092 USCRIPT_TAGALOG = 42, <span class="comment">/* Tglg */</span> <a name="l00093"></a>00093 USCRIPT_HANUNOO = 43, <span class="comment">/* Hano */</span> <a name="l00094"></a>00094 USCRIPT_BUHID = 44, <span class="comment">/* Buhd */</span> <a name="l00095"></a>00095 USCRIPT_TAGBANWA = 45, <span class="comment">/* Tagb */</span> <a name="l00096"></a>00096 <a name="l00097"></a>00097 <span class="comment">/* New scripts in Unicode 4 @stable ICU 2.6 */</span> <a name="l00098"></a>00098 USCRIPT_BRAILLE = 46, <span class="comment">/* Brai */</span> <a name="l00099"></a>00099 USCRIPT_CYPRIOT = 47, <span class="comment">/* Cprt */</span> <a name="l00100"></a>00100 USCRIPT_LIMBU = 48, <span class="comment">/* Limb */</span> <a name="l00101"></a>00101 USCRIPT_LINEAR_B = 49, <span class="comment">/* Linb */</span> <a name="l00102"></a>00102 USCRIPT_OSMANYA = 50, <span class="comment">/* Osma */</span> <a name="l00103"></a>00103 USCRIPT_SHAVIAN = 51, <span class="comment">/* Shaw */</span> <a name="l00104"></a>00104 USCRIPT_TAI_LE = 52, <span class="comment">/* Tale */</span> <a name="l00105"></a>00105 USCRIPT_UGARITIC = 53, <span class="comment">/* Ugar */</span> <a name="l00106"></a>00106 <a name="l00108"></a>00108 <a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed39d0c2de46bd3bc69359243bbb47bee8">USCRIPT_KATAKANA_OR_HIRAGANA</a> = 54,<span class="comment">/*Hrkt */</span> <a name="l00109"></a>00109 <a name="l00110"></a>00110 <span class="preprocessor">#ifndef U_HIDE_DRAFT_API</span> <a name="l00111"></a>00111 <span class="preprocessor"></span> <span class="comment">/* New scripts in Unicode 4.1 @draft ICU 3.4 */</span> <a name="l00112"></a>00112 USCRIPT_BUGINESE = 55, <span class="comment">/* Bugi */</span> <a name="l00113"></a>00113 USCRIPT_GLAGOLITIC = 56, <span class="comment">/* Glag */</span> <a name="l00114"></a>00114 USCRIPT_KHAROSHTHI = 57, <span class="comment">/* Khar */</span> <a name="l00115"></a>00115 USCRIPT_SYLOTI_NAGRI = 58, <span class="comment">/* Sylo */</span> <a name="l00116"></a>00116 USCRIPT_NEW_TAI_LUE = 59, <span class="comment">/* Talu */</span> <a name="l00117"></a>00117 USCRIPT_TIFINAGH = 60, <span class="comment">/* Tfng */</span> <a name="l00118"></a>00118 USCRIPT_OLD_PERSIAN = 61, <span class="comment">/* Xpeo */</span> <a name="l00119"></a>00119 <a name="l00120"></a>00120 <span class="comment">/* New script codes from ISO 15924 @draft ICU 3.6 */</span> <a name="l00121"></a>00121 USCRIPT_BALINESE = 62, <span class="comment">/* Bali */</span> <a name="l00122"></a>00122 USCRIPT_BATAK = 63, <span class="comment">/* Batk */</span> <a name="l00123"></a>00123 USCRIPT_BLISSYMBOLS = 64, <span class="comment">/* Blis */</span> <a name="l00124"></a>00124 USCRIPT_BRAHMI = 65, <span class="comment">/* Brah */</span> <a name="l00125"></a>00125 USCRIPT_CHAM = 66, <span class="comment">/* Cham */</span> <a name="l00126"></a>00126 USCRIPT_CIRTH = 67, <span class="comment">/* Cirt */</span> <a name="l00127"></a>00127 USCRIPT_OLD_CHURCH_SLAVONIC_CYRILLIC = 68, <span class="comment">/* Cyrs */</span> <a name="l00128"></a>00128 USCRIPT_DEMOTIC_EGYPTIAN = 69, <span class="comment">/* Egyd */</span> <a name="l00129"></a>00129 USCRIPT_HIERATIC_EGYPTIAN = 70, <span class="comment">/* Egyh */</span> <a name="l00130"></a>00130 USCRIPT_EGYPTIAN_HIEROGLYPHS = 71, <span class="comment">/* Egyp */</span> <a name="l00131"></a>00131 USCRIPT_KHUTSURI = 72, <span class="comment">/* Geok */</span> <a name="l00132"></a>00132 USCRIPT_SIMPLIFIED_HAN = 73, <span class="comment">/* Hans */</span> <a name="l00133"></a>00133 USCRIPT_TRADITIONAL_HAN = 74, <span class="comment">/* Hant */</span> <a name="l00134"></a>00134 USCRIPT_PAHAWH_HMONG = 75, <span class="comment">/* Hmng */</span> <a name="l00135"></a>00135 USCRIPT_OLD_HUNGARIAN = 76, <span class="comment">/* Hung */</span> <a name="l00136"></a>00136 USCRIPT_HARAPPAN_INDUS = 77, <span class="comment">/* Inds */</span> <a name="l00137"></a>00137 USCRIPT_JAVANESE = 78, <span class="comment">/* Java */</span> <a name="l00138"></a>00138 USCRIPT_KAYAH_LI = 79, <span class="comment">/* Kali */</span> <a name="l00139"></a>00139 USCRIPT_LATIN_FRAKTUR = 80, <span class="comment">/* Latf */</span> <a name="l00140"></a>00140 USCRIPT_LATIN_GAELIC = 81, <span class="comment">/* Latg */</span> <a name="l00141"></a>00141 USCRIPT_LEPCHA = 82, <span class="comment">/* Lepc */</span> <a name="l00142"></a>00142 USCRIPT_LINEAR_A = 83, <span class="comment">/* Lina */</span> <a name="l00143"></a>00143 USCRIPT_MANDAEAN = 84, <span class="comment">/* Mand */</span> <a name="l00144"></a>00144 USCRIPT_MAYAN_HIEROGLYPHS = 85, <span class="comment">/* Maya */</span> <a name="l00145"></a>00145 USCRIPT_MEROITIC = 86, <span class="comment">/* Mero */</span> <a name="l00146"></a>00146 USCRIPT_NKO = 87, <span class="comment">/* Nkoo */</span> <a name="l00147"></a>00147 USCRIPT_ORKHON = 88, <span class="comment">/* Orkh */</span> <a name="l00148"></a>00148 USCRIPT_OLD_PERMIC = 89, <span class="comment">/* Perm */</span> <a name="l00149"></a>00149 USCRIPT_PHAGS_PA = 90, <span class="comment">/* Phag */</span> <a name="l00150"></a>00150 USCRIPT_PHOENICIAN = 91, <span class="comment">/* Phnx */</span> <a name="l00151"></a>00151 USCRIPT_PHONETIC_POLLARD = 92, <span class="comment">/* Plrd */</span> <a name="l00152"></a>00152 USCRIPT_RONGORONGO = 93, <span class="comment">/* Roro */</span> <a name="l00153"></a>00153 USCRIPT_SARATI = 94, <span class="comment">/* Sara */</span> <a name="l00154"></a>00154 USCRIPT_ESTRANGELO_SYRIAC = 95, <span class="comment">/* Syre */</span> <a name="l00155"></a>00155 USCRIPT_WESTERN_SYRIAC = 96, <span class="comment">/* Syrj */</span> <a name="l00156"></a>00156 USCRIPT_EASTERN_SYRIAC = 97, <span class="comment">/* Syrn */</span> <a name="l00157"></a>00157 USCRIPT_TENGWAR = 98, <span class="comment">/* Teng */</span> <a name="l00158"></a>00158 USCRIPT_VAI = 99, <span class="comment">/* Vaii */</span> <a name="l00159"></a>00159 USCRIPT_VISIBLE_SPEECH = 100, <span class="comment">/* Visp */</span> <a name="l00160"></a>00160 USCRIPT_CUNEIFORM = 101,<span class="comment">/* Xsux */</span> <a name="l00161"></a>00161 USCRIPT_UNWRITTEN_LANGUAGES = 102,<span class="comment">/* Zxxx */</span> <a name="l00162"></a>00162 USCRIPT_UNKNOWN = 103,<span class="comment">/* Zzzz */</span> <span class="comment">/* Unknown="Code for uncoded script", for unassigned code points */</span> <a name="l00163"></a>00163 <span class="comment">/* Private use codes from Qaaa - Qabx are not supported*/</span> <a name="l00164"></a>00164 <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DRAFT_API */</span> <a name="l00165"></a>00165 USCRIPT_CODE_LIMIT = 104 <a name="l00166"></a>00166 } <a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed">UScriptCode</a>; <a name="l00167"></a>00167 <a name="l00186"></a>00186 <a class="code" href="umachine_8h.html#827899f75db3ae4cfde9ad08fc2853a0">U_STABLE</a> <a class="code" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> <a name="l00187"></a>00187 <a class="code" href="uscript_8h.html#c43fa4eefb54c0f2cd8e4e3caeece93f">uscript_getCode</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* nameOrAbbrOrLocale,<a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed">UScriptCode</a>* fillIn,<a class="code" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> capacity,<a class="code" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> *err); <a name="l00188"></a>00188 <a name="l00197"></a>00197 <a class="code" href="umachine_8h.html#827899f75db3ae4cfde9ad08fc2853a0">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> <a name="l00198"></a>00198 <a class="code" href="uscript_8h.html#678faee8bd8f7c7fc77fff39b31f1208">uscript_getName</a>(<a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed">UScriptCode</a> scriptCode); <a name="l00199"></a>00199 <a name="l00208"></a>00208 <a class="code" href="umachine_8h.html#827899f75db3ae4cfde9ad08fc2853a0">U_STABLE</a> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> <a name="l00209"></a>00209 <a class="code" href="uscript_8h.html#2640bb9f18f55e9056456bb6ac464cfa">uscript_getShortName</a>(<a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed">UScriptCode</a> scriptCode); <a name="l00210"></a>00210 <a name="l00219"></a>00219 <a class="code" href="umachine_8h.html#827899f75db3ae4cfde9ad08fc2853a0">U_STABLE</a> <a class="code" href="uscript_8h.html#df2efbd6b4086e948667603e0a52e8ed">UScriptCode</a> <a class="code" href="platform_8h.html#d665df105e679e1428e48dc5cb90a756">U_EXPORT2</a> <a name="l00220"></a>00220 <a class="code" href="uscript_8h.html#6a57043fce7f585094c7ec1ea4d4b4c2">uscript_getScript</a>(<a class="code" href="umachine_8h.html#a5c18ea10e60c576fe5ec420a7ef7b28">UChar32</a> codepoint, <a class="code" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> *err); <a name="l00221"></a>00221 <a name="l00222"></a>00222 <span class="preprocessor">#endif</span> <a name="l00223"></a>00223 <span class="preprocessor"></span> <a name="l00224"></a>00224 </pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 13 17:29:51 2011 for ICU 3.6 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>