etk/namespace_u32char.html
2014-10-18 09:21:19 +02:00

170 lines
7.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>etk Library</title>
<link rel="stylesheet" href="base.css">
<link rel="stylesheet" href="menu.css">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="container">
<h1><a href="index.html">etk library</a></h1>
<h4><a href="http://github.com/heeroyui/etk/">&nbsp;&nbsp;&nbsp;[ sources ]</a></h4>
<h3>API:</h3> <div id="menu">
<ul class="niveau1">
<li class="sousmenu"><a href="namespace_etk.html">etk</a>
<ul class="niveau2">
<li><a href="namespace_etk__log.html">log</a>
</li>
<li><a href="namespace_etk__color.html">color</a>
</li>
<li><a href="namespace_etk__tool.html">tool</a>
</li>
<li><a href="namespace_etk__archive.html">archive</a>
</li>
<li><a href="namespace_etk__theme.html">theme</a>
</li>
</ul>
</li>
<li><a href="namespace_u32char.html">u32char</a>
</li>
<li><a href="namespace_utf8.html">utf8</a>
</li>
<li><a href="namespace_std.html">std</a>
</li>
</ul>
</div>
<br/><h3>Associate libraries:</h3><div id="menu">
<ul class="niveau1"><li><a href="../ewol/index.html">ewol</a></li>
</ul><ul class="niveau1"><li><a href="../ejson/index.html">ejson</a></li>
</ul><ul class="niveau1"><li><a href="../egami/index.html">egami</a></li>
</ul><ul class="niveau1"><li><a href="../ege/index.html">ege</a></li>
</ul><ul class="niveau1"><li><a href="../esvg/index.html">esvg</a></li>
</ul><ul class="niveau1"><li><a href="../exml/index.html">exml</a></li>
</ul></div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</div>
</div>
<div class="container" id="content">
<h1>namespace: u32char</h1><hr/><h2>Description:</h2>
<br/><br/>
<h2>Synopsis:</h2>
<pre>
externconstchar32_t <a class="code-member" href="#5570">Null</a>;<br/> externconstchar32_t <a class="code-member" href="#5571">Return</a>;<br/> externconstchar32_t <a class="code-member" href="#5572">CarrierReturn</a>;<br/> externconstchar32_t <a class="code-member" href="#5573">Tabulation</a>;<br/> externconstchar32_t <a class="code-member" href="#5574">Suppress</a>;<br/> externconstchar32_t <a class="code-member" href="#5575">Delete</a>;<br/> externconstchar32_t <a class="code-member" href="#5576">Space</a>;<br/> externconstchar32_t <a class="code-member" href="#5577">Escape</a>;<br/> <span class="code-type" >bool</span> <a class="code-function" href="#5578">isWhiteChar</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/> <span class="code-type" >bool</span> <a class="code-function" href="#5580">isSpecialChar</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/> <span class="code-type" >bool</span> <a class="code-function" href="#5582">isInteger</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/> <span class="code-type" >int32_t</span> <a class="code-function" href="#5584">toInt</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/> <span class="code-type" >char32_t</span> <a class="code-function" href="#5586">changeOrder</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/> <span class="code-type" >int8_t</span> <a class="code-function" href="#5588">convertUtf8</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>,<br/> <span class="code-type" >char</span> <span class="code-argument">_output</span>);<br/> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> <a class="code-function" href="#5591">convertToUtf8</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_input</span>);<br/></pre>
<br/>
<h2>Detail:</h2>
<a id="5570"/><a id="5571"/><h3>Null</h3><pre>
externconstchar32_t <span class="code-member">Null</span>;<br/></pre>
'\0'<br/>
<br/>
<hr/>
<a id="5572"/><h3>Return</h3><pre>
externconstchar32_t <span class="code-member">Return</span>;<br/></pre>
'\n'<br/>
<br/>
<hr/>
<a id="5573"/><h3>CarrierReturn</h3><pre>
externconstchar32_t <span class="code-member">CarrierReturn</span>;<br/></pre>
'\r' CR<br/>
<br/>
<hr/>
<a id="5574"/><h3>Tabulation</h3><pre>
externconstchar32_t <span class="code-member">Tabulation</span>;<br/></pre>
'\t' TAB<br/>
<br/>
<hr/>
<a id="5575"/><h3>Suppress</h3><pre>
externconstchar32_t <span class="code-member">Suppress</span>;<br/></pre>
BS (SUPPRESS)<br/>
<br/>
<hr/>
<a id="5576"/><h3>Delete</h3><pre>
externconstchar32_t <span class="code-member">Delete</span>;<br/></pre>
DEL<br/>
<br/>
<hr/>
<a id="5577"/><h3>Space</h3><pre>
externconstchar32_t <span class="code-member">Space</span>;<br/></pre>
' ' SPACE<br/>
<br/>
<hr/>
<a id="5578"/><h3>Escape</h3><pre>
externconstchar32_t <span class="code-member">Escape</span>;<br/></pre>
ESC Escape<br/>
<br/>
<hr/>
<a id="5580"/><h3>isWhiteChar</h3><pre>
<span class="code-type" >bool</span> <span class="code-function">isWhiteChar</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/></pre>
check if the current element is white or not : '\t' '\n' '\r' ' '<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>tue if it is white char</td></tr></table>
</ul>
<br/>
<hr/>
<a id="5582"/><h3>isSpecialChar</h3><pre>
<span class="code-type" >bool</span> <span class="code-function">isSpecialChar</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="5584"/><h3>isInteger</h3><pre>
<span class="code-type" >bool</span> <span class="code-function">isInteger</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/></pre>
check if the curent element is number or not<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>tue if it is a number char</td></tr></table>
</ul>
<br/>
<hr/>
<a id="5586"/><h3>toInt</h3><pre>
<span class="code-type" >int32_t</span> <span class="code-function">toInt</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="5588"/><h3>changeOrder</h3><pre>
<span class="code-type" >char32_t</span> <span class="code-function">changeOrder</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/></pre>
<br/>
<br/>
<hr/>
<a id="5591"/><h3>convertUtf8</h3><pre>
<span class="code-type" >int8_t</span> <span class="code-function">convertUtf8</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>,<br/> <span class="code-type" >char</span> <span class="code-argument">_output</span>);<br/></pre>
<br/>
<br/>
<hr/>
<h3>convertToUtf8</h3><pre>
<a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> <span class="code-function">convertToUtf8</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/u32string/">std::u32string</a> & <span class="code-argument">_input</span>);<br/></pre>
<br/>
<br/>
<hr/>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-46753803-1', 'heeroyui.github.io');
ga('send', 'pageview');
</script>
</body>
</html>