<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>ICU 52.1: umsg.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <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="namespaces.html"><span>Namespaces</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> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_73bc6a9bb617ea1bc89a10aa59ce84e4.html">i18n</a></li><li class="navelem"><a class="el" href="dir_0119ce638985e8a1561a00fdb5f76ff6.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">umsg.h</div> </div> </div><!--header--> <div class="contents"> <a href="umsg_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/********************************************************************</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * COPYRIGHT: </span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright (c) 1997-2011, International Business Machines Corporation and</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * others. All Rights Reserved.</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright (C) 2010 , Yahoo! Inc. </span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> ********************************************************************</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * file name: umsg.h</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * encoding: US-ASCII</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * tab size: 8 (not used)</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * indentation:4</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> *</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * Change history:</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * 08/5/2001 Ram Added C wrappers for C++ API.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> ********************************************************************/</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#ifndef UMSG_H</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span><span class="preprocessor">#define UMSG_H</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <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></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span></div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="localpointer_8h.html" title="C++ API: "Smart pointers" for use with and in ICU4C C++ code.">unicode/localpointer.h</a>"</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include "<a class="code" href="uloc_8h.html" title="C API: Locale.">unicode/uloc.h</a>"</span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html" title="C API: Parse Error Information.">unicode/parseerr.h</a>"</span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <stdarg.h></span></div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div> <div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <a class="code" href="umsg_8h.html#a4c02e1b7cff1ab8d463878e9aa1f0255" title="Format a message for a locale.">u_formatMessage</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  int32_t patternLength,</div> <div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *result,</div> <div class="line"><a name="l00181"></a><span class="lineno"> 181</span>  int32_t resultLength,</div> <div class="line"><a name="l00182"></a><span class="lineno"> 182</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status,</div> <div class="line"><a name="l00183"></a><span class="lineno"> 183</span>  ...);</div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00204"></a><span class="lineno"> 204</span> <a class="code" href="umsg_8h.html#a19d9729739a5e7064219a5102a2ec290" title="Format a message for a locale.">u_vformatMessage</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  int32_t patternLength,</div> <div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *result,</div> <div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  int32_t resultLength,</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  va_list ap,</div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00211"></a><span class="lineno"> 211</span> </div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> <a class="code" href="umsg_8h.html#a954261c179cdbe9f7d84c272451d7fa7" title="Parse a message.">u_parseMessage</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  int32_t patternLength,</div> <div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *source,</div> <div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  int32_t sourceLength,</div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status,</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  ...);</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div> <div class="line"><a name="l00253"></a><span class="lineno"> 253</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span> <a class="code" href="umsg_8h.html#ae01d11a87fd5511e356f0adc0a97df23" title="Parse a message.">u_vparseMessage</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  int32_t patternLength,</div> <div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *source,</div> <div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  int32_t sourceLength,</div> <div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  va_list ap,</div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span> </div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> <a class="code" href="umsg_8h.html#a689c0f8146908cb7bccc19bee19870af" title="Format a message for a locale.">u_formatMessageWithError</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  int32_t patternLength,</div> <div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *result,</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  int32_t resultLength,</div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> *parseError,</div> <div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status,</div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  ...);</div> <div class="line"><a name="l00291"></a><span class="lineno"> 291</span> </div> <div class="line"><a name="l00311"></a><span class="lineno"> 311</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</span> <a class="code" href="umsg_8h.html#a2d928c7b1d49eeb42e66caf774a4e112" title="Format a message for a locale.">u_vformatMessageWithError</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  int32_t patternLength,</div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *result,</div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  int32_t resultLength,</div> <div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a>* parseError,</div> <div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  va_list ap,</div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span> </div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> <a class="code" href="umsg_8h.html#ad88f13a12e31c0b7f55930f61be31979" title="Parse a message.">u_parseMessageWithError</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  int32_t patternLength,</div> <div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *source,</div> <div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  int32_t sourceLength,</div> <div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> *parseError,</div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status,</div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  ...);</div> <div class="line"><a name="l00348"></a><span class="lineno"> 348</span> </div> <div class="line"><a name="l00367"></a><span class="lineno"> 367</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</span> <a class="code" href="umsg_8h.html#af8560e57a59ffcdc0de91d6db3e26bae" title="Parse a message.">u_vparseMessageWithError</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  int32_t patternLength,</div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *source,</div> <div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  int32_t sourceLength,</div> <div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  va_list ap,</div> <div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> *parseError,</div> <div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00376"></a><span class="lineno"> 376</span> </div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="comment">/*----------------------- New experimental API --------------------------- */</span></div> <div class="line"><a name="l00382"></a><span class="lineno"><a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553"> 382</a></span> <span class="keyword">typedef</span> <span class="keywordtype">void</span>* <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a>;</div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span> </div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</span> <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="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a>* U_EXPORT2 </div> <div class="line"><a name="l00398"></a><span class="lineno"> 398</span> <a class="code" href="umsg_8h.html#a14218f82563d8ed52c16b4b66e6c056b" title="Open a message formatter with given pattern and for the given locale.">umsg_open</a>( <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *pattern,</div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  int32_t patternLength,</div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <span class="keyword">const</span> <span class="keywordtype">char</span> *locale,</div> <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a> *parseError,</div> <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00403"></a><span class="lineno"> 403</span> </div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span> <a class="code" href="umsg_8h.html#a6aa7c93af125cbbe3f9d5c321fdc593c" title="Close a UMessageFormat.">umsg_close</a>(<a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a>* format);</div> <div class="line"><a name="l00412"></a><span class="lineno"> 412</span> </div> <div class="line"><a name="l00413"></a><span class="lineno"> 413</span> <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span></div> <div class="line"><a name="l00414"></a><span class="lineno"> 414</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00415"></a><span class="lineno"> 415</span> <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></div> <div class="line"><a name="l00416"></a><span class="lineno"> 416</span> </div> <div class="line"><a name="l00426"></a><span class="lineno"> 426</span> <a class="code" href="localpointer_8h.html#a3030f841466c4bbbd465ac9c4b999549" title=""Smart pointer" definition macro, deletes objects via the closeFunction.">U_DEFINE_LOCAL_OPEN_POINTER</a>(<a class="code" href="classLocalUMessageFormatPointer.html" title=""Smart pointer" class, closes a UMessageFormat via umsg_close().">LocalUMessageFormatPointer</a>, <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a>, <a class="code" href="umsg_8h.html#a6aa7c93af125cbbe3f9d5c321fdc593c" title="Close a UMessageFormat.">umsg_close</a>);</div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span> </div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span> <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></div> <div class="line"><a name="l00429"></a><span class="lineno"> 429</span> </div> <div class="line"><a name="l00430"></a><span class="lineno"> 430</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00431"></a><span class="lineno"> 431</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00440"></a><span class="lineno"> 440</span> <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="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> U_EXPORT2 </div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span> <a class="code" href="umsg_8h.html#a89952c4d05455359365fb82c45144c3f" title="Open a copy of a UMessageFormat.">umsg_clone</a>(<span class="keyword">const</span> <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt,</div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span> </div> <div class="line"><a name="l00451"></a><span class="lineno"> 451</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <a class="code" href="umsg_8h.html#a85de2ac6bf6e40afe1a143bcc3ad389e" title="Sets the locale.">umsg_setLocale</a>(<a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt,</div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="keyword">const</span> <span class="keywordtype">char</span>* locale);</div> <div class="line"><a name="l00454"></a><span class="lineno"> 454</span> </div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span> <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>* U_EXPORT2 </div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span> <a class="code" href="umsg_8h.html#a0281d43c54deb52e531c92915edba997" title="Gets the locale.">umsg_getLocale</a>(<span class="keyword">const</span> <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt);</div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span> </div> <div class="line"><a name="l00477"></a><span class="lineno"> 477</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span> <a class="code" href="umsg_8h.html#ac3e6eb3b875750e179b86a646fb6626d" title="Sets the pattern.">umsg_applyPattern</a>( <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt,</div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* pattern,</div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span>  int32_t patternLength,</div> <div class="line"><a name="l00481"></a><span class="lineno"> 481</span>  <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors.">UParseError</a>* parseError,</div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span> </div> <div class="line"><a name="l00495"></a><span class="lineno"> 495</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00496"></a><span class="lineno"> 496</span> <a class="code" href="umsg_8h.html#af7f1f88f2472c4e4e9c8c732e84ebd22" title="Gets the pattern.">umsg_toPattern</a>(<span class="keyword">const</span> <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt,</div> <div class="line"><a name="l00497"></a><span class="lineno"> 497</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* result, </div> <div class="line"><a name="l00498"></a><span class="lineno"> 498</span>  int32_t resultLength,</div> <div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* status);</div> <div class="line"><a name="l00500"></a><span class="lineno"> 500</span> </div> <div class="line"><a name="l00516"></a><span class="lineno"> 516</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00517"></a><span class="lineno"> 517</span> <a class="code" href="umsg_8h.html#a90a4b5fe778754e5da52f7c2e5fd6048" title="Format a message for a locale.">umsg_format</a>( <span class="keyword">const</span> <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt,</div> <div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *result,</div> <div class="line"><a name="l00519"></a><span class="lineno"> 519</span>  int32_t resultLength,</div> <div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status,</div> <div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  ...);</div> <div class="line"><a name="l00522"></a><span class="lineno"> 522</span> </div> <div class="line"><a name="l00538"></a><span class="lineno"> 538</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00539"></a><span class="lineno"> 539</span> <a class="code" href="umsg_8h.html#ad3376e423041aa5b4c8595d6105c7999" title="Format a message for a locale.">umsg_vformat</a>( <span class="keyword">const</span> <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt,</div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *result,</div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  int32_t resultLength,</div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  va_list ap,</div> <div class="line"><a name="l00543"></a><span class="lineno"> 543</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span> </div> <div class="line"><a name="l00559"></a><span class="lineno"> 559</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00560"></a><span class="lineno"> 560</span> <a class="code" href="umsg_8h.html#a617f4fef1a5a85a8c1ffd5d21c3e777f" title="Parse a message.">umsg_parse</a>( <span class="keyword">const</span> <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt,</div> <div class="line"><a name="l00561"></a><span class="lineno"> 561</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *source,</div> <div class="line"><a name="l00562"></a><span class="lineno"> 562</span>  int32_t sourceLength,</div> <div class="line"><a name="l00563"></a><span class="lineno"> 563</span>  int32_t *count,</div> <div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status,</div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  ...);</div> <div class="line"><a name="l00566"></a><span class="lineno"> 566</span> </div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <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> U_EXPORT2 </div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</span> <a class="code" href="umsg_8h.html#a58ed416cca890687dbe4477e57d1d403" title="Parse a message.">umsg_vparse</a>(<span class="keyword">const</span> <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a> *fmt,</div> <div class="line"><a name="l00584"></a><span class="lineno"> 584</span>  <span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a> *source,</div> <div class="line"><a name="l00585"></a><span class="lineno"> 585</span>  int32_t sourceLength,</div> <div class="line"><a name="l00586"></a><span class="lineno"> 586</span>  int32_t *count,</div> <div class="line"><a name="l00587"></a><span class="lineno"> 587</span>  va_list ap,</div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a> *status);</div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span> </div> <div class="line"><a name="l00590"></a><span class="lineno"> 590</span> </div> <div class="line"><a name="l00614"></a><span class="lineno"> 614</span> <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 U_EXPORT2 </div> <div class="line"><a name="l00615"></a><span class="lineno"> 615</span> <a class="code" href="umsg_8h.html#a9da796210146ff51d395affe4928f0b7" title="Convert an 'apostrophe-friendly' pattern into a standard pattern.">umsg_autoQuoteApostrophe</a>(<span class="keyword">const</span> <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* pattern, </div> <div class="line"><a name="l00616"></a><span class="lineno"> 616</span>  int32_t patternLength,</div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span>  <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be UCHAR_TYPE, if that is #defined (for example, to char16_t), or wchar_t if that is ...">UChar</a>* dest,</div> <div class="line"><a name="l00618"></a><span class="lineno"> 618</span>  int32_t destCapacity,</div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span>  <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>* ec);</div> <div class="line"><a name="l00620"></a><span class="lineno"> 620</span> </div> <div class="line"><a name="l00621"></a><span class="lineno"> 621</span> <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00622"></a><span class="lineno"> 622</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00623"></a><span class="lineno"> 623</span> <span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:21 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>