Files
FTXUI/en/v4.1.0/string_8hpp.html
2025-11-12 12:56:59 +00:00

406 lines
42 KiB
HTML

<!-- HTML header for doxygen 1.8.14-->
<!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="cache-control" content="max-age=86400"/>
<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.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FTXUI: include/ftxui/screen/string.hpp File 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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.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" />
<link href="doxygen_extra.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">FTXUI
&#160;<span id="projectnumber">4.1.0</span>
</div>
<div id="projectbrief">C++ functional terminal UI.</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @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:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search',true);
$(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){initNavTree('string_8hpp.html',''); initResizable(true); });
/* @license-end */
</script>
<div id="doc-content">
<!-- 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">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle"><div class="title">string.hpp File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><div id="dynsection-0" onclick="return dynsection.toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> This graph shows which files directly or indirectly include this file:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="string_8hpp__dep__incl.png" border="0" usemap="#ainclude_2ftxui_2screen_2string_8hppdep" alt=""/></div>
<map name="ainclude_2ftxui_2screen_2string_8hppdep" id="ainclude_2ftxui_2screen_2string_8hppdep">
<area shape="rect" title=" " alt="" coords="6091,5,6240,45"/>
<area shape="rect" href="ref_8hpp.html" title=" " alt="" coords="574,93,701,133"/>
<area shape="poly" title=" " alt="" coords="6077,31,701,114,701,108,6077,25"/>
<area shape="rect" href="input_8cpp.html" title=" " alt="" coords="5649,519,5799,559"/>
<area shape="poly" title=" " alt="" coords="6168,59,6168,193,6168,364,6165,379,6157,394,6127,420,6084,445,6031,466,5910,502,5800,526,5799,521,5909,497,6029,461,6082,440,6124,416,6153,390,6160,377,6163,364,6163,193,6163,59"/>
<area shape="rect" href="text_8cpp.html" title=" " alt="" coords="5255,350,5419,375"/>
<area shape="poly" title=" " alt="" coords="6157,60,6106,191,6073,256,6057,281,6040,297,6006,310,5946,321,5776,339,5583,353,5420,361,5419,355,5583,347,5776,334,5945,316,6004,305,6037,292,6053,277,6069,253,6101,189,6152,58"/>
<area shape="rect" href="canvas_8cpp.html" title=" " alt="" coords="5843,262,6027,287"/>
<area shape="poly" title=" " alt="" coords="6137,57,6098,95,6009,191,5947,263,5943,260,6005,188,6094,91,6133,53"/>
<area shape="rect" href="event_8cpp.html" title=" " alt="" coords="6203,93,6354,133"/>
<area shape="poly" title=" " alt="" coords="6203,52,6255,91,6252,95,6200,56"/>
<area shape="rect" href="screen_8cpp.html" title=" " alt="" coords="6379,101,6573,126"/>
<area shape="poly" title=" " alt="" coords="6247,46,6435,98,6434,103,6246,52"/>
<area shape="rect" href="string_8cpp.html" title=" " alt="" coords="6597,101,6787,126"/>
<area shape="poly" title=" " alt="" coords="6254,38,6586,91,6628,98,6627,103,6585,96,6253,43"/>
<area shape="rect" href="component_8hpp.html" title=" " alt="" coords="4352,431,4531,471"/>
<area shape="poly" title=" " alt="" coords="714,113,1708,124,3304,151,4108,170,4801,193,5078,206,5294,221,5438,236,5480,244,5500,253,5513,273,5515,293,5509,313,5497,332,5464,365,5433,385,5381,400,5291,413,5038,432,4758,444,4531,450,4531,445,4757,438,5038,426,5290,407,5380,395,5431,380,5460,360,5492,329,5504,311,5510,293,5508,274,5497,257,5478,249,5437,241,5293,226,5077,212,4801,199,4108,175,3304,156,1708,130,714,118"/>
<area shape="rect" href="button_8cpp.html" title=" " alt="" coords="1410,519,1561,559"/>
<area shape="poly" title=" " alt="" coords="683,138,808,209,964,292,1235,423,1443,516,1441,521,1233,428,961,297,806,214,680,143"/>
<area shape="rect" href="checkbox_8cpp.html" title=" " alt="" coords="4918,519,5069,559"/>
<area shape="poly" title=" " alt="" coords="714,112,1432,118,2595,130,3820,150,4337,163,4725,179,4790,180,4852,177,4966,161,5071,141,5168,124,5214,119,5260,118,5304,122,5349,132,5393,149,5437,174,5481,209,5526,253,5535,270,5537,289,5532,310,5522,329,5498,364,5478,385,5447,405,5404,425,5294,463,5174,497,5069,523,5068,518,5173,492,5293,458,5402,420,5444,400,5474,381,5494,361,5518,327,5527,308,5531,289,5530,272,5522,256,5478,213,5434,179,5390,154,5347,137,5304,127,5259,123,5215,124,5168,129,5072,146,4967,167,4852,182,4790,185,4725,184,4337,169,3820,155,2595,135,1432,123,714,118"/>
<area shape="rect" href="collapsible_8cpp.html" title=" " alt="" coords="1061,519,1211,559"/>
<area shape="poly" title=" " alt="" coords="609,145,549,210,518,251,490,296,470,342,460,387,461,409,465,430,475,450,488,469,500,476,521,483,584,494,761,506,941,511,1050,516,1061,518,1060,523,1049,521,941,516,761,511,583,499,520,488,498,481,485,473,470,453,460,432,456,410,455,387,464,340,485,293,513,248,545,206,605,142"/>
<area shape="rect" href="dropdown_8cpp.html" title=" " alt="" coords="1235,519,1386,559"/>
<area shape="poly" title=" " alt="" coords="630,147,623,181,621,221,627,260,635,277,646,293,672,310,712,320,759,325,812,327,918,329,962,332,997,340,1027,358,1055,380,1178,457,1279,516,1276,521,1175,461,1052,385,1024,363,995,345,962,337,917,334,812,333,759,331,711,325,670,315,642,297,630,280,622,261,616,221,618,181,625,146"/>
<area shape="poly" title=" " alt="" coords="715,112,1747,115,3426,125,4285,134,5037,145,5593,160,5770,169,5864,179,5920,188,5965,196,5986,203,6005,214,6023,230,6041,253,6053,276,6058,299,6056,321,6050,342,6023,382,5982,419,5932,451,5878,480,5780,521,5778,516,5876,475,5929,447,5978,414,6019,379,6045,340,6051,320,6052,299,6048,278,6036,256,6019,234,6002,218,5984,208,5964,201,5919,193,5864,184,5769,174,5593,165,5037,151,4285,139,3426,131,1747,121,715,117"/>
<area shape="rect" href="menu_8cpp.html" title=" " alt="" coords="642,519,793,559"/>
<area shape="poly" title=" " alt="" coords="560,117,461,121,350,131,298,139,252,151,215,165,191,183,177,209,177,233,192,294,196,348,199,393,203,412,210,431,223,449,241,468,394,493,642,525,641,530,393,498,239,473,219,453,205,433,197,414,193,393,191,349,187,295,172,234,172,207,187,180,213,161,250,146,296,134,349,125,460,115,560,112"/>
<area shape="rect" href="radiobox_8cpp.html" title=" " alt="" coords="886,519,1037,559"/>
<area shape="poly" title=" " alt="" coords="560,121,484,128,404,140,335,158,310,170,293,183,277,210,275,235,281,262,293,294,319,355,348,399,387,434,444,468,615,492,886,526,886,531,615,498,442,473,384,438,344,402,314,357,288,296,276,263,269,235,272,208,289,180,307,165,333,153,403,134,484,123,560,116"/>
<area shape="rect" href="resizable__split_8cpp.html" title=" " alt="" coords="222,519,373,559"/>
<area shape="poly" title=" " alt="" coords="561,121,446,128,312,141,188,159,138,170,101,184,64,201,35,217,15,239,10,254,8,273,8,364,14,398,29,428,53,453,82,474,116,491,152,505,222,523,221,529,151,510,114,496,80,478,49,457,25,431,9,400,3,364,3,273,5,253,10,236,31,213,62,196,99,179,137,165,187,154,312,135,445,123,560,116"/>
<area shape="rect" href="slider_8cpp.html" title=" " alt="" coords="397,519,547,559"/>
<area shape="poly" title=" " alt="" coords="560,123,349,146,245,163,171,184,128,200,92,215,78,224,68,236,61,252,59,273,59,364,62,390,71,408,85,422,103,432,150,448,203,468,279,490,397,518,396,523,278,495,202,473,148,453,101,437,82,426,66,411,57,391,53,364,53,273,56,251,63,234,75,220,90,210,126,195,170,179,244,158,348,141,560,118"/>
<area shape="rect" href="component__options_8hpp.html" title=" " alt="" coords="801,343,983,383"/>
<area shape="poly" title=" " alt="" coords="615,146,596,182,585,215,579,242,581,266,595,293,608,304,627,314,678,330,739,342,801,351,800,356,738,347,677,335,625,319,605,308,591,296,575,268,573,241,580,213,591,180,610,143"/>
<area shape="rect" href="elements_8hpp.html" title=" " alt="" coords="2965,181,3193,207"/>
<area shape="poly" title=" " alt="" coords="714,114,2965,186,2964,192,714,120"/>
<area shape="poly" title=" " alt="" coords="714,112,1763,117,3460,129,4319,138,5062,149,5595,163,5753,170,5825,179,5858,196,5887,218,5927,260,5924,264,5883,222,5855,200,5823,184,5753,176,5594,168,5062,154,4319,143,3460,134,1763,122,714,118"/>
<area shape="poly" title=" " alt="" coords="4338,458,1561,538,1561,532,4338,452"/>
<area shape="rect" href="catch__event_8cpp.html" title=" " alt="" coords="4394,519,4545,559"/>
<area shape="poly" title=" " alt="" coords="4454,483,4466,518,4461,519,4449,485"/>
<area shape="poly" title=" " alt="" coords="4545,462,4715,485,4907,516,4918,518,4917,523,4906,521,4714,491,4544,467"/>
<area shape="poly" title=" " alt="" coords="4338,454,3738,454,2836,460,2358,468,1907,480,1518,498,1357,509,1224,521,1212,523,1211,518,1224,516,1356,503,1517,492,1907,475,2358,463,2836,455,3738,448,4338,449"/>
<area shape="rect" href="component_8cpp.html" title=" " alt="" coords="4743,519,4894,559"/>
<area shape="poly" title=" " alt="" coords="4538,471,4744,518,4743,523,4537,476"/>
<area shape="rect" href="component__fuzzer_8cpp.html" title=" " alt="" coords="4198,519,4370,559"/>
<area shape="poly" title=" " alt="" coords="4396,480,4320,521,4317,516,4394,475"/>
<area shape="rect" href="container_8cpp.html" title=" " alt="" coords="5093,519,5243,559"/>
<area shape="poly" title=" " alt="" coords="4544,457,4790,479,4936,495,5082,516,5093,518,5092,523,5081,521,4935,501,4789,484,4544,462"/>
<area shape="poly" title=" " alt="" coords="4338,454,3766,455,2915,462,2465,470,2041,482,1675,499,1399,521,1387,523,1386,518,1398,516,1675,494,2041,477,2465,465,2915,457,3766,449,4338,449"/>
<area shape="rect" href="hoverable_8cpp.html" title=" " alt="" coords="5267,519,5418,559"/>
<area shape="poly" title=" " alt="" coords="4545,453,4863,473,5060,491,5256,516,5268,518,5267,523,5256,521,5059,497,4863,479,4544,459"/>
<area shape="poly" title=" " alt="" coords="4545,452,5005,470,5304,489,5606,516,5649,522,5648,527,5605,521,5303,494,5005,476,4545,457"/>
<area shape="rect" href="maybe_8cpp.html" title=" " alt="" coords="5442,519,5593,559"/>
<area shape="poly" title=" " alt="" coords="4545,451,4714,457,4935,468,5182,488,5431,516,5442,518,5441,523,5430,521,5182,493,4935,474,4714,462,4544,457"/>
<area shape="poly" title=" " alt="" coords="4338,455,3681,460,2678,471,1640,491,1204,505,875,521,793,529,793,524,874,516,1203,500,1639,486,2678,466,3681,455,4338,450"/>
<area shape="rect" href="modal_8cpp.html" title=" " alt="" coords="4569,519,4719,559"/>
<area shape="poly" title=" " alt="" coords="4499,473,4601,516,4599,521,4497,478"/>
<area shape="poly" title=" " alt="" coords="4338,456,3647,462,2619,476,1629,496,1265,508,1050,521,1037,523,1037,518,1049,516,1264,502,1629,490,2619,470,3646,457,4338,450"/>
<area shape="rect" href="renderer_8cpp.html" title=" " alt="" coords="3849,519,3999,559"/>
<area shape="poly" title=" " alt="" coords="4339,469,4012,521,4000,524,3999,518,4012,516,4338,464"/>
<area shape="poly" title=" " alt="" coords="4338,455,3527,460,2290,472,1088,492,645,505,488,513,384,521,373,523,372,518,384,516,488,508,645,500,1088,487,2290,467,3527,455,4338,450"/>
<area shape="poly" title=" " alt="" coords="4338,455,3640,459,2567,470,1452,490,984,504,631,521,548,530,547,524,630,516,984,499,1452,485,2567,465,3640,454,4338,450"/>
<area shape="rect" href="component_2util_8cpp.html" title=" " alt="" coords="4023,519,4174,559"/>
<area shape="poly" title=" " alt="" coords="4354,477,4174,521,4173,516,4352,471"/>
<area shape="poly" title=" " alt="" coords="997,364,4352,445,4352,450,997,369"/>
<area shape="poly" title=" " alt="" coords="970,384,1422,516,1420,521,968,389"/>
<area shape="poly" title=" " alt="" coords="997,362,1737,367,2846,379,3916,399,4310,412,4543,428,4652,446,4759,469,4934,516,4932,521,4758,474,4651,451,4542,433,4310,418,3916,404,2845,385,1737,373,997,367"/>
<area shape="poly" title=" " alt="" coords="931,389,1111,516,1108,521,928,393"/>
<area shape="poly" title=" " alt="" coords="951,385,1266,516,1264,521,949,390"/>
<area shape="poly" title=" " alt="" coords="997,362,2750,381,3850,401,4312,414,4660,428,4927,444,5134,461,5341,483,5606,516,5649,522,5648,527,5605,521,5340,489,5133,466,4926,450,4660,433,4311,419,3849,406,2750,387,997,367"/>
<area shape="poly" title=" " alt="" coords="884,397,866,435,839,473,804,500,767,521,764,516,801,496,835,469,861,433,879,395"/>
<area shape="poly" title=" " alt="" coords="919,392,941,430,956,477,962,518,957,519,950,478,936,432,914,395"/>
<area shape="poly" title=" " alt="" coords="854,392,781,435,738,456,693,473,608,496,540,504,471,509,384,521,373,523,372,518,384,516,471,504,540,499,607,491,691,468,736,451,779,430,852,388"/>
<area shape="poly" title=" " alt="" coords="869,395,826,440,788,473,744,490,682,505,548,529,547,524,681,500,743,484,785,468,823,437,865,391"/>
<area shape="rect" href="component__options_8cpp.html" title=" " alt="" coords="499,431,680,471"/>
<area shape="poly" title=" " alt="" coords="813,389,656,433,655,428,811,384"/>
<area shape="poly" title=" " alt="" coords="3207,194,4256,213,4774,230,4941,240,4989,246,5011,252,5019,263,5021,274,5011,297,4817,352,4513,433,4511,428,4815,347,5008,293,5015,274,5014,265,5008,257,4988,251,4940,246,4774,235,4256,218,3206,200"/>
<area shape="poly" title=" " alt="" coords="2951,199,2457,205,1808,217,1237,234,1054,245,1001,251,979,257,973,265,971,274,979,293,1011,321,1042,335,1075,338,1109,335,1183,326,1225,328,1269,340,1304,357,1336,378,1395,427,1442,477,1474,517,1470,520,1438,481,1392,431,1333,382,1301,362,1267,345,1224,333,1183,331,1109,340,1075,343,1041,340,1008,326,975,296,966,275,968,263,976,252,1000,246,1053,240,1237,229,1808,211,2457,200,2951,194"/>
<area shape="poly" title=" " alt="" coords="3207,194,3680,201,4296,212,4837,229,5011,240,5062,246,5084,252,5097,268,5105,285,5111,321,5106,359,5093,398,5074,435,5052,469,5012,520,5008,517,5048,466,5069,432,5088,396,5101,358,5106,321,5100,287,5092,271,5081,257,5060,251,5010,245,4837,235,4296,218,3680,206,3207,199"/>
<area shape="poly" title=" " alt="" coords="2951,199,2451,205,1792,216,1212,234,1026,245,972,251,950,257,944,265,943,273,950,294,960,309,971,318,984,327,998,341,1073,438,1126,517,1122,520,1068,442,994,344,980,331,967,323,956,312,946,296,938,274,939,263,946,253,971,246,1025,239,1212,228,1792,211,2451,200,2951,194"/>
<area shape="poly" title=" " alt="" coords="3207,194,3673,201,4281,213,4813,230,4984,240,5034,246,5056,252,5071,271,5078,290,5080,310,5077,330,5057,368,5024,406,4982,441,4938,473,4857,521,4854,516,4935,468,4979,437,5020,402,5052,365,5072,328,5075,310,5073,292,5066,274,5053,257,5033,251,4983,246,4813,235,4281,218,3673,206,3206,199"/>
<area shape="poly" title=" " alt="" coords="3206,193,3767,198,4523,208,5193,226,5409,238,5472,245,5500,252,5517,274,5525,295,5525,316,5519,337,5508,357,5491,376,5447,413,5392,447,5332,477,5224,521,5222,516,5330,472,5389,442,5443,409,5487,372,5503,354,5514,334,5520,315,5519,296,5512,276,5497,257,5471,250,5409,243,5193,231,4522,214,3767,203,3206,199"/>
<area shape="poly" title=" " alt="" coords="2951,199,2454,205,1800,217,1225,234,1040,245,986,251,964,257,958,265,956,274,965,293,989,315,1015,325,1042,327,1070,324,1099,320,1130,319,1161,324,1193,340,1216,360,1237,382,1270,431,1293,479,1307,517,1302,519,1288,481,1265,434,1233,385,1213,363,1191,345,1160,329,1129,324,1100,325,1070,329,1042,332,1014,330,986,320,961,296,951,275,953,263,961,252,985,246,1039,239,1224,228,1800,211,2454,200,2951,194"/>
<area shape="poly" title=" " alt="" coords="3207,193,3774,198,4539,208,5218,226,5437,238,5501,245,5529,252,5543,270,5551,288,5554,307,5552,326,5537,365,5510,402,5476,438,5440,471,5373,521,5370,516,5436,467,5473,435,5506,399,5532,362,5546,325,5548,307,5546,289,5539,273,5527,257,5500,250,5437,243,5218,231,4539,213,3774,203,3207,199"/>
<area shape="poly" title=" " alt="" coords="3206,194,4566,213,5263,230,5489,240,5556,246,5586,252,5620,280,5648,313,5671,350,5689,389,5713,463,5724,518,5719,519,5708,464,5684,391,5666,353,5644,316,5617,283,5584,257,5555,251,5489,246,5263,235,4566,218,3206,199"/>
<area shape="poly" title=" " alt="" coords="3206,193,3779,198,4553,208,5242,225,5464,237,5529,244,5558,252,5579,284,5589,319,5589,357,5583,396,5558,468,5531,520,5526,517,5553,465,5578,395,5584,357,5583,320,5574,286,5554,257,5528,250,5463,243,5242,231,4553,213,3779,203,3206,199"/>
<area shape="poly" title=" " alt="" coords="2951,198,2400,201,1655,210,1293,218,982,228,755,241,684,249,646,257,566,298,530,322,500,347,479,375,469,404,471,435,489,469,512,486,550,501,642,523,641,528,548,506,509,491,485,472,466,437,463,403,475,372,497,344,527,318,563,294,644,252,683,243,754,236,982,223,1293,212,1655,205,2400,196,2951,193"/>
<area shape="poly" title=" " alt="" coords="3207,194,3668,201,4268,213,4794,230,4962,240,5011,246,5034,253,5042,267,5042,282,5034,299,5021,317,4980,354,4924,393,4796,466,4686,521,4683,516,4793,462,4921,388,4976,350,5017,313,5030,296,5036,281,5037,268,5030,257,5010,251,4962,246,4794,235,4268,218,3668,206,3206,200"/>
<area shape="poly" title=" " alt="" coords="2951,199,2416,204,1702,215,1069,232,866,244,807,250,783,257,771,273,764,289,761,307,763,324,777,362,802,399,834,434,870,467,934,516,931,520,867,471,831,438,798,402,772,364,758,326,756,306,759,288,766,270,780,252,806,245,866,238,1069,227,1702,210,2416,199,2951,194"/>
<area shape="poly" title=" " alt="" coords="2951,199,2461,205,1816,217,1250,234,1068,245,1015,251,994,257,988,266,986,275,988,284,993,292,1100,305,1379,330,2254,402,3849,529,3848,534,2253,407,1379,335,1099,310,991,297,983,286,980,275,983,263,990,252,1014,246,1067,240,1249,229,1816,212,2460,200,2951,194"/>
<area shape="poly" title=" " alt="" coords="2951,198,2369,198,1573,205,1185,213,852,223,610,238,534,247,494,257,456,283,422,315,392,352,366,390,328,464,306,520,301,518,323,462,362,388,388,349,418,312,453,279,492,252,533,242,609,233,852,218,1185,207,1573,200,2369,193,2951,192"/>
<area shape="poly" title=" " alt="" coords="2951,199,2384,202,1613,212,914,230,678,242,604,249,565,257,531,273,507,289,488,311,470,344,462,366,457,390,456,439,461,484,469,518,464,519,456,484,450,439,452,390,457,365,466,342,484,308,503,285,529,268,563,252,603,244,678,237,914,224,1613,207,2384,197,2951,193"/>
<area shape="poly" title=" " alt="" coords="2951,199,2419,204,1710,215,1082,232,880,244,822,250,798,257,791,267,790,278,794,289,802,300,827,322,857,340,854,345,824,326,798,304,789,291,785,278,786,265,794,253,821,245,880,239,1082,227,1709,210,2419,199,2951,194"/>
<area shape="poly" title=" " alt="" coords="2951,198,2409,198,1679,205,1324,212,1021,223,800,238,731,247,696,257,674,274,655,295,625,344,606,392,596,431,590,430,601,391,620,341,650,292,670,270,693,252,730,242,799,232,1020,218,1324,207,1679,200,2409,193,2951,192"/>
<area shape="rect" href="component__base_8hpp.html" title=" " alt="" coords="4819,255,4997,295"/>
<area shape="poly" title=" " alt="" coords="3207,195,4020,213,4475,230,4663,240,4807,252,4819,253,4818,259,4806,257,4663,245,4474,235,4020,218,3207,200"/>
<area shape="rect" href="dom_2deprecated_8hpp.html" title=" " alt="" coords="5224,262,5464,287"/>
<area shape="poly" title=" " alt="" coords="3207,195,4202,214,4774,231,5012,241,5194,252,5260,259,5259,265,5193,257,5012,246,4774,236,4202,219,3206,200"/>
<area shape="poly" title=" " alt="" coords="3206,193,3762,198,4510,209,5174,226,5387,238,5450,245,5478,253,5488,269,5486,285,5477,299,5461,313,5419,335,5375,352,5373,347,5417,331,5458,308,5473,296,5481,283,5482,270,5474,257,5449,250,5387,243,5173,231,4510,214,3762,204,3206,199"/>
<area shape="rect" href="table_8hpp.html" title=" " alt="" coords="1004,262,1204,287"/>
<area shape="poly" title=" " alt="" coords="2950,200,2074,218,1579,235,1374,246,1218,257,1164,265,1163,259,1217,252,1374,240,1579,230,2074,213,2950,195"/>
<area shape="rect" href="automerge_8cpp.html" title=" " alt="" coords="1229,262,1438,287"/>
<area shape="poly" title=" " alt="" coords="2951,197,2679,199,2306,207,1881,225,1664,239,1451,257,1396,265,1396,259,1450,252,1663,234,1881,220,2306,202,2679,194,2951,192"/>
<area shape="rect" href="blink_8cpp.html" title=" " alt="" coords="1463,262,1633,287"/>
<area shape="poly" title=" " alt="" coords="2951,197,2709,199,2385,206,2017,225,1830,239,1647,257,1601,265,1600,259,1646,252,1830,234,2017,219,2384,201,2709,193,2951,192"/>
<area shape="rect" href="bold_8cpp.html" title=" " alt="" coords="1658,262,1825,287"/>
<area shape="poly" title=" " alt="" coords="2951,198,2739,201,2461,210,2151,228,1838,257,1793,265,1792,259,1837,252,2150,222,2461,205,2739,196,2951,193"/>
<area shape="rect" href="border_8cpp.html" title=" " alt="" coords="1849,262,2028,287"/>
<area shape="poly" title=" " alt="" coords="2951,200,2545,216,2294,233,2042,257,1995,265,1994,259,2041,252,2293,227,2544,211,2950,195"/>
<area shape="poly" title=" " alt="" coords="3206,194,4473,212,5223,229,5536,240,5774,252,5850,259,5849,265,5773,257,5536,245,5223,234,4473,217,3206,199"/>
<area shape="rect" href="clear__under_8cpp.html" title=" " alt="" coords="2053,255,2195,295"/>
<area shape="poly" title=" " alt="" coords="2951,201,2614,217,2411,233,2208,257,2196,259,2195,254,2208,252,2410,228,2614,211,2951,195"/>
<area shape="rect" href="dom_2color_8cpp.html" title=" " alt="" coords="2219,262,2389,287"/>
<area shape="poly" title=" " alt="" coords="2951,205,2697,225,2549,239,2402,257,2358,265,2357,259,2401,252,2548,234,2696,219,2951,200"/>
<area shape="rect" href="composite__decorator_8cpp.html" title=" " alt="" coords="2413,255,2592,295"/>
<area shape="poly" title=" " alt="" coords="2961,211,2792,231,2604,257,2593,259,2592,254,2604,252,2791,226,2960,206"/>
<area shape="rect" href="dbox_8cpp.html" title=" " alt="" coords="2616,262,2787,287"/>
<area shape="poly" title=" " alt="" coords="3011,212,2757,265,2756,259,3010,207"/>
<area shape="rect" href="dim_8cpp.html" title=" " alt="" coords="2811,262,2973,287"/>
<area shape="poly" title=" " alt="" coords="3040,214,2920,264,2918,260,3038,209"/>
<area shape="rect" href="flex_8cpp.html" title=" " alt="" coords="2997,262,3160,287"/>
<area shape="poly" title=" " alt="" coords="3081,220,3081,262,3076,262,3076,220"/>
<area shape="rect" href="flexbox_8cpp.html" title=" " alt="" coords="3184,262,3371,287"/>
<area shape="poly" title=" " alt="" coords="3121,209,3249,259,3247,264,3119,214"/>
<area shape="rect" href="focus_8cpp.html" title=" " alt="" coords="3395,262,3568,287"/>
<area shape="poly" title=" " alt="" coords="3151,207,3423,259,3422,265,3150,212"/>
<area shape="rect" href="frame_8cpp.html" title=" " alt="" coords="3593,262,3770,287"/>
<area shape="poly" title=" " alt="" coords="3206,205,3384,226,3580,252,3623,259,3623,265,3580,257,3383,231,3206,211"/>
<area shape="rect" href="gauge_8cpp.html" title=" " alt="" coords="3795,262,3973,287"/>
<area shape="poly" title=" " alt="" coords="3207,200,3473,219,3628,234,3783,252,3828,259,3827,265,3782,257,3628,239,3472,224,3206,205"/>
<area shape="rect" href="graph_8cpp.html" title=" " alt="" coords="3998,262,4173,287"/>
<area shape="poly" title=" " alt="" coords="3206,196,3558,213,3772,229,3986,252,4031,259,4031,265,3985,257,3771,235,3558,219,3206,202"/>
<area shape="rect" href="gridbox_8cpp.html" title=" " alt="" coords="4197,262,4384,287"/>
<area shape="poly" title=" " alt="" coords="3207,194,3397,199,3641,210,3913,226,4186,252,4234,259,4234,265,4185,257,3913,232,3641,215,3397,205,3207,200"/>
<area shape="rect" href="hbox_8cpp.html" title=" " alt="" coords="4408,262,4579,287"/>
<area shape="poly" title=" " alt="" coords="3206,192,3431,195,3727,203,4060,221,4230,235,4396,252,4442,259,4441,265,4396,257,4230,240,4060,227,3727,209,3430,200,3206,198"/>
<area shape="rect" href="inverted_8cpp.html" title=" " alt="" coords="4603,262,4795,287"/>
<area shape="poly" title=" " alt="" coords="3207,192,3461,194,3805,202,4196,220,4395,234,4591,252,4642,259,4641,265,4590,257,4395,239,4195,225,3805,207,3461,199,3206,197"/>
<area shape="poly" title=" " alt="" coords="4806,298,4671,324,4586,345,4550,365,4516,388,4463,432,4459,428,4513,384,4547,360,4584,340,4670,319,4805,292"/>
<area shape="poly" title=" " alt="" coords="4805,297,4573,320,4198,350,3209,422,1561,535,1561,530,3208,417,4198,345,4572,314,4805,292"/>
<area shape="poly" title=" " alt="" coords="4866,304,4503,521,4500,516,4863,299"/>
<area shape="poly" title=" " alt="" coords="4921,307,4990,518,4985,519,4916,309"/>
<area shape="poly" title=" " alt="" coords="4806,297,4549,320,4331,333,4139,337,3960,337,3590,334,3372,336,3116,345,2464,376,2180,397,1815,433,1519,470,1224,521,1212,524,1211,518,1224,516,1518,465,1814,428,2179,392,2464,371,3116,340,3372,331,3590,328,3960,332,4139,332,4330,327,4548,315,4805,292"/>
<area shape="poly" title=" " alt="" coords="4900,308,4828,519,4823,517,4895,307"/>
<area shape="poly" title=" " alt="" coords="4932,304,4998,381,5078,458,5146,516,5143,520,5075,461,4994,384,4928,307"/>
<area shape="poly" title=" " alt="" coords="4805,297,4642,314,4504,324,4269,331,4034,334,3735,345,3107,386,2480,433,2175,453,1938,465,1702,483,1399,521,1387,523,1386,518,1398,516,1701,478,1938,460,2175,447,2480,428,3107,380,3735,340,4034,329,4269,326,4504,318,4642,308,4805,292"/>
<area shape="poly" title=" " alt="" coords="4952,299,5312,516,5310,521,4949,304"/>
<area shape="poly" title=" " alt="" coords="4986,296,5129,340,5245,380,5665,516,5664,521,5243,385,5127,345,4985,301"/>
<area shape="poly" title=" " alt="" coords="4971,297,5072,340,5149,380,5325,458,5470,516,5468,521,5323,462,5147,385,5070,345,4969,302"/>
<area shape="poly" title=" " alt="" coords="4805,297,4074,300,2727,301,2027,305,1416,313,976,326,846,335,808,340,791,345,772,362,756,383,735,432,724,480,720,518,715,518,719,479,730,430,752,380,768,359,788,340,807,334,846,329,976,320,1416,307,2027,300,2727,296,4074,294,4805,291"/>
<area shape="poly" title=" " alt="" coords="4881,306,4665,520,4661,516,4877,302"/>
<area shape="poly" title=" " alt="" coords="4805,297,4430,328,4111,341,3830,343,3569,337,3307,329,3027,325,2709,328,2333,345,2098,361,1915,377,1733,399,1499,433,1245,479,1038,523,1036,517,1244,473,1498,428,1732,394,1914,372,2098,356,2333,340,2708,323,3027,319,3307,324,3569,332,3830,337,4111,336,4429,323,4805,292"/>
<area shape="poly" title=" " alt="" coords="4806,297,4690,310,4599,314,4511,323,4401,345,4271,386,4147,435,4039,483,3962,521,3959,516,4037,478,4145,430,4269,381,4399,340,4510,317,4599,309,4690,304,4805,292"/>
<area shape="poly" title=" " alt="" coords="4805,297,4530,302,4022,302,2622,299,1891,301,1247,307,768,321,617,332,537,345,500,361,465,382,402,430,350,480,315,520,311,516,346,476,398,426,462,377,498,357,535,340,616,327,768,316,1247,302,1891,295,2622,294,4022,297,4530,297,4805,292"/>
<area shape="poly" title=" " alt="" coords="4805,297,4681,304,4504,308,4020,312,2753,309,2093,309,1498,312,1029,324,862,333,750,345,668,354,602,361,573,369,545,382,517,403,489,432,477,453,472,475,472,518,466,518,467,475,472,451,485,429,514,399,542,378,571,364,601,356,668,349,749,340,862,328,1029,318,1498,307,2093,303,2753,304,4020,307,4504,303,4681,299,4805,292"/>
<area shape="poly" title=" " alt="" coords="4806,297,4723,309,4658,315,4595,325,4517,345,4403,387,4294,436,4132,521,4130,516,4292,431,4401,382,4515,340,4593,320,4657,310,4722,303,4805,292"/>
<area shape="poly" title=" " alt="" coords="4805,297,4634,310,4439,320,3988,332,3481,337,2946,336,1909,332,1463,335,1104,345,984,354,984,349,1104,340,1463,329,1909,326,2946,330,3481,331,3988,327,4438,315,4634,305,4805,292"/>
<area shape="poly" title=" " alt="" coords="5269,263,5217,257,5032,246,4787,235,4200,218,3193,200,3193,194,4200,213,4787,230,5032,240,5218,252,5269,258"/>
<area shape="poly" title=" " alt="" coords="5345,301,5341,350,5336,349,5339,301"/>
</map>
</div>
</div>
<p><a href="string_8hpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="namespaces" name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">namespace &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html">ftxui</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ac09f75368fca22e86b8262ce28ec3cc0" id="r_ac09f75368fca22e86b8262ce28ec3cc0"><td class="memItemLeft" align="right" valign="top">enum class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0">WordBreakProperty</a> { <br />
&#160;&#160;<a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0ab1bb481a6d76de94d35e1d67cb85d966">ALetter</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a1d7b33fc26ca22c2011aaa97fecc43d8">CR</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a3a1f5142815614aa554e376af7047de3">Double_Quote</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a3bc026b815790a05493fa56fc4b8d8bd">Extend</a>
, <br />
&#160;&#160;<a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0adcba983044c9eb2afae2e2eaef5fe818">ExtendNumLet</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a520d0db389f362bf79ef56ca0af3dcab">Format</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a3b076a28de949c89c8443aa0cd42ef17">Hebrew_Letter</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0aedb097c9a1cb7aed483367f825211f75">Katakana</a>
, <br />
&#160;&#160;<a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a618441d41cce47dbcfd9bed6e5ff64e6">LF</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0ab681d24011467edf425478fed96fbcde">MidLetter</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a876e36e8a85514e9c141b2aa3a7bfb5c">MidNum</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a4d4a2ec3c1ff2c647ff25b61136aabff">MidNumLet</a>
, <br />
&#160;&#160;<a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a755fee300780823fcf4df98383331745">Newline</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a87322391cc6e8948ce9fd5d6cb84fced">Numeric</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a7f219844b91c2bb3bdb5fb7ffbdfca72">Regional_Indicator</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0ab6f9a00a0255e4da280686c4640c7671">Single_Quote</a>
, <br />
&#160;&#160;<a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0a3ddc36a0c4e381a754fb00548d567d09">WSegSpace</a>
, <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0acb4adf7b93435bdfbae8f32d5bcda514">ZWJ</a>
<br />
}</td></tr>
<tr class="separator:ac09f75368fca22e86b8262ce28ec3cc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a757b345f73bb6cde5165a4d7f0c0a298" id="r_a757b345f73bb6cde5165a4d7f0c0a298"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a757b345f73bb6cde5165a4d7f0c0a298">to_string</a> (const std::wstring &amp;s)</td></tr>
<tr class="memdesc:a757b345f73bb6cde5165a4d7f0c0a298"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a UTF8 std::string into a std::wstring. <br /></td></tr>
<tr class="separator:a757b345f73bb6cde5165a4d7f0c0a298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57429a83a46c643a81dee81e49384439" id="r_a57429a83a46c643a81dee81e49384439"><td class="memItemLeft" align="right" valign="top">std::wstring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a57429a83a46c643a81dee81e49384439">to_wstring</a> (const std::string &amp;s)</td></tr>
<tr class="memdesc:a57429a83a46c643a81dee81e49384439"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a std::wstring into a UTF8 std::string. <br /></td></tr>
<tr class="separator:a57429a83a46c643a81dee81e49384439"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24ea52e8ef70889ef1da986837e0ff34" id="r_a24ea52e8ef70889ef1da986837e0ff34"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a24ea52e8ef70889ef1da986837e0ff34"><td class="memTemplItemLeft" align="right" valign="top">std::wstring&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a24ea52e8ef70889ef1da986837e0ff34">to_wstring</a> (T s)</td></tr>
<tr class="separator:a24ea52e8ef70889ef1da986837e0ff34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a517b35c7721e632812d8b3a7697c4099" id="r_a517b35c7721e632812d8b3a7697c4099"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a517b35c7721e632812d8b3a7697c4099">string_width</a> (const std::string &amp;)</td></tr>
<tr class="separator:a517b35c7721e632812d8b3a7697c4099"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a389c58d385e861cd2ef109b53fc6ef96" id="r_a389c58d385e861cd2ef109b53fc6ef96"><td class="memItemLeft" align="right" valign="top">std::vector&lt; std::string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a389c58d385e861cd2ef109b53fc6ef96">Utf8ToGlyphs</a> (const std::string &amp;input)</td></tr>
<tr class="separator:a389c58d385e861cd2ef109b53fc6ef96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cbdf10b42355be5507c3b6053a70f56" id="r_a8cbdf10b42355be5507c3b6053a70f56"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a8cbdf10b42355be5507c3b6053a70f56">GlyphPosition</a> (const std::string &amp;input, size_t glyph_index, size_t start=0)</td></tr>
<tr class="separator:a8cbdf10b42355be5507c3b6053a70f56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b4f3faecfbeb6b2c0fdf9c30e3f1553" id="r_a9b4f3faecfbeb6b2c0fdf9c30e3f1553"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a9b4f3faecfbeb6b2c0fdf9c30e3f1553">GlyphCount</a> (const std::string &amp;input)</td></tr>
<tr class="separator:a9b4f3faecfbeb6b2c0fdf9c30e3f1553"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad15724e497f0001e146da530183ca552" id="r_ad15724e497f0001e146da530183ca552"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="namespaceftxui.html#ac09f75368fca22e86b8262ce28ec3cc0">WordBreakProperty</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#ad15724e497f0001e146da530183ca552">Utf8ToWordBreakProperty</a> (const std::string &amp;input)</td></tr>
<tr class="separator:ad15724e497f0001e146da530183ca552"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a64a9bd1df7ca3ffb1622507d01cd0b13" id="r_a64a9bd1df7ca3ffb1622507d01cd0b13"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a64a9bd1df7ca3ffb1622507d01cd0b13">IsWordBreakingCharacter</a> (const std::string &amp;input, size_t glyph_index)</td></tr>
<tr class="separator:a64a9bd1df7ca3ffb1622507d01cd0b13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9769a28baa6a84d5de6a8bd624a29294" id="r_a9769a28baa6a84d5de6a8bd624a29294"><td class="memItemLeft" align="right" valign="top">std::vector&lt; int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceftxui.html#a9769a28baa6a84d5de6a8bd624a29294">CellToGlyphIndex</a> (const std::string &amp;input)</td></tr>
<tr class="separator:a9769a28baa6a84d5de6a8bd624a29294"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const projectNumber = document.getElementById('projectnumber');
if (!projectNumber) {
console.warn('Doxygen element with ID "projectnumber" not found. Cannot add version switcher.');
return;
}
const versions = ["main", "v6.1.9", "v6.1.8", "v6.1.7", "v6.1.6", "v6.1.5", "v6.1.4", "v6.1.3", "v6.1.2", "v6.1.1", "v6.1.0", "v6.0.2", "v6.0.1", "v6.0.0", "v5.0.0", "v4.1.1", "v4.1.0", "v4.0.0", "v3.0.0", "v2.0.0", "v0.9", "v0.11", "v0.10"];
const version_paths = {"main": "../../index.html", "v6.1.9": "../v6.1.9/index.html", "v6.1.8": "../v6.1.8/index.html", "v6.1.7": "../v6.1.7/index.html", "v6.1.6": "../v6.1.6/index.html", "v6.1.5": "../v6.1.5/index.html", "v6.1.4": "../v6.1.4/index.html", "v6.1.3": "../v6.1.3/index.html", "v6.1.2": "../v6.1.2/index.html", "v6.1.1": "../v6.1.1/index.html", "v6.1.0": "../v6.1.0/index.html", "v6.0.2": "../v6.0.2/index.html", "v6.0.1": "../v6.0.1/index.html", "v6.0.0": "../v6.0.0/index.html", "v5.0.0": "../v5.0.0/index.html", "v4.1.1": "../v4.1.1/index.html", "v4.1.0": "index.html", "v4.0.0": "../v4.0.0/index.html", "v3.0.0": "../v3.0.0/index.html", "v2.0.0": "../v2.0.0/index.html", "v0.9": "../v0.9/index.html", "v0.11": "../v0.11/index.html", "v0.10": "../v0.10/index.html"};
const currentVersion = "v4.1.0";
// Sort versions: 'main' first, then others numerically descending.
versions.sort((a, b) => {
if (a === 'main') return -1;
if (b === 'main') return 1;
return b.localeCompare(a, undefined, { numeric: true, sensitivity: 'base' });
});
const select = document.createElement('select');
select.onchange = function() {
const selectedVersion = this.value;
// Navigate directly to the pre-calculated relative path.
if (selectedVersion !== currentVersion) {
window.location.href = version_paths[selectedVersion];
}
};
versions.forEach(v => {
const option = document.createElement('option');
option.value = v;
option.textContent = v;
if (v === currentVersion) {
option.selected = true;
}
select.appendChild(option);
});
// Replace the Doxygen project number element with our dropdown.
projectNumber.replaceWith(select);
// Apply some styling to make it look good.
Object.assign(select.style, {
backgroundColor: 'rgba(0, 0, 0, 0.8)',
color: 'white',
border: '1px solid rgba(255, 255, 255, 0.2)',
padding: '5px',
borderRadius: '5px',
fontSize: '14px',
fontFamily: 'inherit',
marginLeft: '10px',
cursor: 'pointer'
});
});
</script>
</body>
</html>