Sophie

Sophie

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

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: bms.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>bms.h</h1><a href="bms_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"> * Copyright (C) 1996-2010, International Business Machines Corporation and Others.</span>
<a name="l00003"></a>00003 <span class="comment"> * All rights reserved.</span>
<a name="l00004"></a>00004 <span class="comment"> */</span>
<a name="l00005"></a>00005 
<a name="l00012"></a>00012 <span class="preprocessor">#ifndef _BMS_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span><span class="preprocessor">#define _BMS_H</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &quot;<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>&quot;</span>
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#if !UCONFIG_NO_COLLATION &amp;&amp; !UCONFIG_NO_BREAK_ITERATION</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &quot;<a class="code" href="ucol_8h.html" title="C API: Collator.">unicode/ucol.h</a>&quot;</span>
<a name="l00020"></a>00020 
<a name="l00035"></a><a class="code" href="bms_8h.html#a14f9e43aeb102d7d728d4e14bf4bc49b">00035</a> <span class="keyword">typedef</span> <span class="keywordtype">void</span> <a class="code" href="bms_8h.html#a14f9e43aeb102d7d728d4e14bf4bc49b" title="A UCD object holds the Collator-specific data needed to compute the length of the...">UCD</a>;
<a name="l00036"></a>00036 
<a name="l00051"></a>00051 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <a class="code" href="bms_8h.html#a14f9e43aeb102d7d728d4e14bf4bc49b" title="A UCD object holds the Collator-specific data needed to compute the length of the...">UCD</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00052"></a>00052 <a class="code" href="bms_8h.html#a35c00e7aacd736c42c722d32d79ade80" title="Open a UCD object.">ucd_open</a>(<a class="code" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081" title="structure representing a collator object instance">UCollator</a> *coll, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00053"></a>00053 
<a name="l00061"></a>00061 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00062"></a>00062 <a class="code" href="bms_8h.html#ac3f6886c656edb2f20b766058c34531c" title="Release a UCD object.">ucd_close</a>(<a class="code" href="bms_8h.html#a14f9e43aeb102d7d728d4e14bf4bc49b" title="A UCD object holds the Collator-specific data needed to compute the length of the...">UCD</a> *ucd);
<a name="l00063"></a>00063 
<a name="l00077"></a>00077 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <a class="code" href="ucol_8h.html#a3c4eeb412a5fd72762e6245aa75ca081" title="structure representing a collator object instance">UCollator</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00078"></a>00078 <a class="code" href="bms_8h.html#aa27cdc9cb357b05770273f09df5f0555" title="Get the UCollator object used to create a UCD object.">ucd_getCollator</a>(<a class="code" href="bms_8h.html#a14f9e43aeb102d7d728d4e14bf4bc49b" title="A UCD object holds the Collator-specific data needed to compute the length of the...">UCD</a> *ucd);
<a name="l00079"></a>00079 
<a name="l00092"></a>00092 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00093"></a>00093 <a class="code" href="bms_8h.html#adc8b9769d98b198c09b586056fe286e6" title="UCD objects are expensive to compute, and so may be cached.">ucd_freeCache</a>();
<a name="l00094"></a>00094 
<a name="l00102"></a>00102 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00103"></a>00103 <a class="code" href="bms_8h.html#ae2e5d015ba1fe45a3b62314016ff8a28" title="UCD objects are expensive to compute, and so may be cached.">ucd_flushCache</a>();
<a name="l00104"></a>00104 
<a name="l00182"></a>00182 <span class="keyword">struct </span><a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a>;
<a name="l00183"></a><a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">00183</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a> <a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a>; 
<a name="l00203"></a>00203 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00204"></a>00204 <a class="code" href="bms_8h.html#ab8223f8dba9dd98fba364c96d0ac0df4" title="Construct a MBS object.">bms_open</a>(<a class="code" href="bms_8h.html#a14f9e43aeb102d7d728d4e14bf4bc49b" title="A UCD object holds the Collator-specific data needed to compute the length of the...">UCD</a> *ucd,
<a name="l00205"></a>00205          <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> *pattern, int32_t patternLength,
<a name="l00206"></a>00206          <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> *target,  int32_t targetLength,
<a name="l00207"></a>00207          <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a>  *status);
<a name="l00208"></a>00208 
<a name="l00216"></a>00216 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00217"></a>00217 <a class="code" href="bms_8h.html#a16322812145a772ce956199ff07bbd1d" title="Close a BMS object and release all the storage associated with it.">bms_close</a>(<a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a> *bms);
<a name="l00218"></a>00218 
<a name="l00227"></a>00227 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00228"></a>00228 <a class="code" href="bms_8h.html#a8f3065ec3172eaf7d6612211ea728ef1" title="Test the pattern to see if it generates any CEs.">bms_empty</a>(<a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a> *bms);
<a name="l00229"></a>00229 
<a name="l00241"></a>00241 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <a class="code" href="bms_8h.html#a14f9e43aeb102d7d728d4e14bf4bc49b" title="A UCD object holds the Collator-specific data needed to compute the length of the...">UCD</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00242"></a>00242 <a class="code" href="bms_8h.html#a3a558073174b435209fdf3c312c9d619" title="Get the UCD object used to create a given BMS object.">bms_getData</a>(<a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a> *bms);
<a name="l00243"></a>00243 
<a name="l00256"></a>00256 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00257"></a>00257 <a class="code" href="bms_8h.html#afd1f73840d3ac44ab10b066e1aeec02f" title="Search for the pattern string in the target string.">bms_search</a>(<a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a> *bms, int32_t offset, int32_t *start, int32_t *end);
<a name="l00258"></a>00258 
<a name="l00269"></a>00269 <a class="code" href="umachine_8h.html#a676114b1a64bb7c2de15c919a00b28df" title="This is used to declare a function as a public ICU C API.">U_CAPI</a> <span class="keywordtype">void</span> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a>
<a name="l00270"></a>00270 <a class="code" href="bms_8h.html#aa9e626d8e00681389916ec6fea984339" title="Set the target string for the match.">bms_setTargetString</a>(<a class="code" href="bms_8h.html#a1590a1f5f8051f0996dfddd4131d307f">BMS</a> *bms, <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> *target, int32_t targetLength, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all...">UErrorCode</a> *status);
<a name="l00271"></a>00271 
<a name="l00272"></a>00272 <span class="preprocessor">#endif</span>
<a name="l00273"></a>00273 <span class="preprocessor"></span>
<a name="l00274"></a>00274 <span class="preprocessor">#endif </span><span class="comment">/* _BMS_H */</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>