ejson/class_ejson__Value.html
2014-10-18 09:19:59 +02:00

324 lines
27 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>ejson 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">ejson library</a></h1>
<h4><a href="http://github.com/heeroyui/ejson/">&nbsp;&nbsp;&nbsp;[ sources ]</a></h4>
<h3>API:</h3> <div id="menu">
<ul class="niveau1">
<li><a href="namespace_ejson.html">ejson</a>
</li>
</ul>
</div>
<h3>Tutorials:</h3><div id="menu">
<ul class="niveau1"><li><a href="tutorial_000_Build.html">Build</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_001_Read.html">Read</a></li>
</ul><ul class="niveau1"><li><a href="tutorial_002_Write.html">Write</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="../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="../etk/index.html">etk</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>class: ejson::Value</h1><hr/><h2>Description:</h2>
<br/><br/>
<h2>Constructor and Destructor:</h2>
<pre>
+ <a class="code-function" href="#3894">Value</a> ();<br/>+ <span class="code-storage-keyword">virtual</span> <a class="code-function" href="#3895">~Value</a> ();<br/></pre>
<br/>
<h2>Synopsis:</h2>
<pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >bool</span> <a class="code-function" href="#3896">iParse</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_data</span>,<br/> size_t & <span class="code-argument">_pos</span>,<br/> <a class="code-type" href="class_ejson__filePos.html">ejson::filePos</a> & <span class="code-argument">_filePos</span>,<br/> <a class="code-type" href="class_ejson__Document.html">ejson::Document</a> & <span class="code-argument">_doc</span>) = 0;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >bool</span> <a class="code-function" href="#3901">iGenerate</a> (<a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_data</span>,<br/> size_t <span class="code-argument">_indent</span>) = 0 <span class="code-storage-keyword">const</span>;<br/># <span class="code-type" >void</span> <a class="code-function" href="#3904">addIndent</a> (<a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_data</span>,<br/> size_t <span class="code-argument">_indent</span>) <span class="code-storage-keyword">const</span>;<br/># <span class="code-type" >void</span> <a class="code-function" href="#3907">drawElementParsed</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>,<br/> <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__filePos.html">ejson::filePos</a> & <span class="code-argument">_filePos</span>) <span class="code-storage-keyword">const</span>;<br/># <span class="code-type" >bool</span> <a class="code-function" href="#3910">checkString</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>) <span class="code-storage-keyword">const</span>;<br/># <span class="code-type" >bool</span> <a class="code-function" href="#3912">checkNumber</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>) <span class="code-storage-keyword">const</span>;<br/># <span class="code-type" >int32_t</span> <a class="code-function" href="#3914">countWhiteChar</a> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_data</span>,<br/> size_t <span class="code-argument">_pos</span>,<br/> <a class="code-type" href="class_ejson__filePos.html">ejson::filePos</a> & <span class="code-argument">_filePos</span>) <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-type" href="class_ejson__Value.html">ejson::Value</a>* <a class="code-function" href="#3918">toValue</a> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Value.html">ejson::Value</a>* <a class="code-function" href="#3919">toValue</a> () <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-type" href="class_ejson__Document.html">ejson::Document</a>* <a class="code-function" href="#3920">toDocument</a> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Document.html">ejson::Document</a>* <a class="code-function" href="#3921">toDocument</a> () <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-type" href="class_ejson__Array.html">ejson::Array</a>* <a class="code-function" href="#3922">toArray</a> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Array.html">ejson::Array</a>* <a class="code-function" href="#3923">toArray</a> () <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-type" href="class_ejson__Object.html">ejson::Object</a>* <a class="code-function" href="#3924">toObject</a> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Object.html">ejson::Object</a>* <a class="code-function" href="#3925">toObject</a> () <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-type" href="class_ejson__String.html">ejson::String</a>* <a class="code-function" href="#3926">toString</a> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__String.html">ejson::String</a>* <a class="code-function" href="#3927">toString</a> () <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-type" href="class_ejson__Number.html">ejson::Number</a>* <a class="code-function" href="#3928">toNumber</a> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Number.html">ejson::Number</a>* <a class="code-function" href="#3929">toNumber</a> () <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-type" href="class_ejson__Boolean.html">ejson::Boolean</a>* <a class="code-function" href="#3930">toBoolean</a> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Boolean.html">ejson::Boolean</a>* <a class="code-function" href="#3931">toBoolean</a> () <span class="code-storage-keyword">const</span>;<br/>+ <a class="code-type" href="class_ejson__Null.html">ejson::Null</a>* <a class="code-function" href="#3932">toNull</a> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Null.html">ejson::Null</a>* <a class="code-function" href="#3933">toNull</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#3934">isDocument</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#3935">isArray</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#3936">isObject</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#3937">isString</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#3938">isNumber</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#3939">isBoolean</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-type" >bool</span> <a class="code-function" href="#3940">isNull</a> () <span class="code-storage-keyword">const</span>;<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <a class="code-function" href="#3941">clear</a> ();<br/>+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >bool</span> <a class="code-function" href="#3942">transfertIn</a> (<a class="code-type" href="class_ejson__Value.html">ejson::Value</a>* <span class="code-argument">_obj</span>);<br/>+ <span class="code-storage-keyword">virtual</span> <a class="code-type" href="class_ejson__Value.html">ejson::Value</a>* <a class="code-function" href="#3944">duplicate</a> () <span class="code-storage-keyword">const</span>;<br/># <span class="code-type" >bool</span> <a class="code-function" href="#3945">isWhiteChar</a> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>);<br/></pre>
<br/>
<h2>Object Hierarchy:<h2>
<pre>
ejson::Value<br/> +--> <a href="class_ejson__String.html">ejson::String</a><br/> +--> <a href="class_ejson__Null.html">ejson::Null</a><br/> +--> <a href="class_ejson__Object.html">ejson::Object</a><br/> +--> <a href="class_ejson__Boolean.html">ejson::Boolean</a><br/> +--> <a href="class_ejson__Number.html">ejson::Number</a><br/> +--> <a href="class_ejson__Array.html">ejson::Array</a><br/></pre>
<h2>Detail:</h2>
<a id="3894"/><a id="3895"/><h3>Value</h3><pre>
+ <span class="code-function">Value</span> ();<br/></pre>
basic element of a xml structure<br/>
<br/>
<hr/>
<a id="3896"/><h3>~Value</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-function">~Value</span> ();<br/></pre>
destructor<br/>
<br/>
<hr/>
<a id="3901"/><h3>iParse</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >bool</span> <span class="code-function">iParse</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_data</span>,<br/> size_t & <span class="code-argument">_pos</span>,<br/> <a class="code-type" href="class_ejson__filePos.html">ejson::filePos</a> & <span class="code-argument">_filePos</span>,<br/> <a class="code-type" href="class_ejson__Document.html">ejson::Document</a> & <span class="code-argument">_doc</span>) = 0;<br/></pre>
parse the Current node [pure VIRUAL]<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_data</span> </td><td> data string to parse.</td></tr>
<td><b>Parameter [input] [output]:</b></td><td><span class="code-argument">_pos</span> </td><td> position in the string to start parse, return the position end of parsing.</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_caseSensitive</span> </td><td> Request a parsion of element that is not case sensitive (all element is in low case)</td></tr>
<td><b>Parameter [input] [output]:</b></td><td><span class="code-argument">file</span> </td><td> parsing position (line x col x)</td></tr>
<tr><td><b>Return: </b></td><td></td><td>false if an error occured.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3904"/><h3>iGenerate</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >bool</span> <span class="code-function">iGenerate</span> (<a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_data</span>,<br/> size_t <span class="code-argument">_indent</span>) = 0 <span class="code-storage-keyword">const</span>;<br/></pre>
generate a string with the tree of the xml<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input] [output]:</b></td><td><span class="code-argument">_data</span> </td><td> string where to add the elements</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">current</span> </td><td> indentation of the file</td></tr>
<tr><td><b>Return: </b></td><td></td><td>false if an error occured.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3907"/><h3>addIndent</h3><pre>
# <span class="code-type" >void</span> <span class="code-function">addIndent</span> (<a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_data</span>,<br/> size_t <span class="code-argument">_indent</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
add indentation of the string input.<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input] [output]:</b></td><td><span class="code-argument">_data</span> </td><td> String where the indentation is done.</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_indent</span> </td><td> Number of tab to add at the string.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="3910"/><h3>drawElementParsed</h3><pre>
# <span class="code-type" >void</span> <span class="code-function">drawElementParsed</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>,<br/> <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__filePos.html">ejson::filePos</a> & <span class="code-argument">_filePos</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
Display the cuurent element that is curently parse.<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_val</span> </td><td> Char that is parsed.</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_filePos</span> </td><td> Position of the char in the file.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="3912"/><h3>checkString</h3><pre>
# <span class="code-type" >bool</span> <span class="code-function">checkString</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
check if an name (for object named) (not : !"#$%&'()+,/;&lt;=&gt;?@[\]^`{|}~ \n\t\r).<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_val</span> </td><td> Value to check the conformity.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="3914"/><h3>checkNumber</h3><pre>
# <span class="code-type" >bool</span> <span class="code-function">checkNumber</span> (<span class="code-type" >char32_t</span> <span class="code-argument">_val</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
check if an number -+.0123456789e).<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_val</span> </td><td> Value to check the conformity.</td></tr>
</table>
</ul>
<br/>
<hr/>
<a id="3918"/><h3>countWhiteChar</h3><pre>
# <span class="code-type" >int32_t</span> <span class="code-function">countWhiteChar</span> (<span class="code-storage-keyword">const</span> <a class="code-type" href="http://www.cplusplus.com/reference/string/string/">std::string</a> & <span class="code-argument">_data</span>,<br/> size_t <span class="code-argument">_pos</span>,<br/> <a class="code-type" href="class_ejson__filePos.html">ejson::filePos</a> & <span class="code-argument">_filePos</span>) <span class="code-storage-keyword">const</span>;<br/></pre>
count the number of white char in the string from the specify position (stop at the first element that is not a white char)<br/><ul>
<table class="parameter-list">
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_data</span> </td><td> Data to parse.</td></tr>
<td><b>Parameter [input]:</b></td><td><span class="code-argument">_pos</span> </td><td> Start position in the string.</td></tr>
<td><b>Parameter [output]:</b></td><td><span class="code-argument">_filePos</span> </td><td> new poistion of te file to add.</td></tr>
<tr><td><b>Return: </b></td><td></td><td>number of white element.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3919"/><a id="3920"/><h3>toValue</h3><pre>
+ <a class="code-type" href="class_ejson__Value.html">ejson::Value</a>* <span class="code-function">toValue</span> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Value.html">ejson::Value</a>* <span class="code-function">toValue</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Cast the element in a Value if it is possible.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>pointer on the class or NULL.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3921"/><a id="3922"/><h3>toDocument</h3><pre>
+ <a class="code-type" href="class_ejson__Document.html">ejson::Document</a>* <span class="code-function">toDocument</span> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Document.html">ejson::Document</a>* <span class="code-function">toDocument</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Cast the element in a Document if it is possible.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>pointer on the class or NULL.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3923"/><a id="3924"/><h3>toArray</h3><pre>
+ <a class="code-type" href="class_ejson__Array.html">ejson::Array</a>* <span class="code-function">toArray</span> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Array.html">ejson::Array</a>* <span class="code-function">toArray</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Cast the element in a Array if it is possible.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>pointer on the class or NULL.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3925"/><a id="3926"/><h3>toObject</h3><pre>
+ <a class="code-type" href="class_ejson__Object.html">ejson::Object</a>* <span class="code-function">toObject</span> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Object.html">ejson::Object</a>* <span class="code-function">toObject</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Cast the element in a Object if it is possible.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>pointer on the class or NULL.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3927"/><a id="3928"/><h3>toString</h3><pre>
+ <a class="code-type" href="class_ejson__String.html">ejson::String</a>* <span class="code-function">toString</span> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__String.html">ejson::String</a>* <span class="code-function">toString</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Cast the element in a String if it is possible.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>pointer on the class or NULL.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3929"/><a id="3930"/><h3>toNumber</h3><pre>
+ <a class="code-type" href="class_ejson__Number.html">ejson::Number</a>* <span class="code-function">toNumber</span> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Number.html">ejson::Number</a>* <span class="code-function">toNumber</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Cast the element in a Number if it is possible.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>pointer on the class or NULL.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3931"/><a id="3932"/><h3>toBoolean</h3><pre>
+ <a class="code-type" href="class_ejson__Boolean.html">ejson::Boolean</a>* <span class="code-function">toBoolean</span> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Boolean.html">ejson::Boolean</a>* <span class="code-function">toBoolean</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Cast the element in a Boolean if it is possible.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>pointer on the class or NULL.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3933"/><a id="3934"/><h3>toNull</h3><pre>
+ <a class="code-type" href="class_ejson__Null.html">ejson::Null</a>* <span class="code-function">toNull</span> ();<br/>+ <span class="code-storage-keyword">const</span> <a class="code-type" href="class_ejson__Null.html">ejson::Null</a>* <span class="code-function">toNull</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Cast the element in a Null if it is possible.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>pointer on the class or NULL.</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3935"/><h3>isDocument</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">isDocument</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
check if the node is a ejson::Document<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>true if the node is a ejson::Document</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3936"/><h3>isArray</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">isArray</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
check if the node is a ejson::Array<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>true if the node is a ejson::Array</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3937"/><h3>isObject</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">isObject</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
check if the node is a ejson::Object<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>true if the node is a ejson::Object</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3938"/><h3>isString</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">isString</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
check if the node is a ejson::String<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>true if the node is a ejson::String</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3939"/><h3>isNumber</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">isNumber</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
check if the node is a ejson::Number<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>true if the node is a ejson::Number</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3940"/><h3>isBoolean</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">isBoolean</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
check if the node is a ejson::Boolean<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>true if the node is a ejson::Boolean</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3941"/><h3>isNull</h3><pre>
+ <span class="code-type" >bool</span> <span class="code-function">isNull</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
check if the node is a ejson::Null<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>true if the node is a ejson::Null</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3942"/><h3>clear</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >void</span> <span class="code-function">clear</span> ();<br/></pre>
clear the Node<br/>
<br/>
<hr/>
<a id="3944"/><h3>transfertIn</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <span class="code-type" >bool</span> <span class="code-function">transfertIn</span> (<a class="code-type" href="class_ejson__Value.html">ejson::Value</a>* <span class="code-argument">_obj</span>);<br/></pre>
Tranfert all element in the element set in parameter<br/><b>Note:</b> all element is remove from the curent element.<br/> <ul>
<table class="parameter-list">
<td><b>Parameter [input] [output]:</b></td><td><span class="code-argument">_obj</span> </td><td> move all parameter in the selected element</td></tr>
<tr><td><b>Return: </b></td><td></td><td>true if transfer is done corectly</td></tr></table>
</ul>
<br/>
<hr/>
<a id="3945"/><h3>duplicate</h3><pre>
+ <span class="code-storage-keyword">virtual</span> <a class="code-type" href="class_ejson__Value.html">ejson::Value</a>* <span class="code-function">duplicate</span> () <span class="code-storage-keyword">const</span>;<br/></pre>
Copy the curent node and all the child in the curent one.<br/><ul>
<table class="parameter-list">
<tr><td><b>Return: </b></td><td></td><td>NULL in an error occured, the pointer on the element otherwise</td></tr></table>
</ul>
<br/>
<hr/>
<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/>
</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>