1 /*
2 Copyright (c) 2008-2009 NetAllied Systems GmbH
3
4 This file is part of COLLADASaxFrameworkLoader.
5
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
9 */
10
11
12 #include "COLLADASaxFWLStableHeaders.h"
13 #include "COLLADASaxFWLAssetLoader14.h"
14
15
16 namespace COLLADASaxFWL
17 {
18
19
end__asset()20 bool AssetLoader14::end__asset()
21 {
22 SaxVirtualFunctionTest14(end__asset());
23 return mLoader->end__asset();
24 }
25
26
begin__contributor()27 bool AssetLoader14::begin__contributor()
28 {
29 SaxVirtualFunctionTest14(begin__contributor());
30 return mLoader->begin__contributor();
31 }
32
33
end__contributor()34 bool AssetLoader14::end__contributor()
35 {
36 SaxVirtualFunctionTest14(end__contributor());
37 return mLoader->end__contributor();
38 }
39
40
begin__author()41 bool AssetLoader14::begin__author()
42 {
43 SaxVirtualFunctionTest14(begin__author());
44 return mLoader->begin__author();
45 }
46
47
end__author()48 bool AssetLoader14::end__author()
49 {
50 SaxVirtualFunctionTest14(end__author());
51 return mLoader->end__author();
52 }
53
54
data__author(const ParserChar * data,size_t length)55 bool AssetLoader14::data__author( const ParserChar* data, size_t length )
56 {
57 SaxVirtualFunctionTest14(data__author(data, length));
58 return mLoader->data__author(data, length);
59 }
60
61
begin__authoring_tool()62 bool AssetLoader14::begin__authoring_tool()
63 {
64 SaxVirtualFunctionTest14(begin__authoring_tool());
65 return mLoader->begin__authoring_tool();
66 }
67
68
end__authoring_tool()69 bool AssetLoader14::end__authoring_tool()
70 {
71 SaxVirtualFunctionTest14(end__authoring_tool());
72 return mLoader->end__authoring_tool();
73 }
74
75
data__authoring_tool(const ParserChar * data,size_t length)76 bool AssetLoader14::data__authoring_tool( const ParserChar* data, size_t length )
77 {
78 SaxVirtualFunctionTest14(data__authoring_tool(data, length));
79 return mLoader->data__authoring_tool(data, length);
80 }
81
82
begin__comments()83 bool AssetLoader14::begin__comments()
84 {
85 SaxVirtualFunctionTest14(begin__comments());
86 return mLoader->begin__comments();
87 }
88
89
end__comments()90 bool AssetLoader14::end__comments()
91 {
92 SaxVirtualFunctionTest14(end__comments());
93 return mLoader->end__comments();
94 }
95
96
data__comments(const ParserChar * data,size_t length)97 bool AssetLoader14::data__comments( const ParserChar* data, size_t length )
98 {
99 SaxVirtualFunctionTest14(data__comments(data, length));
100 return mLoader->data__comments(data, length);
101 }
102
103
begin__copyright()104 bool AssetLoader14::begin__copyright()
105 {
106 SaxVirtualFunctionTest14(begin__copyright());
107 return mLoader->begin__copyright();
108 }
109
110
end__copyright()111 bool AssetLoader14::end__copyright()
112 {
113 SaxVirtualFunctionTest14(end__copyright());
114 return mLoader->end__copyright();
115 }
116
117
data__copyright(const ParserChar * data,size_t length)118 bool AssetLoader14::data__copyright( const ParserChar* data, size_t length )
119 {
120 SaxVirtualFunctionTest14(data__copyright(data, length));
121 return mLoader->data__copyright(data, length);
122 }
123
124
begin__source_data()125 bool AssetLoader14::begin__source_data()
126 {
127 SaxVirtualFunctionTest14(begin__source_data());
128 return mLoader->begin__source_data();
129 }
130
131
end__source_data()132 bool AssetLoader14::end__source_data()
133 {
134 SaxVirtualFunctionTest14(end__source_data());
135 return mLoader->end__source_data();
136 }
137
138
data__source_data(COLLADABU::URI value)139 bool AssetLoader14::data__source_data( COLLADABU::URI value )
140 {
141 SaxVirtualFunctionTest14(data__source_data(value));
142 return mLoader->data__source_data(value);
143 }
144
145
begin__created()146 bool AssetLoader14::begin__created()
147 {
148 SaxVirtualFunctionTest14(begin__created());
149 return mLoader->begin__created();
150 }
151
152
end__created()153 bool AssetLoader14::end__created()
154 {
155 SaxVirtualFunctionTest14(end__created());
156 return mLoader->end__created();
157 }
158
159
data__created(const ParserChar * data,size_t length)160 bool AssetLoader14::data__created( const ParserChar* data, size_t length )
161 {
162 SaxVirtualFunctionTest14(data__created(data, length));
163 return mLoader->data__created(data, length);
164 }
165
166
begin__keywords()167 bool AssetLoader14::begin__keywords()
168 {
169 SaxVirtualFunctionTest14(begin__keywords());
170 return mLoader->begin__keywords();
171 }
172
173
end__keywords()174 bool AssetLoader14::end__keywords()
175 {
176 SaxVirtualFunctionTest14(end__keywords());
177 return mLoader->end__keywords();
178 }
179
180
data__keywords(const ParserChar * data,size_t length)181 bool AssetLoader14::data__keywords( const ParserChar* data, size_t length )
182 {
183 SaxVirtualFunctionTest14(data__keywords(data, length));
184 return mLoader->data__keywords(data, length);
185 }
186
187
begin__modified()188 bool AssetLoader14::begin__modified()
189 {
190 SaxVirtualFunctionTest14(begin__modified());
191 return mLoader->begin__modified();
192 }
193
194
end__modified()195 bool AssetLoader14::end__modified()
196 {
197 SaxVirtualFunctionTest14(end__modified());
198 return mLoader->end__modified();
199 }
200
201
data__modified(const ParserChar * data,size_t length)202 bool AssetLoader14::data__modified( const ParserChar* data, size_t length )
203 {
204 SaxVirtualFunctionTest14(data__modified(data, length));
205 return mLoader->data__modified(data, length);
206 }
207
208
begin__revision()209 bool AssetLoader14::begin__revision()
210 {
211 SaxVirtualFunctionTest14(begin__revision());
212 return mLoader->begin__revision();
213 }
214
215
end__revision()216 bool AssetLoader14::end__revision()
217 {
218 SaxVirtualFunctionTest14(end__revision());
219 return mLoader->end__revision();
220 }
221
222
data__revision(const ParserChar * data,size_t length)223 bool AssetLoader14::data__revision( const ParserChar* data, size_t length )
224 {
225 SaxVirtualFunctionTest14(data__revision(data, length));
226 return mLoader->data__revision(data, length);
227 }
228
229
begin__subject()230 bool AssetLoader14::begin__subject()
231 {
232 SaxVirtualFunctionTest14(begin__subject());
233 return mLoader->begin__subject();
234 }
235
236
end__subject()237 bool AssetLoader14::end__subject()
238 {
239 SaxVirtualFunctionTest14(end__subject());
240 return mLoader->end__subject();
241 }
242
243
data__subject(const ParserChar * data,size_t length)244 bool AssetLoader14::data__subject( const ParserChar* data, size_t length )
245 {
246 SaxVirtualFunctionTest14(data__subject(data, length));
247 return mLoader->data__subject(data, length);
248 }
249
250
begin__title()251 bool AssetLoader14::begin__title()
252 {
253 SaxVirtualFunctionTest14(begin__title());
254 return mLoader->begin__title();
255 }
256
257
end__title()258 bool AssetLoader14::end__title()
259 {
260 SaxVirtualFunctionTest14(end__title());
261 return mLoader->end__title();
262 }
263
264
data__title(const ParserChar * data,size_t length)265 bool AssetLoader14::data__title( const ParserChar* data, size_t length )
266 {
267 SaxVirtualFunctionTest14(data__title(data, length));
268 return mLoader->data__title(data, length);
269 }
270
271
begin__unit(const COLLADASaxFWL14::unit__AttributeData & attributeData)272 bool AssetLoader14::begin__unit( const COLLADASaxFWL14::unit__AttributeData& attributeData )
273 {
274 SaxVirtualFunctionTest14(begin__unit(attributeData));
275 COLLADASaxFWL::unit__AttributeData attrData;
276 attrData.meter = attributeData.meter;
277 attrData.name = attributeData.name;
278 return mLoader->begin__unit(attrData);
279 }
280
281
end__unit()282 bool AssetLoader14::end__unit()
283 {
284 SaxVirtualFunctionTest14(end__unit());
285 return mLoader->end__unit();
286 }
287
288
begin__up_axis()289 bool AssetLoader14::begin__up_axis()
290 {
291 SaxVirtualFunctionTest14(begin__up_axis());
292 return mLoader->begin__up_axis();
293 }
294
295
end__up_axis()296 bool AssetLoader14::end__up_axis()
297 {
298 SaxVirtualFunctionTest14(end__up_axis());
299 return mLoader->end__up_axis();
300 }
301
302
data__up_axis(const COLLADASaxFWL14::ENUM__UpAxisType value)303 bool AssetLoader14::data__up_axis( const COLLADASaxFWL14::ENUM__UpAxisType value )
304 {
305 SaxVirtualFunctionTest14(data__up_axis(value));
306 COLLADASaxFWL::ENUM__UpAxisType val;
307 switch (value) {
308 case COLLADASaxFWL14::ENUM__UpAxisType__X_UP: val=COLLADASaxFWL::ENUM__UpAxisType__X_UP; break;
309 case COLLADASaxFWL14::ENUM__UpAxisType__Y_UP: val=COLLADASaxFWL::ENUM__UpAxisType__Y_UP; break;
310 case COLLADASaxFWL14::ENUM__UpAxisType__Z_UP: val=COLLADASaxFWL::ENUM__UpAxisType__Z_UP; break;
311 case COLLADASaxFWL14::ENUM__UpAxisType__COUNT: val=COLLADASaxFWL::ENUM__UpAxisType__INVALID; break;
312 case COLLADASaxFWL14::ENUM__UpAxisType__NOT_PRESENT: val=COLLADASaxFWL::ENUM__UpAxisType__NOT_PRESENT; break;
313 }
314 return mLoader->data__up_axis(val);
315 }
316
317
begin__technique(const COLLADASaxFWL14::technique__AttributeData & attributeData)318 bool AssetLoader14::begin__technique( const COLLADASaxFWL14::technique__AttributeData& attributeData )
319 {
320 SaxVirtualFunctionTest14(begin__technique(attributeData));
321 COLLADASaxFWL::technique__AttributeData attrData;
322 attrData.profile = attributeData.profile;
323 return mLoader->begin__technique(attrData);
324 }
325
326
end__technique()327 bool AssetLoader14::end__technique()
328 {
329 SaxVirtualFunctionTest14(end__technique());
330 return mLoader->end__technique();
331 }
332
333
334
335 }
336