3
** Generated automatically by tolua++-1.0.92 on Sat Jul 5 23:48:55 2008.
13
/* Exported function */
14
TOLUA_API int tolua_Atlas_open (lua_State* tolua_S);
18
/* function to release collected object via destructor */
21
static int tolua_collect_Atlas__Message__ListType (lua_State* tolua_S)
23
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
28
static int tolua_collect_Atlas__Message__MapType (lua_State* tolua_S)
30
Atlas::Message::MapType* self = (Atlas::Message::MapType*) tolua_tousertype(tolua_S,1,0);
35
static int tolua_collect_Atlas__Message__Element (lua_State* tolua_S)
37
Atlas::Message::Element* self = (Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
42
static int tolua_collect_Atlas__Message__MapType__iterator (lua_State* tolua_S)
44
Atlas::Message::MapType::iterator* self = (Atlas::Message::MapType::iterator*) tolua_tousertype(tolua_S,1,0);
51
/* function to register type */
52
static void tolua_reg_types (lua_State* tolua_S)
54
tolua_usertype(tolua_S,"Atlas::Message::MapType::value_type");
55
tolua_usertype(tolua_S,"Atlas::Message::MapType");
56
tolua_usertype(tolua_S,"Atlas::Message::ListType");
57
tolua_usertype(tolua_S,"Atlas::Message::Element");
58
tolua_usertype(tolua_S,"Atlas::Message::MapType::iterator");
61
/* method: new of class Atlas::Message::Element */
62
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new00
63
static int tolua_Atlas_Atlas_Message_Element_new00(lua_State* tolua_S)
66
tolua_Error tolua_err;
68
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
69
!tolua_isnoobj(tolua_S,2,&tolua_err)
76
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element();
77
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
83
tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
87
#endif //#ifndef TOLUA_DISABLE
89
/* method: new_local of class Atlas::Message::Element */
90
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new00_local
91
static int tolua_Atlas_Atlas_Message_Element_new00_local(lua_State* tolua_S)
94
tolua_Error tolua_err;
96
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
97
!tolua_isnoobj(tolua_S,2,&tolua_err)
104
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element();
105
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
109
#ifndef TOLUA_RELEASE
111
tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
115
#endif //#ifndef TOLUA_DISABLE
117
/* method: delete of class Atlas::Message::Element */
118
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_delete00
119
static int tolua_Atlas_Atlas_Message_Element_delete00(lua_State* tolua_S)
121
#ifndef TOLUA_RELEASE
122
tolua_Error tolua_err;
124
!tolua_isusertype(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
125
!tolua_isnoobj(tolua_S,2,&tolua_err)
131
Atlas::Message::Element* self = (Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
132
#ifndef TOLUA_RELEASE
133
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
138
#ifndef TOLUA_RELEASE
140
tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
144
#endif //#ifndef TOLUA_DISABLE
146
/* method: new of class Atlas::Message::Element */
147
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new01
148
static int tolua_Atlas_Atlas_Message_Element_new01(lua_State* tolua_S)
150
tolua_Error tolua_err;
152
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
153
!tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err) ||
154
!tolua_isnoobj(tolua_S,3,&tolua_err)
159
const Atlas::Message::Element* obj = ((const Atlas::Message::Element*) tolua_tousertype(tolua_S,2,0));
161
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(*obj);
162
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
167
return tolua_Atlas_Atlas_Message_Element_new00(tolua_S);
169
#endif //#ifndef TOLUA_DISABLE
171
/* method: new_local of class Atlas::Message::Element */
172
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new01_local
173
static int tolua_Atlas_Atlas_Message_Element_new01_local(lua_State* tolua_S)
175
tolua_Error tolua_err;
177
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
178
!tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err) ||
179
!tolua_isnoobj(tolua_S,3,&tolua_err)
184
const Atlas::Message::Element* obj = ((const Atlas::Message::Element*) tolua_tousertype(tolua_S,2,0));
186
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(*obj);
187
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
192
return tolua_Atlas_Atlas_Message_Element_new00_local(tolua_S);
194
#endif //#ifndef TOLUA_DISABLE
196
/* method: new of class Atlas::Message::Element */
197
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new02
198
static int tolua_Atlas_Atlas_Message_Element_new02(lua_State* tolua_S)
200
tolua_Error tolua_err;
202
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
203
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
204
!tolua_isnoobj(tolua_S,3,&tolua_err)
209
int v = ((int) tolua_tonumber(tolua_S,2,0));
211
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
212
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
217
return tolua_Atlas_Atlas_Message_Element_new01(tolua_S);
219
#endif //#ifndef TOLUA_DISABLE
221
/* method: new_local of class Atlas::Message::Element */
222
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new02_local
223
static int tolua_Atlas_Atlas_Message_Element_new02_local(lua_State* tolua_S)
225
tolua_Error tolua_err;
227
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
228
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
229
!tolua_isnoobj(tolua_S,3,&tolua_err)
234
int v = ((int) tolua_tonumber(tolua_S,2,0));
236
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
237
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
242
return tolua_Atlas_Atlas_Message_Element_new01_local(tolua_S);
244
#endif //#ifndef TOLUA_DISABLE
246
/* method: new of class Atlas::Message::Element */
247
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new03
248
static int tolua_Atlas_Atlas_Message_Element_new03(lua_State* tolua_S)
250
tolua_Error tolua_err;
252
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
253
!tolua_isboolean(tolua_S,2,0,&tolua_err) ||
254
!tolua_isnoobj(tolua_S,3,&tolua_err)
259
bool v = ((bool) tolua_toboolean(tolua_S,2,0));
261
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
262
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
267
return tolua_Atlas_Atlas_Message_Element_new02(tolua_S);
269
#endif //#ifndef TOLUA_DISABLE
271
/* method: new_local of class Atlas::Message::Element */
272
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new03_local
273
static int tolua_Atlas_Atlas_Message_Element_new03_local(lua_State* tolua_S)
275
tolua_Error tolua_err;
277
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
278
!tolua_isboolean(tolua_S,2,0,&tolua_err) ||
279
!tolua_isnoobj(tolua_S,3,&tolua_err)
284
bool v = ((bool) tolua_toboolean(tolua_S,2,0));
286
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
287
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
292
return tolua_Atlas_Atlas_Message_Element_new02_local(tolua_S);
294
#endif //#ifndef TOLUA_DISABLE
296
/* method: new of class Atlas::Message::Element */
297
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new04
298
static int tolua_Atlas_Atlas_Message_Element_new04(lua_State* tolua_S)
300
tolua_Error tolua_err;
302
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
303
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
304
!tolua_isnoobj(tolua_S,3,&tolua_err)
309
long v = ((long) tolua_tonumber(tolua_S,2,0));
311
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
312
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
317
return tolua_Atlas_Atlas_Message_Element_new03(tolua_S);
319
#endif //#ifndef TOLUA_DISABLE
321
/* method: new_local of class Atlas::Message::Element */
322
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new04_local
323
static int tolua_Atlas_Atlas_Message_Element_new04_local(lua_State* tolua_S)
325
tolua_Error tolua_err;
327
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
328
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
329
!tolua_isnoobj(tolua_S,3,&tolua_err)
334
long v = ((long) tolua_tonumber(tolua_S,2,0));
336
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
337
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
342
return tolua_Atlas_Atlas_Message_Element_new03_local(tolua_S);
344
#endif //#ifndef TOLUA_DISABLE
346
/* method: new of class Atlas::Message::Element */
347
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new05
348
static int tolua_Atlas_Atlas_Message_Element_new05(lua_State* tolua_S)
350
tolua_Error tolua_err;
352
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
353
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
354
!tolua_isnoobj(tolua_S,3,&tolua_err)
359
float v = ((float) tolua_tonumber(tolua_S,2,0));
361
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
362
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
367
return tolua_Atlas_Atlas_Message_Element_new04(tolua_S);
369
#endif //#ifndef TOLUA_DISABLE
371
/* method: new_local of class Atlas::Message::Element */
372
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new05_local
373
static int tolua_Atlas_Atlas_Message_Element_new05_local(lua_State* tolua_S)
375
tolua_Error tolua_err;
377
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
378
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
379
!tolua_isnoobj(tolua_S,3,&tolua_err)
384
float v = ((float) tolua_tonumber(tolua_S,2,0));
386
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
387
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
392
return tolua_Atlas_Atlas_Message_Element_new04_local(tolua_S);
394
#endif //#ifndef TOLUA_DISABLE
396
/* method: new of class Atlas::Message::Element */
397
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new06
398
static int tolua_Atlas_Atlas_Message_Element_new06(lua_State* tolua_S)
400
tolua_Error tolua_err;
402
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
403
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
404
!tolua_isnoobj(tolua_S,3,&tolua_err)
409
double v = ((double) tolua_tonumber(tolua_S,2,0));
411
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
412
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
417
return tolua_Atlas_Atlas_Message_Element_new05(tolua_S);
419
#endif //#ifndef TOLUA_DISABLE
421
/* method: new_local of class Atlas::Message::Element */
422
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new06_local
423
static int tolua_Atlas_Atlas_Message_Element_new06_local(lua_State* tolua_S)
425
tolua_Error tolua_err;
427
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
428
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
429
!tolua_isnoobj(tolua_S,3,&tolua_err)
434
double v = ((double) tolua_tonumber(tolua_S,2,0));
436
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
437
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
442
return tolua_Atlas_Atlas_Message_Element_new05_local(tolua_S);
444
#endif //#ifndef TOLUA_DISABLE
446
/* method: new of class Atlas::Message::Element */
447
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new07
448
static int tolua_Atlas_Atlas_Message_Element_new07(lua_State* tolua_S)
450
tolua_Error tolua_err;
452
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
453
!tolua_isuserdata(tolua_S,2,0,&tolua_err) ||
454
!tolua_isnoobj(tolua_S,3,&tolua_err)
459
void* v = ((void*) tolua_touserdata(tolua_S,2,0));
461
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
462
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
467
return tolua_Atlas_Atlas_Message_Element_new06(tolua_S);
469
#endif //#ifndef TOLUA_DISABLE
471
/* method: new_local of class Atlas::Message::Element */
472
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new07_local
473
static int tolua_Atlas_Atlas_Message_Element_new07_local(lua_State* tolua_S)
475
tolua_Error tolua_err;
477
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
478
!tolua_isuserdata(tolua_S,2,0,&tolua_err) ||
479
!tolua_isnoobj(tolua_S,3,&tolua_err)
484
void* v = ((void*) tolua_touserdata(tolua_S,2,0));
486
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
487
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
492
return tolua_Atlas_Atlas_Message_Element_new06_local(tolua_S);
494
#endif //#ifndef TOLUA_DISABLE
496
/* method: new of class Atlas::Message::Element */
497
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new08
498
static int tolua_Atlas_Atlas_Message_Element_new08(lua_State* tolua_S)
500
tolua_Error tolua_err;
502
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
503
!tolua_isstring_type(tolua_S,2,0,&tolua_err) ||
504
!tolua_isnoobj(tolua_S,3,&tolua_err)
509
const char* v = ((const char*) tolua_tostring(tolua_S,2,0));
511
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
512
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
517
return tolua_Atlas_Atlas_Message_Element_new07(tolua_S);
519
#endif //#ifndef TOLUA_DISABLE
521
/* method: new_local of class Atlas::Message::Element */
522
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new08_local
523
static int tolua_Atlas_Atlas_Message_Element_new08_local(lua_State* tolua_S)
525
tolua_Error tolua_err;
527
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
528
!tolua_isstring_type(tolua_S,2,0,&tolua_err) ||
529
!tolua_isnoobj(tolua_S,3,&tolua_err)
534
const char* v = ((const char*) tolua_tostring(tolua_S,2,0));
536
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
537
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
542
return tolua_Atlas_Atlas_Message_Element_new07_local(tolua_S);
544
#endif //#ifndef TOLUA_DISABLE
546
/* method: new of class Atlas::Message::Element */
547
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new09
548
static int tolua_Atlas_Atlas_Message_Element_new09(lua_State* tolua_S)
550
tolua_Error tolua_err;
552
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
553
!tolua_iscppstring_type(tolua_S,2,0,&tolua_err) ||
554
!tolua_isnoobj(tolua_S,3,&tolua_err)
559
const std::string v = ((const std::string) tolua_tocppstring(tolua_S,2,0));
561
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
562
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
563
tolua_pushcppstring(tolua_S,(const char*)v);
568
return tolua_Atlas_Atlas_Message_Element_new08(tolua_S);
570
#endif //#ifndef TOLUA_DISABLE
572
/* method: new_local of class Atlas::Message::Element */
573
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new09_local
574
static int tolua_Atlas_Atlas_Message_Element_new09_local(lua_State* tolua_S)
576
tolua_Error tolua_err;
578
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
579
!tolua_iscppstring_type(tolua_S,2,0,&tolua_err) ||
580
!tolua_isnoobj(tolua_S,3,&tolua_err)
585
const std::string v = ((const std::string) tolua_tocppstring(tolua_S,2,0));
587
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(v);
588
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
589
tolua_pushcppstring(tolua_S,(const char*)v);
594
return tolua_Atlas_Atlas_Message_Element_new08_local(tolua_S);
596
#endif //#ifndef TOLUA_DISABLE
598
/* method: new of class Atlas::Message::Element */
599
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new10
600
static int tolua_Atlas_Atlas_Message_Element_new10(lua_State* tolua_S)
602
tolua_Error tolua_err;
604
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
605
!tolua_isusertype(tolua_S,2,"const Atlas::Message::MapType",0,&tolua_err) ||
606
!tolua_isnoobj(tolua_S,3,&tolua_err)
611
const Atlas::Message::MapType* v = ((const Atlas::Message::MapType*) tolua_tousertype(tolua_S,2,0));
613
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(*v);
614
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
619
return tolua_Atlas_Atlas_Message_Element_new09(tolua_S);
621
#endif //#ifndef TOLUA_DISABLE
623
/* method: new_local of class Atlas::Message::Element */
624
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new10_local
625
static int tolua_Atlas_Atlas_Message_Element_new10_local(lua_State* tolua_S)
627
tolua_Error tolua_err;
629
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
630
!tolua_isusertype(tolua_S,2,"const Atlas::Message::MapType",0,&tolua_err) ||
631
!tolua_isnoobj(tolua_S,3,&tolua_err)
636
const Atlas::Message::MapType* v = ((const Atlas::Message::MapType*) tolua_tousertype(tolua_S,2,0));
638
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(*v);
639
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
644
return tolua_Atlas_Atlas_Message_Element_new09_local(tolua_S);
646
#endif //#ifndef TOLUA_DISABLE
648
/* method: new of class Atlas::Message::Element */
649
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new11
650
static int tolua_Atlas_Atlas_Message_Element_new11(lua_State* tolua_S)
652
tolua_Error tolua_err;
654
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
655
!tolua_isusertype(tolua_S,2,"const Atlas::Message::ListType",0,&tolua_err) ||
656
!tolua_isnoobj(tolua_S,3,&tolua_err)
661
const Atlas::Message::ListType* v = ((const Atlas::Message::ListType*) tolua_tousertype(tolua_S,2,0));
663
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(*v);
664
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::Element");
669
return tolua_Atlas_Atlas_Message_Element_new10(tolua_S);
671
#endif //#ifndef TOLUA_DISABLE
673
/* method: new_local of class Atlas::Message::Element */
674
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_new11_local
675
static int tolua_Atlas_Atlas_Message_Element_new11_local(lua_State* tolua_S)
677
tolua_Error tolua_err;
679
!tolua_isusertable(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
680
!tolua_isusertype(tolua_S,2,"const Atlas::Message::ListType",0,&tolua_err) ||
681
!tolua_isnoobj(tolua_S,3,&tolua_err)
686
const Atlas::Message::ListType* v = ((const Atlas::Message::ListType*) tolua_tousertype(tolua_S,2,0));
688
Atlas::Message::Element* tolua_ret = (Atlas::Message::Element*) new Atlas::Message::Element(*v);
689
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::Element");
694
return tolua_Atlas_Atlas_Message_Element_new10_local(tolua_S);
696
#endif //#ifndef TOLUA_DISABLE
698
/* method: operator== of class Atlas::Message::Element */
699
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element__eq00
700
static int tolua_Atlas_Atlas_Message_Element__eq00(lua_State* tolua_S)
702
#ifndef TOLUA_RELEASE
703
tolua_Error tolua_err;
705
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
706
!tolua_isusertype(tolua_S,2,"const Atlas::Message::Element",0,&tolua_err) ||
707
!tolua_isnoobj(tolua_S,3,&tolua_err)
713
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
714
const Atlas::Message::Element* o = ((const Atlas::Message::Element*) tolua_tousertype(tolua_S,2,0));
715
#ifndef TOLUA_RELEASE
716
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
719
bool tolua_ret = (bool) self->operator==(*o);
720
tolua_pushboolean(tolua_S,(bool)tolua_ret);
724
#ifndef TOLUA_RELEASE
726
tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err);
730
#endif //#ifndef TOLUA_DISABLE
732
/* method: operator== of class Atlas::Message::Element */
733
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element__eq01
734
static int tolua_Atlas_Atlas_Message_Element__eq01(lua_State* tolua_S)
736
tolua_Error tolua_err;
738
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
739
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
740
!tolua_isnoobj(tolua_S,3,&tolua_err)
745
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
746
long v = ((long) tolua_tonumber(tolua_S,2,0));
747
#ifndef TOLUA_RELEASE
748
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
751
bool tolua_ret = (bool) self->operator==(v);
752
tolua_pushboolean(tolua_S,(bool)tolua_ret);
757
return tolua_Atlas_Atlas_Message_Element__eq00(tolua_S);
759
#endif //#ifndef TOLUA_DISABLE
761
/* method: operator== of class Atlas::Message::Element */
762
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element__eq02
763
static int tolua_Atlas_Atlas_Message_Element__eq02(lua_State* tolua_S)
765
tolua_Error tolua_err;
767
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
768
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
769
!tolua_isnoobj(tolua_S,3,&tolua_err)
774
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
775
double v = ((double) tolua_tonumber(tolua_S,2,0));
776
#ifndef TOLUA_RELEASE
777
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
780
bool tolua_ret = (bool) self->operator==(v);
781
tolua_pushboolean(tolua_S,(bool)tolua_ret);
786
return tolua_Atlas_Atlas_Message_Element__eq01(tolua_S);
788
#endif //#ifndef TOLUA_DISABLE
790
/* method: operator== of class Atlas::Message::Element */
791
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element__eq03
792
static int tolua_Atlas_Atlas_Message_Element__eq03(lua_State* tolua_S)
794
tolua_Error tolua_err;
796
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
797
!tolua_isuserdata(tolua_S,2,0,&tolua_err) ||
798
!tolua_isnoobj(tolua_S,3,&tolua_err)
803
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
804
void* v = ((void*) tolua_touserdata(tolua_S,2,0));
805
#ifndef TOLUA_RELEASE
806
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
809
bool tolua_ret = (bool) self->operator==(v);
810
tolua_pushboolean(tolua_S,(bool)tolua_ret);
815
return tolua_Atlas_Atlas_Message_Element__eq02(tolua_S);
817
#endif //#ifndef TOLUA_DISABLE
819
/* method: operator== of class Atlas::Message::Element */
820
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element__eq04
821
static int tolua_Atlas_Atlas_Message_Element__eq04(lua_State* tolua_S)
823
tolua_Error tolua_err;
825
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
826
!tolua_isstring_type(tolua_S,2,0,&tolua_err) ||
827
!tolua_isnoobj(tolua_S,3,&tolua_err)
832
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
833
const char* v = ((const char*) tolua_tostring(tolua_S,2,0));
834
#ifndef TOLUA_RELEASE
835
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
838
bool tolua_ret = (bool) self->operator==(v);
839
tolua_pushboolean(tolua_S,(bool)tolua_ret);
844
return tolua_Atlas_Atlas_Message_Element__eq03(tolua_S);
846
#endif //#ifndef TOLUA_DISABLE
848
/* method: operator== of class Atlas::Message::Element */
849
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element__eq05
850
static int tolua_Atlas_Atlas_Message_Element__eq05(lua_State* tolua_S)
852
tolua_Error tolua_err;
854
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
855
!tolua_iscppstring_type(tolua_S,2,0,&tolua_err) ||
856
!tolua_isnoobj(tolua_S,3,&tolua_err)
861
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
862
const std::string v = ((const std::string) tolua_tocppstring(tolua_S,2,0));
863
#ifndef TOLUA_RELEASE
864
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
867
bool tolua_ret = (bool) self->operator==(v);
868
tolua_pushboolean(tolua_S,(bool)tolua_ret);
869
tolua_pushcppstring(tolua_S,(const char*)v);
874
return tolua_Atlas_Atlas_Message_Element__eq04(tolua_S);
876
#endif //#ifndef TOLUA_DISABLE
878
/* method: operator== of class Atlas::Message::Element */
879
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element__eq06
880
static int tolua_Atlas_Atlas_Message_Element__eq06(lua_State* tolua_S)
882
tolua_Error tolua_err;
884
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
885
!tolua_isusertype(tolua_S,2,"const Atlas::Message::MapType",0,&tolua_err) ||
886
!tolua_isnoobj(tolua_S,3,&tolua_err)
891
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
892
const Atlas::Message::MapType* v = ((const Atlas::Message::MapType*) tolua_tousertype(tolua_S,2,0));
893
#ifndef TOLUA_RELEASE
894
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
897
bool tolua_ret = (bool) self->operator==(*v);
898
tolua_pushboolean(tolua_S,(bool)tolua_ret);
903
return tolua_Atlas_Atlas_Message_Element__eq05(tolua_S);
905
#endif //#ifndef TOLUA_DISABLE
907
/* method: operator== of class Atlas::Message::Element */
908
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element__eq07
909
static int tolua_Atlas_Atlas_Message_Element__eq07(lua_State* tolua_S)
911
tolua_Error tolua_err;
913
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
914
!tolua_isusertype(tolua_S,2,"const Atlas::Message::ListType",0,&tolua_err) ||
915
!tolua_isnoobj(tolua_S,3,&tolua_err)
920
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
921
const Atlas::Message::ListType* v = ((const Atlas::Message::ListType*) tolua_tousertype(tolua_S,2,0));
922
#ifndef TOLUA_RELEASE
923
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
926
bool tolua_ret = (bool) self->operator==(*v);
927
tolua_pushboolean(tolua_S,(bool)tolua_ret);
932
return tolua_Atlas_Atlas_Message_Element__eq06(tolua_S);
934
#endif //#ifndef TOLUA_DISABLE
936
/* method: getType of class Atlas::Message::Element */
937
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_getType00
938
static int tolua_Atlas_Atlas_Message_Element_getType00(lua_State* tolua_S)
940
#ifndef TOLUA_RELEASE
941
tolua_Error tolua_err;
943
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
944
!tolua_isnoobj(tolua_S,2,&tolua_err)
950
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
951
#ifndef TOLUA_RELEASE
952
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'getType'",NULL);
955
Atlas::Message::Element::Type tolua_ret = (Atlas::Message::Element::Type) self->getType();
956
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
960
#ifndef TOLUA_RELEASE
962
tolua_error(tolua_S,"#ferror in function 'getType'.",&tolua_err);
966
#endif //#ifndef TOLUA_DISABLE
968
/* method: isNone of class Atlas::Message::Element */
969
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_isNone00
970
static int tolua_Atlas_Atlas_Message_Element_isNone00(lua_State* tolua_S)
972
#ifndef TOLUA_RELEASE
973
tolua_Error tolua_err;
975
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
976
!tolua_isnoobj(tolua_S,2,&tolua_err)
982
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
983
#ifndef TOLUA_RELEASE
984
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isNone'",NULL);
987
bool tolua_ret = (bool) self->isNone();
988
tolua_pushboolean(tolua_S,(bool)tolua_ret);
992
#ifndef TOLUA_RELEASE
994
tolua_error(tolua_S,"#ferror in function 'isNone'.",&tolua_err);
998
#endif //#ifndef TOLUA_DISABLE
1000
/* method: isInt of class Atlas::Message::Element */
1001
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_isInt00
1002
static int tolua_Atlas_Atlas_Message_Element_isInt00(lua_State* tolua_S)
1004
#ifndef TOLUA_RELEASE
1005
tolua_Error tolua_err;
1007
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1008
!tolua_isnoobj(tolua_S,2,&tolua_err)
1014
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1015
#ifndef TOLUA_RELEASE
1016
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isInt'",NULL);
1019
bool tolua_ret = (bool) self->isInt();
1020
tolua_pushboolean(tolua_S,(bool)tolua_ret);
1024
#ifndef TOLUA_RELEASE
1026
tolua_error(tolua_S,"#ferror in function 'isInt'.",&tolua_err);
1030
#endif //#ifndef TOLUA_DISABLE
1032
/* method: isFloat of class Atlas::Message::Element */
1033
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_isFloat00
1034
static int tolua_Atlas_Atlas_Message_Element_isFloat00(lua_State* tolua_S)
1036
#ifndef TOLUA_RELEASE
1037
tolua_Error tolua_err;
1039
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1040
!tolua_isnoobj(tolua_S,2,&tolua_err)
1046
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1047
#ifndef TOLUA_RELEASE
1048
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isFloat'",NULL);
1051
bool tolua_ret = (bool) self->isFloat();
1052
tolua_pushboolean(tolua_S,(bool)tolua_ret);
1056
#ifndef TOLUA_RELEASE
1058
tolua_error(tolua_S,"#ferror in function 'isFloat'.",&tolua_err);
1062
#endif //#ifndef TOLUA_DISABLE
1064
/* method: isPtr of class Atlas::Message::Element */
1065
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_isPtr00
1066
static int tolua_Atlas_Atlas_Message_Element_isPtr00(lua_State* tolua_S)
1068
#ifndef TOLUA_RELEASE
1069
tolua_Error tolua_err;
1071
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1072
!tolua_isnoobj(tolua_S,2,&tolua_err)
1078
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1079
#ifndef TOLUA_RELEASE
1080
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isPtr'",NULL);
1083
bool tolua_ret = (bool) self->isPtr();
1084
tolua_pushboolean(tolua_S,(bool)tolua_ret);
1088
#ifndef TOLUA_RELEASE
1090
tolua_error(tolua_S,"#ferror in function 'isPtr'.",&tolua_err);
1094
#endif //#ifndef TOLUA_DISABLE
1096
/* method: isNum of class Atlas::Message::Element */
1097
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_isNum00
1098
static int tolua_Atlas_Atlas_Message_Element_isNum00(lua_State* tolua_S)
1100
#ifndef TOLUA_RELEASE
1101
tolua_Error tolua_err;
1103
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1104
!tolua_isnoobj(tolua_S,2,&tolua_err)
1110
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1111
#ifndef TOLUA_RELEASE
1112
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isNum'",NULL);
1115
bool tolua_ret = (bool) self->isNum();
1116
tolua_pushboolean(tolua_S,(bool)tolua_ret);
1120
#ifndef TOLUA_RELEASE
1122
tolua_error(tolua_S,"#ferror in function 'isNum'.",&tolua_err);
1126
#endif //#ifndef TOLUA_DISABLE
1128
/* method: isString of class Atlas::Message::Element */
1129
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_isString00
1130
static int tolua_Atlas_Atlas_Message_Element_isString00(lua_State* tolua_S)
1132
#ifndef TOLUA_RELEASE
1133
tolua_Error tolua_err;
1135
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1136
!tolua_isnoobj(tolua_S,2,&tolua_err)
1142
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1143
#ifndef TOLUA_RELEASE
1144
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isString'",NULL);
1147
bool tolua_ret = (bool) self->isString();
1148
tolua_pushboolean(tolua_S,(bool)tolua_ret);
1152
#ifndef TOLUA_RELEASE
1154
tolua_error(tolua_S,"#ferror in function 'isString'.",&tolua_err);
1158
#endif //#ifndef TOLUA_DISABLE
1160
/* method: isMap of class Atlas::Message::Element */
1161
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_isMap00
1162
static int tolua_Atlas_Atlas_Message_Element_isMap00(lua_State* tolua_S)
1164
#ifndef TOLUA_RELEASE
1165
tolua_Error tolua_err;
1167
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1168
!tolua_isnoobj(tolua_S,2,&tolua_err)
1174
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1175
#ifndef TOLUA_RELEASE
1176
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isMap'",NULL);
1179
bool tolua_ret = (bool) self->isMap();
1180
tolua_pushboolean(tolua_S,(bool)tolua_ret);
1184
#ifndef TOLUA_RELEASE
1186
tolua_error(tolua_S,"#ferror in function 'isMap'.",&tolua_err);
1190
#endif //#ifndef TOLUA_DISABLE
1192
/* method: isList of class Atlas::Message::Element */
1193
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_isList00
1194
static int tolua_Atlas_Atlas_Message_Element_isList00(lua_State* tolua_S)
1196
#ifndef TOLUA_RELEASE
1197
tolua_Error tolua_err;
1199
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1200
!tolua_isnoobj(tolua_S,2,&tolua_err)
1206
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1207
#ifndef TOLUA_RELEASE
1208
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'isList'",NULL);
1211
bool tolua_ret = (bool) self->isList();
1212
tolua_pushboolean(tolua_S,(bool)tolua_ret);
1216
#ifndef TOLUA_RELEASE
1218
tolua_error(tolua_S,"#ferror in function 'isList'.",&tolua_err);
1222
#endif //#ifndef TOLUA_DISABLE
1224
/* method: asInt of class Atlas::Message::Element */
1225
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asInt00
1226
static int tolua_Atlas_Atlas_Message_Element_asInt00(lua_State* tolua_S)
1228
#ifndef TOLUA_RELEASE
1229
tolua_Error tolua_err;
1231
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1232
!tolua_isnoobj(tolua_S,2,&tolua_err)
1238
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1239
#ifndef TOLUA_RELEASE
1240
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asInt'",NULL);
1243
long tolua_ret = (long) self->asInt();
1244
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
1248
#ifndef TOLUA_RELEASE
1250
tolua_error(tolua_S,"#ferror in function 'asInt'.",&tolua_err);
1254
#endif //#ifndef TOLUA_DISABLE
1256
/* method: Int of class Atlas::Message::Element */
1257
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_Int00
1258
static int tolua_Atlas_Atlas_Message_Element_Int00(lua_State* tolua_S)
1260
#ifndef TOLUA_RELEASE
1261
tolua_Error tolua_err;
1263
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1264
!tolua_isnoobj(tolua_S,2,&tolua_err)
1270
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1271
#ifndef TOLUA_RELEASE
1272
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Int'",NULL);
1275
long tolua_ret = (long) self->Int();
1276
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
1280
#ifndef TOLUA_RELEASE
1282
tolua_error(tolua_S,"#ferror in function 'Int'.",&tolua_err);
1286
#endif //#ifndef TOLUA_DISABLE
1288
/* method: asFloat of class Atlas::Message::Element */
1289
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asFloat00
1290
static int tolua_Atlas_Atlas_Message_Element_asFloat00(lua_State* tolua_S)
1292
#ifndef TOLUA_RELEASE
1293
tolua_Error tolua_err;
1295
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1296
!tolua_isnoobj(tolua_S,2,&tolua_err)
1302
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1303
#ifndef TOLUA_RELEASE
1304
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asFloat'",NULL);
1307
double tolua_ret = (double) self->asFloat();
1308
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
1312
#ifndef TOLUA_RELEASE
1314
tolua_error(tolua_S,"#ferror in function 'asFloat'.",&tolua_err);
1318
#endif //#ifndef TOLUA_DISABLE
1320
/* method: Float of class Atlas::Message::Element */
1321
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_Float00
1322
static int tolua_Atlas_Atlas_Message_Element_Float00(lua_State* tolua_S)
1324
#ifndef TOLUA_RELEASE
1325
tolua_Error tolua_err;
1327
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1328
!tolua_isnoobj(tolua_S,2,&tolua_err)
1334
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1335
#ifndef TOLUA_RELEASE
1336
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Float'",NULL);
1339
double tolua_ret = (double) self->Float();
1340
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
1344
#ifndef TOLUA_RELEASE
1346
tolua_error(tolua_S,"#ferror in function 'Float'.",&tolua_err);
1350
#endif //#ifndef TOLUA_DISABLE
1352
/* method: asNum of class Atlas::Message::Element */
1353
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asNum00
1354
static int tolua_Atlas_Atlas_Message_Element_asNum00(lua_State* tolua_S)
1356
#ifndef TOLUA_RELEASE
1357
tolua_Error tolua_err;
1359
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1360
!tolua_isnoobj(tolua_S,2,&tolua_err)
1366
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1367
#ifndef TOLUA_RELEASE
1368
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asNum'",NULL);
1371
double tolua_ret = (double) self->asNum();
1372
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
1376
#ifndef TOLUA_RELEASE
1378
tolua_error(tolua_S,"#ferror in function 'asNum'.",&tolua_err);
1382
#endif //#ifndef TOLUA_DISABLE
1384
/* method: asString of class Atlas::Message::Element */
1385
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asString00
1386
static int tolua_Atlas_Atlas_Message_Element_asString00(lua_State* tolua_S)
1388
#ifndef TOLUA_RELEASE
1389
tolua_Error tolua_err;
1391
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1392
!tolua_isnoobj(tolua_S,2,&tolua_err)
1398
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1399
#ifndef TOLUA_RELEASE
1400
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asString'",NULL);
1403
const std::string tolua_ret = (const std::string) self->asString();
1404
tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
1408
#ifndef TOLUA_RELEASE
1410
tolua_error(tolua_S,"#ferror in function 'asString'.",&tolua_err);
1414
#endif //#ifndef TOLUA_DISABLE
1416
/* method: asString of class Atlas::Message::Element */
1417
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asString01
1418
static int tolua_Atlas_Atlas_Message_Element_asString01(lua_State* tolua_S)
1420
tolua_Error tolua_err;
1422
!tolua_isusertype(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
1423
!tolua_isnoobj(tolua_S,2,&tolua_err)
1428
Atlas::Message::Element* self = (Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1429
#ifndef TOLUA_RELEASE
1430
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asString'",NULL);
1433
std::string tolua_ret = (std::string) self->asString();
1434
tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
1439
return tolua_Atlas_Atlas_Message_Element_asString00(tolua_S);
1441
#endif //#ifndef TOLUA_DISABLE
1443
/* method: String of class Atlas::Message::Element */
1444
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_String00
1445
static int tolua_Atlas_Atlas_Message_Element_String00(lua_State* tolua_S)
1447
#ifndef TOLUA_RELEASE
1448
tolua_Error tolua_err;
1450
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1451
!tolua_isnoobj(tolua_S,2,&tolua_err)
1457
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1458
#ifndef TOLUA_RELEASE
1459
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'String'",NULL);
1462
const std::string tolua_ret = (const std::string) self->String();
1463
tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
1467
#ifndef TOLUA_RELEASE
1469
tolua_error(tolua_S,"#ferror in function 'String'.",&tolua_err);
1473
#endif //#ifndef TOLUA_DISABLE
1475
/* method: String of class Atlas::Message::Element */
1476
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_String01
1477
static int tolua_Atlas_Atlas_Message_Element_String01(lua_State* tolua_S)
1479
tolua_Error tolua_err;
1481
!tolua_isusertype(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
1482
!tolua_isnoobj(tolua_S,2,&tolua_err)
1487
Atlas::Message::Element* self = (Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1488
#ifndef TOLUA_RELEASE
1489
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'String'",NULL);
1492
std::string tolua_ret = (std::string) self->String();
1493
tolua_pushcppstring(tolua_S,(const char*)tolua_ret);
1498
return tolua_Atlas_Atlas_Message_Element_String00(tolua_S);
1500
#endif //#ifndef TOLUA_DISABLE
1502
/* method: asMap of class Atlas::Message::Element */
1503
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asMap00
1504
static int tolua_Atlas_Atlas_Message_Element_asMap00(lua_State* tolua_S)
1506
#ifndef TOLUA_RELEASE
1507
tolua_Error tolua_err;
1509
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1510
!tolua_isnoobj(tolua_S,2,&tolua_err)
1516
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1517
#ifndef TOLUA_RELEASE
1518
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asMap'",NULL);
1521
const Atlas::Message::MapType& tolua_ret = (const Atlas::Message::MapType&) self->asMap();
1522
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::MapType");
1526
#ifndef TOLUA_RELEASE
1528
tolua_error(tolua_S,"#ferror in function 'asMap'.",&tolua_err);
1532
#endif //#ifndef TOLUA_DISABLE
1534
/* method: asMap of class Atlas::Message::Element */
1535
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asMap01
1536
static int tolua_Atlas_Atlas_Message_Element_asMap01(lua_State* tolua_S)
1538
tolua_Error tolua_err;
1540
!tolua_isusertype(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
1541
!tolua_isnoobj(tolua_S,2,&tolua_err)
1546
Atlas::Message::Element* self = (Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1547
#ifndef TOLUA_RELEASE
1548
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asMap'",NULL);
1551
Atlas::Message::MapType& tolua_ret = (Atlas::Message::MapType&) self->asMap();
1552
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"Atlas::Message::MapType");
1557
return tolua_Atlas_Atlas_Message_Element_asMap00(tolua_S);
1559
#endif //#ifndef TOLUA_DISABLE
1561
/* method: Map of class Atlas::Message::Element */
1562
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_Map00
1563
static int tolua_Atlas_Atlas_Message_Element_Map00(lua_State* tolua_S)
1565
#ifndef TOLUA_RELEASE
1566
tolua_Error tolua_err;
1568
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1569
!tolua_isnoobj(tolua_S,2,&tolua_err)
1575
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1576
#ifndef TOLUA_RELEASE
1577
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Map'",NULL);
1580
const Atlas::Message::MapType& tolua_ret = (const Atlas::Message::MapType&) self->Map();
1581
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::MapType");
1585
#ifndef TOLUA_RELEASE
1587
tolua_error(tolua_S,"#ferror in function 'Map'.",&tolua_err);
1591
#endif //#ifndef TOLUA_DISABLE
1593
/* method: Map of class Atlas::Message::Element */
1594
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_Map01
1595
static int tolua_Atlas_Atlas_Message_Element_Map01(lua_State* tolua_S)
1597
tolua_Error tolua_err;
1599
!tolua_isusertype(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
1600
!tolua_isnoobj(tolua_S,2,&tolua_err)
1605
Atlas::Message::Element* self = (Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1606
#ifndef TOLUA_RELEASE
1607
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'Map'",NULL);
1610
Atlas::Message::MapType& tolua_ret = (Atlas::Message::MapType&) self->Map();
1611
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"Atlas::Message::MapType");
1616
return tolua_Atlas_Atlas_Message_Element_Map00(tolua_S);
1618
#endif //#ifndef TOLUA_DISABLE
1620
/* method: asList of class Atlas::Message::Element */
1621
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asList00
1622
static int tolua_Atlas_Atlas_Message_Element_asList00(lua_State* tolua_S)
1624
#ifndef TOLUA_RELEASE
1625
tolua_Error tolua_err;
1627
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1628
!tolua_isnoobj(tolua_S,2,&tolua_err)
1634
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1635
#ifndef TOLUA_RELEASE
1636
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asList'",NULL);
1639
const Atlas::Message::ListType& tolua_ret = (const Atlas::Message::ListType&) self->asList();
1640
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::ListType");
1644
#ifndef TOLUA_RELEASE
1646
tolua_error(tolua_S,"#ferror in function 'asList'.",&tolua_err);
1650
#endif //#ifndef TOLUA_DISABLE
1652
/* method: asList of class Atlas::Message::Element */
1653
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_asList01
1654
static int tolua_Atlas_Atlas_Message_Element_asList01(lua_State* tolua_S)
1656
tolua_Error tolua_err;
1658
!tolua_isusertype(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
1659
!tolua_isnoobj(tolua_S,2,&tolua_err)
1664
Atlas::Message::Element* self = (Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1665
#ifndef TOLUA_RELEASE
1666
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'asList'",NULL);
1669
Atlas::Message::ListType& tolua_ret = (Atlas::Message::ListType&) self->asList();
1670
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"Atlas::Message::ListType");
1675
return tolua_Atlas_Atlas_Message_Element_asList00(tolua_S);
1677
#endif //#ifndef TOLUA_DISABLE
1679
/* method: List of class Atlas::Message::Element */
1680
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_List00
1681
static int tolua_Atlas_Atlas_Message_Element_List00(lua_State* tolua_S)
1683
#ifndef TOLUA_RELEASE
1684
tolua_Error tolua_err;
1686
!tolua_isusertype(tolua_S,1,"const Atlas::Message::Element",0,&tolua_err) ||
1687
!tolua_isnoobj(tolua_S,2,&tolua_err)
1693
const Atlas::Message::Element* self = (const Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1694
#ifndef TOLUA_RELEASE
1695
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'List'",NULL);
1698
const Atlas::Message::ListType& tolua_ret = (const Atlas::Message::ListType&) self->List();
1699
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::ListType");
1703
#ifndef TOLUA_RELEASE
1705
tolua_error(tolua_S,"#ferror in function 'List'.",&tolua_err);
1709
#endif //#ifndef TOLUA_DISABLE
1711
/* method: List of class Atlas::Message::Element */
1712
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_Element_List01
1713
static int tolua_Atlas_Atlas_Message_Element_List01(lua_State* tolua_S)
1715
tolua_Error tolua_err;
1717
!tolua_isusertype(tolua_S,1,"Atlas::Message::Element",0,&tolua_err) ||
1718
!tolua_isnoobj(tolua_S,2,&tolua_err)
1723
Atlas::Message::Element* self = (Atlas::Message::Element*) tolua_tousertype(tolua_S,1,0);
1724
#ifndef TOLUA_RELEASE
1725
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'List'",NULL);
1728
Atlas::Message::ListType& tolua_ret = (Atlas::Message::ListType&) self->List();
1729
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"Atlas::Message::ListType");
1734
return tolua_Atlas_Atlas_Message_Element_List00(tolua_S);
1736
#endif //#ifndef TOLUA_DISABLE
1738
/* get function: first of class value_type */
1739
#ifndef TOLUA_DISABLE_tolua_get_Atlas__Message__MapType__value_type_first
1740
static int tolua_get_Atlas__Message__MapType__value_type_first(lua_State* tolua_S)
1742
Atlas::Message::MapType::value_type* self = (Atlas::Message::MapType::value_type*) tolua_tousertype(tolua_S,1,0);
1743
#ifndef TOLUA_RELEASE
1744
if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'first'",NULL);
1746
tolua_pushcppstring(tolua_S,(const char*)self->first);
1749
#endif //#ifndef TOLUA_DISABLE
1751
/* get function: second of class value_type */
1752
#ifndef TOLUA_DISABLE_tolua_get_Atlas__Message__MapType__value_type_second_ref
1753
static int tolua_get_Atlas__Message__MapType__value_type_second_ref(lua_State* tolua_S)
1755
Atlas::Message::MapType::value_type* self = (Atlas::Message::MapType::value_type*) tolua_tousertype(tolua_S,1,0);
1756
#ifndef TOLUA_RELEASE
1757
if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'second'",NULL);
1759
tolua_pushusertype(tolua_S,(void*)&self->second,"Atlas::Message::Element");
1762
#endif //#ifndef TOLUA_DISABLE
1764
/* set function: second of class value_type */
1765
#ifndef TOLUA_DISABLE_tolua_set_Atlas__Message__MapType__value_type_second_ref
1766
static int tolua_set_Atlas__Message__MapType__value_type_second_ref(lua_State* tolua_S)
1768
Atlas::Message::MapType::value_type* self = (Atlas::Message::MapType::value_type*) tolua_tousertype(tolua_S,1,0);
1769
#ifndef TOLUA_RELEASE
1770
tolua_Error tolua_err;
1771
if (!self) tolua_error(tolua_S,"invalid 'self' in accessing variable 'second'",NULL);
1772
if (!tolua_isusertype(tolua_S,2,"Atlas::Message::Element",0,&tolua_err))
1773
tolua_error(tolua_S,"#vinvalid type in variable assignment.",&tolua_err);
1775
self->second = ((Atlas::Message::Element*) tolua_tousertype(tolua_S,2,0))
1779
#endif //#ifndef TOLUA_DISABLE
1781
/* method: operator* of class iterator */
1782
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_iterator__mul00
1783
static int tolua_Atlas_Atlas_Message_MapType_iterator__mul00(lua_State* tolua_S)
1785
#ifndef TOLUA_RELEASE
1786
tolua_Error tolua_err;
1788
!tolua_isusertype(tolua_S,1,"Atlas::Message::MapType::iterator",0,&tolua_err) ||
1789
!tolua_isnoobj(tolua_S,2,&tolua_err)
1795
Atlas::Message::MapType::iterator* self = (Atlas::Message::MapType::iterator*) tolua_tousertype(tolua_S,1,0);
1796
#ifndef TOLUA_RELEASE
1797
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator*'",NULL);
1800
Atlas::Message::MapType::value_type& tolua_ret = (Atlas::Message::MapType::value_type&) self->operator*();
1801
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"Atlas::Message::MapType::value_type");
1805
#ifndef TOLUA_RELEASE
1807
tolua_error(tolua_S,"#ferror in function '.mul'.",&tolua_err);
1811
#endif //#ifndef TOLUA_DISABLE
1813
/* method: operator== of class iterator */
1814
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_iterator__eq00
1815
static int tolua_Atlas_Atlas_Message_MapType_iterator__eq00(lua_State* tolua_S)
1817
#ifndef TOLUA_RELEASE
1818
tolua_Error tolua_err;
1820
!tolua_isusertype(tolua_S,1,"Atlas::Message::MapType::iterator",0,&tolua_err) ||
1821
!tolua_isusertype(tolua_S,2,"const Atlas::Message::MapType::iterator",0,&tolua_err) ||
1822
!tolua_isnoobj(tolua_S,3,&tolua_err)
1828
Atlas::Message::MapType::iterator* self = (Atlas::Message::MapType::iterator*) tolua_tousertype(tolua_S,1,0);
1829
const Atlas::Message::MapType::iterator* value = ((const Atlas::Message::MapType::iterator*) tolua_tousertype(tolua_S,2,0));
1830
#ifndef TOLUA_RELEASE
1831
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='",NULL);
1834
bool tolua_ret = (bool) self->operator==(*value);
1835
tolua_pushboolean(tolua_S,(bool)tolua_ret);
1839
#ifndef TOLUA_RELEASE
1841
tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err);
1845
#endif //#ifndef TOLUA_DISABLE
1847
/* method: clear of class Atlas::Message::MapType */
1848
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_clear00
1849
static int tolua_Atlas_Atlas_Message_MapType_clear00(lua_State* tolua_S)
1851
#ifndef TOLUA_RELEASE
1852
tolua_Error tolua_err;
1854
!tolua_isusertype(tolua_S,1,"Atlas::Message::MapType",0,&tolua_err) ||
1855
!tolua_isnoobj(tolua_S,2,&tolua_err)
1861
Atlas::Message::MapType* self = (Atlas::Message::MapType*) tolua_tousertype(tolua_S,1,0);
1862
#ifndef TOLUA_RELEASE
1863
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'clear'",NULL);
1870
#ifndef TOLUA_RELEASE
1872
tolua_error(tolua_S,"#ferror in function 'clear'.",&tolua_err);
1876
#endif //#ifndef TOLUA_DISABLE
1878
/* method: size of class Atlas::Message::MapType */
1879
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_size00
1880
static int tolua_Atlas_Atlas_Message_MapType_size00(lua_State* tolua_S)
1882
#ifndef TOLUA_RELEASE
1883
tolua_Error tolua_err;
1885
!tolua_isusertype(tolua_S,1,"const Atlas::Message::MapType",0,&tolua_err) ||
1886
!tolua_isnoobj(tolua_S,2,&tolua_err)
1892
const Atlas::Message::MapType* self = (const Atlas::Message::MapType*) tolua_tousertype(tolua_S,1,0);
1893
#ifndef TOLUA_RELEASE
1894
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'size'",NULL);
1897
int tolua_ret = (int) self->size();
1898
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
1902
#ifndef TOLUA_RELEASE
1904
tolua_error(tolua_S,"#ferror in function 'size'.",&tolua_err);
1908
#endif //#ifndef TOLUA_DISABLE
1910
/* method: find of class Atlas::Message::MapType */
1911
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_find00
1912
static int tolua_Atlas_Atlas_Message_MapType_find00(lua_State* tolua_S)
1914
#ifndef TOLUA_RELEASE
1915
tolua_Error tolua_err;
1917
!tolua_isusertype(tolua_S,1,"Atlas::Message::MapType",0,&tolua_err) ||
1918
!tolua_iscppstring_type(tolua_S,2,0,&tolua_err) ||
1919
!tolua_isnoobj(tolua_S,3,&tolua_err)
1925
Atlas::Message::MapType* self = (Atlas::Message::MapType*) tolua_tousertype(tolua_S,1,0);
1926
const std::string index = ((const std::string) tolua_tocppstring(tolua_S,2,0));
1927
#ifndef TOLUA_RELEASE
1928
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'find'",NULL);
1931
Atlas::Message::MapType::iterator tolua_ret = (Atlas::Message::MapType::iterator) self->find(index);
1934
void* tolua_obj = new Atlas::Message::MapType::iterator(tolua_ret);
1935
tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"Atlas::Message::MapType::iterator");
1937
void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Atlas::Message::MapType::iterator));
1938
tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"Atlas::Message::MapType::iterator");
1941
tolua_pushcppstring(tolua_S,(const char*)index);
1945
#ifndef TOLUA_RELEASE
1947
tolua_error(tolua_S,"#ferror in function 'find'.",&tolua_err);
1951
#endif //#ifndef TOLUA_DISABLE
1953
/* method: end of class Atlas::Message::MapType */
1954
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_theEnd00
1955
static int tolua_Atlas_Atlas_Message_MapType_theEnd00(lua_State* tolua_S)
1957
#ifndef TOLUA_RELEASE
1958
tolua_Error tolua_err;
1960
!tolua_isusertype(tolua_S,1,"Atlas::Message::MapType",0,&tolua_err) ||
1961
!tolua_isnoobj(tolua_S,2,&tolua_err)
1967
Atlas::Message::MapType* self = (Atlas::Message::MapType*) tolua_tousertype(tolua_S,1,0);
1968
#ifndef TOLUA_RELEASE
1969
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'end'",NULL);
1972
Atlas::Message::MapType::iterator tolua_ret = (Atlas::Message::MapType::iterator) self->end();
1975
void* tolua_obj = new Atlas::Message::MapType::iterator(tolua_ret);
1976
tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"Atlas::Message::MapType::iterator");
1978
void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Atlas::Message::MapType::iterator));
1979
tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"Atlas::Message::MapType::iterator");
1985
#ifndef TOLUA_RELEASE
1987
tolua_error(tolua_S,"#ferror in function 'theEnd'.",&tolua_err);
1991
#endif //#ifndef TOLUA_DISABLE
1993
/* method: _MapType_findInMap of class Atlas::Message::MapType */
1994
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_get00
1995
static int tolua_Atlas_Atlas_Message_MapType_get00(lua_State* tolua_S)
1997
#ifndef TOLUA_RELEASE
1998
tolua_Error tolua_err;
2000
!tolua_isusertype(tolua_S,1,"const Atlas::Message::MapType",0,&tolua_err) ||
2001
!tolua_iscppstring_type(tolua_S,2,0,&tolua_err) ||
2002
!tolua_isnoobj(tolua_S,3,&tolua_err)
2008
const Atlas::Message::MapType* self = (const Atlas::Message::MapType*) tolua_tousertype(tolua_S,1,0);
2009
const std::string index = ((const std::string) tolua_tocppstring(tolua_S,2,0));
2010
#ifndef TOLUA_RELEASE
2011
if (!self) tolua_error(tolua_S,"invalid 'self' in function '_MapType_findInMap'",NULL);
2014
const Atlas::Message::Element& tolua_ret = ( const Atlas::Message::Element&) _MapType_findInMap(self,index);
2015
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"const Atlas::Message::Element");
2016
tolua_pushcppstring(tolua_S,(const char*)index);
2020
#ifndef TOLUA_RELEASE
2022
tolua_error(tolua_S,"#ferror in function 'get'.",&tolua_err);
2026
#endif //#ifndef TOLUA_DISABLE
2028
/* method: __operator_index of class Atlas::Message::MapType */
2029
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_get01
2030
static int tolua_Atlas_Atlas_Message_MapType_get01(lua_State* tolua_S)
2032
tolua_Error tolua_err;
2034
!tolua_isusertype(tolua_S,1,"Atlas::Message::MapType",0,&tolua_err) ||
2035
!tolua_iscppstring_type(tolua_S,2,0,&tolua_err) ||
2036
!tolua_isnoobj(tolua_S,3,&tolua_err)
2041
Atlas::Message::MapType* self = (Atlas::Message::MapType*) tolua_tousertype(tolua_S,1,0);
2042
const std::string index = ((const std::string) tolua_tocppstring(tolua_S,2,0));
2043
#ifndef TOLUA_RELEASE
2044
if (!self) tolua_error(tolua_S,"invalid 'self' in function '__operator_index'",NULL);
2047
Atlas::Message::Element& tolua_ret = (Atlas::Message::Element&) self->__operator_index(index);
2048
tolua_pushusertype(tolua_S,(void*)&tolua_ret,"Atlas::Message::Element");
2049
tolua_pushcppstring(tolua_S,(const char*)index);
2054
return tolua_Atlas_Atlas_Message_MapType_get00(tolua_S);
2056
#endif //#ifndef TOLUA_DISABLE
2058
/* method: new of class Atlas::Message::MapType */
2059
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_new00
2060
static int tolua_Atlas_Atlas_Message_MapType_new00(lua_State* tolua_S)
2062
#ifndef TOLUA_RELEASE
2063
tolua_Error tolua_err;
2065
!tolua_isusertable(tolua_S,1,"Atlas::Message::MapType",0,&tolua_err) ||
2066
!tolua_isnoobj(tolua_S,2,&tolua_err)
2073
Atlas::Message::MapType* tolua_ret = (Atlas::Message::MapType*) new Atlas::Message::MapType();
2074
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::MapType");
2078
#ifndef TOLUA_RELEASE
2080
tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
2084
#endif //#ifndef TOLUA_DISABLE
2086
/* method: new_local of class Atlas::Message::MapType */
2087
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_new00_local
2088
static int tolua_Atlas_Atlas_Message_MapType_new00_local(lua_State* tolua_S)
2090
#ifndef TOLUA_RELEASE
2091
tolua_Error tolua_err;
2093
!tolua_isusertable(tolua_S,1,"Atlas::Message::MapType",0,&tolua_err) ||
2094
!tolua_isnoobj(tolua_S,2,&tolua_err)
2101
Atlas::Message::MapType* tolua_ret = (Atlas::Message::MapType*) new Atlas::Message::MapType();
2102
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::MapType");
2106
#ifndef TOLUA_RELEASE
2108
tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
2112
#endif //#ifndef TOLUA_DISABLE
2114
/* method: delete of class Atlas::Message::MapType */
2115
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_MapType_delete00
2116
static int tolua_Atlas_Atlas_Message_MapType_delete00(lua_State* tolua_S)
2118
#ifndef TOLUA_RELEASE
2119
tolua_Error tolua_err;
2121
!tolua_isusertype(tolua_S,1,"Atlas::Message::MapType",0,&tolua_err) ||
2122
!tolua_isnoobj(tolua_S,2,&tolua_err)
2128
Atlas::Message::MapType* self = (Atlas::Message::MapType*) tolua_tousertype(tolua_S,1,0);
2129
#ifndef TOLUA_RELEASE
2130
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
2135
#ifndef TOLUA_RELEASE
2137
tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
2141
#endif //#ifndef TOLUA_DISABLE
2143
/* method: clear of class Atlas::Message::ListType */
2144
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_clear00
2145
static int tolua_Atlas_Atlas_Message_ListType_clear00(lua_State* tolua_S)
2147
#ifndef TOLUA_RELEASE
2148
tolua_Error tolua_err;
2150
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2151
!tolua_isnoobj(tolua_S,2,&tolua_err)
2157
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2158
#ifndef TOLUA_RELEASE
2159
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'clear'",NULL);
2166
#ifndef TOLUA_RELEASE
2168
tolua_error(tolua_S,"#ferror in function 'clear'.",&tolua_err);
2172
#endif //#ifndef TOLUA_DISABLE
2174
/* method: size of class Atlas::Message::ListType */
2175
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_size00
2176
static int tolua_Atlas_Atlas_Message_ListType_size00(lua_State* tolua_S)
2178
#ifndef TOLUA_RELEASE
2179
tolua_Error tolua_err;
2181
!tolua_isusertype(tolua_S,1,"const Atlas::Message::ListType",0,&tolua_err) ||
2182
!tolua_isnoobj(tolua_S,2,&tolua_err)
2188
const Atlas::Message::ListType* self = (const Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2189
#ifndef TOLUA_RELEASE
2190
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'size'",NULL);
2193
int tolua_ret = (int) self->size();
2194
tolua_pushnumber(tolua_S,(lua_Number)tolua_ret);
2198
#ifndef TOLUA_RELEASE
2200
tolua_error(tolua_S,"#ferror in function 'size'.",&tolua_err);
2204
#endif //#ifndef TOLUA_DISABLE
2206
/* method: operator[] of class Atlas::Message::ListType */
2207
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType__geti00
2208
static int tolua_Atlas_Atlas_Message_ListType__geti00(lua_State* tolua_S)
2210
#ifndef TOLUA_RELEASE
2211
tolua_Error tolua_err;
2213
!tolua_isusertype(tolua_S,1,"const Atlas::Message::ListType",0,&tolua_err) ||
2214
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
2215
!tolua_isnoobj(tolua_S,3,&tolua_err)
2221
const Atlas::Message::ListType* self = (const Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2222
int index = ((int) tolua_tonumber(tolua_S,2,0));
2223
#ifndef TOLUA_RELEASE
2224
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator[]'",NULL);
2227
const Atlas::Message::Element tolua_ret = (const Atlas::Message::Element) self->operator[](index);
2230
void* tolua_obj = new Atlas::Message::Element(tolua_ret);
2231
tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"const Atlas::Message::Element");
2233
void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(const Atlas::Message::Element));
2234
tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"const Atlas::Message::Element");
2240
#ifndef TOLUA_RELEASE
2242
tolua_error(tolua_S,"#ferror in function '.geti'.",&tolua_err);
2246
#endif //#ifndef TOLUA_DISABLE
2248
/* method: operator&[] of class Atlas::Message::ListType */
2249
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType__seti00
2250
static int tolua_Atlas_Atlas_Message_ListType__seti00(lua_State* tolua_S)
2252
#ifndef TOLUA_RELEASE
2253
tolua_Error tolua_err;
2255
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2256
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
2257
!tolua_isusertype(tolua_S,3,"Atlas::Message::Element",0,&tolua_err) ||
2258
!tolua_isnoobj(tolua_S,4,&tolua_err)
2264
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2265
int index = ((int) tolua_tonumber(tolua_S,2,0));
2266
Atlas::Message::Element tolua_value = *((Atlas::Message::Element*) tolua_tousertype(tolua_S,3,0));
2267
#ifndef TOLUA_RELEASE
2268
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator&[]'",NULL);
2270
self->operator[](index) = tolua_value;
2273
#ifndef TOLUA_RELEASE
2275
tolua_error(tolua_S,"#ferror in function '.seti'.",&tolua_err);
2279
#endif //#ifndef TOLUA_DISABLE
2281
/* method: operator[] of class Atlas::Message::ListType */
2282
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType__geti01
2283
static int tolua_Atlas_Atlas_Message_ListType__geti01(lua_State* tolua_S)
2285
tolua_Error tolua_err;
2287
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2288
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
2289
!tolua_isnoobj(tolua_S,3,&tolua_err)
2294
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2295
int index = ((int) tolua_tonumber(tolua_S,2,0));
2296
#ifndef TOLUA_RELEASE
2297
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator[]'",NULL);
2300
Atlas::Message::Element tolua_ret = (Atlas::Message::Element) self->operator[](index);
2303
void* tolua_obj = new Atlas::Message::Element(tolua_ret);
2304
tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"Atlas::Message::Element");
2306
void* tolua_obj = tolua_copy(tolua_S,(void*)&tolua_ret,sizeof(Atlas::Message::Element));
2307
tolua_pushusertype_and_takeownership(tolua_S,tolua_obj,"Atlas::Message::Element");
2314
return tolua_Atlas_Atlas_Message_ListType__geti00(tolua_S);
2316
#endif //#ifndef TOLUA_DISABLE
2318
/* method: push_back of class Atlas::Message::ListType */
2319
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_push_back00
2320
static int tolua_Atlas_Atlas_Message_ListType_push_back00(lua_State* tolua_S)
2322
#ifndef TOLUA_RELEASE
2323
tolua_Error tolua_err;
2325
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2326
!tolua_isusertype(tolua_S,2,"Atlas::Message::Element",0,&tolua_err) ||
2327
!tolua_isnoobj(tolua_S,3,&tolua_err)
2333
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2334
Atlas::Message::Element val = *((Atlas::Message::Element*) tolua_tousertype(tolua_S,2,0));
2335
#ifndef TOLUA_RELEASE
2336
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'push_back'",NULL);
2339
self->push_back(val);
2343
#ifndef TOLUA_RELEASE
2345
tolua_error(tolua_S,"#ferror in function 'push_back'.",&tolua_err);
2349
#endif //#ifndef TOLUA_DISABLE
2351
/* method: push_back of class Atlas::Message::ListType */
2352
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_push_back01
2353
static int tolua_Atlas_Atlas_Message_ListType_push_back01(lua_State* tolua_S)
2355
tolua_Error tolua_err;
2357
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2358
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
2359
!tolua_isnoobj(tolua_S,3,&tolua_err)
2364
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2365
int val = ((int) tolua_tonumber(tolua_S,2,0));
2366
#ifndef TOLUA_RELEASE
2367
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'push_back'",NULL);
2370
self->push_back(val);
2375
return tolua_Atlas_Atlas_Message_ListType_push_back00(tolua_S);
2377
#endif //#ifndef TOLUA_DISABLE
2379
/* method: push_back of class Atlas::Message::ListType */
2380
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_push_back02
2381
static int tolua_Atlas_Atlas_Message_ListType_push_back02(lua_State* tolua_S)
2383
tolua_Error tolua_err;
2385
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2386
!tolua_isboolean(tolua_S,2,0,&tolua_err) ||
2387
!tolua_isnoobj(tolua_S,3,&tolua_err)
2392
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2393
bool val = ((bool) tolua_toboolean(tolua_S,2,0));
2394
#ifndef TOLUA_RELEASE
2395
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'push_back'",NULL);
2398
self->push_back(val);
2403
return tolua_Atlas_Atlas_Message_ListType_push_back01(tolua_S);
2405
#endif //#ifndef TOLUA_DISABLE
2407
/* method: push_back of class Atlas::Message::ListType */
2408
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_push_back03
2409
static int tolua_Atlas_Atlas_Message_ListType_push_back03(lua_State* tolua_S)
2411
tolua_Error tolua_err;
2413
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2414
!tolua_isnumber_type(tolua_S,2,0,&tolua_err) ||
2415
!tolua_isnoobj(tolua_S,3,&tolua_err)
2420
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2421
double val = ((double) tolua_tonumber(tolua_S,2,0));
2422
#ifndef TOLUA_RELEASE
2423
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'push_back'",NULL);
2426
self->push_back(val);
2431
return tolua_Atlas_Atlas_Message_ListType_push_back02(tolua_S);
2433
#endif //#ifndef TOLUA_DISABLE
2435
/* method: push_back of class Atlas::Message::ListType */
2436
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_push_back04
2437
static int tolua_Atlas_Atlas_Message_ListType_push_back04(lua_State* tolua_S)
2439
tolua_Error tolua_err;
2441
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2442
!tolua_isstring_type(tolua_S,2,0,&tolua_err) ||
2443
!tolua_isnoobj(tolua_S,3,&tolua_err)
2448
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2449
const char* val = ((const char*) tolua_tostring(tolua_S,2,0));
2450
#ifndef TOLUA_RELEASE
2451
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'push_back'",NULL);
2454
self->push_back(val);
2459
return tolua_Atlas_Atlas_Message_ListType_push_back03(tolua_S);
2461
#endif //#ifndef TOLUA_DISABLE
2463
/* method: push_back of class Atlas::Message::ListType */
2464
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_push_back05
2465
static int tolua_Atlas_Atlas_Message_ListType_push_back05(lua_State* tolua_S)
2467
tolua_Error tolua_err;
2469
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2470
!tolua_iscppstring_type(tolua_S,2,0,&tolua_err) ||
2471
!tolua_isnoobj(tolua_S,3,&tolua_err)
2476
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2477
const std::string val = ((const std::string) tolua_tocppstring(tolua_S,2,0));
2478
#ifndef TOLUA_RELEASE
2479
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'push_back'",NULL);
2482
self->push_back(val);
2483
tolua_pushcppstring(tolua_S,(const char*)val);
2488
return tolua_Atlas_Atlas_Message_ListType_push_back04(tolua_S);
2490
#endif //#ifndef TOLUA_DISABLE
2492
/* method: new of class Atlas::Message::ListType */
2493
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_new00
2494
static int tolua_Atlas_Atlas_Message_ListType_new00(lua_State* tolua_S)
2496
#ifndef TOLUA_RELEASE
2497
tolua_Error tolua_err;
2499
!tolua_isusertable(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2500
!tolua_isnoobj(tolua_S,2,&tolua_err)
2507
Atlas::Message::ListType* tolua_ret = (Atlas::Message::ListType*) new Atlas::Message::ListType();
2508
tolua_pushusertype(tolua_S,(void*)tolua_ret,"Atlas::Message::ListType");
2512
#ifndef TOLUA_RELEASE
2514
tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
2518
#endif //#ifndef TOLUA_DISABLE
2520
/* method: new_local of class Atlas::Message::ListType */
2521
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_new00_local
2522
static int tolua_Atlas_Atlas_Message_ListType_new00_local(lua_State* tolua_S)
2524
#ifndef TOLUA_RELEASE
2525
tolua_Error tolua_err;
2527
!tolua_isusertable(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2528
!tolua_isnoobj(tolua_S,2,&tolua_err)
2535
Atlas::Message::ListType* tolua_ret = (Atlas::Message::ListType*) new Atlas::Message::ListType();
2536
tolua_pushusertype_and_takeownership(tolua_S,(void *)tolua_ret,"Atlas::Message::ListType");
2540
#ifndef TOLUA_RELEASE
2542
tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err);
2546
#endif //#ifndef TOLUA_DISABLE
2548
/* method: delete of class Atlas::Message::ListType */
2549
#ifndef TOLUA_DISABLE_tolua_Atlas_Atlas_Message_ListType_delete00
2550
static int tolua_Atlas_Atlas_Message_ListType_delete00(lua_State* tolua_S)
2552
#ifndef TOLUA_RELEASE
2553
tolua_Error tolua_err;
2555
!tolua_isusertype(tolua_S,1,"Atlas::Message::ListType",0,&tolua_err) ||
2556
!tolua_isnoobj(tolua_S,2,&tolua_err)
2562
Atlas::Message::ListType* self = (Atlas::Message::ListType*) tolua_tousertype(tolua_S,1,0);
2563
#ifndef TOLUA_RELEASE
2564
if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'",NULL);
2569
#ifndef TOLUA_RELEASE
2571
tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err);
2575
#endif //#ifndef TOLUA_DISABLE
2578
TOLUA_API int tolua_Atlas_open (lua_State* tolua_S)
2580
tolua_open(tolua_S);
2581
tolua_reg_types(tolua_S);
2582
tolua_module(tolua_S,NULL,0);
2583
tolua_beginmodule(tolua_S,NULL);
2584
tolua_module(tolua_S,"Atlas",0);
2585
tolua_beginmodule(tolua_S,"Atlas");
2586
tolua_module(tolua_S,"Message",0);
2587
tolua_beginmodule(tolua_S,"Message");
2589
tolua_cclass(tolua_S,"Element","Atlas::Message::Element","",tolua_collect_Atlas__Message__Element);
2591
tolua_cclass(tolua_S,"Element","Atlas::Message::Element","",NULL);
2593
tolua_beginmodule(tolua_S,"Element");
2594
tolua_constant(tolua_S,"TYPE_NONE",Atlas::Message::Element::TYPE_NONE);
2595
tolua_constant(tolua_S,"TYPE_INT",Atlas::Message::Element::TYPE_INT);
2596
tolua_constant(tolua_S,"TYPE_FLOAT",Atlas::Message::Element::TYPE_FLOAT);
2597
tolua_constant(tolua_S,"TYPE_PTR",Atlas::Message::Element::TYPE_PTR);
2598
tolua_constant(tolua_S,"TYPE_STRING",Atlas::Message::Element::TYPE_STRING);
2599
tolua_constant(tolua_S,"TYPE_MAP",Atlas::Message::Element::TYPE_MAP);
2600
tolua_constant(tolua_S,"TYPE_LIST",Atlas::Message::Element::TYPE_LIST);
2601
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new00);
2602
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new00_local);
2603
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new00_local);
2604
tolua_function(tolua_S,"delete",tolua_Atlas_Atlas_Message_Element_delete00);
2605
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new01);
2606
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new01_local);
2607
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new01_local);
2608
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new02);
2609
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new02_local);
2610
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new02_local);
2611
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new03);
2612
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new03_local);
2613
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new03_local);
2614
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new04);
2615
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new04_local);
2616
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new04_local);
2617
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new05);
2618
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new05_local);
2619
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new05_local);
2620
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new06);
2621
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new06_local);
2622
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new06_local);
2623
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new07);
2624
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new07_local);
2625
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new07_local);
2626
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new08);
2627
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new08_local);
2628
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new08_local);
2629
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new09);
2630
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new09_local);
2631
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new09_local);
2632
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new10);
2633
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new10_local);
2634
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new10_local);
2635
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_Element_new11);
2636
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_Element_new11_local);
2637
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_Element_new11_local);
2638
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_Element__eq00);
2639
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_Element__eq01);
2640
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_Element__eq02);
2641
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_Element__eq03);
2642
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_Element__eq04);
2643
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_Element__eq05);
2644
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_Element__eq06);
2645
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_Element__eq07);
2646
tolua_function(tolua_S,"getType",tolua_Atlas_Atlas_Message_Element_getType00);
2647
tolua_function(tolua_S,"isNone",tolua_Atlas_Atlas_Message_Element_isNone00);
2648
tolua_function(tolua_S,"isInt",tolua_Atlas_Atlas_Message_Element_isInt00);
2649
tolua_function(tolua_S,"isFloat",tolua_Atlas_Atlas_Message_Element_isFloat00);
2650
tolua_function(tolua_S,"isPtr",tolua_Atlas_Atlas_Message_Element_isPtr00);
2651
tolua_function(tolua_S,"isNum",tolua_Atlas_Atlas_Message_Element_isNum00);
2652
tolua_function(tolua_S,"isString",tolua_Atlas_Atlas_Message_Element_isString00);
2653
tolua_function(tolua_S,"isMap",tolua_Atlas_Atlas_Message_Element_isMap00);
2654
tolua_function(tolua_S,"isList",tolua_Atlas_Atlas_Message_Element_isList00);
2655
tolua_function(tolua_S,"asInt",tolua_Atlas_Atlas_Message_Element_asInt00);
2656
tolua_function(tolua_S,"Int",tolua_Atlas_Atlas_Message_Element_Int00);
2657
tolua_function(tolua_S,"asFloat",tolua_Atlas_Atlas_Message_Element_asFloat00);
2658
tolua_function(tolua_S,"Float",tolua_Atlas_Atlas_Message_Element_Float00);
2659
tolua_function(tolua_S,"asNum",tolua_Atlas_Atlas_Message_Element_asNum00);
2660
tolua_function(tolua_S,"asString",tolua_Atlas_Atlas_Message_Element_asString00);
2661
tolua_function(tolua_S,"asString",tolua_Atlas_Atlas_Message_Element_asString01);
2662
tolua_function(tolua_S,"String",tolua_Atlas_Atlas_Message_Element_String00);
2663
tolua_function(tolua_S,"String",tolua_Atlas_Atlas_Message_Element_String01);
2664
tolua_function(tolua_S,"asMap",tolua_Atlas_Atlas_Message_Element_asMap00);
2665
tolua_function(tolua_S,"asMap",tolua_Atlas_Atlas_Message_Element_asMap01);
2666
tolua_function(tolua_S,"Map",tolua_Atlas_Atlas_Message_Element_Map00);
2667
tolua_function(tolua_S,"Map",tolua_Atlas_Atlas_Message_Element_Map01);
2668
tolua_function(tolua_S,"asList",tolua_Atlas_Atlas_Message_Element_asList00);
2669
tolua_function(tolua_S,"asList",tolua_Atlas_Atlas_Message_Element_asList01);
2670
tolua_function(tolua_S,"List",tolua_Atlas_Atlas_Message_Element_List00);
2671
tolua_function(tolua_S,"List",tolua_Atlas_Atlas_Message_Element_List01);
2672
tolua_endmodule(tolua_S);
2674
tolua_cclass(tolua_S,"MapType","Atlas::Message::MapType","",tolua_collect_Atlas__Message__MapType);
2676
tolua_cclass(tolua_S,"MapType","Atlas::Message::MapType","",NULL);
2678
tolua_beginmodule(tolua_S,"MapType");
2679
tolua_cclass(tolua_S,"value_type","Atlas::Message::MapType::value_type","",NULL);
2680
tolua_beginmodule(tolua_S,"value_type");
2681
tolua_variable(tolua_S,"first",tolua_get_Atlas__Message__MapType__value_type_first,NULL);
2682
tolua_variable(tolua_S,"second",tolua_get_Atlas__Message__MapType__value_type_second_ref,tolua_set_Atlas__Message__MapType__value_type_second_ref);
2683
tolua_endmodule(tolua_S);
2685
tolua_cclass(tolua_S,"iterator","Atlas::Message::MapType::iterator","",tolua_collect_Atlas__Message__MapType__iterator);
2687
tolua_cclass(tolua_S,"iterator","Atlas::Message::MapType::iterator","",NULL);
2689
tolua_beginmodule(tolua_S,"iterator");
2690
tolua_function(tolua_S,".mul",tolua_Atlas_Atlas_Message_MapType_iterator__mul00);
2691
tolua_function(tolua_S,".eq",tolua_Atlas_Atlas_Message_MapType_iterator__eq00);
2692
tolua_endmodule(tolua_S);
2693
tolua_function(tolua_S,"clear",tolua_Atlas_Atlas_Message_MapType_clear00);
2694
tolua_function(tolua_S,"size",tolua_Atlas_Atlas_Message_MapType_size00);
2695
tolua_function(tolua_S,"find",tolua_Atlas_Atlas_Message_MapType_find00);
2696
tolua_function(tolua_S,"theEnd",tolua_Atlas_Atlas_Message_MapType_theEnd00);
2697
tolua_function(tolua_S,"get",tolua_Atlas_Atlas_Message_MapType_get00);
2698
tolua_function(tolua_S,"get",tolua_Atlas_Atlas_Message_MapType_get01);
2699
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_MapType_new00);
2700
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_MapType_new00_local);
2701
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_MapType_new00_local);
2702
tolua_function(tolua_S,"delete",tolua_Atlas_Atlas_Message_MapType_delete00);
2703
tolua_endmodule(tolua_S);
2705
tolua_cclass(tolua_S,"ListType","Atlas::Message::ListType","",tolua_collect_Atlas__Message__ListType);
2707
tolua_cclass(tolua_S,"ListType","Atlas::Message::ListType","",NULL);
2709
tolua_beginmodule(tolua_S,"ListType");
2710
tolua_function(tolua_S,"clear",tolua_Atlas_Atlas_Message_ListType_clear00);
2711
tolua_function(tolua_S,"size",tolua_Atlas_Atlas_Message_ListType_size00);
2712
tolua_function(tolua_S,".geti",tolua_Atlas_Atlas_Message_ListType__geti00);
2713
tolua_function(tolua_S,".seti",tolua_Atlas_Atlas_Message_ListType__seti00);
2714
tolua_function(tolua_S,".geti",tolua_Atlas_Atlas_Message_ListType__geti01);
2715
tolua_function(tolua_S,"push_back",tolua_Atlas_Atlas_Message_ListType_push_back00);
2716
tolua_function(tolua_S,"push_back",tolua_Atlas_Atlas_Message_ListType_push_back01);
2717
tolua_function(tolua_S,"push_back",tolua_Atlas_Atlas_Message_ListType_push_back02);
2718
tolua_function(tolua_S,"push_back",tolua_Atlas_Atlas_Message_ListType_push_back03);
2719
tolua_function(tolua_S,"push_back",tolua_Atlas_Atlas_Message_ListType_push_back04);
2720
tolua_function(tolua_S,"push_back",tolua_Atlas_Atlas_Message_ListType_push_back05);
2721
tolua_function(tolua_S,"new",tolua_Atlas_Atlas_Message_ListType_new00);
2722
tolua_function(tolua_S,"new_local",tolua_Atlas_Atlas_Message_ListType_new00_local);
2723
tolua_function(tolua_S,".call",tolua_Atlas_Atlas_Message_ListType_new00_local);
2724
tolua_function(tolua_S,"delete",tolua_Atlas_Atlas_Message_ListType_delete00);
2725
tolua_endmodule(tolua_S);
2726
tolua_endmodule(tolua_S);
2727
tolua_endmodule(tolua_S);
2729
{ /* begin embedded lua code */
2730
int top = lua_gettop(tolua_S);
2731
static unsigned char B[] = {
2732
10,102,117,110, 99,116,105,111,110, 32, 65,116,108, 97,115,
2733
46, 77,101,115,115, 97,103,101, 46, 76,105,115,116, 84,121,
2734
112,101, 58,112, 97,105,114,115, 40, 41, 10,114,101,116,117,
2735
114,110, 32,102,117,110, 99,116,105,111,110, 40, 97, 44, 32,
2736
105, 41, 10,105, 32, 61, 32,105, 32, 43, 32, 49, 10,105,102,
2737
32,105, 32, 60, 32, 97, 58,115,105,122,101, 40, 41, 32,116,
2738
104,101,110, 10,114,101,116,117,114,110, 32,105, 44, 32, 97,
2739
91,105, 93, 10,101,110,100, 10,101,110,100, 44, 32,115,101,
2740
108,102, 44, 32, 45, 49, 10,101,110,100,32
2742
tolua_dobuffer(tolua_S,(char*)B,sizeof(B),"tolua: embedded Lua code 1");
2743
lua_settop(tolua_S, top);
2744
} /* end of embedded lua code */
2746
tolua_endmodule(tolua_S);
2751
#if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501
2752
TOLUA_API int luaopen_Atlas (lua_State* tolua_S) {
2753
return tolua_Atlas_open(tolua_S);