Файловый менеджер - Редактировать - /opt/alt/alt-nodejs20/root/usr/share/doc/alt-nodejs20-libicu-doc/classmessage2_1_1Formatter.html
Назад
<!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"/> <meta name="generator" content="Doxygen 1.8.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ICU 78.3: icu::message2::Formatter Class Reference</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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.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 id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">ICU 78.3  <span id="projectnumber">78.3</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><b>message2</b></li><li class="navelem"><a class="el" href="classicu_1_1message2_1_1Formatter.html">Formatter</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <div class="title">icu::message2::Formatter Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p>Interface that formatter classes must implement. <a href="classicu_1_1message2_1_1Formatter.html#details">More...</a></p> <p><code>#include <<a class="el" href="messageformat2__function__registry_8h_source.html">messageformat2_function_registry.h</a>></code></p> <div class="dynheader"> Inheritance diagram for icu::message2::Formatter:</div> <div class="dyncontent"> <div class="center"> <img src="classicu_1_1message2_1_1Formatter.png" usemap="#icu::message2::Formatter_map" alt=""/> <map id="icu::message2::Formatter_map" name="icu::message2::Formatter_map"> <area href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class. " alt="icu::UObject" shape="rect" coords="0,56,151,80"/> <area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,151,24"/> </map> </div></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a828398e029a5b72507d77b4721eebc61"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1message2_1_1FormattedPlaceholder.html">FormattedPlaceholder</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formatter.html#a828398e029a5b72507d77b4721eebc61">format</a> (<a class="el" href="classicu_1_1message2_1_1FormattedPlaceholder.html">FormattedPlaceholder</a> &&toFormat, <a class="el" href="classicu_1_1message2_1_1FunctionOptions.html">FunctionOptions</a> &&options, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const =0</td></tr> <tr class="memdesc:a828398e029a5b72507d77b4721eebc61"><td class="mdescLeft"> </td><td class="mdescRight">Formats the input passed in <code>context</code> by setting an output using one of the <code>FormattingContext</code> methods or indicating an error. <a href="#a828398e029a5b72507d77b4721eebc61">More...</a><br /></td></tr> <tr class="separator:a828398e029a5b72507d77b4721eebc61"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a02b85df6764f007ed866f214f11c15d4"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formatter.html#a02b85df6764f007ed866f214f11c15d4">~Formatter</a> ()</td></tr> <tr class="memdesc:a02b85df6764f007ed866f214f11c15d4"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a02b85df6764f007ed866f214f11c15d4">More...</a><br /></td></tr> <tr class="separator:a02b85df6764f007ed866f214f11c15d4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr> <tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr> <tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr> <tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aca1169c4978c52ce2b76eda104e9a214 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#aca1169c4978c52ce2b76eda104e9a214">getDynamicClassID</a> () const</td></tr> <tr class="memdesc:aca1169c4978c52ce2b76eda104e9a214 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft"> </td><td class="mdescRight">ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class. <a href="classicu_1_1UObject.html#aca1169c4978c52ce2b76eda104e9a214">More...</a><br /></td></tr> <tr class="separator:aca1169c4978c52ce2b76eda104e9a214 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Interface that formatter classes must implement. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000692">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 75 technology preview </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000661">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> <p class="definition">Definition at line <a class="el" href="messageformat2__function__registry_8h_source.html#l00337">337</a> of file <a class="el" href="messageformat2__function__registry_8h_source.html">messageformat2_function_registry.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="a02b85df6764f007ed866f214f11c15d4"></a> <h2 class="memtitle"><span class="permalink"><a href="#a02b85df6764f007ed866f214f11c15d4">◆ </a></span>~Formatter()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual icu::message2::Formatter::~Formatter </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Destructor. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000714">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 75 technology preview </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000683">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a828398e029a5b72507d77b4721eebc61"></a> <h2 class="memtitle"><span class="permalink"><a href="#a828398e029a5b72507d77b4721eebc61">◆ </a></span>format()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classicu_1_1message2_1_1FormattedPlaceholder.html">FormattedPlaceholder</a> icu::message2::Formatter::format </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1message2_1_1FormattedPlaceholder.html">FormattedPlaceholder</a> && </td> <td class="paramname"><em>toFormat</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1message2_1_1FunctionOptions.html">FunctionOptions</a> && </td> <td class="paramname"><em>options</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">pure virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Formats the input passed in <code>context</code> by setting an output using one of the <code>FormattingContext</code> methods or indicating an error. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">toFormat</td><td>Placeholder, including a source formattable value and possibly the output of a previous formatter applied to it; see <code><a class="el" href="classicu_1_1message2_1_1FormattedPlaceholder.html" title="A FormattablePlaceholder encapsulates an input value (a message2::Formattable) together with an optio...">message2::FormattedPlaceholder</a></code> for details. Passed by move. </td></tr> <tr><td class="paramname">options</td><td>The named function options. Passed by move </td></tr> <tr><td class="paramname">status</td><td>Input/output error code. Should not be set directly by the custom formatter, which should use <code>FormattingContext::setFormattingWarning()</code> to signal errors. The custom formatter may pass <code>status</code> to other ICU functions that can signal errors using this mechanism.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The formatted value.</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000713">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. ICU 75 technology preview </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000682">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>i18n/unicode/<a class="el" href="messageformat2__function__registry_8h_source.html">messageformat2_function_registry.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>
| ver. 1.6 |
Github
|
.
| PHP 8.3.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка