1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
|
<!-- HTML header for doxygen 1.8.8-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- For Mobile Devices -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<title>uSCXML: uscxml::V8DataModel Class Reference</title>
<!--<link href="tabs.css" rel="stylesheet" type="text/css"/>-->
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href='https://fonts.googleapis.com/css?family=Roboto+Slab' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.css" rel="stylesheet" type="text/css"/>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="doxy-boot.js"></script>
</head>
<body>
<nav class="navbar navbar-default" role="navigation">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand">uSCXML 2.0.0</a>
</div>
</div>
</nav>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div class="content" id="content">
<div class="container">
<div class="row">
<div class="col-sm-12 panel " style="padding-bottom: 15px;">
<div style="margin-bottom: 15px;">
<!-- end header part --><!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><b>uscxml</b></li><li class="navelem"><a class="el" href="classuscxml_1_1_v8_data_model.html">V8DataModel</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pro-methods">Protected Member Functions</a> |
<a href="#pro-static-methods">Static Protected Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="#pro-static-attribs">Static Protected Attributes</a> |
<a href="classuscxml_1_1_v8_data_model-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">uscxml::V8DataModel Class Reference<div class="ingroups"><a class="el" href="group__extension.html">Extension Points</a> » <a class="el" href="group__datamodel.html">Data-Models</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>ECMAScript data-model via Google's V8.
</p>
<p><code>#include <<a class="el" href="_v8_data_model_8h_source.html">V8DataModel.h</a>></code></p>
<div class="dynheader">
Inheritance diagram for uscxml::V8DataModel:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classuscxml_1_1_v8_data_model__inherit__graph.svg" width="171" height="112"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for uscxml::V8DataModel:</div>
<div class="dyncontent">
<div class="center"><iframe scrolling="no" frameborder="0" src="classuscxml_1_1_v8_data_model__coll__graph.svg" width="204" height="203"><p><b>This browser is not able to show SVG: try Firefox, Chrome, Safari, or Opera instead.</b></p></iframe></div>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a80b6996f821dc498f3a748e3eb584fac"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a80b6996f821dc498f3a748e3eb584fac">addExtension</a> (<a class="el" href="classuscxml_1_1_data_model_extension.html">DataModelExtension</a> *ext)</td></tr>
<tr class="memdesc:a80b6996f821dc498f3a748e3eb584fac"><td class="mdescLeft"> </td><td class="mdescRight">Register an extension to get data into and out of the data-model. <a href="#a80b6996f821dc498f3a748e3eb584fac">More...</a><br /></td></tr>
<tr class="separator:a80b6996f821dc498f3a748e3eb584fac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f6c5835f6be0b4a2c3675be1c45c188"><td class="memItemLeft" align="right" valign="top">virtual std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a9f6c5835f6be0b4a2c3675be1c45c188">andExpressions</a> (std::list< std::string >)</td></tr>
<tr class="memdesc:a9f6c5835f6be0b4a2c3675be1c45c188"><td class="mdescLeft"> </td><td class="mdescRight">Concat the given terms into a conjunctive form. <a href="#a9f6c5835f6be0b4a2c3675be1c45c188">More...</a><br /></td></tr>
<tr class="separator:a9f6c5835f6be0b4a2c3675be1c45c188"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b4a30def4ee34acfb1499815722134d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a7b4a30def4ee34acfb1499815722134d">assign</a> (const std::string &location, const <a class="el" href="classuscxml_1_1_data.html">Data</a> &data)</td></tr>
<tr class="memdesc:a7b4a30def4ee34acfb1499815722134d"><td class="mdescLeft"> </td><td class="mdescRight">Assign a data object to a location in the data-model. <a href="#a7b4a30def4ee34acfb1499815722134d">More...</a><br /></td></tr>
<tr class="separator:a7b4a30def4ee34acfb1499815722134d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5d4c429529f0766e6753e49f1a7c3328"><td class="memItemLeft" align="right" valign="top">virtual std::shared_ptr< <a class="el" href="classuscxml_1_1_data_model_impl.html">DataModelImpl</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a5d4c429529f0766e6753e49f1a7c3328">create</a> (<a class="el" href="classuscxml_1_1_data_model_callbacks.html">DataModelCallbacks</a> *callbacks)</td></tr>
<tr class="memdesc:a5d4c429529f0766e6753e49f1a7c3328"><td class="mdescLeft"> </td><td class="mdescRight">The <a class="el" href="classuscxml_1_1_factory.html">Factory</a> wants to instantiate a new instance. <a href="#a5d4c429529f0766e6753e49f1a7c3328">More...</a><br /></td></tr>
<tr class="separator:a5d4c429529f0766e6753e49f1a7c3328"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a57590880c152ce6b8f1c8c34a2345af0"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a57590880c152ce6b8f1c8c34a2345af0">evalAsBool</a> (const std::string &expr)</td></tr>
<tr class="memdesc:a57590880c152ce6b8f1c8c34a2345af0"><td class="mdescLeft"> </td><td class="mdescRight">Evaluate a given expression as a boolean. <a href="#a57590880c152ce6b8f1c8c34a2345af0">More...</a><br /></td></tr>
<tr class="separator:a57590880c152ce6b8f1c8c34a2345af0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47e633052cfc449a3116eb72556f6d15"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classuscxml_1_1_data.html">Data</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a47e633052cfc449a3116eb72556f6d15">evalAsData</a> (const std::string &expr)</td></tr>
<tr class="memdesc:a47e633052cfc449a3116eb72556f6d15"><td class="mdescLeft"> </td><td class="mdescRight">Return a string as an <em>evaluated</em> <a class="el" href="classuscxml_1_1_data.html">Data</a> object. <a href="#a47e633052cfc449a3116eb72556f6d15">More...</a><br /></td></tr>
<tr class="separator:a47e633052cfc449a3116eb72556f6d15"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38d43851bf64b0f7db4e7bfdebc07229"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classuscxml_1_1_data.html">Data</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a38d43851bf64b0f7db4e7bfdebc07229">getAsData</a> (const std::string &content)</td></tr>
<tr class="memdesc:a38d43851bf64b0f7db4e7bfdebc07229"><td class="mdescLeft"> </td><td class="mdescRight">Return a string as an <em>unevaluated</em> <a class="el" href="classuscxml_1_1_data.html">Data</a> object. <a href="#a38d43851bf64b0f7db4e7bfdebc07229">More...</a><br /></td></tr>
<tr class="separator:a38d43851bf64b0f7db4e7bfdebc07229"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acf1dbda331af4b39213ee83e2e2d78e8"><td class="memItemLeft" align="right" valign="top">virtual uint32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#acf1dbda331af4b39213ee83e2e2d78e8">getLength</a> (const std::string &expr)</td></tr>
<tr class="memdesc:acf1dbda331af4b39213ee83e2e2d78e8"><td class="mdescLeft"> </td><td class="mdescRight">Evaluate the given expression as something iterable and return its length. <a href="#acf1dbda331af4b39213ee83e2e2d78e8">More...</a><br /></td></tr>
<tr class="separator:acf1dbda331af4b39213ee83e2e2d78e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a67050c4a81559a5713357c1baafda11b"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a67050c4a81559a5713357c1baafda11b"></a>
virtual std::list< std::string > </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a67050c4a81559a5713357c1baafda11b">getNames</a> ()</td></tr>
<tr class="memdesc:a67050c4a81559a5713357c1baafda11b"><td class="mdescLeft"> </td><td class="mdescRight">Return a list of names to be matched by the <code>datamodel</code> attribute in SCXML. <br /></td></tr>
<tr class="separator:a67050c4a81559a5713357c1baafda11b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3bc27a5e7a63b13b63b0d3ebe628034b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a3bc27a5e7a63b13b63b0d3ebe628034b">init</a> (const std::string &location, const <a class="el" href="classuscxml_1_1_data.html">Data</a> &data)</td></tr>
<tr class="memdesc:a3bc27a5e7a63b13b63b0d3ebe628034b"><td class="mdescLeft"> </td><td class="mdescRight">Initialize a variable / location in the data-model with a given data object. <a href="#a3bc27a5e7a63b13b63b0d3ebe628034b">More...</a><br /></td></tr>
<tr class="separator:a3bc27a5e7a63b13b63b0d3ebe628034b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a83fc5468dabd75fc367240a23e711e65"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a83fc5468dabd75fc367240a23e711e65">isDeclared</a> (const std::string &expr)</td></tr>
<tr class="memdesc:a83fc5468dabd75fc367240a23e711e65"><td class="mdescLeft"> </td><td class="mdescRight">Determine whether a given variable / location is declared. <a href="#a83fc5468dabd75fc367240a23e711e65">More...</a><br /></td></tr>
<tr class="separator:a83fc5468dabd75fc367240a23e711e65"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a47c0fe25310c1a8874a8a59102f8f7ff"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a47c0fe25310c1a8874a8a59102f8f7ff">isValidSyntax</a> (const std::string &expr)</td></tr>
<tr class="memdesc:a47c0fe25310c1a8874a8a59102f8f7ff"><td class="mdescLeft"> </td><td class="mdescRight">Determine whether a given string constitutes valid syntax in the data-model's language. <a href="#a47c0fe25310c1a8874a8a59102f8f7ff">More...</a><br /></td></tr>
<tr class="separator:a47c0fe25310c1a8874a8a59102f8f7ff"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac1a84d66b79e796d3bbb8b5e4708f74b"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#ac1a84d66b79e796d3bbb8b5e4708f74b">setEvent</a> (const <a class="el" href="classuscxml_1_1_event.html">Event</a> &event)</td></tr>
<tr class="memdesc:ac1a84d66b79e796d3bbb8b5e4708f74b"><td class="mdescLeft"> </td><td class="mdescRight">Set the given event as <code>_event</code> in the data-model's global scope. <a href="#ac1a84d66b79e796d3bbb8b5e4708f74b">More...</a><br /></td></tr>
<tr class="separator:ac1a84d66b79e796d3bbb8b5e4708f74b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1da68ace4ce1f7cda0991fb74d9cecee"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_v8_data_model.html#a1da68ace4ce1f7cda0991fb74d9cecee">setForeach</a> (const std::string &item, const std::string &array, const std::string &index, uint32_t iteration)</td></tr>
<tr class="memdesc:a1da68ace4ce1f7cda0991fb74d9cecee"><td class="mdescLeft"> </td><td class="mdescRight">Set a given item to the object at a given index for one iteration. <a href="#a1da68ace4ce1f7cda0991fb74d9cecee">More...</a><br /></td></tr>
<tr class="separator:a1da68ace4ce1f7cda0991fb74d9cecee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classuscxml_1_1_data_model_impl"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classuscxml_1_1_data_model_impl')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classuscxml_1_1_data_model_impl.html">uscxml::DataModelImpl</a></td></tr>
<tr class="memitem:acc27a4123c53055a24000dfd9a9cbc57 inherit pub_methods_classuscxml_1_1_data_model_impl"><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classuscxml_1_1_data_model_impl.html#acc27a4123c53055a24000dfd9a9cbc57">replaceExpressions</a> (std::string &content)</td></tr>
<tr class="memdesc:acc27a4123c53055a24000dfd9a9cbc57 inherit pub_methods_classuscxml_1_1_data_model_impl"><td class="mdescLeft"> </td><td class="mdescRight">Experimental extension to have dynamic content in string literals. <a href="#acc27a4123c53055a24000dfd9a9cbc57">More...</a><br /></td></tr>
<tr class="separator:acc27a4123c53055a24000dfd9a9cbc57 inherit pub_methods_classuscxml_1_1_data_model_impl"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a23e63c8425732d086ba80746bb27c8ce"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23e63c8425732d086ba80746bb27c8ce"></a>
v8::Local< v8::Value > </td><td class="memItemRight" valign="bottom"><b>evalAsValue</b> (const std::string &expr, bool dontThrow=false)</td></tr>
<tr class="separator:a23e63c8425732d086ba80746bb27c8ce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e1c0d22926414d16dfe7620f3b25e95"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e1c0d22926414d16dfe7620f3b25e95"></a>
v8::Local< v8::Value > </td><td class="memItemRight" valign="bottom"><b>getDataAsValue</b> (const <a class="el" href="classuscxml_1_1_data.html">Data</a> &data)</td></tr>
<tr class="separator:a3e1c0d22926414d16dfe7620f3b25e95"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa2dd61aadb586afc6babf0fb49593491"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa2dd61aadb586afc6babf0fb49593491"></a>
v8::Local< v8::Value > </td><td class="memItemRight" valign="bottom"><b>getNodeAsValue</b> (const XERCESC_NS::DOMNode *node)</td></tr>
<tr class="separator:aa2dd61aadb586afc6babf0fb49593491"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a353973874bf687a57c7ed3f8bb675c58"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a353973874bf687a57c7ed3f8bb675c58"></a>
<a class="el" href="classuscxml_1_1_data.html">Data</a> </td><td class="memItemRight" valign="bottom"><b>getValueAsData</b> (const v8::Local< v8::Value > &value)</td></tr>
<tr class="separator:a353973874bf687a57c7ed3f8bb675c58"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adecd7c0c4dc8b585d62d33e2e7cfea65"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adecd7c0c4dc8b585d62d33e2e7cfea65"></a>
void </td><td class="memItemRight" valign="bottom"><b>throwExceptionEvent</b> (const v8::TryCatch &tryCatch)</td></tr>
<tr class="separator:adecd7c0c4dc8b585d62d33e2e7cfea65"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a8f437fdc97966b32bd1652f2298ca571"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f437fdc97966b32bd1652f2298ca571"></a>
static void </td><td class="memItemRight" valign="bottom"><b>getAttribute</b> (v8::Local< v8::String > property, const v8::PropertyCallbackInfo< v8::Value > &info)</td></tr>
<tr class="separator:a8f437fdc97966b32bd1652f2298ca571"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0ecf515150bbb2d087fc0d262ca68be5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0ecf515150bbb2d087fc0d262ca68be5"></a>
static void </td><td class="memItemRight" valign="bottom"><b>getInvokers</b> (v8::Local< v8::String > property, const v8::PropertyCallbackInfo< v8::Value > &info)</td></tr>
<tr class="separator:a0ecf515150bbb2d087fc0d262ca68be5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0d5c6d5db2178889512092a52f0110f2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0d5c6d5db2178889512092a52f0110f2"></a>
static void </td><td class="memItemRight" valign="bottom"><b>getIOProcessors</b> (v8::Local< v8::String > property, const v8::PropertyCallbackInfo< v8::Value > &info)</td></tr>
<tr class="separator:a0d5c6d5db2178889512092a52f0110f2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad61672c33046333ccb9d9bdbab0b5732"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad61672c33046333ccb9d9bdbab0b5732"></a>
static void </td><td class="memItemRight" valign="bottom"><b>jsExtension</b> (const v8::FunctionCallbackInfo< v8::Value > &info)</td></tr>
<tr class="separator:ad61672c33046333ccb9d9bdbab0b5732"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a06de818bb340719d87fa3a9ffe4eb4ad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a06de818bb340719d87fa3a9ffe4eb4ad"></a>
static void </td><td class="memItemRight" valign="bottom"><b>jsIn</b> (const v8::FunctionCallbackInfo< v8::Value > &info)</td></tr>
<tr class="separator:a06de818bb340719d87fa3a9ffe4eb4ad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a84450f076a3167e015f45c0b7f1d95c4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a84450f076a3167e015f45c0b7f1d95c4"></a>
static void </td><td class="memItemRight" valign="bottom"><b>jsPrint</b> (const v8::FunctionCallbackInfo< v8::Value > &info)</td></tr>
<tr class="separator:a84450f076a3167e015f45c0b7f1d95c4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3205b286018aa2bd9719de67a72325eb"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3205b286018aa2bd9719de67a72325eb"></a>
static void </td><td class="memItemRight" valign="bottom"><b>setWithException</b> (v8::Local< v8::String > property, v8::Local< v8::Value > value, const v8::PropertyCallbackInfo< void > &info)</td></tr>
<tr class="separator:a3205b286018aa2bd9719de67a72325eb"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a0389f1f03ce2caa64eece230d3434864"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0389f1f03ce2caa64eece230d3434864"></a>
v8::Persistent< v8::Context > </td><td class="memItemRight" valign="bottom"><b>_context</b></td></tr>
<tr class="separator:a0389f1f03ce2caa64eece230d3434864"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a40e60b367cbc5133a0dd15530de4c524"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a40e60b367cbc5133a0dd15530de4c524"></a>
v8::Persistent< v8::Object > </td><td class="memItemRight" valign="bottom"><b>_event</b></td></tr>
<tr class="separator:a40e60b367cbc5133a0dd15530de4c524"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4bc453eea3b544002d8c6709c5f36ea4"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4bc453eea3b544002d8c6709c5f36ea4"></a>
std::set< <a class="el" href="classuscxml_1_1_data_model_extension.html">DataModelExtension</a> * > </td><td class="memItemRight" valign="bottom"><b>_extensions</b></td></tr>
<tr class="separator:a4bc453eea3b544002d8c6709c5f36ea4"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a27ed5802edef15965226de40a2b36c81"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a27ed5802edef15965226de40a2b36c81"></a>
v8::Persistent< v8::Object > </td><td class="memItemRight" valign="bottom"><b>_invokers</b></td></tr>
<tr class="separator:a27ed5802edef15965226de40a2b36c81"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5ca3675c97d058dcd60f60e77edc29f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5ca3675c97d058dcd60f60e77edc29f"></a>
v8::Persistent< v8::Object > </td><td class="memItemRight" valign="bottom"><b>_ioProcessors</b></td></tr>
<tr class="separator:aa5ca3675c97d058dcd60f60e77edc29f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classuscxml_1_1_data_model_impl"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classuscxml_1_1_data_model_impl')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classuscxml_1_1_data_model_impl.html">uscxml::DataModelImpl</a></td></tr>
<tr class="memitem:aa5aed42d77aac94ea28561aebf6ee7c8 inherit pro_attribs_classuscxml_1_1_data_model_impl"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa5aed42d77aac94ea28561aebf6ee7c8"></a>
<a class="el" href="classuscxml_1_1_data_model_callbacks.html">DataModelCallbacks</a> * </td><td class="memItemRight" valign="bottom"><b>_callbacks</b></td></tr>
<tr class="separator:aa5aed42d77aac94ea28561aebf6ee7c8 inherit pro_attribs_classuscxml_1_1_data_model_impl"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:ab47538118103c4ee24620e21471e64da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab47538118103c4ee24620e21471e64da"></a>
static v8::Isolate * </td><td class="memItemRight" valign="bottom"><b>_isolate</b> = NULL</td></tr>
<tr class="separator:ab47538118103c4ee24620e21471e64da"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a80b6996f821dc498f3a748e3eb584fac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void uscxml::V8DataModel::addExtension </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classuscxml_1_1_data_model_extension.html">DataModelExtension</a> * </td>
<td class="paramname"><em>ext</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>This is currently unsupported </dd></dl>
<p>Reimplemented from <a class="el" href="classuscxml_1_1_data_model_impl.html#a8137c81a64d3978fc5a13cefdfe9a57a">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a9f6c5835f6be0b4a2c3675be1c45c188"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::string uscxml::V8DataModel::andExpressions </td>
<td>(</td>
<td class="paramtype">std::list< std::string > </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>This is required to automatically transform a state-chart into a state-machine. Actual transformation is still only available in legacy though. </dd></dl>
<p>Reimplemented from <a class="el" href="classuscxml_1_1_data_model_impl.html#a85a2bdd7493a4dfb156c723b204e858a">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a7b4a30def4ee34acfb1499815722134d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void uscxml::V8DataModel::assign </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classuscxml_1_1_data.html">Data</a> & </td>
<td class="paramname"><em>data</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>There are different occurences in the SCXML IRP tests, e.g. </p><pre class="fragment">test147:
<data id="Var1" expr="0"/>
test150:
<data id="Var3">
[1,2,3]
</data>
test277:
<data id="Var1" expr="return"/>
</pre> <dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">location</td><td>A variable or locatio to assign to. </td></tr>
<tr><td class="paramname">data</td><td>The <a class="el" href="classuscxml_1_1_data.html">Data</a> object with the respective data. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#a39bd9eaf711d1a8240f559da41649bfb">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a5d4c429529f0766e6753e49f1a7c3328"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">std::shared_ptr< <a class="el" href="classuscxml_1_1_data_model_impl.html">DataModelImpl</a> > uscxml::V8DataModel::create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classuscxml_1_1_data_model_callbacks.html">DataModelCallbacks</a> * </td>
<td class="paramname"><em>callbacks</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function will have to initialize the object. The actual constructor is called from within here. The only one who calls the constructor directly is the <a class="el" href="classuscxml_1_1_factory.html">Factory</a> for the prototype object.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">callbacks</td><td>The callbacks available to the datamodel </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A shared pointer with an initialized instance </dd></dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#ab495cc41fdc14950bd3ff830b71c6d57">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a57590880c152ce6b8f1c8c34a2345af0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool uscxml::V8DataModel::evalAsBool </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>expr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This function is a subset of <a class="el" href="classuscxml_1_1_v8_data_model.html#a47e633052cfc449a3116eb72556f6d15" title="Return a string as an evaluated Data object. ">evalAsData()</a> but saves on creating and copying a <a class="el" href="classuscxml_1_1_data.html">Data</a> object. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">expr</td><td>An expression in the data-model's language. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Whether the expression evaluates as <code>true</code> </dd></dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#a7bf03276de0ee069a55981599d476b18">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a47e633052cfc449a3116eb72556f6d15"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classuscxml_1_1_data.html">Data</a> uscxml::V8DataModel::evalAsData </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>content</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">content</td><td>A string with a literal, eppression or compound data-structure in the data-model's language. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An evaluated structure representing the given compound or literal. </dd></dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#a041d1fdf8830f923d960ac4a6cf09e57">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a38d43851bf64b0f7db4e7bfdebc07229"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classuscxml_1_1_data.html">Data</a> uscxml::V8DataModel::getAsData </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>content</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">content</td><td>A string with a literal, eppression or compound data-structure in the data-model's language. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An unevaluated structure representing the given compound or literal. </dd></dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#ac026678fef708090caba851bc9681dfc">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="acf1dbda331af4b39213ee83e2e2d78e8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">uint32_t uscxml::V8DataModel::getLength </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>expr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">expr</td><td>Anything that possibly evaluates to an enumerable object. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The number of items in the enumerable object. </dd></dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#a355696d8b85c00a640232b158f93850f">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a3bc27a5e7a63b13b63b0d3ebe628034b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void uscxml::V8DataModel::init </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>location</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classuscxml_1_1_data.html">Data</a> & </td>
<td class="paramname"><em>data</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>This is, semantically, very close to <a class="el" href="classuscxml_1_1_v8_data_model.html#a7b4a30def4ee34acfb1499815722134d" title="Assign a data object to a location in the data-model. ">assign()</a> but does not assume the location to be declared first.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">location</td><td>A variable or locatio to assign to. </td></tr>
<tr><td class="paramname">data</td><td>The <a class="el" href="classuscxml_1_1_data.html">Data</a> object with the respective data. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#af5ab40ac509e86f071bee27a9080f4c1">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a83fc5468dabd75fc367240a23e711e65"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool uscxml::V8DataModel::isDeclared </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>expr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">expr</td><td>The variable / location to check. </td></tr>
</table>
</dd>
</dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000001">Todo:</a></b></dt><dd>Is this still used? </dd></dl>
<p>Undeclared variables can be checked by trying to access them and catching a reference error.</p>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#a83a8684b45f509a1180fb41ebb42192e">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a47c0fe25310c1a8874a8a59102f8f7ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool uscxml::V8DataModel::isValidSyntax </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>expr</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">expr</td><td>A string, supposedly containing an expression of the data-model. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Whether expr is in L(DM). </dd></dl>
<p>Reimplemented from <a class="el" href="classuscxml_1_1_data_model_impl.html#a6758e7946232dce852814d71886b1078">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="ac1a84d66b79e796d3bbb8b5e4708f74b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void uscxml::V8DataModel::setEvent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classuscxml_1_1_event.html">Event</a> & </td>
<td class="paramname"><em>event</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">event</td><td>The event as it was dequeued from either the internal or external queue. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#a1d3ef74ba677d7224d7320d7980c757c">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<a class="anchor" id="a1da68ace4ce1f7cda0991fb74d9cecee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void uscxml::V8DataModel::setForeach </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>item</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>array</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string & </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">uint32_t </td>
<td class="paramname"><em>iteration</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">item</td><td>A variable or location to assign the current object to. </td></tr>
<tr><td class="paramname">array</td><td>An expression evalating to an enumerable object. </td></tr>
<tr><td class="paramname">index</td><td>A variable or location to set the current index at. </td></tr>
<tr><td class="paramname">iteration</td><td>The current iteration index. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classuscxml_1_1_data_model_impl.html#a0a6504a4c62e5925854998ce750d1675">uscxml::DataModelImpl</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>plugins/datamodel/ecmascript/v8/<a class="el" href="_v8_data_model_8h_source.html">V8DataModel.h</a></li>
<li>plugins/datamodel/ecmascript/v8/<a class="el" href="_v8_data_model_8cpp.html">V8DataModel.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.8-->
<!-- start footer part -->
</div>
</div>
</div>
</div>
</div>
<!-- <hr class="footer"/><address class="footer"><small>
Generated on Mon May 23 2016 08:47:46 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> -->
</body>
</html>
|