<!-- 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: umsg.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>umsg.h</h1><a href="umsg_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: </span> <a name="l00003"></a>00003 <span class="comment"> * Copyright (c) 1997-2010, International Business Machines Corporation and</span> <a name="l00004"></a>00004 <span class="comment"> * others. All Rights Reserved.</span> <a name="l00005"></a>00005 <span class="comment"> * Copyright (C) 2010 , Yahoo! Inc. </span> <a name="l00006"></a>00006 <span class="comment"> ********************************************************************</span> <a name="l00007"></a>00007 <span class="comment"> *</span> <a name="l00008"></a>00008 <span class="comment"> * file name: umsg.h</span> <a name="l00009"></a>00009 <span class="comment"> * encoding: US-ASCII</span> <a name="l00010"></a>00010 <span class="comment"> * tab size: 8 (not used)</span> <a name="l00011"></a>00011 <span class="comment"> * indentation:4</span> <a name="l00012"></a>00012 <span class="comment"> *</span> <a name="l00013"></a>00013 <span class="comment"> * Change history:</span> <a name="l00014"></a>00014 <span class="comment"> *</span> <a name="l00015"></a>00015 <span class="comment"> * 08/5/2001 Ram Added C wrappers for C++ API.</span> <a name="l00016"></a>00016 <span class="comment"> * </span> <a name="l00017"></a>00017 <span class="comment"> ********************************************************************/</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#ifndef UMSG_H</span> <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define UMSG_H</span> <a name="l00021"></a>00021 <span class="preprocessor"></span> <a name="l00022"></a>00022 <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="l00023"></a>00023 <a name="l00024"></a>00024 <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span> <a name="l00025"></a>00025 <span class="preprocessor"></span> <a name="l00026"></a>00026 <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="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="uloc_8h.html" title="C API: Locale.">unicode/uloc.h</a>"</span> <a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="parseerr_8h.html" title="C API: Parse Error Information.">unicode/parseerr.h</a>"</span> <a name="l00029"></a>00029 <span class="preprocessor">#include <stdarg.h></span> <a name="l00262"></a>00262 <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="l00263"></a>00263 <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, <a name="l00264"></a>00264 <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, <a name="l00265"></a>00265 int32_t patternLength, <a name="l00266"></a>00266 <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> *result, <a name="l00267"></a>00267 int32_t resultLength, <a name="l00268"></a>00268 <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="l00269"></a>00269 ...); <a name="l00270"></a>00270 <a name="l00289"></a>00289 <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="l00290"></a>00290 <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, <a name="l00291"></a>00291 <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, <a name="l00292"></a>00292 int32_t patternLength, <a name="l00293"></a>00293 <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> *result, <a name="l00294"></a>00294 int32_t resultLength, <a name="l00295"></a>00295 va_list ap, <a name="l00296"></a>00296 <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="l00297"></a>00297 <a name="l00314"></a>00314 <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="l00315"></a>00315 <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, <a name="l00316"></a>00316 <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, <a name="l00317"></a>00317 int32_t patternLength, <a name="l00318"></a>00318 <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> *source, <a name="l00319"></a>00319 int32_t sourceLength, <a name="l00320"></a>00320 <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="l00321"></a>00321 ...); <a name="l00322"></a>00322 <a name="l00339"></a>00339 <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="l00340"></a>00340 <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, <a name="l00341"></a>00341 <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, <a name="l00342"></a>00342 int32_t patternLength, <a name="l00343"></a>00343 <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> *source, <a name="l00344"></a>00344 int32_t sourceLength, <a name="l00345"></a>00345 va_list ap, <a name="l00346"></a>00346 <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="l00347"></a>00347 <a name="l00368"></a>00368 <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="l00369"></a>00369 <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, <a name="l00370"></a>00370 <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, <a name="l00371"></a>00371 int32_t patternLength, <a name="l00372"></a>00372 <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> *result, <a name="l00373"></a>00373 int32_t resultLength, <a name="l00374"></a>00374 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a> *parseError, <a name="l00375"></a>00375 <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="l00376"></a>00376 ...); <a name="l00377"></a>00377 <a name="l00397"></a>00397 <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="l00398"></a>00398 <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, <a name="l00399"></a>00399 <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, <a name="l00400"></a>00400 int32_t patternLength, <a name="l00401"></a>00401 <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> *result, <a name="l00402"></a>00402 int32_t resultLength, <a name="l00403"></a>00403 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a>* parseError, <a name="l00404"></a>00404 va_list ap, <a name="l00405"></a>00405 <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="l00406"></a>00406 <a name="l00425"></a>00425 <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="l00426"></a>00426 <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, <a name="l00427"></a>00427 <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, <a name="l00428"></a>00428 int32_t patternLength, <a name="l00429"></a>00429 <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> *source, <a name="l00430"></a>00430 int32_t sourceLength, <a name="l00431"></a>00431 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a> *parseError, <a name="l00432"></a>00432 <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="l00433"></a>00433 ...); <a name="l00434"></a>00434 <a name="l00453"></a>00453 <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="l00454"></a>00454 <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, <a name="l00455"></a>00455 <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, <a name="l00456"></a>00456 int32_t patternLength, <a name="l00457"></a>00457 <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> *source, <a name="l00458"></a>00458 int32_t sourceLength, <a name="l00459"></a>00459 va_list ap, <a name="l00460"></a>00460 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a> *parseError, <a name="l00461"></a>00461 <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="l00462"></a>00462 <a name="l00463"></a>00463 <span class="comment">/*----------------------- New experimental API --------------------------- */</span> <a name="l00468"></a><a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553">00468</a> <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>; <a name="l00469"></a>00469 <a name="l00470"></a>00470 <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> <a class="code" href="umsg_8h.html#ab9e7346a57f2faed6df44a2e620e7553" title="The message format object.">UMessageFormat</a>* <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00484"></a>00484 <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 wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a> *pattern, <a name="l00485"></a>00485 int32_t patternLength, <a name="l00486"></a>00486 <span class="keyword">const</span> <span class="keywordtype">char</span> *locale, <a name="l00487"></a>00487 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a> *parseError, <a name="l00488"></a>00488 <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="l00489"></a>00489 <a name="l00496"></a>00496 <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="l00497"></a>00497 <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); <a name="l00498"></a>00498 <a name="l00499"></a>00499 <span class="preprocessor">#if U_SHOW_CPLUSPLUS_API</span> <a name="l00500"></a>00500 <span class="preprocessor"></span> <a name="l00501"></a>00501 <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="l00502"></a>00502 <a name="l00512"></a>00512 U_DEFINE_LOCAL_OPEN_POINTER(LocalUMessageFormatPointer, <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>); <a name="l00513"></a>00513 <a name="l00514"></a>00514 <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="l00515"></a>00515 <a name="l00516"></a>00516 <span class="preprocessor">#endif</span> <a name="l00517"></a>00517 <span class="preprocessor"></span> <a name="l00526"></a>00526 <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> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a name="l00527"></a>00527 <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, <a name="l00528"></a>00528 <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="l00529"></a>00529 <a name="l00537"></a>00537 <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="l00538"></a>00538 <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, <a name="l00539"></a>00539 <span class="keyword">const</span> <span class="keywordtype">char</span>* locale); <a name="l00540"></a>00540 <a name="l00548"></a>00548 <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="l00549"></a>00549 <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); <a name="l00550"></a>00550 <a name="l00563"></a>00563 <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="l00564"></a>00564 <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, <a name="l00565"></a>00565 <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, <a name="l00566"></a>00566 int32_t patternLength, <a name="l00567"></a>00567 <a class="code" href="structUParseError.html" title="A UParseError struct is used to returned detailed information about parsing errors...">UParseError</a>* parseError, <a name="l00568"></a>00568 <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="l00569"></a>00569 <a name="l00581"></a>00581 <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="l00582"></a>00582 <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, <a name="l00583"></a>00583 <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>* result, <a name="l00584"></a>00584 int32_t resultLength, <a name="l00585"></a>00585 <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="l00586"></a>00586 <a name="l00602"></a>00602 <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="l00603"></a>00603 <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, <a name="l00604"></a>00604 <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> *result, <a name="l00605"></a>00605 int32_t resultLength, <a name="l00606"></a>00606 <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="l00607"></a>00607 ...); <a name="l00608"></a>00608 <a name="l00624"></a>00624 <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="l00625"></a>00625 <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, <a name="l00626"></a>00626 <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> *result, <a name="l00627"></a>00627 int32_t resultLength, <a name="l00628"></a>00628 va_list ap, <a name="l00629"></a>00629 <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="l00630"></a>00630 <a name="l00645"></a>00645 <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="l00646"></a>00646 <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, <a name="l00647"></a>00647 <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> *source, <a name="l00648"></a>00648 int32_t sourceLength, <a name="l00649"></a>00649 int32_t *count, <a name="l00650"></a>00650 <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="l00651"></a>00651 ...); <a name="l00652"></a>00652 <a name="l00668"></a>00668 <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="l00669"></a>00669 <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, <a name="l00670"></a>00670 <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> *source, <a name="l00671"></a>00671 int32_t sourceLength, <a name="l00672"></a>00672 int32_t *count, <a name="l00673"></a>00673 va_list ap, <a name="l00674"></a>00674 <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="l00675"></a>00675 <a name="l00676"></a>00676 <a name="l00700"></a>00700 <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="l00701"></a>00701 <a class="code" href="umsg_8h.html#a9da796210146ff51d395affe4928f0b7" title="Convert an &#39;apostrophe-friendly&#39; 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 wchar_t if that is 16 bits wide; always assumed to be unsigned...">UChar</a>* pattern, <a name="l00702"></a>00702 int32_t patternLength, <a name="l00703"></a>00703 <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>* dest, <a name="l00704"></a>00704 int32_t destCapacity, <a name="l00705"></a>00705 <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>* ec); <a name="l00706"></a>00706 <a name="l00707"></a>00707 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span> <a name="l00708"></a>00708 <a name="l00709"></a>00709 <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>