Файловый менеджер - Редактировать - /opt/alt/alt-nodejs20/root/usr/share/doc/alt-nodejs20-libicu-doc/classmessage2_1_1Selector.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::Selector 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_1Selector.html">Selector</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::Selector Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div> </div><!--header--> <div class="contents"> <p>Interface that selector classes must implement. <a href="classicu_1_1message2_1_1Selector.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::Selector:</div> <div class="dyncontent"> <div class="center"> <img src="classicu_1_1message2_1_1Selector.png" usemap="#icu::message2::Selector_map" alt=""/> <map id="icu::message2::Selector_map" name="icu::message2::Selector_map"> <area href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class. " alt="icu::UObject" shape="rect" coords="0,56,144,80"/> <area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,144,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:a7cbc8acc3827aa0feb34fb3f67c86696"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Selector.html#a7cbc8acc3827aa0feb34fb3f67c86696">selectKey</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, const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> *keys, int32_t keysLen, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> *prefs, int32_t &prefsLen, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const =0</td></tr> <tr class="memdesc:a7cbc8acc3827aa0feb34fb3f67c86696"><td class="mdescLeft"> </td><td class="mdescRight">Compares the input to an array of keys, and returns an array of matching keys sorted by preference. <a href="#a7cbc8acc3827aa0feb34fb3f67c86696">More...</a><br /></td></tr> <tr class="separator:a7cbc8acc3827aa0feb34fb3f67c86696"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac12a20e4167686cdf7c8575b7c2de1db"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Selector.html#ac12a20e4167686cdf7c8575b7c2de1db">~Selector</a> ()</td></tr> <tr class="memdesc:ac12a20e4167686cdf7c8575b7c2de1db"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ac12a20e4167686cdf7c8575b7c2de1db">More...</a><br /></td></tr> <tr class="separator:ac12a20e4167686cdf7c8575b7c2de1db"><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 selector classes must implement. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000693">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#_deprecated000662">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#l00375">375</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="ac12a20e4167686cdf7c8575b7c2de1db"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac12a20e4167686cdf7c8575b7c2de1db">◆ </a></span>~Selector()</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::Selector::~Selector </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#_internal000716">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#_deprecated000685">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="a7cbc8acc3827aa0feb34fb3f67c86696"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7cbc8acc3827aa0feb34fb3f67c86696">◆ </a></span>selectKey()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual void icu::message2::Selector::selectKey </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">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> * </td> <td class="paramname"><em>keys</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>keysLen</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> * </td> <td class="paramname"><em>prefs</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t & </td> <td class="paramname"><em>prefsLen</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>Compares the input to an array of keys, and returns an array of matching keys sorted by preference. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">toFormat</td><td>The unnamed function argument; passed by move. </td></tr> <tr><td class="paramname">options</td><td>A reference to the named function options. </td></tr> <tr><td class="paramname">keys</td><td>An array of strings that are compared to the input (<code>context.getFormattableInput()</code>) in an implementation-specific way. </td></tr> <tr><td class="paramname">keysLen</td><td>The length of <code>keys</code>. </td></tr> <tr><td class="paramname">prefs</td><td>An array of strings with length <code>keysLen</code>. The contents of the array is undefined. <code><a class="el" href="classicu_1_1message2_1_1Selector.html#a7cbc8acc3827aa0feb34fb3f67c86696" title="Compares the input to an array of keys, and returns an array of matching keys sorted by preference...">selectKey()</a></code> should set the contents of <code>prefs</code> to a subset of <code>keys</code>, with the best match placed at the lowest index. </td></tr> <tr><td class="paramname">prefsLen</td><td>A reference that <code><a class="el" href="classicu_1_1message2_1_1Selector.html#a7cbc8acc3827aa0feb34fb3f67c86696" title="Compares the input to an array of keys, and returns an array of matching keys sorted by preference...">selectKey()</a></code> should set to the length of <code>prefs</code>, which must be less than or equal to <code>keysLen</code>. </td></tr> <tr><td class="paramname">status</td><td>Input/output error code. Should not be set directly by the custom selector, which should use <code>FormattingContext::setSelectorError()</code> to signal errors. The custom selector may pass <code>status</code> to other ICU functions that can signal errors using this mechanism.</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000715">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#_deprecated000684">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
|
Настройка