Файловый менеджер - Редактировать - /opt/alt/alt-nodejs20/root/usr/share/doc/alt-nodejs20-libicu-doc/classmessage2_1_1Formattable.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::Formattable 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_1Formattable.html">Formattable</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">icu::message2::Formattable Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>The <code><a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a></code> class represents a typed value that can be formatted, originating either from a message argument or a literal in the code. <a href="classicu_1_1message2_1_1Formattable.html#details">More...</a></p> <p><code>#include <<a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>></code></p> <div class="dynheader"> Inheritance diagram for icu::message2::Formattable:</div> <div class="dyncontent"> <div class="center"> <img src="classicu_1_1message2_1_1Formattable.png" usemap="#icu::message2::Formattable_map" alt=""/> <map id="icu::message2::Formattable_map" name="icu::message2::Formattable_map"> <area href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class. " alt="icu::UObject" shape="rect" coords="0,56,163,80"/> <area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,163,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:aa3c8c977605e0b9ceaec1ef61c121a52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="uformattable_8h.html#a5ca1403e425b22398d314ed8050eeb31">UFormattableType</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#aa3c8c977605e0b9ceaec1ef61c121a52">getType</a> () const</td></tr> <tr class="memdesc:aa3c8c977605e0b9ceaec1ef61c121a52"><td class="mdescLeft"> </td><td class="mdescRight">Gets the data type of this <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object. <a href="#aa3c8c977605e0b9ceaec1ef61c121a52">More...</a><br /></td></tr> <tr class="separator:aa3c8c977605e0b9ceaec1ef61c121a52"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9cd6e7952fc7e569970f3680cd7de05b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> double </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a9cd6e7952fc7e569970f3680cd7de05b">getDouble</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a9cd6e7952fc7e569970f3680cd7de05b"><td class="mdescLeft"> </td><td class="mdescRight">Gets the double value of this object. <a href="#a9cd6e7952fc7e569970f3680cd7de05b">More...</a><br /></td></tr> <tr class="separator:a9cd6e7952fc7e569970f3680cd7de05b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a26d8934297443260dc99bc6158a01068"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a26d8934297443260dc99bc6158a01068">getLong</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a26d8934297443260dc99bc6158a01068"><td class="mdescLeft"> </td><td class="mdescRight">Gets the long value of this object. <a href="#a26d8934297443260dc99bc6158a01068">More...</a><br /></td></tr> <tr class="separator:a26d8934297443260dc99bc6158a01068"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa44f789a3ffc03a9e84453cefe0f3f70"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#aa44f789a3ffc03a9e84453cefe0f3f70">getInt64Value</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:aa44f789a3ffc03a9e84453cefe0f3f70"><td class="mdescLeft"> </td><td class="mdescRight">Gets the int64 value of this object. <a href="#aa44f789a3ffc03a9e84453cefe0f3f70">More...</a><br /></td></tr> <tr class="separator:aa44f789a3ffc03a9e84453cefe0f3f70"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a171249e1579dbb7f511b859b72760e3f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> int64_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a171249e1579dbb7f511b859b72760e3f">getInt64</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a171249e1579dbb7f511b859b72760e3f"><td class="mdescLeft"> </td><td class="mdescRight">Gets the int64 value of this object. <a href="#a171249e1579dbb7f511b859b72760e3f">More...</a><br /></td></tr> <tr class="separator:a171249e1579dbb7f511b859b72760e3f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af7e73531f1fd92c56bc000f69325a3b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#af7e73531f1fd92c56bc000f69325a3b3">getString</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:af7e73531f1fd92c56bc000f69325a3b3"><td class="mdescLeft"> </td><td class="mdescRight">Gets the string value of this object. <a href="#af7e73531f1fd92c56bc000f69325a3b3">More...</a><br /></td></tr> <tr class="separator:af7e73531f1fd92c56bc000f69325a3b3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a74b0a4476f6a4f5b0f6ebf7386522685"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="structicu_1_1message2_1_1DateInfo.html">DateInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a74b0a4476f6a4f5b0f6ebf7386522685">getDate</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a74b0a4476f6a4f5b0f6ebf7386522685"><td class="mdescLeft"> </td><td class="mdescRight">Gets the struct representing the date value of this object. <a href="#a74b0a4476f6a4f5b0f6ebf7386522685">More...</a><br /></td></tr> <tr class="separator:a74b0a4476f6a4f5b0f6ebf7386522685"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a45b610689b6e36b34bd6684a2d34f100"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a45b610689b6e36b34bd6684a2d34f100">isNumeric</a> () const</td></tr> <tr class="memdesc:a45b610689b6e36b34bd6684a2d34f100"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if the data type of this <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object is kDouble. <a href="#a45b610689b6e36b34bd6684a2d34f100">More...</a><br /></td></tr> <tr class="separator:a45b610689b6e36b34bd6684a2d34f100"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a46ab650e987cfe7b7b01f4271e31ba9c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a46ab650e987cfe7b7b01f4271e31ba9c">getArray</a> (int32_t &count, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a46ab650e987cfe7b7b01f4271e31ba9c"><td class="mdescLeft"> </td><td class="mdescRight">Gets the array value and count of this object. <a href="#a46ab650e987cfe7b7b01f4271e31ba9c">More...</a><br /></td></tr> <tr class="separator:a46ab650e987cfe7b7b01f4271e31ba9c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af5c0ae9b4fc869c32fc1393fbd55e449"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1message2_1_1FormattableObject.html">FormattableObject</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#af5c0ae9b4fc869c32fc1393fbd55e449">getObject</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:af5c0ae9b4fc869c32fc1393fbd55e449"><td class="mdescLeft"> </td><td class="mdescRight">Returns a pointer to the <a class="el" href="classicu_1_1message2_1_1FormattableObject.html" title="FormattableObject is an abstract class that can be implemented in order to define an arbitrary class ...">FormattableObject</a> contained within this formattable, or if this object does not contain a <a class="el" href="classicu_1_1message2_1_1FormattableObject.html" title="FormattableObject is an abstract class that can be implemented in order to define an arbitrary class ...">FormattableObject</a>, returns nullptr and sets the error code. <a href="#af5c0ae9b4fc869c32fc1393fbd55e449">More...</a><br /></td></tr> <tr class="separator:af5c0ae9b4fc869c32fc1393fbd55e449"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae0119566d109c43bad99dedd7965186b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#ae0119566d109c43bad99dedd7965186b">Formattable</a> (const <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> &)</td></tr> <tr class="memdesc:ae0119566d109c43bad99dedd7965186b"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ae0119566d109c43bad99dedd7965186b">More...</a><br /></td></tr> <tr class="separator:ae0119566d109c43bad99dedd7965186b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a13a4e60ae138e8046f2930085959aae6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a13a4e60ae138e8046f2930085959aae6">operator=</a> (<a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a>) noexcept</td></tr> <tr class="memdesc:a13a4e60ae138e8046f2930085959aae6"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#a13a4e60ae138e8046f2930085959aae6">More...</a><br /></td></tr> <tr class="separator:a13a4e60ae138e8046f2930085959aae6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6dc114ad92dbaec61ef04bb4257419ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a6dc114ad92dbaec61ef04bb4257419ab">Formattable</a> ()</td></tr> <tr class="memdesc:a6dc114ad92dbaec61ef04bb4257419ab"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#a6dc114ad92dbaec61ef04bb4257419ab">More...</a><br /></td></tr> <tr class="separator:a6dc114ad92dbaec61ef04bb4257419ab"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a05f3429b1f35269b70f63313fc472f69"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a05f3429b1f35269b70f63313fc472f69">Formattable</a> (const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &s)</td></tr> <tr class="memdesc:a05f3429b1f35269b70f63313fc472f69"><td class="mdescLeft"> </td><td class="mdescRight">String constructor. <a href="#a05f3429b1f35269b70f63313fc472f69">More...</a><br /></td></tr> <tr class="separator:a05f3429b1f35269b70f63313fc472f69"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a603d89df32223ffed27ce4fec480f2aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a603d89df32223ffed27ce4fec480f2aa">Formattable</a> (double d)</td></tr> <tr class="memdesc:a603d89df32223ffed27ce4fec480f2aa"><td class="mdescLeft"> </td><td class="mdescRight">Double constructor. <a href="#a603d89df32223ffed27ce4fec480f2aa">More...</a><br /></td></tr> <tr class="separator:a603d89df32223ffed27ce4fec480f2aa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa413410e102a512bf7837e7a5b54a537"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#aa413410e102a512bf7837e7a5b54a537">Formattable</a> (int64_t i)</td></tr> <tr class="memdesc:aa413410e102a512bf7837e7a5b54a537"><td class="mdescLeft"> </td><td class="mdescRight">Int64 constructor. <a href="#aa413410e102a512bf7837e7a5b54a537">More...</a><br /></td></tr> <tr class="separator:aa413410e102a512bf7837e7a5b54a537"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acafccaf12f117903756d03dd2f8c7d1c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#acafccaf12f117903756d03dd2f8c7d1c">Formattable</a> (<a class="el" href="structicu_1_1message2_1_1DateInfo.html">DateInfo</a> &&d)</td></tr> <tr class="memdesc:acafccaf12f117903756d03dd2f8c7d1c"><td class="mdescLeft"> </td><td class="mdescRight">Date constructor. <a href="#acafccaf12f117903756d03dd2f8c7d1c">More...</a><br /></td></tr> <tr class="separator:acafccaf12f117903756d03dd2f8c7d1c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7a52cec7f5b19df9bbb79e94c8802db0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a7a52cec7f5b19df9bbb79e94c8802db0">Formattable</a> (const <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> *arr, int32_t len)</td></tr> <tr class="memdesc:a7a52cec7f5b19df9bbb79e94c8802db0"><td class="mdescLeft"> </td><td class="mdescRight">Array constructor. <a href="#a7a52cec7f5b19df9bbb79e94c8802db0">More...</a><br /></td></tr> <tr class="separator:a7a52cec7f5b19df9bbb79e94c8802db0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4f180f412b32f63c01aa81bf99bb483a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a4f180f412b32f63c01aa81bf99bb483a">Formattable</a> (const <a class="el" href="classicu_1_1message2_1_1FormattableObject.html">FormattableObject</a> *obj)</td></tr> <tr class="memdesc:a4f180f412b32f63c01aa81bf99bb483a"><td class="mdescLeft"> </td><td class="mdescRight">Object constructor. <a href="#a4f180f412b32f63c01aa81bf99bb483a">More...</a><br /></td></tr> <tr class="separator:a4f180f412b32f63c01aa81bf99bb483a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae87dd2f96d088b86ee031d8946664403"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#ae87dd2f96d088b86ee031d8946664403">~Formattable</a> ()</td></tr> <tr class="memdesc:ae87dd2f96d088b86ee031d8946664403"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#ae87dd2f96d088b86ee031d8946664403">More...</a><br /></td></tr> <tr class="separator:ae87dd2f96d088b86ee031d8946664403"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a272acae55c48afe1ef9d32353b7871cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1Formattable.html">icu::Formattable</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a272acae55c48afe1ef9d32353b7871cb">asICUFormattable</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const</td></tr> <tr class="memdesc:a272acae55c48afe1ef9d32353b7871cb"><td class="mdescLeft"> </td><td class="mdescRight">Converts the <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object to an ICU <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object. <a href="#a272acae55c48afe1ef9d32353b7871cb">More...</a><br /></td></tr> <tr class="separator:a272acae55c48afe1ef9d32353b7871cb"><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><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a6abe29289e1888efa4bacc284f3eaccb"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a6abe29289e1888efa4bacc284f3eaccb">forDecimal</a> (std::string_view number, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a6abe29289e1888efa4bacc284f3eaccb"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object of an appropriate numeric type from a a decimal number in string form. <a href="#a6abe29289e1888efa4bacc284f3eaccb">More...</a><br /></td></tr> <tr class="separator:a6abe29289e1888efa4bacc284f3eaccb"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:a059ad53964c51f809829c52129324a39"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> friend void </td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1message2_1_1Formattable.html#a059ad53964c51f809829c52129324a39">swap</a> (<a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> &f1, <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> &f2) noexcept</td></tr> <tr class="memdesc:a059ad53964c51f809829c52129324a39"><td class="mdescLeft"> </td><td class="mdescRight">Non-member swap function. <a href="#a059ad53964c51f809829c52129324a39">More...</a><br /></td></tr> <tr class="separator:a059ad53964c51f809829c52129324a39"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>The <code><a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a></code> class represents a typed value that can be formatted, originating either from a message argument or a literal in the code. </p> <p>ICU's <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> class is not used in <a class="el" href="classicu_1_1MessageFormat.html">MessageFormat</a> 2 because it's unsafe to copy an <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">icu::Formattable</a> value that contains an object. (See ICU-20275).</p> <p><code><a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a></code> is immutable (not deeply immutable) and is movable and copyable. (Copying does not do a deep copy when the wrapped value is an array or object. Likewise, while a pointer to a wrapped array or object is <code>const</code>, the referents of the pointers may be mutated by other code.)</p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000613">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#_deprecated000582">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__formattable_8h_source.html#l00113">113</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="ae0119566d109c43bad99dedd7965186b"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae0119566d109c43bad99dedd7965186b">◆ </a></span>Formattable() <span class="overload">[1/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::Formattable </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> & </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000635">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#_deprecated000604">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <a id="a6dc114ad92dbaec61ef04bb4257419ab"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6dc114ad92dbaec61ef04bb4257419ab">◆ </a></span>Formattable() <span class="overload">[2/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::Formattable </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Default constructor. </p> <p>Leaves the <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> in a valid but undefined state.</p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000637">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#_deprecated000606">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__formattable_8h_source.html#l00323">323</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div> </div> <a id="a05f3429b1f35269b70f63313fc472f69"></a> <h2 class="memtitle"><span class="permalink"><a href="#a05f3429b1f35269b70f63313fc472f69">◆ </a></span>Formattable() <span class="overload">[3/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::Formattable </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> & </td> <td class="paramname"><em>s</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>String constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">s</td><td>A string to wrap as a <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a>.</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000638">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#_deprecated000607">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__formattable_8h_source.html#l00332">332</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div> </div> <a id="a603d89df32223ffed27ce4fec480f2aa"></a> <h2 class="memtitle"><span class="permalink"><a href="#a603d89df32223ffed27ce4fec480f2aa">◆ </a></span>Formattable() <span class="overload">[4/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::Formattable </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>d</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Double constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">d</td><td>A double value to wrap as a <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a>.</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000639">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#_deprecated000608">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__formattable_8h_source.html#l00341">341</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div> </div> <a id="aa413410e102a512bf7837e7a5b54a537"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa413410e102a512bf7837e7a5b54a537">◆ </a></span>Formattable() <span class="overload">[5/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::Formattable </td> <td>(</td> <td class="paramtype">int64_t </td> <td class="paramname"><em>i</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Int64 constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">i</td><td>An int64 value to wrap as a <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a>.</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000640">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#_deprecated000609">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__formattable_8h_source.html#l00350">350</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div> </div> <a id="acafccaf12f117903756d03dd2f8c7d1c"></a> <h2 class="memtitle"><span class="permalink"><a href="#acafccaf12f117903756d03dd2f8c7d1c">◆ </a></span>Formattable() <span class="overload">[6/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::Formattable </td> <td>(</td> <td class="paramtype"><a class="el" href="structicu_1_1message2_1_1DateInfo.html">DateInfo</a> && </td> <td class="paramname"><em>d</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Date constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">d</td><td>A <a class="el" href="structicu_1_1message2_1_1DateInfo.html" title="The DateInfo struct represents all the information needed to format a date with a time zone...">DateInfo</a> struct representing a date, to wrap as a <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a>. Passed by move </td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000641">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#_deprecated000610">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__formattable_8h_source.html#l00360">360</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div> </div> <a id="a7a52cec7f5b19df9bbb79e94c8802db0"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7a52cec7f5b19df9bbb79e94c8802db0">◆ </a></span>Formattable() <span class="overload">[7/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::Formattable </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> * </td> <td class="paramname"><em>arr</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>len</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Array constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">arr</td><td>An array of Formattables, which is adopted. </td></tr> <tr><td class="paramname">len</td><td>The length of the array.</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000643">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#_deprecated000612">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__formattable_8h_source.html#l00385">385</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div> </div> <a id="a4f180f412b32f63c01aa81bf99bb483a"></a> <h2 class="memtitle"><span class="permalink"><a href="#a4f180f412b32f63c01aa81bf99bb483a">◆ </a></span>Formattable() <span class="overload">[8/8]</span></h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::Formattable </td> <td>(</td> <td class="paramtype">const <a class="el" href="classicu_1_1message2_1_1FormattableObject.html">FormattableObject</a> * </td> <td class="paramname"><em>obj</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Object constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">obj</td><td>A <a class="el" href="classicu_1_1message2_1_1FormattableObject.html" title="FormattableObject is an abstract class that can be implemented in order to define an arbitrary class ...">FormattableObject</a> (not adopted).</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000644">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#_deprecated000613">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__formattable_8h_source.html#l00394">394</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div> </div> <a id="ae87dd2f96d088b86ee031d8946664403"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae87dd2f96d088b86ee031d8946664403">◆ </a></span>~Formattable()</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="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> icu::message2::Formattable::~Formattable </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#_internal000645">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#_deprecated000614">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="a272acae55c48afe1ef9d32353b7871cb"></a> <h2 class="memtitle"><span class="permalink"><a href="#a272acae55c48afe1ef9d32353b7871cb">◆ </a></span>asICUFormattable()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1Formattable.html">icu::Formattable</a> icu::message2::Formattable::asICUFormattable </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Converts the <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object to an ICU <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object. </p> <p>If this has type UFMT_OBJECT or kArray, then <code>status</code> is set to U_ILLEGAL_ARGUMENT_ERROR.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Input/output error code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>An <a class="el" href="classicu_1_1Formattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting. ">icu::Formattable</a> value with the same value as this.</dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000646">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#_deprecated000615">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <a id="a6abe29289e1888efa4bacc284f3eaccb"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6abe29289e1888efa4bacc284f3eaccb">◆ </a></span>forDecimal()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> icu::message2::Formattable::forDecimal </td> <td>(</td> <td class="paramtype">std::string_view </td> <td class="paramname"><em>number</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></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Creates a <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object of an appropriate numeric type from a a decimal number in string form. </p> <p>The <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> will retain the full precision of the input in decimal format, even when it exceeds what can be represented by a double or int64_t.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">number</td><td>the unformatted (not localized) string representation of the Decimal number. </td></tr> <tr><td class="paramname">status</td><td>the error code. Possible errors include U_INVALID_FORMAT_ERROR if the format of the string does not conform to that of a decimal number. </td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000642">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#_deprecated000611">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <a id="a46ab650e987cfe7b7b01f4271e31ba9c"></a> <h2 class="memtitle"><span class="permalink"><a href="#a46ab650e987cfe7b7b01f4271e31ba9c">◆ </a></span>getArray()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a>* icu::message2::Formattable::getArray </td> <td>(</td> <td class="paramtype">int32_t & </td> <td class="paramname"><em>count</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> </div><div class="memdoc"> <p>Gets the array value and count of this object. </p> <p>If this object is not of type kArray then the result is undefined and the error code is set.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">count</td><td>fill-in with the count of this object. </td></tr> <tr><td class="paramname">status</td><td>Input/output error code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the array value of this object. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000632">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#_deprecated000601">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <a id="a74b0a4476f6a4f5b0f6ebf7386522685"></a> <h2 class="memtitle"><span class="permalink"><a href="#a74b0a4476f6a4f5b0f6ebf7386522685">◆ </a></span>getDate()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="structicu_1_1message2_1_1DateInfo.html">DateInfo</a>* icu::message2::Formattable::getDate </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the struct representing the date value of this object. </p> <p>If this object is not of type kDate then the result is undefined and the error code is set.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Input/output error code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A non-owned pointer to a <a class="el" href="structicu_1_1message2_1_1DateInfo.html" title="The DateInfo struct represents all the information needed to format a date with a time zone...">DateInfo</a> object representing the underlying date of this object. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000630">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#_deprecated000599">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__formattable_8h_source.html#l00236">236</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> <p class="reference">References <a class="el" href="utypes_8h_source.html#l00546">U_ILLEGAL_ARGUMENT_ERROR</a>, and <a class="el" href="utypes_8h_source.html#l00822">U_SUCCESS</a>.</p> </div> </div> <a id="a9cd6e7952fc7e569970f3680cd7de05b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9cd6e7952fc7e569970f3680cd7de05b">◆ </a></span>getDouble()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> double icu::message2::Formattable::getDouble </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the double value of this object. </p> <p>If this object is not of type UFMT_DOUBLE, then the result is undefined and the error code is set.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Input/output error code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the double value of this object. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000625">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#_deprecated000594">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__formattable_8h_source.html#l00133">133</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> <p class="reference">References <a class="el" href="utypes_8h_source.html#l00546">U_ILLEGAL_ARGUMENT_ERROR</a>, <a class="el" href="utypes_8h_source.html#l00822">U_SUCCESS</a>, and <a class="el" href="uformattable_8h_source.html#l00050">UFMT_DOUBLE</a>.</p> </div> </div> <a id="a171249e1579dbb7f511b859b72760e3f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a171249e1579dbb7f511b859b72760e3f">◆ </a></span>getInt64()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> int64_t icu::message2::Formattable::getInt64 </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the int64 value of this object. </p> <p>If this object is of a numeric type and the magnitude is too large to fit in an int64, then the maximum or minimum int64 value, as appropriate, is returned and the status is set to U_INVALID_FORMAT_ERROR. If the magnitude fits in an int64, then a casting conversion is performed, with truncation of any fractional part. If this object is not a numeric type, then 0 is returned and the status is set to U_INVALID_FORMAT_ERROR. </p><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>the error code </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the int64 value of this object. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000628">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#_deprecated000597">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <a id="aa44f789a3ffc03a9e84453cefe0f3f70"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa44f789a3ffc03a9e84453cefe0f3f70">◆ </a></span>getInt64Value()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> int64_t icu::message2::Formattable::getInt64Value </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the int64 value of this object. </p> <p>If this object is not of type kInt64 then the result is undefined and the error code is set. If conversion to int64 is desired, call <a class="el" href="classicu_1_1message2_1_1Formattable.html#a171249e1579dbb7f511b859b72760e3f" title="Gets the int64 value of this object. ">getInt64()</a></p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Input/output error code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the int64 value of this object. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000627">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#_deprecated000596">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__formattable_8h_source.html#l00178">178</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> <p class="reference">References <a class="el" href="utypes_8h_source.html#l00546">U_ILLEGAL_ARGUMENT_ERROR</a>, <a class="el" href="utypes_8h_source.html#l00822">U_SUCCESS</a>, and <a class="el" href="uformattable_8h_source.html#l00054">UFMT_INT64</a>.</p> </div> </div> <a id="a26d8934297443260dc99bc6158a01068"></a> <h2 class="memtitle"><span class="permalink"><a href="#a26d8934297443260dc99bc6158a01068">◆ </a></span>getLong()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> int32_t icu::message2::Formattable::getLong </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the long value of this object. </p> <p>If this object is not of type UFMT_LONG then the result is undefined and the error code is set.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Input/output error code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the long value of this object. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000626">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#_deprecated000595">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__formattable_8h_source.html#l00155">155</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> <p class="reference">References <a class="el" href="utypes_8h_source.html#l00546">U_ILLEGAL_ARGUMENT_ERROR</a>, <a class="el" href="utypes_8h_source.html#l00822">U_SUCCESS</a>, and <a class="el" href="uformattable_8h_source.html#l00051">UFMT_LONG</a>.</p> </div> </div> <a id="af5c0ae9b4fc869c32fc1393fbd55e449"></a> <h2 class="memtitle"><span class="permalink"><a href="#af5c0ae9b4fc869c32fc1393fbd55e449">◆ </a></span>getObject()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1message2_1_1FormattableObject.html">FormattableObject</a>* icu::message2::Formattable::getObject </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns a pointer to the <a class="el" href="classicu_1_1message2_1_1FormattableObject.html" title="FormattableObject is an abstract class that can be implemented in order to define an arbitrary class ...">FormattableObject</a> contained within this formattable, or if this object does not contain a <a class="el" href="classicu_1_1message2_1_1FormattableObject.html" title="FormattableObject is an abstract class that can be implemented in order to define an arbitrary class ...">FormattableObject</a>, returns nullptr and sets the error code. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Input/output error code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classicu_1_1message2_1_1FormattableObject.html" title="FormattableObject is an abstract class that can be implemented in order to define an arbitrary class ...">FormattableObject</a> pointer, or nullptr </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000633">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#_deprecated000602">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__formattable_8h_source.html#l00277">277</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> <p class="reference">References <a class="el" href="utypes_8h_source.html#l00546">U_ILLEGAL_ARGUMENT_ERROR</a>, <a class="el" href="utypes_8h_source.html#l00822">U_SUCCESS</a>, and <a class="el" href="uformattable_8h_source.html#l00055">UFMT_OBJECT</a>.</p> </div> </div> <a id="af7e73531f1fd92c56bc000f69325a3b3"></a> <h2 class="memtitle"><span class="permalink"><a href="#af7e73531f1fd92c56bc000f69325a3b3">◆ </a></span>getString()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> const <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>& icu::message2::Formattable::getString </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Gets the string value of this object. </p> <p>If this object is not of type kString then the result is undefined and the error code is set.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">status</td><td>Input/output error code. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A reference to the string value of this object. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000629">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#_deprecated000598">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__formattable_8h_source.html#l00215">215</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> <p class="reference">References <a class="el" href="utypes_8h_source.html#l00546">U_ILLEGAL_ARGUMENT_ERROR</a>, and <a class="el" href="utypes_8h_source.html#l00822">U_SUCCESS</a>.</p> </div> </div> <a id="aa3c8c977605e0b9ceaec1ef61c121a52"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa3c8c977605e0b9ceaec1ef61c121a52">◆ </a></span>getType()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="uformattable_8h.html#a5ca1403e425b22398d314ed8050eeb31">UFormattableType</a> icu::message2::Formattable::getType </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the data type of this <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object. </p> <dl class="section return"><dt>Returns</dt><dd>the data type of this <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000624">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#_deprecated000593">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <a id="a45b610689b6e36b34bd6684a2d34f100"></a> <h2 class="memtitle"><span class="permalink"><a href="#a45b610689b6e36b34bd6684a2d34f100">◆ </a></span>isNumeric()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::message2::Formattable::isNumeric </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Returns true if the data type of this <a class="el" href="classicu_1_1message2_1_1Formattable.html" title="The Formattable class represents a typed value that can be formatted, originating either from a messa...">Formattable</a> object is kDouble. </p> <dl class="section return"><dt>Returns</dt><dd>true if this is a pure numeric object </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000631">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#_deprecated000600">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__formattable_8h_source.html#l00253">253</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> <p class="reference">References <a class="el" href="uformattable_8h_source.html#l00050">UFMT_DOUBLE</a>, <a class="el" href="uformattable_8h_source.html#l00054">UFMT_INT64</a>, and <a class="el" href="uformattable_8h_source.html#l00051">UFMT_LONG</a>.</p> </div> </div> <a id="a13a4e60ae138e8046f2930085959aae6"></a> <h2 class="memtitle"><span class="permalink"><a href="#a13a4e60ae138e8046f2930085959aae6">◆ </a></span>operator=()</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a>& icu::message2::Formattable::operator= </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">noexcept</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Assignment operator. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000636">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#_deprecated000605">Deprecated:</a></b></dt><dd>This API is for technology preview only. </dd></dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a id="a059ad53964c51f809829c52129324a39"></a> <h2 class="memtitle"><span class="permalink"><a href="#a059ad53964c51f809829c52129324a39">◆ </a></span>swap</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> friend void swap </td> <td>(</td> <td class="paramtype"><a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> & </td> <td class="paramname"><em>f1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="classicu_1_1message2_1_1Formattable.html">Formattable</a> & </td> <td class="paramname"><em>f2</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">friend</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Non-member swap function. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">f1</td><td>will get f2's contents </td></tr> <tr><td class="paramname">f2</td><td>will get f1's contents</td></tr> </table> </dd> </dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000634">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#_deprecated000603">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__formattable_8h_source.html#l00297">297</a> of file <a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>i18n/unicode/<a class="el" href="messageformat2__formattable_8h_source.html">messageformat2_formattable.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
|
Настройка