Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > f51238514e2abe817779ad2fe01b0759 > files > 805

icu-doc-4.4-2.1mdv2010.2.i586.rpm

<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>ICU 4.4: uversion.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Search" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </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>uversion.h</h1><a href="uversion_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) 2000-2010, 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 name:  uversion.h</span>
<a name="l00008"></a>00008 <span class="comment">*   encoding:   US-ASCII</span>
<a name="l00009"></a>00009 <span class="comment">*   tab size:   8 (not used)</span>
<a name="l00010"></a>00010 <span class="comment">*   indentation:4</span>
<a name="l00011"></a>00011 <span class="comment">*</span>
<a name="l00012"></a>00012 <span class="comment">*   Created by: Vladimir Weinstein</span>
<a name="l00013"></a>00013 <span class="comment">*</span>
<a name="l00014"></a>00014 <span class="comment">*  Gets included by utypes.h and Windows .rc files</span>
<a name="l00015"></a>00015 <span class="comment">*/</span>
<a name="l00016"></a>00016 
<a name="l00021"></a>00021 <span class="comment">/*===========================================================================*/</span>
<a name="l00022"></a>00022 <span class="comment">/* Main ICU version information                                              */</span>
<a name="l00023"></a>00023 <span class="comment">/*===========================================================================*/</span>
<a name="l00024"></a>00024 
<a name="l00025"></a>00025 <span class="preprocessor">#ifndef UVERSION_H</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define UVERSION_H</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &quot;<a class="code" href="umachine_8h.html" title="Basic types and constants for UTF.">unicode/umachine.h</a>&quot;</span>
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="comment">/* Actual version info lives in uvernum.h */</span>
<a name="l00031"></a>00031 <span class="preprocessor">#include &quot;unicode/uvernum.h&quot;</span>
<a name="l00032"></a>00032 
<a name="l00036"></a><a class="code" href="uversion_8h.html#a8855561449c5835245f330ce18b4f781">00036</a> <span class="preprocessor">#define U_COPYRIGHT_STRING_LENGTH  128</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span>
<a name="l00041"></a><a class="code" href="uversion_8h.html#acf6cc6b794656998aaaba2ab03f29baf">00041</a> <span class="preprocessor">#define U_MAX_VERSION_LENGTH 4</span>
<a name="l00042"></a>00042 <span class="preprocessor"></span>
<a name="l00046"></a><a class="code" href="uversion_8h.html#a7d52298e2afe0f592cf53023d20c31e5">00046</a> <span class="preprocessor">#define U_VERSION_DELIMITER &apos;.&apos;</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00051"></a><a class="code" href="uversion_8h.html#af204c175920d1e8b82b1042447194977">00051</a> <span class="preprocessor">#define U_MAX_VERSION_STRING_LENGTH 20</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00057"></a><a class="code" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94">00057</a> <span class="keyword">typedef</span> uint8_t <a class="code" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94" title="The binary form of a version on ICU APIs is an array of 4 uint8_t.">UVersionInfo</a>[<a class="code" href="uversion_8h.html#acf6cc6b794656998aaaba2ab03f29baf" title="An ICU version consists of up to 4 numbers from 0..255.">U_MAX_VERSION_LENGTH</a>];
<a name="l00058"></a>00058 
<a name="l00059"></a>00059 <span class="comment">/*===========================================================================*/</span>
<a name="l00060"></a>00060 <span class="comment">/* C++ namespace if supported. Versioned unless versioning is disabled.      */</span>
<a name="l00061"></a>00061 <span class="comment">/*===========================================================================*/</span>
<a name="l00062"></a>00062 
<a name="l00101"></a>00101 <span class="comment">/* Define namespace symbols if the compiler supports it. */</span>
<a name="l00102"></a>00102 <span class="preprocessor">#ifdef XP_CPLUSPLUS</span>
<a name="l00103"></a>00103 <span class="preprocessor"></span><span class="preprocessor">#if U_HAVE_NAMESPACE</span>
<a name="l00104"></a>00104 <span class="preprocessor"></span><span class="preprocessor">#   if U_DISABLE_RENAMING</span>
<a name="l00105"></a>00105 <span class="preprocessor"></span><span class="preprocessor">#       define U_ICU_NAMESPACE icu</span>
<a name="l00106"></a>00106 <span class="preprocessor"></span>        <span class="keyword">namespace </span>U_ICU_NAMESPACE { }
<a name="l00107"></a>00107 <span class="preprocessor">#   else</span>
<a name="l00108"></a>00108 <span class="preprocessor"></span><span class="preprocessor">#       define U_ICU_NAMESPACE U_ICU_ENTRY_POINT_RENAME(icu)</span>
<a name="l00109"></a>00109 <span class="preprocessor"></span>        <span class="keyword">namespace </span>U_ICU_NAMESPACE { }
<a name="l00110"></a>00110         <span class="keyword">namespace </span>icu = U_ICU_NAMESPACE;
<a name="l00111"></a>00111 <span class="preprocessor">#   endif</span>
<a name="l00112"></a>00112 <span class="preprocessor"></span>
<a name="l00113"></a>00113 <span class="preprocessor">#   define U_NAMESPACE_BEGIN extern &quot;C++&quot; { namespace U_ICU_NAMESPACE {</span>
<a name="l00114"></a>00114 <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_END } }</span>
<a name="l00115"></a>00115 <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_USE using namespace U_ICU_NAMESPACE;</span>
<a name="l00116"></a>00116 <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_QUALIFIER U_ICU_NAMESPACE::</span>
<a name="l00117"></a>00117 <span class="preprocessor"></span>
<a name="l00118"></a>00118 <span class="preprocessor">#   ifndef U_USING_ICU_NAMESPACE</span>
<a name="l00119"></a>00119 <span class="preprocessor"></span><span class="preprocessor">#       define U_USING_ICU_NAMESPACE 1</span>
<a name="l00120"></a>00120 <span class="preprocessor"></span><span class="preprocessor">#   endif</span>
<a name="l00121"></a>00121 <span class="preprocessor"></span><span class="preprocessor">#   if U_USING_ICU_NAMESPACE</span>
<a name="l00122"></a>00122 <span class="preprocessor"></span>        <a class="code" href="uversion_8h.html#aa0c93141ff345327f966fda6c3a2366f" title="This is used to specify that the rest of the code uses the public ICU C++ API namespace...">U_NAMESPACE_USE</a>
<a name="l00123"></a>00123 <span class="preprocessor">#   endif</span>
<a name="l00124"></a>00124 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00125"></a>00125 <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_BEGIN extern &quot;C++&quot; {</span>
<a name="l00126"></a>00126 <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_END }</span>
<a name="l00127"></a>00127 <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_USE</span>
<a name="l00128"></a>00128 <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_QUALIFIER</span>
<a name="l00129"></a>00129 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00130"></a>00130 <span class="preprocessor"></span><span class="preprocessor">#else</span>
<a name="l00131"></a><a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b">00131</a> <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_BEGIN</span>
<a name="l00132"></a><a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933">00132</a> <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_END</span>
<a name="l00133"></a><a class="code" href="uversion_8h.html#aa0c93141ff345327f966fda6c3a2366f">00133</a> <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_USE</span>
<a name="l00134"></a><a class="code" href="uversion_8h.html#a398d471a6b925791d52b72d7bb700bdd">00134</a> <span class="preprocessor"></span><span class="preprocessor">#   define U_NAMESPACE_QUALIFIER</span>
<a name="l00135"></a>00135 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00136"></a>00136 <span class="preprocessor"></span>
<a name="l00137"></a>00137 <span class="comment">/*===========================================================================*/</span>
<a name="l00138"></a>00138 <span class="comment">/* General version helper functions. Definitions in putil.c                  */</span>
<a name="l00139"></a>00139 <span class="comment">/*===========================================================================*/</span>
<a name="l00140"></a>00140 
<a name="l00152"></a>00152 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00153"></a>00153 <a class="code" href="uversion_8h.html#a358c6faf63bf23f51fc5153351866c95" title="Parse a string with dotted-decimal version information and fill in a UVersionInfo...">u_versionFromString</a>(<a class="code" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94" title="The binary form of a version on ICU APIs is an array of 4 uint8_t.">UVersionInfo</a> versionArray, <span class="keyword">const</span> <span class="keywordtype">char</span> *versionString);
<a name="l00154"></a>00154 
<a name="l00166"></a>00166 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00167"></a>00167 <a class="code" href="uversion_8h.html#afd8b49a4f07e049445f8891ae0aa6add" title="Parse a Unicode string with dotted-decimal version information and fill in a UVersionInfo...">u_versionFromUString</a>(<a class="code" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94" title="The binary form of a version on ICU APIs is an array of 4 uint8_t.">UVersionInfo</a> versionArray, <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *versionString);
<a name="l00168"></a>00168 
<a name="l00169"></a>00169 
<a name="l00182"></a>00182 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00183"></a>00183 <a class="code" href="uversion_8h.html#af5ca24a76d47d742ec5837ef96b026b7" title="Write a string with dotted-decimal version information according to the input UVersionInfo...">u_versionToString</a>(<a class="code" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94" title="The binary form of a version on ICU APIs is an array of 4 uint8_t.">UVersionInfo</a> versionArray, <span class="keywordtype">char</span> *versionString);
<a name="l00184"></a>00184 
<a name="l00193"></a>00193 <a class="code" href="umachine_8h.html#af3e3799716eaa41e3f49c7bf18c62b98" title="This is used to declare a function as a stable public ICU C API.">U_STABLE</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00194"></a>00194 <a class="code" href="uversion_8h.html#afcdc1acb19210765c232f93da732e22e" title="Gets the ICU release version.">u_getVersion</a>(<a class="code" href="uversion_8h.html#a61caef96ba86d8e86a4031925ea44e94" title="The binary form of a version on ICU APIs is an array of 4 uint8_t.">UVersionInfo</a> versionArray);
<a name="l00195"></a>00195 <span class="preprocessor">#endif</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr size="1"/><address style="text-align: right;"><small>Generated on 16 Mar 2010 for ICU 4.4 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>