diff options
Diffstat (limited to '_j_s_c_data_model_8h_source.html')
-rw-r--r-- | _j_s_c_data_model_8h_source.html | 243 |
1 files changed, 123 insertions, 120 deletions
diff --git a/_j_s_c_data_model_8h_source.html b/_j_s_c_data_model_8h_source.html index d0157a4..9b11cf3 100644 --- a/_j_s_c_data_model_8h_source.html +++ b/_j_s_c_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_fb096cd0ea2593634f4bc3dbbacf6fa1.html">ecmascript</a></li><li class="navelem"><a class="el" href="dir_c39ecb2859600fd7287b07c3fe8f7f13.html">JavaScriptCore</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_b923498ad1fed22c29700e166fe292a2.html">ecmascript</a></li><li class="navelem"><a class="el" href="dir_4457a5583763cee2483f36f99fa3391f.html">JavaScriptCore</a></li> </ul> </div> </div><!-- top --> <div class="header"> @@ -105,129 +105,132 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="_data_model_impl_8h.html">uscxml/plugins/DataModelImpl.h</a>"</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <list></span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <set></span></div> -<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div> -<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#if defined(HAS_JSC_JAVASCRIPTCORE_H)</span></div> -<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#include <JavaScriptCore/JavaScriptCore.h></span></div> -<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#elif defined(HAS_JSC_JAVASCRIPT_H)</span></div> -<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#include <JavaScriptCore/JavaScript.h></span></div> -<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#else</span></div> -<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#error "Did not find header for JSC?"</span></div> -<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#endif</span></div> -<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div> -<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifdef BUILD_AS_PLUGINS</span></div> -<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#include "uscxml/plugins/Plugins.h"</span></div> -<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#endif</span></div> -<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div> -<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">namespace </span><a class="code" href="namespaceuscxml.html">uscxml</a> {</div> -<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">class </span>Event;</div> -<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span>Data;</div> -<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> }</div> -<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div> -<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">namespace </span><a class="code" href="namespaceuscxml.html">uscxml</a> {</div> -<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div> -<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="classuscxml_1_1_j_s_c_data_model.html"> 52</a></span> <span class="keyword">class </span><a class="code" href="classuscxml_1_1_j_s_c_data_model.html">JSCDataModel</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="l00053"></a><span class="lineno"> 53</span> <span class="keyword">public</span>:</div> -<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classuscxml_1_1_j_s_c_data_model.html">JSCDataModel</a>();</div> -<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keyword">virtual</span> ~<a class="code" href="classuscxml_1_1_j_s_c_data_model.html">JSCDataModel</a>();</div> -<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">virtual</span> std::shared_ptr<DataModelImpl> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#aaca23f71c1a3807d21dd6fc8d4d75488">create</a>(<a class="code" href="classuscxml_1_1_data_model_callbacks.html">DataModelCallbacks</a>* callbacks);</div> -<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> </div> -<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a591403a4335f665a7f9f42b3ac00689e">addExtension</a>(<a class="code" href="classuscxml_1_1_data_model_extension.html">DataModelExtension</a>* ext);</div> -<div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div> -<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="classuscxml_1_1_j_s_c_data_model.html#a1491a48eba86a6b7eb713093828735a8"> 60</a></span>  <span class="keyword">virtual</span> std::list<std::string> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a1491a48eba86a6b7eb713093828735a8">getNames</a>() {</div> -<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  std::list<std::string> names;</div> -<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  names.push_back(<span class="stringliteral">"ecmascript"</span>);</div> -<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordflow">return</span> names;</div> -<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  }</div> -<div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div> -<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a253b66cf532661a47b0e423826b1ae4c">isValidSyntax</a>(<span class="keyword">const</span> std::string& expr);</div> -<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div> -<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#ad0685b4dd44243b0341000c0b818a9fa">setEvent</a>(<span class="keyword">const</span> <a class="code" href="classuscxml_1_1_event.html">Event</a>& event);</div> -<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div> -<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">// foreach</span></div> -<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keyword">virtual</span> uint32_t <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a1ffe81d46dd290741af5fbbff9a60d54">getLength</a>(<span class="keyword">const</span> std::string& expr);</div> -<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a46d8da2c2e9a9a0dbcb2ea896f5ce22a">setForeach</a>(<span class="keyword">const</span> std::string& item,</div> -<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">const</span> std::string& array,</div> -<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">const</span> std::string& index,</div> -<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  uint32_t iteration);</div> -<div class="line"><a name="l00076"></a><span class="lineno"> 76</span> </div> -<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="keyword">virtual</span> <a class="code" href="classuscxml_1_1_data.html">Data</a> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a8c4dc3e092a614850d5b194c97752300">getAsData</a>(<span class="keyword">const</span> std::string& content);</div> -<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">virtual</span> <a class="code" href="classuscxml_1_1_data.html">Data</a> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#ad3e87b80df626b8b40174b2435ef60f5">evalAsData</a>(<span class="keyword">const</span> std::string& expr);</div> -<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a785c87b41da0fe32a3bf0f4f79c2bc13">evalAsBool</a>(<span class="keyword">const</span> std::string& expr);</div> -<div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> -<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a18e73b777496c62178b5ca885a1d1042">isDeclared</a>(<span class="keyword">const</span> std::string& expr);</div> -<div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div> -<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#ad1cdfb5c119641aa99ae1b3cf8c66cf9">assign</a>(<span class="keyword">const</span> std::string& location, <span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>& data);</div> -<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a65c4d661169e39e2feb0432834ac17f8">init</a>(<span class="keyword">const</span> std::string& location, <span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>& data);</div> -<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> -<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">virtual</span> std::string <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#ad2e282225a1c8cdbeb29206413f3ac4a">andExpressions</a>(std::list<std::string>);</div> -<div class="line"><a name="l00087"></a><span class="lineno"> 87</span> </div> -<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keyword">protected</span>:</div> -<div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div> -<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">static</span> JSClassDefinition jsInClassDef;</div> -<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">static</span> JSValueRef jsIn(JSContextRef ctx, JSObjectRef <span class="keyword">function</span>, JSObjectRef thisObject, <span class="keywordtype">size_t</span> argumentCount, <span class="keyword">const</span> JSValueRef arguments[], JSValueRef* exception);</div> -<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">static</span> JSClassDefinition jsPrintClassDef;</div> -<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">static</span> JSValueRef jsPrint(JSContextRef ctx, JSObjectRef <span class="keyword">function</span>, JSObjectRef thisObject, <span class="keywordtype">size_t</span> argumentCount, <span class="keyword">const</span> JSValueRef arguments[], JSValueRef* exception);</div> -<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">static</span> JSClassDefinition jsExtensionClassDef;</div> -<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">static</span> JSValueRef jsExtension(JSContextRef ctx, JSObjectRef <span class="keyword">function</span>, JSObjectRef thisObject, <span class="keywordtype">size_t</span> argumentCount, <span class="keyword">const</span> JSValueRef arguments[], JSValueRef* exception);</div> -<div class="line"><a name="l00096"></a><span class="lineno"> 96</span> </div> -<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">static</span> JSClassDefinition jsIOProcessorsClassDef;</div> -<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> jsIOProcessorHasProp(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSStringRef propertyName);</div> -<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">static</span> JSValueRef jsIOProcessorGetProp(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSStringRef propertyName, JSValueRef* exception);</div> -<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> jsIOProcessorListProps(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSPropertyNameAccumulatorRef propertyNames);</div> -<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div> -<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">static</span> JSClassDefinition jsInvokersClassDef;</div> -<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> jsInvokerHasProp(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSStringRef propertyName);</div> -<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">static</span> JSValueRef jsInvokerGetProp(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSStringRef propertyName, JSValueRef* exception);</div> -<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> jsInvokerListProps(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSPropertyNameAccumulatorRef propertyNames);</div> -<div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div> -<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  JSValueRef getNodeAsValue(<span class="keyword">const</span> XERCESC_NS::DOMNode* node);</div> -<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  JSValueRef getDataAsValue(<span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>& data);</div> -<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <a class="code" href="classuscxml_1_1_data.html">Data</a> getValueAsData(<span class="keyword">const</span> JSValueRef value);</div> -<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  JSValueRef evalAsValue(<span class="keyword">const</span> std::string& expr, <span class="keywordtype">bool</span> dontThrow = <span class="keyword">false</span>);</div> -<div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div> -<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <span class="keywordtype">void</span> handleException(JSValueRef exception);</div> -<div class="line"><a name="l00113"></a><span class="lineno"> 113</span> </div> -<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  std::string _sessionId;</div> -<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  std::string _name;</div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <mutex></span></div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#if defined(HAS_JSC_JAVASCRIPTCORE_H)</span></div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="preprocessor">#include <JavaScriptCore/JavaScriptCore.h></span></div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="preprocessor">#elif defined(HAS_JSC_JAVASCRIPT_H)</span></div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="preprocessor">#include <JavaScriptCore/JavaScript.h></span></div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="preprocessor">#else</span></div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#error "Did not find header for JSC?"</span></div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#endif</span></div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#ifdef BUILD_AS_PLUGINS</span></div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#include "<a class="code" href="_plugins_8h.html">uscxml/plugins/Plugins.h</a>"</span></div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#endif</span></div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> </div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">namespace </span><a class="code" href="namespaceuscxml.html">uscxml</a> {</div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span>Event;</div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="keyword">class </span>Data;</div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> }</div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div> +<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">namespace </span><a class="code" href="namespaceuscxml.html">uscxml</a> {</div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div> +<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="classuscxml_1_1_j_s_c_data_model.html"> 53</a></span> <span class="keyword">class </span><a class="code" href="classuscxml_1_1_j_s_c_data_model.html">JSCDataModel</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="l00054"></a><span class="lineno"> 54</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <a class="code" href="classuscxml_1_1_j_s_c_data_model.html">JSCDataModel</a>();</div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keyword">virtual</span> ~<a class="code" href="classuscxml_1_1_j_s_c_data_model.html">JSCDataModel</a>();</div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keyword">virtual</span> std::shared_ptr<DataModelImpl> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#aaca23f71c1a3807d21dd6fc8d4d75488">create</a>(<a class="code" href="classuscxml_1_1_data_model_callbacks.html">DataModelCallbacks</a>* callbacks);</div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a591403a4335f665a7f9f42b3ac00689e">addExtension</a>(<a class="code" href="classuscxml_1_1_data_model_extension.html">DataModelExtension</a>* ext);</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span> </div> +<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="classuscxml_1_1_j_s_c_data_model.html#a1491a48eba86a6b7eb713093828735a8"> 61</a></span>  <span class="keyword">virtual</span> std::list<std::string> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a1491a48eba86a6b7eb713093828735a8">getNames</a>() {</div> +<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  std::list<std::string> names;</div> +<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  names.push_back(<span class="stringliteral">"ecmascript"</span>);</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordflow">return</span> names;</div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  }</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> </div> +<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a253b66cf532661a47b0e423826b1ae4c">isValidSyntax</a>(<span class="keyword">const</span> std::string& expr);</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#ad0685b4dd44243b0341000c0b818a9fa">setEvent</a>(<span class="keyword">const</span> <a class="code" href="classuscxml_1_1_event.html">Event</a>& event);</div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">// foreach</span></div> +<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <span class="keyword">virtual</span> uint32_t <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a1ffe81d46dd290741af5fbbff9a60d54">getLength</a>(<span class="keyword">const</span> std::string& expr);</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a46d8da2c2e9a9a0dbcb2ea896f5ce22a">setForeach</a>(<span class="keyword">const</span> std::string& item,</div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">const</span> std::string& array,</div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keyword">const</span> std::string& index,</div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  uint32_t iteration);</div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">virtual</span> <a class="code" href="classuscxml_1_1_data.html">Data</a> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a8c4dc3e092a614850d5b194c97752300">getAsData</a>(<span class="keyword">const</span> std::string& content);</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">virtual</span> <a class="code" href="classuscxml_1_1_data.html">Data</a> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#ad3e87b80df626b8b40174b2435ef60f5">evalAsData</a>(<span class="keyword">const</span> std::string& expr);</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a785c87b41da0fe32a3bf0f4f79c2bc13">evalAsBool</a>(<span class="keyword">const</span> std::string& expr);</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span> </div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a18e73b777496c62178b5ca885a1d1042">isDeclared</a>(<span class="keyword">const</span> std::string& expr);</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span> </div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#ab7ae0fdb2938baf1c71e9c0d98e63167">assign</a>(<span class="keyword">const</span> std::string& location,</div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>& data,</div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">const</span> std::map<std::string, std::string>& attr = std::map<std::string, std::string>());</div> +<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classuscxml_1_1_j_s_c_data_model.html#a54ae9c3e40e138b8f34ef263f88a6dcd">init</a>(<span class="keyword">const</span> std::string& location,</div> +<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>& data,</div> +<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">const</span> std::map<std::string, std::string>& attr = std::map<std::string, std::string>());</div> +<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="keyword">protected</span>:</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span> </div> +<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="keyword">static</span> JSClassDefinition jsInClassDef;</div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">static</span> JSValueRef jsIn(JSContextRef ctx, JSObjectRef <span class="keyword">function</span>, JSObjectRef thisObject, <span class="keywordtype">size_t</span> argumentCount, <span class="keyword">const</span> JSValueRef arguments[], JSValueRef* exception);</div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">static</span> JSClassDefinition jsPrintClassDef;</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">static</span> JSValueRef jsPrint(JSContextRef ctx, JSObjectRef <span class="keyword">function</span>, JSObjectRef thisObject, <span class="keywordtype">size_t</span> argumentCount, <span class="keyword">const</span> JSValueRef arguments[], JSValueRef* exception);</div> +<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">static</span> JSClassDefinition jsExtensionClassDef;</div> +<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">static</span> JSValueRef jsExtension(JSContextRef ctx, JSObjectRef <span class="keyword">function</span>, JSObjectRef thisObject, <span class="keywordtype">size_t</span> argumentCount, <span class="keyword">const</span> JSValueRef arguments[], JSValueRef* exception);</div> +<div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div> +<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">static</span> JSClassDefinition jsIOProcessorsClassDef;</div> +<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> jsIOProcessorHasProp(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSStringRef propertyName);</div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">static</span> JSValueRef jsIOProcessorGetProp(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSStringRef propertyName, JSValueRef* exception);</div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> jsIOProcessorListProps(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSPropertyNameAccumulatorRef propertyNames);</div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> </div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">static</span> JSClassDefinition jsInvokersClassDef;</div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> jsInvokerHasProp(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSStringRef propertyName);</div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">static</span> JSValueRef jsInvokerGetProp(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSStringRef propertyName, JSValueRef* exception);</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> jsInvokerListProps(JSContextRef ctx, JSObjectRef <span class="keywordtype">object</span>, JSPropertyNameAccumulatorRef propertyNames);</div> +<div class="line"><a name="l00109"></a><span class="lineno"> 109</span> </div> +<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  JSValueRef getNodeAsValue(<span class="keyword">const</span> XERCESC_NS::DOMNode* node);</div> +<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  JSValueRef getDataAsValue(<span class="keyword">const</span> <a class="code" href="classuscxml_1_1_data.html">Data</a>& data);</div> +<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  <a class="code" href="classuscxml_1_1_data.html">Data</a> getValueAsData(<span class="keyword">const</span> JSValueRef value);</div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  JSValueRef evalAsValue(<span class="keyword">const</span> std::string& expr, <span class="keywordtype">bool</span> dontThrow = <span class="keyword">false</span>);</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordtype">void</span> handleException(JSValueRef exception);</div> <div class="line"><a name="l00116"></a><span class="lineno"> 116</span> </div> -<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  std::set<DataModelExtension*> _extensions;</div> -<div class="line"><a name="l00118"></a><span class="lineno"> 118</span> </div> -<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <a class="code" href="classuscxml_1_1_event.html">Event</a> _event;</div> -<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  JSGlobalContextRef _ctx;</div> +<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  std::string _sessionId;</div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  std::string _name;</div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span> </div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  std::set<DataModelExtension*> _extensions;</div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span> </div> -<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keyword">static</span> std::mutex _initMutex;</div> -<div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div> -<div class="line"><a name="l00124"></a><span class="lineno"> 124</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> <span class="preprocessor">#ifdef BUILD_AS_PLUGINS</span></div> -<div class="line"><a name="l00127"></a><span class="lineno"> 127</span> PLUMA_INHERIT_PROVIDER(JSCDataModel, DataModelImpl);</div> -<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> <span class="preprocessor">#endif</span></div> -<div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div> -<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> }</div> -<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> </div> -<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> <span class="preprocessor">#endif </span><span class="comment">/* end of include guard: JSCDATAMODEL_H_KN8TWG0V */</span><span class="preprocessor"></span></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a253b66cf532661a47b0e423826b1ae4c"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a253b66cf532661a47b0e423826b1ae4c">uscxml::JSCDataModel::isValidSyntax</a></div><div class="ttdeci">virtual bool isValidSyntax(const std::string &expr)</div><div class="ttdoc">Determine whether a given string constitutes valid syntax in the data-model's language. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:617</div></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a18e73b777496c62178b5ca885a1d1042"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a18e73b777496c62178b5ca885a1d1042">uscxml::JSCDataModel::isDeclared</a></div><div class="ttdeci">virtual bool isDeclared(const std::string &expr)</div><div class="ttdoc">Determine whether a given variable / location is declared. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:629</div></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a1491a48eba86a6b7eb713093828735a8"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a1491a48eba86a6b7eb713093828735a8">uscxml::JSCDataModel::getNames</a></div><div class="ttdeci">virtual std::list< std::string > 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> JSCDataModel.h:60</div></div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <a class="code" href="classuscxml_1_1_event.html">Event</a> _event;</div> +<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  JSGlobalContextRef _ctx;</div> +<div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">static</span> std::mutex _initMutex;</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="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="preprocessor">#ifdef BUILD_AS_PLUGINS</span></div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span> PLUMA_INHERIT_PROVIDER(JSCDataModel, DataModelImpl)</div> +<div class="line"><a name="l00131"></a><span class="lineno"> 131</span> <span class="preprocessor">#endif</span></div> +<div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span> }</div> +<div class="line"><a name="l00134"></a><span class="lineno"> 134</span> </div> +<div class="line"><a name="l00135"></a><span class="lineno"> 135</span> <span class="preprocessor">#endif </span><span class="comment">/* end of include guard: JSCDATAMODEL_H_KN8TWG0V */</span><span class="preprocessor"></span></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a253b66cf532661a47b0e423826b1ae4c"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a253b66cf532661a47b0e423826b1ae4c">uscxml::JSCDataModel::isValidSyntax</a></div><div class="ttdeci">virtual bool isValidSyntax(const std::string &expr)</div><div class="ttdoc">Determine whether a given string constitutes valid syntax in the data-model's language. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:657</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a18e73b777496c62178b5ca885a1d1042"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a18e73b777496c62178b5ca885a1d1042">uscxml::JSCDataModel::isDeclared</a></div><div class="ttdeci">virtual bool isDeclared(const std::string &expr)</div><div class="ttdoc">Determine whether a given variable / location is declared. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:669</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a1491a48eba86a6b7eb713093828735a8"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a1491a48eba86a6b7eb713093828735a8">uscxml::JSCDataModel::getNames</a></div><div class="ttdeci">virtual std::list< std::string > 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> JSCDataModel.h:61</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_j_s_c_data_model_html"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html">uscxml::JSCDataModel</a></div><div class="ttdoc">ECMAScript data-model via JavaScriptCore. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.h:52</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html">uscxml::JSCDataModel</a></div><div class="ttdoc">ECMAScript data-model via JavaScriptCore. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.h:53</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_j_s_c_data_model_html_ad0685b4dd44243b0341000c0b818a9fa"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#ad0685b4dd44243b0341000c0b818a9fa">uscxml::JSCDataModel::setEvent</a></div><div class="ttdeci">virtual void setEvent(const Event &event)</div><div class="ttdoc">Set the given event as _event in the data-model's global scope. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:291</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_j_s_c_data_model_html_a65c4d661169e39e2feb0432834ac17f8"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a65c4d661169e39e2feb0432834ac17f8">uscxml::JSCDataModel::init</a></div><div class="ttdeci">virtual void init(const std::string &location, const Data &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> JSCDataModel.cpp:711</div></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a46d8da2c2e9a9a0dbcb2ea896f5ce22a"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a46d8da2c2e9a9a0dbcb2ea896f5ce22a">uscxml::JSCDataModel::setForeach</a></div><div class="ttdeci">virtual void setForeach(const std::string &item, const std::string &array, const std::string &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> JSCDataModel.cpp:591</div></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a591403a4335f665a7f9f42b3ac00689e"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a591403a4335f665a7f9f42b3ac00689e">uscxml::JSCDataModel::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> JSCDataModel.cpp:101</div></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_ad1cdfb5c119641aa99ae1b3cf8c66cf9"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#ad1cdfb5c119641aa99ae1b3cf8c66cf9">uscxml::JSCDataModel::assign</a></div><div class="ttdeci">virtual void assign(const std::string &location, const Data &data)</div><div class="ttdoc">Assign a data object to a location in the data-model. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:681</div></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a8c4dc3e092a614850d5b194c97752300"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a8c4dc3e092a614850d5b194c97752300">uscxml::JSCDataModel::getAsData</a></div><div class="ttdeci">virtual Data getAsData(const std::string &content)</div><div class="ttdoc">Return a string as an unevaluated Data object. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:402</div></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_ad3e87b80df626b8b40174b2435ef60f5"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#ad3e87b80df626b8b40174b2435ef60f5">uscxml::JSCDataModel::evalAsData</a></div><div class="ttdeci">virtual Data evalAsData(const std::string &expr)</div><div class="ttdoc">Return a string as an evaluated Data object. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:397</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_j_s_c_data_model_html_a1ffe81d46dd290741af5fbbff9a60d54"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a1ffe81d46dd290741af5fbbff9a60d54">uscxml::JSCDataModel::getLength</a></div><div class="ttdeci">virtual uint32_t getLength(const std::string &expr)</div><div class="ttdoc">Evaluate the given expression as something iterable and return its length. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:574</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_ad0685b4dd44243b0341000c0b818a9fa"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#ad0685b4dd44243b0341000c0b818a9fa">uscxml::JSCDataModel::setEvent</a></div><div class="ttdeci">virtual void setEvent(const Event &event)</div><div class="ttdoc">Set the given event as _event in the data-model's global scope. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:309</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_j_s_c_data_model_html_a54ae9c3e40e138b8f34ef263f88a6dcd"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a54ae9c3e40e138b8f34ef263f88a6dcd">uscxml::JSCDataModel::init</a></div><div class="ttdeci">virtual void init(const std::string &location, const Data &data, const std::map< std::string, std::string > &attr=std::map< std::string, std::string >())</div><div class="ttdoc">Initialize a variable / location in the data-model with a given data object. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:757</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_j_s_c_data_model_html_a46d8da2c2e9a9a0dbcb2ea896f5ce22a"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a46d8da2c2e9a9a0dbcb2ea896f5ce22a">uscxml::JSCDataModel::setForeach</a></div><div class="ttdeci">virtual void setForeach(const std::string &item, const std::string &array, const std::string &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> JSCDataModel.cpp:631</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a591403a4335f665a7f9f42b3ac00689e"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a591403a4335f665a7f9f42b3ac00689e">uscxml::JSCDataModel::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> JSCDataModel.cpp:112</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a8c4dc3e092a614850d5b194c97752300"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a8c4dc3e092a614850d5b194c97752300">uscxml::JSCDataModel::getAsData</a></div><div class="ttdeci">virtual Data getAsData(const std::string &content)</div><div class="ttdoc">Return a string as an unevaluated Data object. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:430</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_ad3e87b80df626b8b40174b2435ef60f5"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#ad3e87b80df626b8b40174b2435ef60f5">uscxml::JSCDataModel::evalAsData</a></div><div class="ttdeci">virtual Data evalAsData(const std::string &expr)</div><div class="ttdoc">Return a string as an evaluated Data object. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:419</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_j_s_c_data_model_html_a1ffe81d46dd290741af5fbbff9a60d54"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a1ffe81d46dd290741af5fbbff9a60d54">uscxml::JSCDataModel::getLength</a></div><div class="ttdeci">virtual uint32_t getLength(const std::string &expr)</div><div class="ttdoc">Evaluate the given expression as something iterable and return its length. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:614</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_j_s_c_data_model_html_aaca23f71c1a3807d21dd6fc8d4d75488"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#aaca23f71c1a3807d21dd6fc8d4d75488">uscxml::JSCDataModel::create</a></div><div class="ttdeci">virtual std::shared_ptr< DataModelImpl > create(DataModelCallbacks *callbacks)</div><div class="ttdoc">The Factory wants to instantiate a new instance. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:231</div></div> -<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_ad2e282225a1c8cdbeb29206413f3ac4a"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#ad2e282225a1c8cdbeb29206413f3ac4a">uscxml::JSCDataModel::andExpressions</a></div><div class="ttdeci">virtual std::string andExpressions(std::list< std::string >)</div><div class="ttdoc">Concat the given terms into a conjunctive form. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:721</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_j_s_c_data_model_html_a785c87b41da0fe32a3bf0f4f79c2bc13"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a785c87b41da0fe32a3bf0f4f79c2bc13">uscxml::JSCDataModel::evalAsBool</a></div><div class="ttdeci">virtual bool evalAsBool(const std::string &expr)</div><div class="ttdoc">Evaluate a given expression as a boolean. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:641</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_aaca23f71c1a3807d21dd6fc8d4d75488"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#aaca23f71c1a3807d21dd6fc8d4d75488">uscxml::JSCDataModel::create</a></div><div class="ttdeci">virtual std::shared_ptr< DataModelImpl > create(DataModelCallbacks *callbacks)</div><div class="ttdoc">The Factory wants to instantiate a new instance. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:247</div></div> +<div class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_ab7ae0fdb2938baf1c71e9c0d98e63167"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#ab7ae0fdb2938baf1c71e9c0d98e63167">uscxml::JSCDataModel::assign</a></div><div class="ttdeci">virtual void assign(const std::string &location, const Data &data, const std::map< std::string, std::string > &attr=std::map< std::string, std::string >())</div><div class="ttdoc">Assign a data object to a location in the data-model. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:723</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 class="ttc" id="classuscxml_1_1_j_s_c_data_model_html_a785c87b41da0fe32a3bf0f4f79c2bc13"><div class="ttname"><a href="classuscxml_1_1_j_s_c_data_model.html#a785c87b41da0fe32a3bf0f4f79c2bc13">uscxml::JSCDataModel::evalAsBool</a></div><div class="ttdeci">virtual bool evalAsBool(const std::string &expr)</div><div class="ttdoc">Evaluate a given expression as a boolean. </div><div class="ttdef"><b>Definition:</b> JSCDataModel.cpp:681</div></div> </div><!-- fragment --></div><!-- contents --> <!-- HTML footer for doxygen 1.8.8--> <!-- start footer part --> @@ -237,7 +240,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  <a href="http://www.doxygen.org/index.html"> +Generated on Sun Apr 30 2017 22:52:19 for uSCXML by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.10 </small></address> --> |