185 lines
33 KiB
HTML
185 lines
33 KiB
HTML
<!-- HTML header for doxygen 1.8.8-->
|
|
<!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="X-UA-Compatible" content="IE=edge">
|
|
<!-- For Mobile Devices -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta name="generator" content="Doxygen 1.8.12"/>
|
|
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
|
|
<title>ejson: Ewol JSON parser: framework/atria-soft/ejson/ejson/internal/Object.hpp Source File</title>
|
|
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
|
|
<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" />
|
|
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
|
|
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
|
|
<script type="text/javascript" src="doxy-boot.js"></script>
|
|
</head>
|
|
<body>
|
|
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<a class="navbar-brand">ejson: Ewol JSON parser 0.8.0</a>
|
|
</div>
|
|
<div id="navbar" class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li><a href="index.html">Main Page</a></li>
|
|
<li><a href="pages.html">Related Pages</a></li>
|
|
<li><a href="namespaces.html">Namespaces</a></li>
|
|
<li><a href="annotated.html">Classes</a></li>
|
|
<li><a href="files.html">Files</a></li>
|
|
</ul>
|
|
<ul class="nav navbar-nav navbar-right">
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
|
|
Link-libs<span class="caret"></span>
|
|
</a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="http://HeeroYui.github.io/lutin">lutin</a></li>
|
|
<li><a href="http://atria-soft.github.io/ewol">ewol</a></li>
|
|
<li><a href="http://atria-soft.github.io/echrono">echrono</a></li>
|
|
<li><a href="http://atria-soft.github.io/etk">etk</a></li>
|
|
<li><a href="http://atria-soft.github.io/ejson">ejson</a></li>
|
|
<li><a href="http://atria-soft.github.io/exml">exml</a></li>
|
|
<li><a href="http://atria-soft.github.io/esvg">esvg</a></li>
|
|
<li><a href="http://atria-soft.github.io/egami">egami</a></li>
|
|
<li><a href="http://atria-soft.github.io/gale">gale</a></li>
|
|
<li><a href="http://atria-soft.github.io/ege">ege</a></li>
|
|
<li><a href="http://atria-soft.github.io/elog">elog</a></li>
|
|
<li><a href="http://atria-soft.github.io/ememory">ememory</a></li>
|
|
<li><a href="http://atria-soft.github.io/enet">enet</a></li>
|
|
<li><a href="http://atria-soft.github.io/eproperty">eproperty</a></li>
|
|
<li><a href="http://atria-soft.github.io/esignal">esignal</a></li>
|
|
<li><a href="http://atria-soft.github.io/etranslate">etranslate</a></li>
|
|
<li><a href="http://atria-soft.github.io/zeus">zeus</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-ess">audio-ess</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio">audio</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-drain">audio-drain</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-orchestra">audio-orchestra</a></li>
|
|
<li><a href="http://musicdsp.github.io/audio-river">audio-river</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div id="search-box" class="input-group">
|
|
<div class="input-group-btn">
|
|
<button aria-expanded="false" type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
<span class="glyphicon glyphicon-search"></span>
|
|
<span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">All</a></li>
|
|
<li><a href="#">Classes</a></li>
|
|
<li><a href="#">Namespaces</a></li>
|
|
<li><a href="#">Files</a></li>
|
|
<li><a href="#">Functions</a></li>
|
|
<li><a href="#">Variables</a></li>
|
|
<li><a href="#">Typedefs</a></li>
|
|
<li><a href="#">Enumerations</a></li>
|
|
<li><a href="#">Enumerator</a></li>
|
|
<li><a href="#">Friends</a></li>
|
|
<li><a href="#">Macros</a></li>
|
|
<li><a href="#">Pages</a></li>
|
|
</ul>
|
|
</div>
|
|
<button id="search-close" type="button" class="close" aria-label="Close">
|
|
<span aria-hidden="true"></span>
|
|
</button>
|
|
<input id="search-field" class="form-control" accesskey="S" onkeydown="searchBox.OnSearchFieldChange(event);" placeholder="Search ..." type="text">
|
|
</div>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</nav>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div class="content" id="content">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-12 panel panel-default" style="padding-bottom: 15px;">
|
|
<div style="margin-bottom: 15px;margin-top: 60px;">
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.12 -->
|
|
<script type="text/javascript">
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
</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="dir_644e041c3a6521da7b27eba0e4eb2b95.html">framework</a></li><li class="navelem"><a class="el" href="dir_a094892b17be858f66bf3446bbb755c7.html">atria-soft</a></li><li class="navelem"><a class="el" href="dir_144b6a62e2dd6250c7a925b8245b61ea.html">ejson</a></li><li class="navelem"><a class="el" href="dir_715e87801a16358c677dc77a4c05bf37.html">ejson</a></li><li class="navelem"><a class="el" href="dir_45674c0987528cf8f03c543e14926361.html">internal</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Object.hpp</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="internal_2_object_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include <<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/types__8hpp.html">etk/types.hpp</a>></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/__hash__8hpp.html">etk/Hash.hpp</a>></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <algorithm></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="internal_2_value_8hpp.html">ejson/internal/Value.hpp</a>></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> </div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">namespace </span><a class="code" href="namespaceejson.html">ejson</a> {</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  <span class="keyword">namespace </span>internal {</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classejson_1_1internal_1_1_object.html"> 18</a></span>  <span class="keyword">class </span><a class="code" href="classejson_1_1internal_1_1_object.html">Object</a> : <span class="keyword">public</span> <a class="code" href="classejson_1_1internal_1_1_value.html">ejson::internal::Value</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classejson_1_1internal_1_1_object.html#a7082488762e962f4f431356d94bf9bb7"> 23</a></span>  <a class="code" href="classejson_1_1internal_1_1_object.html#a7082488762e962f4f431356d94bf9bb7">Object</a>() {</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="classejson_1_1internal_1_1_value.html#aef2a38a6dd429c636207ecdd87f960e8">m_type</a> = <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709aa8cfde6331bd59eb2ac96f8911c4b666">ejson::valueType::object</a>;</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  };</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">static</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<Object></a> <a class="code" href="classejson_1_1internal_1_1_object.html#aa104cd6df456659f510286d5eecce2ad">create</a>();</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">static</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<Object></a> <a class="code" href="classejson_1_1internal_1_1_object.html#aa104cd6df456659f510286d5eecce2ad">create</a>(<span class="keyword">const</span> <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _data);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">protected</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">// TODO : Change this with a generic methode ...</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classejson_1_1internal_1_1_object.html#aaf06e1003163fe1271eb1c94634bf2aa"> 40</a></span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/etk.tag:http://atria-soft.github.io/etk/" href="http://atria-soft.github.io/etk/classetk_1_1_hash.html">etk::Hash<ememory::SharedPtr<ejson::internal::Value></a> > <a class="code" href="classejson_1_1internal_1_1_object.html#aaf06e1003163fe1271eb1c94634bf2aa">m_value</a>; </div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordtype">bool</span> <a class="code" href="classejson_1_1internal_1_1_object.html#a62b94307e4a86534e2ef879a5dfc3eff">exist</a>(<span class="keyword">const</span> <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _name) <span class="keyword">const</span>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Value></a> <span class="keyword">get</span>(<span class="keyword">const</span> <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _name);</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Value></a> <span class="keyword">get</span>(<span class="keyword">const</span> <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _name) <span class="keyword">const</span>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  std::vector<std::string> <a class="code" href="classejson_1_1internal_1_1_object.html#a0d1a7d19470b497aa89d0d63b1d18a38">getKeys</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keywordtype">size_t</span> <a class="code" href="classejson_1_1internal_1_1_object.html#a11f6d2ca0e58ebccdbdac6120ea377ab">size</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Value></a> <span class="keyword">get</span>(<span class="keywordtype">size_t</span> _id);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">const</span> <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Value></a> <span class="keyword">get</span>(<span class="keywordtype">size_t</span> _id) <span class="keyword">const</span>;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a> <a class="code" href="classejson_1_1internal_1_1_object.html#a2baac0d0e67e8f3e65896e9769aedb85">getKey</a>(<span class="keywordtype">size_t</span> _id) <span class="keyword">const</span>;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keywordtype">bool</span> <a class="code" href="classejson_1_1internal_1_1_object.html#a0248c96fa66e30adfb84249def2c4c94">add</a>(<span class="keyword">const</span> <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _name, <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Value></a> _value);</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keywordtype">void</span> <span class="keyword">remove</span>(<span class="keyword">const</span> <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _name);</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordtype">void</span> <span class="keyword">remove</span>(<span class="keywordtype">size_t</span> _id);</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">bool</span> <a class="code" href="classejson_1_1internal_1_1_object.html#af95fec9bdbf1bcb64c11dcdd52789723">cloneIn</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Object></a>& _obj) <span class="keyword">const</span>;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Object></a> <a class="code" href="classejson_1_1internal_1_1_object.html#a713d7172fb0d1aa0285362345203de0d">cloneObj</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">public</span>:</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordtype">bool</span> <a class="code" href="classejson_1_1internal_1_1_object.html#a618760d6e0abc4a8f2977d8688cdd127">iParse</a>(<span class="keyword">const</span> <a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _data, <span class="keywordtype">size_t</span>& _pos, <a class="code" href="classejson_1_1_file_pos.html">ejson::FilePos</a>& _filePos, <a class="code" href="classejson_1_1internal_1_1_document.html">ejson::internal::Document</a>& _doc) <span class="keyword">override</span>;</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <span class="keywordtype">bool</span> <a class="code" href="classejson_1_1internal_1_1_object.html#a321803d73333a459417c3885c082371c">iGenerate</a>(<a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _data, <span class="keywordtype">size_t</span> _indent) <span class="keyword">const override</span>;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <span class="keywordtype">void</span> <a class="code" href="classejson_1_1internal_1_1_object.html#a8c354d4901c0682190ef1e420b688da0">iMachineGenerate</a>(<a class="code" href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">std::string</a>& _data) <span class="keyword">const override</span>;</div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordtype">void</span> <a class="code" href="classejson_1_1internal_1_1_object.html#aa8ac667f4da778fd7a71ca9a46f1a6c7">clear</a>() <span class="keyword">override</span>;</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keywordtype">bool</span> <a class="code" href="classejson_1_1internal_1_1_object.html#aee25bea3065759780a3f63d2f5c0458e">transfertIn</a>(<a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Value></a> _obj) <span class="keyword">override</span>;</div><div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <a class="codeRef" doxygen="/home/heero/dev/perso/out/doc/release/ememory.tag:http://atria-soft.github.io/ememory/" href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr<ejson::internal::Value></a> <a class="code" href="classejson_1_1internal_1_1_object.html#a0d19856586aec3d128b8101f1492f5d8">clone</a>() <span class="keyword">const override</span>;</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  };</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  }</div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span> }</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div><div class="ttc" id="classejson_1_1internal_1_1_object_html_a8c354d4901c0682190ef1e420b688da0"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a8c354d4901c0682190ef1e420b688da0">ejson::internal::Object::iMachineGenerate</a></div><div class="ttdeci">void iMachineGenerate(std::string &_data) const override</div><div class="ttdoc">generate a string with the tree of the json (not human readable ==> for computer transfer) ...</div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a62b94307e4a86534e2ef879a5dfc3eff"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a62b94307e4a86534e2ef879a5dfc3eff">ejson::internal::Object::exist</a></div><div class="ttdeci">bool exist(const std::string &_name) const</div><div class="ttdoc">check if an element exist. </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_aa8ac667f4da778fd7a71ca9a46f1a6c7"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#aa8ac667f4da778fd7a71ca9a46f1a6c7">ejson::internal::Object::clear</a></div><div class="ttdeci">void clear() override</div><div class="ttdoc">clear the Node </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a2baac0d0e67e8f3e65896e9769aedb85"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a2baac0d0e67e8f3e65896e9769aedb85">ejson::internal::Object::getKey</a></div><div class="ttdeci">std::string getKey(size_t _id) const</div><div class="ttdoc">Get the element name (key). </div></div>
|
|
<div class="ttc" id="namespaceejson_html_a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21"><div class="ttname"><a href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709ab45cffe084dd3d20d928bee85e7b0f21">ejson::valueType::string</a></div><div class="ttdoc">the element "..." </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a321803d73333a459417c3885c082371c"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a321803d73333a459417c3885c082371c">ejson::internal::Object::iGenerate</a></div><div class="ttdeci">bool iGenerate(std::string &_data, size_t _indent) const override</div><div class="ttdoc">generate a string with the tree of the json </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a618760d6e0abc4a8f2977d8688cdd127"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a618760d6e0abc4a8f2977d8688cdd127">ejson::internal::Object::iParse</a></div><div class="ttdeci">bool iParse(const std::string &_data, size_t &_pos, ejson::FilePos &_filePos, ejson::internal::Document &_doc) override</div><div class="ttdoc">parse the Current node [pure VIRUAL] </div></div>
|
|
<div class="ttc" id="namespaceejson_html"><div class="ttname"><a href="namespaceejson.html">ejson</a></div><div class="ttdoc">ejson namespace containing all function for JSON interpretor </div><div class="ttdef"><b>Definition:</b> Array.hpp:12</div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_aee25bea3065759780a3f63d2f5c0458e"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#aee25bea3065759780a3f63d2f5c0458e">ejson::internal::Object::transfertIn</a></div><div class="ttdeci">bool transfertIn(ememory::SharedPtr< ejson::internal::Value > _obj) override</div><div class="ttdoc">Tranfert all element in the element set in parameter. </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a0d1a7d19470b497aa89d0d63b1d18a38"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a0d1a7d19470b497aa89d0d63b1d18a38">ejson::internal::Object::getKeys</a></div><div class="ttdeci">std::vector< std::string > getKeys() const</div><div class="ttdoc">Get all the element name (keys). </div></div>
|
|
<div class="ttc" id="types__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/types__8hpp.html">types.hpp</a></div></div>
|
|
<div class="ttc" id="classejson_1_1_file_pos_html"><div class="ttname"><a href="classejson_1_1_file_pos.html">ejson::FilePos</a></div><div class="ttdoc">Position in the file of the original data. </div><div class="ttdef"><b>Definition:</b> FilePos.hpp:14</div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_af95fec9bdbf1bcb64c11dcdd52789723"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#af95fec9bdbf1bcb64c11dcdd52789723">ejson::internal::Object::cloneIn</a></div><div class="ttdeci">bool cloneIn(ememory::SharedPtr< ejson::internal::Object > &_obj) const</div><div class="ttdoc">Clone the current object in an other Object. </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a7082488762e962f4f431356d94bf9bb7"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a7082488762e962f4f431356d94bf9bb7">ejson::internal::Object::Object</a></div><div class="ttdeci">Object()</div><div class="ttdoc">basic element of a xml structure </div><div class="ttdef"><b>Definition:</b> Object.hpp:23</div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_aaf06e1003163fe1271eb1c94634bf2aa"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#aaf06e1003163fe1271eb1c94634bf2aa">ejson::internal::Object::m_value</a></div><div class="ttdeci">etk::Hash< ememory::SharedPtr< ejson::internal::Value > > m_value</div><div class="ttdoc">value of the node (for element this is the name, for text it is the inside text ...) </div><div class="ttdef"><b>Definition:</b> Object.hpp:40</div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_document_html"><div class="ttname"><a href="classejson_1_1internal_1_1_document.html">ejson::internal::Document</a></div><div class="ttdoc">ejson Document internal data implementation. </div><div class="ttdef"><b>Definition:</b> Document.hpp:20</div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_value_html_aef2a38a6dd429c636207ecdd87f960e8"><div class="ttname"><a href="classejson_1_1internal_1_1_value.html#aef2a38a6dd429c636207ecdd87f960e8">ejson::internal::Value::m_type</a></div><div class="ttdeci">enum ejson::valueType m_type</div><div class="ttdoc">Type of the element. </div><div class="ttdef"><b>Definition:</b> Value.hpp:44</div></div>
|
|
<div class="ttc" id="internal_2_value_8hpp_html"><div class="ttname"><a href="internal_2_value_8hpp.html">Value.hpp</a></div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a713d7172fb0d1aa0285362345203de0d"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a713d7172fb0d1aa0285362345203de0d">ejson::internal::Object::cloneObj</a></div><div class="ttdeci">ememory::SharedPtr< ejson::internal::Object > cloneObj() const</div><div class="ttdoc">Clone the current object. </div></div>
|
|
<div class="ttc" id="classememory_1_1_shared_ptr_html"><div class="ttname"><a href="http://atria-soft.github.io/ememory/classememory_1_1_shared_ptr.html">ememory::SharedPtr</a></div></div>
|
|
<div class="ttc" id="classetk_1_1_hash_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/classetk_1_1_hash.html">etk::Hash</a></div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a0248c96fa66e30adfb84249def2c4c94"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a0248c96fa66e30adfb84249def2c4c94">ejson::internal::Object::add</a></div><div class="ttdeci">bool add(const std::string &_name, ememory::SharedPtr< ejson::internal::Value > _value)</div><div class="ttdoc">add an element in the Object </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_aa104cd6df456659f510286d5eecce2ad"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#aa104cd6df456659f510286d5eecce2ad">ejson::internal::Object::create</a></div><div class="ttdeci">static ememory::SharedPtr< Object > create()</div><div class="ttdoc">Create factory on the ejson::internal::Object. </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html">ejson::internal::Object</a></div><div class="ttdoc">ejson Object internal data implementation. </div><div class="ttdef"><b>Definition:</b> Object.hpp:18</div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_value_html"><div class="ttname"><a href="classejson_1_1internal_1_1_value.html">ejson::internal::Value</a></div><div class="ttdoc">Basic main object of all json data. </div><div class="ttdef"><b>Definition:</b> Value.hpp:42</div></div>
|
|
<div class="ttc" id="__hash__8hpp_html"><div class="ttname"><a href="http://atria-soft.github.io/etk/__hash__8hpp.html">Hash.hpp</a></div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a11f6d2ca0e58ebccdbdac6120ea377ab"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a11f6d2ca0e58ebccdbdac6120ea377ab">ejson::internal::Object::size</a></div><div class="ttdeci">size_t size() const</div><div class="ttdoc">get the number of sub element in the current one </div></div>
|
|
<div class="ttc" id="classejson_1_1internal_1_1_object_html_a0d19856586aec3d128b8101f1492f5d8"><div class="ttname"><a href="classejson_1_1internal_1_1_object.html#a0d19856586aec3d128b8101f1492f5d8">ejson::internal::Object::clone</a></div><div class="ttdeci">ememory::SharedPtr< ejson::internal::Value > clone() const override</div><div class="ttdoc">Copy the curent node and all the child in the curent one. </div></div>
|
|
<div class="ttc" id="namespaceejson_html_a6a37b3ae20a2b7bc207b268ab1439709aa8cfde6331bd59eb2ac96f8911c4b666"><div class="ttname"><a href="namespaceejson.html#a6a37b3ae20a2b7bc207b268ab1439709aa8cfde6331bd59eb2ac96f8911c4b666">ejson::valueType::object</a></div><div class="ttdoc">the element { ... } </div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- HTML footer for doxygen 1.8.8-->
|
|
<!-- start footer part -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated on Mon Oct 24 2016 15:35:47 for ejson: Ewol JSON parser by  <a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/>
|
|
</a> 1.8.12
|
|
</small></address>
|
|
</body>
|
|
</html>
|