Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 34ae14235711d1471f043ac894a061f9 > files > 476

libicu-doc-3.6-5.16.1.x86_64.rpm

<!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: utf.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&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<h1>utf.h</h1><a href="utf_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">*</span>
<a name="l00004"></a>00004 <span class="comment">*   Copyright (C) 1999-2006, International Business Machines</span>
<a name="l00005"></a>00005 <span class="comment">*   Corporation and others.  All Rights Reserved.</span>
<a name="l00006"></a>00006 <span class="comment">*</span>
<a name="l00007"></a>00007 <span class="comment">*******************************************************************************</span>
<a name="l00008"></a>00008 <span class="comment">*   file name:  utf.h</span>
<a name="l00009"></a>00009 <span class="comment">*   encoding:   US-ASCII</span>
<a name="l00010"></a>00010 <span class="comment">*   tab size:   8 (not used)</span>
<a name="l00011"></a>00011 <span class="comment">*   indentation:4</span>
<a name="l00012"></a>00012 <span class="comment">*</span>
<a name="l00013"></a>00013 <span class="comment">*   created on: 1999sep09</span>
<a name="l00014"></a>00014 <span class="comment">*   created by: Markus W. Scherer</span>
<a name="l00015"></a>00015 <span class="comment">*/</span>
<a name="l00016"></a>00016 
<a name="l00108"></a>00108 <span class="preprocessor">#ifndef __UTF_H__</span>
<a name="l00109"></a>00109 <span class="preprocessor"></span><span class="preprocessor">#define __UTF_H__</span>
<a name="l00110"></a>00110 <span class="preprocessor"></span>
<a name="l00111"></a>00111 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span>
<a name="l00112"></a>00112 <span class="comment">/* include the utfXX.h after the following definitions */</span>
<a name="l00113"></a>00113 
<a name="l00114"></a>00114 <span class="comment">/* single-code point definitions -------------------------------------------- */</span>
<a name="l00115"></a>00115 
<a name="l00134"></a><a class="code" href="utf_8h.html#223e78b4d8bad22d77eed7d64a676050">00134</a> <span class="preprocessor">#define U_SENTINEL (-1)</span>
<a name="l00135"></a>00135 <span class="preprocessor"></span>
<a name="l00142"></a><a class="code" href="utf_8h.html#9884cb0b3fdbf1f6651031a996b5b0b2">00142</a> <span class="preprocessor">#define U_IS_UNICODE_NONCHAR(c) \</span>
<a name="l00143"></a>00143 <span class="preprocessor">    ((c)&gt;=0xfdd0 &amp;&amp; \</span>
<a name="l00144"></a>00144 <span class="preprocessor">     ((uint32_t)(c)&lt;=0xfdef || ((c)&amp;0xfffe)==0xfffe) &amp;&amp; \</span>
<a name="l00145"></a>00145 <span class="preprocessor">     (uint32_t)(c)&lt;=0x10ffff)</span>
<a name="l00146"></a>00146 <span class="preprocessor"></span>
<a name="l00164"></a><a class="code" href="utf_8h.html#c4919c53d22c61373c64e322a87f68ba">00164</a> <span class="preprocessor">#define U_IS_UNICODE_CHAR(c) \</span>
<a name="l00165"></a>00165 <span class="preprocessor">    ((uint32_t)(c)&lt;0xd800 || \</span>
<a name="l00166"></a>00166 <span class="preprocessor">        ((uint32_t)(c)&gt;0xdfff &amp;&amp; \</span>
<a name="l00167"></a>00167 <span class="preprocessor">         (uint32_t)(c)&lt;=0x10ffff &amp;&amp; \</span>
<a name="l00168"></a>00168 <span class="preprocessor">         !U_IS_UNICODE_NONCHAR(c)))</span>
<a name="l00169"></a>00169 <span class="preprocessor"></span>
<a name="l00176"></a><a class="code" href="utf_8h.html#fe1263ba8e6aebcf015160ba7ae0873e">00176</a> <span class="preprocessor">#define U_IS_BMP(c) ((uint32_t)(c)&lt;=0xffff)</span>
<a name="l00177"></a>00177 <span class="preprocessor"></span>
<a name="l00184"></a><a class="code" href="utf_8h.html#24182903d6f25ff230686cae63f6e5a9">00184</a> <span class="preprocessor">#define U_IS_SUPPLEMENTARY(c) ((uint32_t)((c)-0x10000)&lt;=0xfffff)</span>
<a name="l00185"></a>00185 <span class="preprocessor"></span> 
<a name="l00192"></a><a class="code" href="utf_8h.html#50a7207bcdf8da1572b349109ed3d31f">00192</a> <span class="preprocessor">#define U_IS_LEAD(c) (((c)&amp;0xfffffc00)==0xd800)</span>
<a name="l00193"></a>00193 <span class="preprocessor"></span>
<a name="l00200"></a><a class="code" href="utf_8h.html#62b4299d33790d65cfe9514ecdb4ee05">00200</a> <span class="preprocessor">#define U_IS_TRAIL(c) (((c)&amp;0xfffffc00)==0xdc00)</span>
<a name="l00201"></a>00201 <span class="preprocessor"></span>
<a name="l00208"></a><a class="code" href="utf_8h.html#93785e873165371e11fdb860fa103928">00208</a> <span class="preprocessor">#define U_IS_SURROGATE(c) (((c)&amp;0xfffff800)==0xd800)</span>
<a name="l00209"></a>00209 <span class="preprocessor"></span>
<a name="l00217"></a><a class="code" href="utf_8h.html#3ac964ef25d1a36b5a09d92024ba5198">00217</a> <span class="preprocessor">#define U_IS_SURROGATE_LEAD(c) (((c)&amp;0x400)==0)</span>
<a name="l00218"></a>00218 <span class="preprocessor"></span>
<a name="l00219"></a>00219 <span class="comment">/* include the utfXX.h ------------------------------------------------------ */</span>
<a name="l00220"></a>00220 
<a name="l00221"></a>00221 <span class="preprocessor">#include "<a class="code" href="utf8_8h.html">unicode/utf8.h</a>"</span>
<a name="l00222"></a>00222 <span class="preprocessor">#include "<a class="code" href="utf16_8h.html">unicode/utf16.h</a>"</span>
<a name="l00223"></a>00223 
<a name="l00224"></a>00224 <span class="comment">/* utf_old.h contains deprecated, pre-ICU 2.4 definitions */</span>
<a name="l00225"></a>00225 <span class="preprocessor">#include "<a class="code" href="utf__old_8h.html">unicode/utf_old.h</a>"</span>
<a name="l00226"></a>00226 
<a name="l00227"></a>00227 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Tue Dec 13 17:29:51 2011 for ICU 3.6 by&nbsp;
<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>