<!-- 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.1: ubrk.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.2-20100208 --> <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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data 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 List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <h1>ubrk.h</h1><a href="ubrk_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) 1996-2010, International Business Machines Corporation and others.</span> <a name="l00004"></a>00004 <span class="comment">* 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 <a name="l00008"></a>00008 <span class="preprocessor">#ifndef UBRK_H</span> <a name="l00009"></a>00009 <span class="preprocessor"></span><span class="preprocessor">#define UBRK_H</span> <a name="l00010"></a>00010 <span class="preprocessor"></span> <a name="l00011"></a>00011 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span> <a name="l00012"></a>00012 <span class="preprocessor">#include "<a class="code" href="uloc_8h.html" title="C API: Locale.">unicode/uloc.h</a>"</span> <a name="l00013"></a>00013 <span class="preprocessor">#include "<a class="code" href="utext_8h.html" title="C API: Abstract Unicode Text API.">unicode/utext.h</a>"</span> <a name="l00014"></a>00014 <span class="preprocessor">#include "<a class="code" href="localpointer_8h.html" title="C++ API: &quot;Smart pointers&quot; for use with and in ICU4C C++ code.">unicode/localpointer.h</a>"</span> <a name="l00015"></a>00015 <a name="l00020"></a>00020 <span class="preprocessor">#ifndef UBRK_TYPEDEF_UBREAK_ITERATOR</span> <a name="l00021"></a>00021 <span class="preprocessor"></span><span class="preprocessor"># define UBRK_TYPEDEF_UBREAK_ITERATOR</span> <a name="l00022"></a>00022 <span class="preprocessor"></span> <a name="l00026"></a><a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4">00026</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> <a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a>; <a name="l00027"></a>00027 <span class="preprocessor">#endif</span> <a name="l00028"></a>00028 <span class="preprocessor"></span> <a name="l00029"></a>00029 <span class="preprocessor">#if !UCONFIG_NO_BREAK_ITERATION</span> <a name="l00030"></a>00030 <span class="preprocessor"></span> <a name="l00031"></a>00031 <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html" title="C API: Parse Error Information.">unicode/parseerr.h</a>"</span> <a name="l00032"></a>00032 <a name="l00087"></a><a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588b">00087</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588b" title="The possible types of text boundaries.">UBreakIteratorType</a> { <a name="l00089"></a><a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588ba446d025be7ca2f64dfac303b0a55c0b3">00089</a> <a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588ba446d025be7ca2f64dfac303b0a55c0b3" title="Character breaks.">UBRK_CHARACTER</a> = 0, <a name="l00091"></a><a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588ba17772e8ee70d3de4064c71417c574f36">00091</a> <a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588ba17772e8ee70d3de4064c71417c574f36" title="Word breaks.">UBRK_WORD</a> = 1, <a name="l00093"></a><a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588ba73e81a0d478daeb2c6de8a63cac1070c">00093</a> <a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588ba73e81a0d478daeb2c6de8a63cac1070c" title="Line breaks.">UBRK_LINE</a> = 2, <a name="l00095"></a><a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588bab1b31cbd0fb0b298b87cb67da729ba62">00095</a> <a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588bab1b31cbd0fb0b298b87cb67da729ba62" title="Sentence breaks.">UBRK_SENTENCE</a> = 3, <a name="l00096"></a>00096 <a name="l00097"></a>00097 <span class="preprocessor">#ifndef U_HIDE_DEPRECATED_API</span> <a name="l00098"></a>00098 <span class="preprocessor"></span> <a name="l00106"></a><a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588ba3d79f0b0db32243e6b85b0b5036f9831">00106</a> <a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588ba3d79f0b0db32243e6b85b0b5036f9831" title="Title Case breaks The iterator created using this type locates title boundaries as...">UBRK_TITLE</a> = 4, <a name="l00107"></a>00107 <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DEPRECATED_API */</span> <a name="l00108"></a>00108 UBRK_COUNT = 5 <a name="l00109"></a>00109 } <a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588b" title="The possible types of text boundaries.">UBreakIteratorType</a>; <a name="l00110"></a>00110 <a name="l00114"></a><a class="code" href="ubrk_8h.html#a7c31c1e5091fb47ab85db522c7536252">00114</a> <span class="preprocessor">#define UBRK_DONE ((int32_t) -1)</span> <a name="l00115"></a>00115 <span class="preprocessor"></span> <a name="l00116"></a>00116 <a name="l00125"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9">00125</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9" title="Enum constants for the word break tags returned by getRuleStatus().">UWordBreak</a> { <a name="l00128"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a8229f94661c6289a6497018ef341801a">00128</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a8229f94661c6289a6497018ef341801a" title="Tag value for &quot;words&quot; that do not fit into any of other categories.">UBRK_WORD_NONE</a> = 0, <a name="l00130"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a54839e74f8aa4ffd4ea7b9d86f3de050">00130</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a54839e74f8aa4ffd4ea7b9d86f3de050" title="Upper bound for tags for uncategorized words.">UBRK_WORD_NONE_LIMIT</a> = 100, <a name="l00132"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a3ec03137beddd2ce1d611cc7798b6e74">00132</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a3ec03137beddd2ce1d611cc7798b6e74" title="Tag value for words that appear to be numbers, lower limit.">UBRK_WORD_NUMBER</a> = 100, <a name="l00134"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a82e563b42b89e0a49c097d40a54c8621">00134</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a82e563b42b89e0a49c097d40a54c8621" title="Tag value for words that appear to be numbers, upper limit.">UBRK_WORD_NUMBER_LIMIT</a> = 200, <a name="l00137"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a945eb6dd49881b36d4e2c9f592d97197">00137</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a945eb6dd49881b36d4e2c9f592d97197" title="Tag value for words that contain letters, excluding hiragana, katakana or ideographic...">UBRK_WORD_LETTER</a> = 200, <a name="l00139"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a66ad49e358ce8a4fba6d6161ec678dd6">00139</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a66ad49e358ce8a4fba6d6161ec678dd6" title="Tag value for words containing letters, upper limit.">UBRK_WORD_LETTER_LIMIT</a> = 300, <a name="l00141"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a69f55c4740ce6f96ad9b61d859de201f">00141</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a69f55c4740ce6f96ad9b61d859de201f" title="Tag value for words containing kana characters, lower limit.">UBRK_WORD_KANA</a> = 300, <a name="l00143"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a7d507a35a3813629c11340a3f0f10fec">00143</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a7d507a35a3813629c11340a3f0f10fec" title="Tag value for words containing kana characters, upper limit.">UBRK_WORD_KANA_LIMIT</a> = 400, <a name="l00145"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a295f3da24ba9978b5787c1494079c8de">00145</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a295f3da24ba9978b5787c1494079c8de" title="Tag value for words containing ideographic characters, lower limit.">UBRK_WORD_IDEO</a> = 400, <a name="l00147"></a><a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a8097221024f5c65d58951ad488d57474">00147</a> <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9a8097221024f5c65d58951ad488d57474" title="Tag value for words containing ideographic characters, upper limit.">UBRK_WORD_IDEO_LIMIT</a> = 500 <a name="l00148"></a>00148 } <a class="code" href="ubrk_8h.html#af9836cc79482f82ac12eefb1f70b14b9" title="Enum constants for the word break tags returned by getRuleStatus().">UWordBreak</a>; <a name="l00149"></a>00149 <a name="l00158"></a><a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccd">00158</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccd" title="Enum constants for the line break tags returned by getRuleStatus().">ULineBreakTag</a> { <a name="l00161"></a><a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccda6a91dd50489f1fbc5c8c32c29fcc3fee">00161</a> <a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccda6a91dd50489f1fbc5c8c32c29fcc3fee" title="Tag value for soft line breaks, positions at which a line break is acceptable but...">UBRK_LINE_SOFT</a> = 0, <a name="l00163"></a><a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccdaef314dd1a053a6f2ab57c06f3a3d5f1f">00163</a> <a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccdaef314dd1a053a6f2ab57c06f3a3d5f1f" title="Upper bound for soft line breaks.">UBRK_LINE_SOFT_LIMIT</a> = 100, <a name="l00165"></a><a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccdad02d1bfcd98382e53c9e83db37fba492">00165</a> <a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccdad02d1bfcd98382e53c9e83db37fba492" title="Tag value for a hard, or mandatory line break.">UBRK_LINE_HARD</a> = 100, <a name="l00167"></a><a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccdae767435243d44e5a22c1db90dd3a8f6e">00167</a> <a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccdae767435243d44e5a22c1db90dd3a8f6e" title="Upper bound for hard line breaks.">UBRK_LINE_HARD_LIMIT</a> = 200 <a name="l00168"></a>00168 } <a class="code" href="ubrk_8h.html#a8de005c411b5e5306850f4246d1d7ccd" title="Enum constants for the line break tags returned by getRuleStatus().">ULineBreakTag</a>; <a name="l00169"></a>00169 <a name="l00170"></a>00170 <a name="l00171"></a>00171 <a name="l00180"></a><a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71">00180</a> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71" title="Enum constants for the sentence break tags returned by getRuleStatus().">USentenceBreakTag</a> { <a name="l00185"></a><a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71addbcb13addb315fc0814a6fb1284c339">00185</a> <a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71addbcb13addb315fc0814a6fb1284c339" title="Tag value for for sentences ending with a sentence terminator (&#39;.">UBRK_SENTENCE_TERM</a> = 0, <a name="l00187"></a><a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71a650703353df53947eb3b996e3e5239f7">00187</a> <a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71a650703353df53947eb3b996e3e5239f7" title="Upper bound for tags for sentences ended by sentence terminators.">UBRK_SENTENCE_TERM_LIMIT</a> = 100, <a name="l00192"></a><a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71aca695be696e0e48676c109de60bcbbdf">00192</a> <a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71aca695be696e0e48676c109de60bcbbdf" title="Tag value for for sentences that do not contain an ending sentence terminator (&#39;...">UBRK_SENTENCE_SEP</a> = 100, <a name="l00194"></a><a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71af573420e1d53a811d6c5c4a07a4f5c8e">00194</a> <a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71af573420e1d53a811d6c5c4a07a4f5c8e" title="Upper bound for tags for sentences ended by a separator.">UBRK_SENTENCE_SEP_LIMIT</a> = 200 <a name="l00196"></a>00196 } <a class="code" href="ubrk_8h.html#ad03d8e27f121bcf11eaed0a288786a71" title="Enum constants for the sentence break tags returned by getRuleStatus().">USentenceBreakTag</a>; <a name="l00197"></a>00197 <a name="l00198"></a>00198 <a name="l00213"></a>00213 <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> <a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00214"></a>00214 <a class="code" href="ubrk_8h.html#a4e5fd80d818fb4ec23330d8935b2754d" title="Open a new UBreakIterator for locating text boundaries for a specified locale.">ubrk_open</a>(<a class="code" href="ubrk_8h.html#a026dec40289da8261d787daf3baa588b" title="The possible types of text boundaries.">UBreakIteratorType</a> type, <a name="l00215"></a>00215 <span class="keyword">const</span> <span class="keywordtype">char</span> *locale, <a name="l00216"></a>00216 <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> *text, <a name="l00217"></a>00217 int32_t textLength, <a name="l00218"></a>00218 <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="l00219"></a>00219 <a name="l00235"></a>00235 <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> <a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00236"></a>00236 <a class="code" href="ubrk_8h.html#a11826cb21213916c2d91579b673d8949" title="Open a new UBreakIterator for locating text boundaries using specified breaking rules...">ubrk_openRules</a>(<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> *rules, <a name="l00237"></a>00237 int32_t rulesLength, <a name="l00238"></a>00238 <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> *text, <a name="l00239"></a>00239 int32_t textLength, <a name="l00240"></a>00240 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a> *parseErr, <a name="l00241"></a>00241 <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="l00242"></a>00242 <a name="l00259"></a>00259 <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> <a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> * <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00260"></a>00260 <a class="code" href="ubrk_8h.html#a6901f59d9c74bc8e16b9994cb1be7679" title="Thread safe cloning operation.">ubrk_safeClone</a>( <a name="l00261"></a>00261 <span class="keyword">const</span> <a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi, <a name="l00262"></a>00262 <span class="keywordtype">void</span> *stackBuffer, <a name="l00263"></a>00263 int32_t *pBufferSize, <a name="l00264"></a>00264 <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="l00265"></a>00265 <a name="l00270"></a><a class="code" href="ubrk_8h.html#ab17dc88e0028fd85c622889eea22a6fa">00270</a> <span class="preprocessor">#define U_BRK_SAFECLONE_BUFFERSIZE 512</span> <a name="l00271"></a>00271 <span class="preprocessor"></span> <a name="l00278"></a>00278 <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="l00279"></a>00279 <a class="code" href="ubrk_8h.html#a5e398fb0fe194683a000b3989c041fda" title="Close a UBreakIterator.">ubrk_close</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi); <a name="l00280"></a>00280 <a name="l00281"></a>00281 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span> <a name="l00282"></a>00282 <span class="preprocessor"></span> <a name="l00283"></a>00283 <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a> <a name="l00284"></a>00284 <a name="l00294"></a>00294 U_DEFINE_LOCAL_OPEN_POINTER(LocalUBreakIteratorPointer, <a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a>, <a class="code" href="ubrk_8h.html#a5e398fb0fe194683a000b3989c041fda" title="Close a UBreakIterator.">ubrk_close</a>); <a name="l00295"></a>00295 <a name="l00296"></a>00296 <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a> <a name="l00297"></a>00297 <a name="l00298"></a>00298 <span class="preprocessor">#endif</span> <a name="l00299"></a>00299 <span class="preprocessor"></span> <a name="l00308"></a>00308 <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="l00309"></a>00309 <a class="code" href="ubrk_8h.html#a8c8a6679a8ce36ba5d035b99748c8339" title="Sets an existing iterator to point to a new piece of text.">ubrk_setText</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a>* bi, <a name="l00310"></a>00310 <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>* text, <a name="l00311"></a>00311 int32_t textLength, <a name="l00312"></a>00312 <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="l00313"></a>00313 <a name="l00314"></a>00314 <a name="l00326"></a>00326 <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="l00327"></a>00327 <a class="code" href="ubrk_8h.html#ac91bfeb92a3e489e3188f02597f4c9c7" title="Sets an existing iterator to point to a new piece of text.">ubrk_setUText</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a>* bi, <a name="l00328"></a>00328 <a class="code" href="structUText.html" title="UText struct.">UText</a>* text, <a name="l00329"></a>00329 <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="l00330"></a>00330 <a name="l00331"></a>00331 <a name="l00332"></a>00332 <a name="l00341"></a>00341 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00342"></a>00342 <a class="code" href="ubrk_8h.html#a4f8b67527c5c9d9205a3446506ffeefc" title="Determine the most recently-returned text boundary.">ubrk_current</a>(<span class="keyword">const</span> <a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi); <a name="l00343"></a>00343 <a name="l00353"></a>00353 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00354"></a>00354 <a class="code" href="ubrk_8h.html#a17158fccedcf72481eaca61fffab4ce6" title="Determine the text boundary following the current text boundary.">ubrk_next</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi); <a name="l00355"></a>00355 <a name="l00365"></a>00365 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00366"></a>00366 <a class="code" href="ubrk_8h.html#a318c950f25ee89a66c989feced3a41f0" title="Determine the text boundary preceding the current text boundary.">ubrk_previous</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi); <a name="l00367"></a>00367 <a name="l00376"></a>00376 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00377"></a>00377 <a class="code" href="ubrk_8h.html#a2ae638e98af0830b66ff058b48e7dbcd" title="Determine the index of the first character in the text being scanned.">ubrk_first</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi); <a name="l00378"></a>00378 <a name="l00389"></a>00389 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00390"></a>00390 <a class="code" href="ubrk_8h.html#a24ffb5cee86ffe1ee8aa0d53093b352f" title="Determine the index immediately beyond the last character in the text being scanned...">ubrk_last</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi); <a name="l00391"></a>00391 <a name="l00401"></a>00401 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00402"></a>00402 <a class="code" href="ubrk_8h.html#accaaccc55135961f45541bcbab580f9d" title="Determine the text boundary preceding the specified offset.">ubrk_preceding</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi, <a name="l00403"></a>00403 int32_t offset); <a name="l00404"></a>00404 <a name="l00414"></a>00414 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00415"></a>00415 <a class="code" href="ubrk_8h.html#a4724e6d07ea2f27b99a1bba60e4ef76c" title="Determine the text boundary following the specified offset.">ubrk_following</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi, <a name="l00416"></a>00416 int32_t offset); <a name="l00417"></a>00417 <a name="l00427"></a>00427 <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="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00428"></a>00428 <a class="code" href="ubrk_8h.html#a12fc845896682221749f03e7dc21e3e0" title="Get a locale for which text breaking information is available.">ubrk_getAvailable</a>(int32_t index); <a name="l00429"></a>00429 <a name="l00438"></a>00438 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00439"></a>00439 <a class="code" href="ubrk_8h.html#a8b587f3b0df1b680f4ca3f1d1f151f7e" title="Determine how many locales have text breaking information available.">ubrk_countAvailable</a>(<span class="keywordtype">void</span>); <a name="l00440"></a>00440 <a name="l00441"></a>00441 <a name="l00451"></a>00451 <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> <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="l00452"></a>00452 <a class="code" href="ubrk_8h.html#a701db54fd2c91c07490cb02ebdd54fa6" title="Returns true if the specfied position is a boundary position.">ubrk_isBoundary</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi, int32_t offset); <a name="l00453"></a>00453 <a name="l00463"></a>00463 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00464"></a>00464 <a class="code" href="ubrk_8h.html#a4314a5dd63efde9b372ded64b6f0c732" title="Return the status from the break rule that determined the most recently returned...">ubrk_getRuleStatus</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi); <a name="l00465"></a>00465 <a name="l00483"></a>00483 <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> int32_t <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00484"></a>00484 <a class="code" href="ubrk_8h.html#acf355cf304090ca6efb10c4318bde45e" title="Get the statuses from the break rules that determined the most recently returned...">ubrk_getRuleStatusVec</a>(<a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi, int32_t *fillInVec, int32_t capacity, <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="l00485"></a>00485 <a name="l00495"></a>00495 <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="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00496"></a>00496 <a class="code" href="ubrk_8h.html#ad95a44383cba60e20188025ab18c09fe" title="Return the locale of the break iterator.">ubrk_getLocaleByType</a>(<span class="keyword">const</span> <a class="code" href="ubrk_8h.html#adb85bb46d5f93c87098e11deab50bef4" title="A text-break iterator.">UBreakIterator</a> *bi, <a class="code" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34" title="Constants for *_getLocale() Allow user to select whether she wants information on...">ULocDataLocaleType</a> type, <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="l00497"></a>00497 <a name="l00498"></a>00498 <a name="l00499"></a>00499 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_BREAK_ITERATION */</span> <a name="l00500"></a>00500 <a name="l00501"></a>00501 <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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </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 class="footer"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2-20100208 </small></address> </body> </html>