summaryrefslogtreecommitdiffstats
path: root/_lua_data_model_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to '_lua_data_model_8h_source.html')
-rw-r--r--_lua_data_model_8h_source.html183
1 files changed, 93 insertions, 90 deletions
diff --git a/_lua_data_model_8h_source.html b/_lua_data_model_8h_source.html
index d173f27..ccbba0f 100644
--- a/_lua_data_model_8h_source.html
+++ b/_lua_data_model_8h_source.html
@@ -89,7 +89,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div id="nav-path" class="navpath">
<ul>
-<li class="navelem"><a class="el" href="dir_38c8d24aef3972a7f87b834274e76e31.html">plugins</a></li><li class="navelem"><a class="el" href="dir_7cfdd7134d700922c16c1342750b4180.html">datamodel</a></li><li class="navelem"><a class="el" href="dir_c209148fa119566e51df5b585c35bcc4.html">lua</a></li> </ul>
+<li class="navelem"><a class="el" href="dir_2cd592331b95683ae50c1625a7a0233f.html">plugins</a></li><li class="navelem"><a class="el" href="dir_752b259a3f32424381c44f18ca58e729.html">datamodel</a></li><li class="navelem"><a class="el" href="dir_2505f6062adfb436b9bee41f84a7b796.html">lua</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
@@ -101,99 +101,102 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef LUADATAMODEL_H_113E014C</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define LUADATAMODEL_H_113E014C</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
-<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_data_model_impl_8h.html">uscxml/plugins/DataModelImpl.h</a>&quot;</span></div>
-<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div>
-<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;</div>
-<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
-<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &quot;lua.h&quot;</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &quot;lualib.h&quot;</span></div>
-<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;lauxlib.h&quot;</span></div>
-<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;}</div>
-<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;</div>
-<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="preprocessor">#ifdef BUILD_AS_PLUGINS</span></div>
-<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#include &quot;uscxml/plugins/Plugins.h&quot;</span></div>
-<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &quot;uscxml/config.h&quot;</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_data_model_impl_8h.html">uscxml/plugins/DataModelImpl.h</a>&quot;</span></div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
+<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &quot;lua.h&quot;</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;<span class="preprocessor">#include &quot;lualib.h&quot;</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="preprocessor">#include &quot;lauxlib.h&quot;</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160;}</div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="preprocessor">#ifdef BUILD_AS_PLUGINS</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_plugins_8h.html">uscxml/plugins/Plugins.h</a>&quot;</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div>
-<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceuscxml.html">uscxml</a> {</div>
-<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">class </span>Event;</div>
-<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">class </span>Data;</div>
-<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;}</div>
-<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
-<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceuscxml.html">uscxml</a> {</div>
-<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div>
-<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="classuscxml_1_1_lua_data_model.html"> 49</a></span>&#160;<span class="keyword">class </span><a class="code" href="classuscxml_1_1_lua_data_model.html">LuaDataModel</a> : <span class="keyword">public</span> <a class="code" href="classuscxml_1_1_data_model_impl.html">DataModelImpl</a> {</div>
-<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">public</span>:</div>
-<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classuscxml_1_1_lua_data_model.html">LuaDataModel</a>();</div>
-<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="classuscxml_1_1_lua_data_model.html">LuaDataModel</a>();</div>
-<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">virtual</span> std::shared_ptr&lt;DataModelImpl&gt; <a class="code" href="classuscxml_1_1_lua_data_model.html#a97d212198d59ebd5e26fed65042463a2">create</a>(<a class="code" href="classuscxml_1_1_data_model_callbacks.html">DataModelCallbacks</a>* callbacks);</div>
-<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div>
-<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a3d99dd50bf50bfd589baaa1fc018a341">addExtension</a>(<a class="code" href="classuscxml_1_1_data_model_extension.html">DataModelExtension</a>* ext);</div>
-<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
-<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="classuscxml_1_1_lua_data_model.html#a11cc56d5ae2f5e21fa31cb8b512dc6b6"> 57</a></span>&#160; <span class="keyword">virtual</span> std::list&lt;std::string&gt; <a class="code" href="classuscxml_1_1_lua_data_model.html#a11cc56d5ae2f5e21fa31cb8b512dc6b6">getNames</a>() {</div>
-<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; std::list&lt;std::string&gt; names;</div>
-<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; names.push_back(<span class="stringliteral">&quot;lua&quot;</span>);</div>
-<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <span class="keywordflow">return</span> names;</div>
-<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; }</div>
-<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;</div>
-<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#adbb91f4ff766238630440c6cef9e598c">isValidSyntax</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
-<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;</div>
-<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#aa4e52fbeb039c2ed76dc58394b260d5e">setEvent</a>(<span class="keyword">const</span> <a class="code" href="classuscxml_1_1_event.html">Event</a>&amp; event);</div>
-<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;</div>
-<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="comment">// foreach</span></div>
-<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="keyword">virtual</span> uint32_t <a class="code" href="classuscxml_1_1_lua_data_model.html#a4f4581f16a704dab7adf2032e86f9952">getLength</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
-<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a47f07d7e4ddf50b3f06bd4403c14aaf4">setForeach</a>(<span class="keyword">const</span> std::string&amp; item,</div>
-<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">const</span> std::string&amp; array,</div>
-<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">const</span> std::string&amp; index,</div>
-<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; uint32_t iteration);</div>
-<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;</div>
-<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#ace03d51690c585927d52bda9374e47b5">evalAsBool</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
-<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classuscxml_1_1_data.html">Data</a> <a class="code" href="classuscxml_1_1_lua_data_model.html#acb5af93dd9f860d6921c17455ec67cd8">evalAsData</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
-<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classuscxml_1_1_data.html">Data</a> <a class="code" href="classuscxml_1_1_lua_data_model.html#a6be27f1c53558dfe3b3871f31ece79a1">getAsData</a>(<span class="keyword">const</span> std::string&amp; content);</div>
-<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160;</div>
-<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a00a3dec5c2c74d656ae144e812a2a8af">isDeclared</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
-<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160;</div>
-<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a0e4030feed63efaf6e0e07012b4fc212">assign</a>(<span class="keyword">const</span> std::string&amp; location, <span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>&amp; data);</div>
-<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a387f5d60474bf5dbcd52e7a600dc0765">init</a>(<span class="keyword">const</span> std::string&amp; location, <span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>&amp; data);</div>
-<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160;</div>
-<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">virtual</span> std::string <a class="code" href="classuscxml_1_1_lua_data_model.html#a77f0f840033e50f3d06d9e8463edb1ad">andExpressions</a>(std::list&lt;std::string&gt;);</div>
-<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
-<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;<span class="keyword">protected</span>:</div>
-<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160;</div>
-<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> luaInFunction(lua_State * l);</div>
-<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;</div>
-<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; lua_State* _luaState;</div>
-<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160;};</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160;</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceuscxml.html">uscxml</a> {</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">class </span>Event;</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">class </span>Data;</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;}</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceuscxml.html">uscxml</a> {</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
+<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="classuscxml_1_1_lua_data_model.html"> 50</a></span>&#160;<span class="keyword">class </span><a class="code" href="classuscxml_1_1_lua_data_model.html">LuaDataModel</a> : <span class="keyword">public</span> <a class="code" href="classuscxml_1_1_data_model_impl.html">DataModelImpl</a> {</div>
+<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="classuscxml_1_1_lua_data_model.html">LuaDataModel</a>();</div>
+<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <span class="keyword">virtual</span> ~<a class="code" href="classuscxml_1_1_lua_data_model.html">LuaDataModel</a>();</div>
+<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <span class="keyword">virtual</span> std::shared_ptr&lt;DataModelImpl&gt; <a class="code" href="classuscxml_1_1_lua_data_model.html#a97d212198d59ebd5e26fed65042463a2">create</a>(<a class="code" href="classuscxml_1_1_data_model_callbacks.html">DataModelCallbacks</a>* callbacks);</div>
+<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a3d99dd50bf50bfd589baaa1fc018a341">addExtension</a>(<a class="code" href="classuscxml_1_1_data_model_extension.html">DataModelExtension</a>* ext);</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;</div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classuscxml_1_1_lua_data_model.html#a11cc56d5ae2f5e21fa31cb8b512dc6b6"> 58</a></span>&#160; <span class="keyword">virtual</span> std::list&lt;std::string&gt; <a class="code" href="classuscxml_1_1_lua_data_model.html#a11cc56d5ae2f5e21fa31cb8b512dc6b6">getNames</a>() {</div>
+<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; std::list&lt;std::string&gt; names;</div>
+<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; names.push_back(<span class="stringliteral">&quot;lua&quot;</span>);</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordflow">return</span> names;</div>
+<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; }</div>
+<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#adbb91f4ff766238630440c6cef9e598c">isValidSyntax</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#aa4e52fbeb039c2ed76dc58394b260d5e">setEvent</a>(<span class="keyword">const</span> <a class="code" href="classuscxml_1_1_event.html">Event</a>&amp; event);</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <span class="comment">// foreach</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keyword">virtual</span> uint32_t <a class="code" href="classuscxml_1_1_lua_data_model.html#a4f4581f16a704dab7adf2032e86f9952">getLength</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a47f07d7e4ddf50b3f06bd4403c14aaf4">setForeach</a>(<span class="keyword">const</span> std::string&amp; item,</div>
+<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160; <span class="keyword">const</span> std::string&amp; array,</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160; <span class="keyword">const</span> std::string&amp; index,</div>
+<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160; uint32_t iteration);</div>
+<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div>
+<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#ace03d51690c585927d52bda9374e47b5">evalAsBool</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
+<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classuscxml_1_1_data.html">Data</a> <a class="code" href="classuscxml_1_1_lua_data_model.html#acb5af93dd9f860d6921c17455ec67cd8">evalAsData</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
+<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">virtual</span> <a class="code" href="classuscxml_1_1_data.html">Data</a> <a class="code" href="classuscxml_1_1_lua_data_model.html#a6be27f1c53558dfe3b3871f31ece79a1">getAsData</a>(<span class="keyword">const</span> std::string&amp; content);</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div>
+<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a00a3dec5c2c74d656ae144e812a2a8af">isDeclared</a>(<span class="keyword">const</span> std::string&amp; expr);</div>
+<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160;</div>
+<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a219638e3d2e2b31299cef042f2ce8f77">assign</a>(<span class="keyword">const</span> std::string&amp; location,</div>
+<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>&amp; data,</div>
+<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">const</span> std::map&lt;std::string, std::string&gt;&amp; attr = std::map&lt;std::string, std::string&gt;());</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_lua_data_model.html#a556fb0f2ba387f08afff55df300d21de">init</a>(<span class="keyword">const</span> std::string&amp; location,</div>
+<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160; <span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>&amp; data,</div>
+<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <span class="keyword">const</span> std::map&lt;std::string, std::string&gt;&amp; attr = std::map&lt;std::string, std::string&gt;());</div>
+<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160;</div>
+<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160;<span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160;</div>
+<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <span class="keyword">static</span> <span class="keywordtype">int</span> luaInFunction(lua_State * l);</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;</div>
-<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;<span class="preprocessor">#ifdef BUILD_AS_PLUGINS</span></div>
-<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;PLUMA_INHERIT_PROVIDER(LuaDataModel, DataModelImpl);</div>
-<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor">#endif</span></div>
-<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;</div>
-<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;}</div>
-<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;</div>
-<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* end of include guard: LUADATAMODEL_H_113E014C */</span><span class="preprocessor"></span></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_acb5af93dd9f860d6921c17455ec67cd8"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#acb5af93dd9f860d6921c17455ec67cd8">uscxml::LuaDataModel::evalAsData</a></div><div class="ttdeci">virtual Data evalAsData(const std::string &amp;expr)</div><div class="ttdoc">Return a string as an evaluated Data object. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:327</div></div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; lua_State* _luaState;</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;};</div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;</div>
+<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160;<span class="preprocessor">#ifdef BUILD_AS_PLUGINS</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160;PLUMA_INHERIT_PROVIDER(LuaDataModel, DataModelImpl)</div>
+<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160;<span class="preprocessor">#endif</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160;</div>
+<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160;}</div>
+<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160;</div>
+<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* end of include guard: LUADATAMODEL_H_113E014C */</span><span class="preprocessor"></span></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_acb5af93dd9f860d6921c17455ec67cd8"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#acb5af93dd9f860d6921c17455ec67cd8">uscxml::LuaDataModel::evalAsData</a></div><div class="ttdeci">virtual Data evalAsData(const std::string &amp;expr)</div><div class="ttdoc">Return a string as an evaluated Data object. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:351</div></div>
<div class="ttc" id="namespaceuscxml_html"><div class="ttname"><a href="namespaceuscxml.html">uscxml</a></div><div class="ttdef"><b>Definition:</b> Breakpoint.cpp:26</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a3d99dd50bf50bfd589baaa1fc018a341"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a3d99dd50bf50bfd589baaa1fc018a341">uscxml::LuaDataModel::addExtension</a></div><div class="ttdeci">virtual void addExtension(DataModelExtension *ext)</div><div class="ttdoc">Register an extension to get data into and out of the data-model. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:246</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a00a3dec5c2c74d656ae144e812a2a8af"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a00a3dec5c2c74d656ae144e812a2a8af">uscxml::LuaDataModel::isDeclared</a></div><div class="ttdeci">virtual bool isDeclared(const std::string &amp;expr)</div><div class="ttdoc">Determine whether a given variable / location is declared. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:443</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a11cc56d5ae2f5e21fa31cb8b512dc6b6"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a11cc56d5ae2f5e21fa31cb8b512dc6b6">uscxml::LuaDataModel::getNames</a></div><div class="ttdeci">virtual std::list&lt; std::string &gt; getNames()</div><div class="ttdoc">Return a list of names to be matched by the datamodel attribute in SCXML. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.h:57</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a3d99dd50bf50bfd589baaa1fc018a341"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a3d99dd50bf50bfd589baaa1fc018a341">uscxml::LuaDataModel::addExtension</a></div><div class="ttdeci">virtual void addExtension(DataModelExtension *ext)</div><div class="ttdoc">Register an extension to get data into and out of the data-model. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:269</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a219638e3d2e2b31299cef042f2ce8f77"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a219638e3d2e2b31299cef042f2ce8f77">uscxml::LuaDataModel::assign</a></div><div class="ttdeci">virtual void assign(const std::string &amp;location, const Data &amp;data, const std::map&lt; std::string, std::string &gt; &amp;attr=std::map&lt; std::string, std::string &gt;())</div><div class="ttdoc">Assign a data object to a location in the data-model. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:476</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a00a3dec5c2c74d656ae144e812a2a8af"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a00a3dec5c2c74d656ae144e812a2a8af">uscxml::LuaDataModel::isDeclared</a></div><div class="ttdeci">virtual bool isDeclared(const std::string &amp;expr)</div><div class="ttdoc">Determine whether a given variable / location is declared. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:470</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a11cc56d5ae2f5e21fa31cb8b512dc6b6"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a11cc56d5ae2f5e21fa31cb8b512dc6b6">uscxml::LuaDataModel::getNames</a></div><div class="ttdeci">virtual std::list&lt; std::string &gt; getNames()</div><div class="ttdoc">Return a list of names to be matched by the datamodel attribute in SCXML. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.h:58</div></div>
<div class="ttc" id="_data_model_impl_8h_html"><div class="ttname"><a href="_data_model_impl_8h.html">DataModelImpl.h</a></div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a77f0f840033e50f3d06d9e8463edb1ad"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a77f0f840033e50f3d06d9e8463edb1ad">uscxml::LuaDataModel::andExpressions</a></div><div class="ttdeci">virtual std::string andExpressions(std::list&lt; std::string &gt;)</div><div class="ttdoc">Concat the given terms into a conjunctive form. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:586</div></div>
-<div class="ttc" id="classuscxml_1_1_data_model_extension_html"><div class="ttname"><a href="classuscxml_1_1_data_model_extension.html">uscxml::DataModelExtension</a></div><div class="ttdef"><b>Definition:</b> DataModelImpl.h:59</div></div>
-<div class="ttc" id="classuscxml_1_1_data_model_impl_html"><div class="ttname"><a href="classuscxml_1_1_data_model_impl.html">uscxml::DataModelImpl</a></div><div class="ttdoc">Abstract base class for all data-model implementations. </div><div class="ttdef"><b>Definition:</b> DataModelImpl.h:75</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html">uscxml::LuaDataModel</a></div><div class="ttdoc">Lua data-model. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.h:49</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_aa4e52fbeb039c2ed76dc58394b260d5e"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#aa4e52fbeb039c2ed76dc58394b260d5e">uscxml::LuaDataModel::setEvent</a></div><div class="ttdeci">virtual void setEvent(const Event &amp;event)</div><div class="ttdoc">Set the given event as _event in the data-model&#39;s global scope. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:250</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a0e4030feed63efaf6e0e07012b4fc212"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a0e4030feed63efaf6e0e07012b4fc212">uscxml::LuaDataModel::assign</a></div><div class="ttdeci">virtual void assign(const std::string &amp;location, const Data &amp;data)</div><div class="ttdoc">Assign a data object to a location in the data-model. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:449</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a97d212198d59ebd5e26fed65042463a2"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a97d212198d59ebd5e26fed65042463a2">uscxml::LuaDataModel::create</a></div><div class="ttdeci">virtual std::shared_ptr&lt; DataModelImpl &gt; create(DataModelCallbacks *callbacks)</div><div class="ttdoc">The Factory wants to instantiate a new instance. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:189</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_adbb91f4ff766238630440c6cef9e598c"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#adbb91f4ff766238630440c6cef9e598c">uscxml::LuaDataModel::isValidSyntax</a></div><div class="ttdeci">virtual bool isValidSyntax(const std::string &amp;expr)</div><div class="ttdoc">Determine whether a given string constitutes valid syntax in the data-model&#39;s language. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:371</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_ace03d51690c585927d52bda9374e47b5"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#ace03d51690c585927d52bda9374e47b5">uscxml::LuaDataModel::evalAsBool</a></div><div class="ttdeci">virtual bool evalAsBool(const std::string &amp;expr)</div><div class="ttdoc">Evaluate a given expression as a boolean. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:547</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a47f07d7e4ddf50b3f06bd4403c14aaf4"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a47f07d7e4ddf50b3f06bd4403c14aaf4">uscxml::LuaDataModel::setForeach</a></div><div class="ttdeci">virtual void setForeach(const std::string &amp;item, const std::string &amp;array, const std::string &amp;index, uint32_t iteration)</div><div class="ttdoc">Set a given item to the object at a given index for one iteration. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:423</div></div>
-<div class="ttc" id="classuscxml_1_1_event_html"><div class="ttname"><a href="classuscxml_1_1_event.html">uscxml::Event</a></div><div class="ttdef"><b>Definition:</b> Event.h:84</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a4f4581f16a704dab7adf2032e86f9952"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a4f4581f16a704dab7adf2032e86f9952">uscxml::LuaDataModel::getLength</a></div><div class="ttdeci">virtual uint32_t getLength(const std::string &amp;expr)</div><div class="ttdoc">Evaluate the given expression as something iterable and return its length. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:385</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a556fb0f2ba387f08afff55df300d21de"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a556fb0f2ba387f08afff55df300d21de">uscxml::LuaDataModel::init</a></div><div class="ttdeci">virtual void init(const std::string &amp;location, const Data &amp;data, const std::map&lt; std::string, std::string &gt; &amp;attr=std::map&lt; std::string, std::string &gt;())</div><div class="ttdoc">Initialize a variable / location in the data-model with a given data object. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:588</div></div>
+<div class="ttc" id="classuscxml_1_1_data_model_extension_html"><div class="ttname"><a href="classuscxml_1_1_data_model_extension.html">uscxml::DataModelExtension</a></div><div class="ttdef"><b>Definition:</b> DataModelImpl.h:61</div></div>
+<div class="ttc" id="classuscxml_1_1_data_model_impl_html"><div class="ttname"><a href="classuscxml_1_1_data_model_impl.html">uscxml::DataModelImpl</a></div><div class="ttdoc">Abstract base class for all data-model implementations. </div><div class="ttdef"><b>Definition:</b> DataModelImpl.h:77</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html">uscxml::LuaDataModel</a></div><div class="ttdoc">Lua data-model. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.h:50</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_aa4e52fbeb039c2ed76dc58394b260d5e"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#aa4e52fbeb039c2ed76dc58394b260d5e">uscxml::LuaDataModel::setEvent</a></div><div class="ttdeci">virtual void setEvent(const Event &amp;event)</div><div class="ttdoc">Set the given event as _event in the data-model&#39;s global scope. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:273</div></div>
+<div class="ttc" id="_plugins_8h_html"><div class="ttname"><a href="_plugins_8h.html">Plugins.h</a></div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a97d212198d59ebd5e26fed65042463a2"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a97d212198d59ebd5e26fed65042463a2">uscxml::LuaDataModel::create</a></div><div class="ttdeci">virtual std::shared_ptr&lt; DataModelImpl &gt; create(DataModelCallbacks *callbacks)</div><div class="ttdoc">The Factory wants to instantiate a new instance. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:209</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_adbb91f4ff766238630440c6cef9e598c"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#adbb91f4ff766238630440c6cef9e598c">uscxml::LuaDataModel::isValidSyntax</a></div><div class="ttdeci">virtual bool isValidSyntax(const std::string &amp;expr)</div><div class="ttdoc">Determine whether a given string constitutes valid syntax in the data-model&#39;s language. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:398</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_ace03d51690c585927d52bda9374e47b5"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#ace03d51690c585927d52bda9374e47b5">uscxml::LuaDataModel::evalAsBool</a></div><div class="ttdeci">virtual bool evalAsBool(const std::string &amp;expr)</div><div class="ttdoc">Evaluate a given expression as a boolean. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:593</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a47f07d7e4ddf50b3f06bd4403c14aaf4"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a47f07d7e4ddf50b3f06bd4403c14aaf4">uscxml::LuaDataModel::setForeach</a></div><div class="ttdeci">virtual void setForeach(const std::string &amp;item, const std::string &amp;array, const std::string &amp;index, uint32_t iteration)</div><div class="ttdoc">Set a given item to the object at a given index for one iteration. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:450</div></div>
+<div class="ttc" id="classuscxml_1_1_event_html"><div class="ttname"><a href="classuscxml_1_1_event.html">uscxml::Event</a></div><div class="ttdef"><b>Definition:</b> Event.h:94</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a4f4581f16a704dab7adf2032e86f9952"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a4f4581f16a704dab7adf2032e86f9952">uscxml::LuaDataModel::getLength</a></div><div class="ttdeci">virtual uint32_t getLength(const std::string &amp;expr)</div><div class="ttdoc">Evaluate the given expression as something iterable and return its length. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:412</div></div>
<div class="ttc" id="classuscxml_1_1_data_model_callbacks_html"><div class="ttname"><a href="classuscxml_1_1_data_model_callbacks.html">uscxml::DataModelCallbacks</a></div><div class="ttdoc">Callbacks available for every data-model. </div><div class="ttdef"><b>Definition:</b> DataModelImpl.h:47</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a387f5d60474bf5dbcd52e7a600dc0765"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a387f5d60474bf5dbcd52e7a600dc0765">uscxml::LuaDataModel::init</a></div><div class="ttdeci">virtual void init(const std::string &amp;location, const Data &amp;data)</div><div class="ttdoc">Initialize a variable / location in the data-model with a given data object. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:542</div></div>
-<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a6be27f1c53558dfe3b3871f31ece79a1"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a6be27f1c53558dfe3b3871f31ece79a1">uscxml::LuaDataModel::getAsData</a></div><div class="ttdeci">virtual Data getAsData(const std::string &amp;content)</div><div class="ttdoc">Return a string as an unevaluated Data object. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:563</div></div>
-<div class="ttc" id="classuscxml_1_1_data_html"><div class="ttname"><a href="classuscxml_1_1_data.html">uscxml::Data</a></div><div class="ttdef"><b>Definition:</b> Data.h:43</div></div>
+<div class="ttc" id="classuscxml_1_1_lua_data_model_html_a6be27f1c53558dfe3b3871f31ece79a1"><div class="ttname"><a href="classuscxml_1_1_lua_data_model.html#a6be27f1c53558dfe3b3871f31ece79a1">uscxml::LuaDataModel::getAsData</a></div><div class="ttdeci">virtual Data getAsData(const std::string &amp;content)</div><div class="ttdoc">Return a string as an unevaluated Data object. </div><div class="ttdef"><b>Definition:</b> LuaDataModel.cpp:609</div></div>
+<div class="ttc" id="classuscxml_1_1_data_html"><div class="ttname"><a href="classuscxml_1_1_data.html">uscxml::Data</a></div><div class="ttdef"><b>Definition:</b> Data.h:44</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
@@ -203,7 +206,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
</div>
</div>
<!-- <hr class="footer"/><address class="footer"><small>
-Generated on Mon Dec 12 2016 19:50:04 for uSCXML by &#160;<a href="http://www.doxygen.org/index.html">
+Generated on Sun Apr 30 2017 22:52:19 for uSCXML by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.10
</small></address> -->