2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADASaxFrameworkLoader.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
12
#include "COLLADASaxFWLStableHeaders.h"
13
#include "COLLADASaxFWLLibraryArticulatedSystemsLoader15.h"
16
namespace COLLADASaxFWL
20
bool LibraryArticulatedSystemsLoader15::end__library_articulated_systems()
22
SaxVirtualFunctionTest15(end__library_articulated_systems());
23
return mLoader->end__library_articulated_systems();
27
bool LibraryArticulatedSystemsLoader15::begin__articulated_system( const COLLADASaxFWL15::articulated_system__AttributeData& attributeData )
29
SaxVirtualFunctionTest15(begin__articulated_system(attributeData));
30
COLLADASaxFWL::articulated_system__AttributeData attrData;
31
attrData.id = attributeData.id;
32
attrData.name = attributeData.name;
33
return mLoader->begin__articulated_system(attrData);
37
bool LibraryArticulatedSystemsLoader15::end__articulated_system()
39
SaxVirtualFunctionTest15(end__articulated_system());
40
return mLoader->end__articulated_system();
44
bool LibraryArticulatedSystemsLoader15::begin__kinematics()
46
SaxVirtualFunctionTest15(begin__kinematics());
47
return mLoader->begin__kinematics();
51
bool LibraryArticulatedSystemsLoader15::end__kinematics()
53
SaxVirtualFunctionTest15(end__kinematics());
54
return mLoader->end__kinematics();
58
bool LibraryArticulatedSystemsLoader15::begin__instance_kinematics_model( const COLLADASaxFWL15::instance_kinematics_model__AttributeData& attributeData )
60
SaxVirtualFunctionTest15(begin__instance_kinematics_model(attributeData));
61
COLLADASaxFWL::instance_kinematics_model__AttributeData attrData;
62
attrData.present_attributes = attributeData.present_attributes;
63
attrData.url = attributeData.url;
64
attrData.sid = attributeData.sid;
65
attrData.name = attributeData.name;
66
return mLoader->begin__instance_kinematics_model(attrData);
70
bool LibraryArticulatedSystemsLoader15::end__instance_kinematics_model()
72
SaxVirtualFunctionTest15(end__instance_kinematics_model());
73
return mLoader->end__instance_kinematics_model();
77
bool LibraryArticulatedSystemsLoader15::begin__newparam____kinematics_newparam_type( const COLLADASaxFWL15::newparam____kinematics_newparam_type__AttributeData& attributeData )
79
SaxVirtualFunctionTest15(begin__newparam____kinematics_newparam_type(attributeData));
80
COLLADASaxFWL::newparam____kinematics_newparam_type__AttributeData attrData;
81
attrData.sid = attributeData.sid;
82
return mLoader->begin__newparam____kinematics_newparam_type(attrData);
86
bool LibraryArticulatedSystemsLoader15::end__newparam____kinematics_newparam_type()
88
SaxVirtualFunctionTest15(end__newparam____kinematics_newparam_type());
89
return mLoader->end__newparam____kinematics_newparam_type();
93
bool LibraryArticulatedSystemsLoader15::begin__bind____kinematics_bind_type( const COLLADASaxFWL15::bind____kinematics_bind_type__AttributeData& attributeData )
95
SaxVirtualFunctionTest15(begin__bind____kinematics_bind_type(attributeData));
96
COLLADASaxFWL::bind____kinematics_bind_type__AttributeData attrData;
97
attrData.symbol = attributeData.symbol;
98
return mLoader->begin__bind____kinematics_bind_type(attrData);
102
bool LibraryArticulatedSystemsLoader15::begin__float____float_type()
104
SaxVirtualFunctionTest15(begin__float____float_type());
105
return mLoader->begin__float();
109
bool LibraryArticulatedSystemsLoader15::end__float____float_type()
111
SaxVirtualFunctionTest15(end__float____float_type());
112
return mLoader->end__float();
116
bool LibraryArticulatedSystemsLoader15::data__float____float_type( float value )
118
SaxVirtualFunctionTest15(data__float____float_type(value));
119
return mLoader->data__float(value);
123
bool LibraryArticulatedSystemsLoader15::begin__int____int_type()
125
SaxVirtualFunctionTest15(begin__int____int_type());
126
return mLoader->begin__int();
130
bool LibraryArticulatedSystemsLoader15::end__int____int_type()
132
SaxVirtualFunctionTest15(end__int____int_type());
133
return mLoader->end__int();
137
bool LibraryArticulatedSystemsLoader15::data__int____int_type( sint64 value )
139
SaxVirtualFunctionTest15(data__int____int_type(value));
140
return mLoader->data__int(value);
144
bool LibraryArticulatedSystemsLoader15::begin__bool()
146
SaxVirtualFunctionTest15(begin__bool());
147
return mLoader->begin__bool();
151
bool LibraryArticulatedSystemsLoader15::end__bool()
153
SaxVirtualFunctionTest15(end__bool());
154
return mLoader->end__bool();
158
bool LibraryArticulatedSystemsLoader15::data__bool( bool value )
160
SaxVirtualFunctionTest15(data__bool(value));
161
return mLoader->data__bool(value);
165
bool LibraryArticulatedSystemsLoader15::begin__SIDREF()
167
SaxVirtualFunctionTest15(begin__SIDREF());
168
return mLoader->begin__SIDREF();
172
bool LibraryArticulatedSystemsLoader15::end__SIDREF()
174
SaxVirtualFunctionTest15(end__SIDREF());
175
return mLoader->end__SIDREF();
179
bool LibraryArticulatedSystemsLoader15::data__SIDREF( const ParserChar* value, size_t length )
181
SaxVirtualFunctionTest15(data__SIDREF(value, length));
182
return mLoader->data__SIDREF(value, length);
186
bool LibraryArticulatedSystemsLoader15::end__bind____kinematics_bind_type()
188
SaxVirtualFunctionTest15(end__bind____kinematics_bind_type());
189
return mLoader->end__bind____kinematics_bind_type();
193
bool LibraryArticulatedSystemsLoader15::begin__param____kinematics_param_type( const COLLADASaxFWL15::param____kinematics_param_type__AttributeData& attributeData )
195
SaxVirtualFunctionTest15(begin__param____kinematics_param_type(attributeData));
196
COLLADASaxFWL::param____kinematics_param_type__AttributeData attrData;
197
attrData.ref = attributeData.ref;
198
return mLoader->begin__param____kinematics_param_type(attrData);
202
bool LibraryArticulatedSystemsLoader15::end__param____kinematics_param_type()
204
SaxVirtualFunctionTest15(end__param____kinematics_param_type());
205
return mLoader->end__param____kinematics_param_type();
209
bool LibraryArticulatedSystemsLoader15::begin__setparam____kinematics_setparam_type( const COLLADASaxFWL15::setparam____kinematics_setparam_type__AttributeData& attributeData )
211
SaxVirtualFunctionTest15(begin__setparam____kinematics_setparam_type(attributeData));
212
COLLADASaxFWL::setparam____kinematics_setparam_type__AttributeData attrData;
213
attrData.ref = attributeData.ref;
214
return mLoader->begin__setparam____kinematics_setparam_type(attrData);
218
bool LibraryArticulatedSystemsLoader15::end__setparam____kinematics_setparam_type()
220
SaxVirtualFunctionTest15(end__setparam____kinematics_setparam_type());
221
return mLoader->end__setparam____kinematics_setparam_type();
225
bool LibraryArticulatedSystemsLoader15::begin__technique_common____kinematics_technique_type()
227
SaxVirtualFunctionTest15(begin__technique_common____kinematics_technique_type());
228
return mLoader->begin__technique_common____kinematics_technique_type();
232
bool LibraryArticulatedSystemsLoader15::end__technique_common____kinematics_technique_type()
234
SaxVirtualFunctionTest15(end__technique_common____kinematics_technique_type());
235
return mLoader->end__technique_common____kinematics_technique_type();
239
bool LibraryArticulatedSystemsLoader15::begin__axis_info____kinematics_axis_info_type( const COLLADASaxFWL15::axis_info____kinematics_axis_info_type__AttributeData& attributeData )
241
SaxVirtualFunctionTest15(begin__axis_info____kinematics_axis_info_type(attributeData));
242
COLLADASaxFWL::axis_info____kinematics_axis_info_type__AttributeData attrData;
243
attrData.sid = attributeData.sid;
244
attrData.name = attributeData.name;
245
attrData.axis = attributeData.axis;
246
return mLoader->begin__axis_info____kinematics_axis_info_type(attrData);
250
bool LibraryArticulatedSystemsLoader15::end__axis_info____kinematics_axis_info_type()
252
SaxVirtualFunctionTest15(end__axis_info____kinematics_axis_info_type());
253
return mLoader->end__axis_info____kinematics_axis_info_type();
257
bool LibraryArticulatedSystemsLoader15::begin__active()
259
SaxVirtualFunctionTest15(begin__active());
260
return mLoader->begin__active();
264
bool LibraryArticulatedSystemsLoader15::end__active()
266
SaxVirtualFunctionTest15(end__active());
267
return mLoader->end__active();
271
bool LibraryArticulatedSystemsLoader15::begin__locked()
273
SaxVirtualFunctionTest15(begin__locked());
274
return mLoader->begin__locked();
278
bool LibraryArticulatedSystemsLoader15::end__locked()
280
SaxVirtualFunctionTest15(end__locked());
281
return mLoader->end__locked();
285
bool LibraryArticulatedSystemsLoader15::begin__index( const COLLADASaxFWL15::index__AttributeData& attributeData )
287
SaxVirtualFunctionTest15(begin__index(attributeData));
288
COLLADASaxFWL::index__AttributeData attrData;
289
attrData.semantic = attributeData.semantic;
290
return mLoader->begin__index(attrData);
294
bool LibraryArticulatedSystemsLoader15::end__index()
296
SaxVirtualFunctionTest15(end__index());
297
return mLoader->end__index();
301
bool LibraryArticulatedSystemsLoader15::begin__limits____kinematics_limits_type()
303
SaxVirtualFunctionTest15(begin__limits____kinematics_limits_type());
304
return mLoader->begin__limits____kinematics_limits_type();
308
bool LibraryArticulatedSystemsLoader15::end__limits____kinematics_limits_type()
310
SaxVirtualFunctionTest15(end__limits____kinematics_limits_type());
311
return mLoader->end__limits____kinematics_limits_type();
315
bool LibraryArticulatedSystemsLoader15::begin__min____common_float_or_param_type()
317
SaxVirtualFunctionTest15(begin__min____common_float_or_param_type());
318
return mLoader->begin__min____common_float_or_param_type();
322
bool LibraryArticulatedSystemsLoader15::end__min____common_float_or_param_type()
324
SaxVirtualFunctionTest15(end__min____common_float_or_param_type());
325
return mLoader->end__min____common_float_or_param_type();
329
bool LibraryArticulatedSystemsLoader15::begin__max____common_float_or_param_type()
331
SaxVirtualFunctionTest15(begin__max____common_float_or_param_type());
332
return mLoader->begin__max____common_float_or_param_type();
336
bool LibraryArticulatedSystemsLoader15::end__max____common_float_or_param_type()
338
SaxVirtualFunctionTest15(end__max____common_float_or_param_type());
339
return mLoader->end__max____common_float_or_param_type();
343
bool LibraryArticulatedSystemsLoader15::begin__frame_origin( const COLLADASaxFWL15::frame_origin__AttributeData& attributeData )
345
SaxVirtualFunctionTest15(begin__frame_origin(attributeData));
346
COLLADASaxFWL::frame__AttributeData attrData;
347
attrData.link = attributeData.link;
348
return mLoader->begin__frame_origin(attrData);
352
bool LibraryArticulatedSystemsLoader15::end__frame_origin()
354
SaxVirtualFunctionTest15(end__frame_origin());
355
return mLoader->end__frame_origin();
359
bool LibraryArticulatedSystemsLoader15::begin__frame_tip( const COLLADASaxFWL15::frame_tip__AttributeData& attributeData )
361
SaxVirtualFunctionTest15(begin__frame_tip(attributeData));
362
COLLADASaxFWL::frame__AttributeData attrData;
363
attrData.link = attributeData.link;
364
return mLoader->begin__frame_tip(attrData);
368
bool LibraryArticulatedSystemsLoader15::end__frame_tip()
370
SaxVirtualFunctionTest15(end__frame_tip());
371
return mLoader->end__frame_tip();
375
bool LibraryArticulatedSystemsLoader15::begin__frame_tcp( const COLLADASaxFWL15::frame_tcp__AttributeData& attributeData )
377
SaxVirtualFunctionTest15(begin__frame_tcp(attributeData));
378
COLLADASaxFWL::frame__AttributeData attrData;
379
attrData.link = attributeData.link;
380
return mLoader->begin__frame_tcp(attrData);
384
bool LibraryArticulatedSystemsLoader15::end__frame_tcp()
386
SaxVirtualFunctionTest15(end__frame_tcp());
387
return mLoader->end__frame_tcp();
391
bool LibraryArticulatedSystemsLoader15::begin__frame_object( const COLLADASaxFWL15::frame_object__AttributeData& attributeData )
393
SaxVirtualFunctionTest15(begin__frame_object(attributeData));
394
COLLADASaxFWL::frame__AttributeData attrData;
395
attrData.link = attributeData.link;
396
return mLoader->begin__frame_object(attrData);
400
bool LibraryArticulatedSystemsLoader15::end__frame_object()
402
SaxVirtualFunctionTest15(end__frame_object());
403
return mLoader->end__frame_object();
407
bool LibraryArticulatedSystemsLoader15::begin__motion()
409
SaxVirtualFunctionTest15(begin__motion());
410
return mLoader->begin__motion();
414
bool LibraryArticulatedSystemsLoader15::end__motion()
416
SaxVirtualFunctionTest15(end__motion());
417
return mLoader->end__motion();
421
bool LibraryArticulatedSystemsLoader15::begin__instance_articulated_system( const COLLADASaxFWL15::instance_articulated_system__AttributeData& attributeData )
423
SaxVirtualFunctionTest15(begin__instance_articulated_system(attributeData));
424
COLLADASaxFWL::instance_articulated_system__AttributeData attrData;
425
attrData.present_attributes = attributeData.present_attributes;
426
attrData.sid = attributeData.sid;
427
attrData.url = attributeData.url;
428
attrData.name = attributeData.name;
429
return mLoader->begin__instance_articulated_system(attrData);
433
bool LibraryArticulatedSystemsLoader15::end__instance_articulated_system()
435
SaxVirtualFunctionTest15(end__instance_articulated_system());
436
return mLoader->end__instance_articulated_system();
440
bool LibraryArticulatedSystemsLoader15::begin__technique_common____motion_technique_type()
442
SaxVirtualFunctionTest15(begin__technique_common____motion_technique_type());
443
return mLoader->begin__technique_common____motion_technique_type();
447
bool LibraryArticulatedSystemsLoader15::end__technique_common____motion_technique_type()
449
SaxVirtualFunctionTest15(end__technique_common____motion_technique_type());
450
return mLoader->end__technique_common____motion_technique_type();
454
bool LibraryArticulatedSystemsLoader15::begin__axis_info____motion_axis_info_type( const COLLADASaxFWL15::axis_info____motion_axis_info_type__AttributeData& attributeData )
456
SaxVirtualFunctionTest15(begin__axis_info____motion_axis_info_type(attributeData));
457
COLLADASaxFWL::axis_info____motion_axis_info_type__AttributeData attrData;
458
attrData.sid = attributeData.sid;
459
attrData.axis = attributeData.axis;
460
attrData.name = attributeData.name;
461
return mLoader->begin__axis_info____motion_axis_info_type(attrData);
465
bool LibraryArticulatedSystemsLoader15::end__axis_info____motion_axis_info_type()
467
SaxVirtualFunctionTest15(end__axis_info____motion_axis_info_type());
468
return mLoader->end__axis_info____motion_axis_info_type();
472
bool LibraryArticulatedSystemsLoader15::begin__speed____common_float_or_param_type()
474
SaxVirtualFunctionTest15(begin__speed____common_float_or_param_type());
475
return mLoader->begin__speed____common_float_or_param_type();
479
bool LibraryArticulatedSystemsLoader15::end__speed____common_float_or_param_type()
481
SaxVirtualFunctionTest15(end__speed____common_float_or_param_type());
482
return mLoader->end__speed____common_float_or_param_type();
486
bool LibraryArticulatedSystemsLoader15::begin__acceleration____common_float_or_param_type()
488
SaxVirtualFunctionTest15(begin__acceleration____common_float_or_param_type());
489
return mLoader->begin__acceleration____common_float_or_param_type();
493
bool LibraryArticulatedSystemsLoader15::end__acceleration____common_float_or_param_type()
495
SaxVirtualFunctionTest15(end__acceleration____common_float_or_param_type());
496
return mLoader->end__acceleration____common_float_or_param_type();
500
bool LibraryArticulatedSystemsLoader15::begin__deceleration____common_float_or_param_type()
502
SaxVirtualFunctionTest15(begin__deceleration____common_float_or_param_type());
503
return mLoader->begin__deceleration____common_float_or_param_type();
507
bool LibraryArticulatedSystemsLoader15::end__deceleration____common_float_or_param_type()
509
SaxVirtualFunctionTest15(end__deceleration____common_float_or_param_type());
510
return mLoader->end__deceleration____common_float_or_param_type();
514
bool LibraryArticulatedSystemsLoader15::begin__jerk____common_float_or_param_type()
516
SaxVirtualFunctionTest15(begin__jerk____common_float_or_param_type());
517
return mLoader->begin__jerk____common_float_or_param_type();
521
bool LibraryArticulatedSystemsLoader15::end__jerk____common_float_or_param_type()
523
SaxVirtualFunctionTest15(end__jerk____common_float_or_param_type());
524
return mLoader->end__jerk____common_float_or_param_type();
528
bool LibraryArticulatedSystemsLoader15::begin__effector_info( const COLLADASaxFWL15::effector_info__AttributeData& attributeData )
530
SaxVirtualFunctionTest15(begin__effector_info(attributeData));
531
COLLADASaxFWL::effector_info__AttributeData attrData;
532
attrData.sid = attributeData.sid;
533
attrData.name = attributeData.name;
534
return mLoader->begin__effector_info(attrData);
538
bool LibraryArticulatedSystemsLoader15::end__effector_info()
540
SaxVirtualFunctionTest15(end__effector_info());
541
return mLoader->end__effector_info();
545
bool LibraryArticulatedSystemsLoader15::begin__speed____common_float2_or_param_type()
547
SaxVirtualFunctionTest15(begin__speed____common_float2_or_param_type());
548
return mLoader->begin__speed____common_float2_or_param_type();
552
bool LibraryArticulatedSystemsLoader15::end__speed____common_float2_or_param_type()
554
SaxVirtualFunctionTest15(end__speed____common_float2_or_param_type());
555
return mLoader->end__speed____common_float2_or_param_type();
559
bool LibraryArticulatedSystemsLoader15::begin__acceleration____common_float2_or_param_type()
561
SaxVirtualFunctionTest15(begin__acceleration____common_float2_or_param_type());
562
return mLoader->begin__acceleration____common_float2_or_param_type();
566
bool LibraryArticulatedSystemsLoader15::end__acceleration____common_float2_or_param_type()
568
SaxVirtualFunctionTest15(end__acceleration____common_float2_or_param_type());
569
return mLoader->end__acceleration____common_float2_or_param_type();
573
bool LibraryArticulatedSystemsLoader15::begin__deceleration____common_float2_or_param_type()
575
SaxVirtualFunctionTest15(begin__deceleration____common_float2_or_param_type());
576
return mLoader->begin__deceleration____common_float2_or_param_type();
580
bool LibraryArticulatedSystemsLoader15::end__deceleration____common_float2_or_param_type()
582
SaxVirtualFunctionTest15(end__deceleration____common_float2_or_param_type());
583
return mLoader->end__deceleration____common_float2_or_param_type();
587
bool LibraryArticulatedSystemsLoader15::begin__jerk____common_float2_or_param_type()
589
SaxVirtualFunctionTest15(begin__jerk____common_float2_or_param_type());
590
return mLoader->begin__jerk____common_float2_or_param_type();
594
bool LibraryArticulatedSystemsLoader15::end__jerk____common_float2_or_param_type()
596
SaxVirtualFunctionTest15(end__jerk____common_float2_or_param_type());
597
return mLoader->end__jerk____common_float2_or_param_type();
601
bool LibraryArticulatedSystemsLoader15::begin__technique____technique_type( const COLLADASaxFWL15::technique____technique_type__AttributeData& attributeData )
603
SaxVirtualFunctionTest15(begin__technique____technique_type(attributeData));
604
COLLADASaxFWL::technique__AttributeData attrData;
605
attrData.profile = attributeData.profile;
606
return mLoader->begin__technique(attrData);
610
bool LibraryArticulatedSystemsLoader15::end__technique____technique_type()
612
SaxVirtualFunctionTest15(end__technique____technique_type());
613
return mLoader->end__technique();