From a0f320764b4b26f40aeb8e21eb60d47c5ecbd2a5 Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Tue, 19 Dec 2006 02:33:05 +0000 Subject: [PATCH] Upgraded to latest COLLADA-DOM 1.2.0, see http://sourceforge.net/project/showfiles.php?group_id=157838 November 13, 2006 Re-applied the 'INF' fix for constraint limits. --- .../COLLADA_DOM/include/1.4/dom/domAccessor.h | 10 +- .../include/1.4/dom/domAnimation.h | 8 +- .../include/1.4/dom/domAnimation_clip.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domAsset.h | 122 +- .../include/1.4/dom/domBind_material.h | 16 +- .../include/1.4/dom/domBool_array.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domBox.h | 16 +- .../COLLADA_DOM/include/1.4/dom/domCOLLADA.h | 20 +- .../COLLADA_DOM/include/1.4/dom/domCamera.h | 48 +- .../COLLADA_DOM/include/1.4/dom/domCapsule.h | 24 +- .../include/1.4/dom/domCg_connect_param.h | 8 +- .../include/1.4/dom/domCg_newarray_type.h | 8 +- .../include/1.4/dom/domCg_newparam.h | 24 +- .../include/1.4/dom/domCg_param_type.h | 864 +++++---- .../include/1.4/dom/domCg_sampler1D.h | 8 +- .../include/1.4/dom/domCg_sampler2D.h | 8 +- .../include/1.4/dom/domCg_sampler3D.h | 8 +- .../include/1.4/dom/domCg_samplerCUBE.h | 8 +- .../include/1.4/dom/domCg_samplerDEPTH.h | 8 +- .../include/1.4/dom/domCg_samplerRECT.h | 8 +- .../include/1.4/dom/domCg_setarray_type.h | 8 +- .../include/1.4/dom/domCg_setparam.h | 8 +- .../include/1.4/dom/domCg_setparam_simple.h | 8 +- .../include/1.4/dom/domCg_setuser_type.h | 8 +- .../include/1.4/dom/domCg_surface_type.h | 24 +- .../COLLADA_DOM/include/1.4/dom/domChannel.h | 10 +- .../1.4/dom/domCommon_color_or_texture_type.h | 33 +- .../1.4/dom/domCommon_float_or_param_type.h | 24 +- .../include/1.4/dom/domCommon_newparam_type.h | 48 +- .../1.4/dom/domCommon_transparent_type.h | 8 +- .../include/1.4/dom/domConstants.h | 1630 +++++++++++------ .../include/1.4/dom/domController.h | 8 +- .../include/1.4/dom/domConvex_mesh.h | 10 +- .../COLLADA_DOM/include/1.4/dom/domCylinder.h | 24 +- .../COLLADA_DOM/include/1.4/dom/domEffect.h | 8 +- .../include/1.4/dom/domEllipsoid.h | 16 +- Extras/COLLADA_DOM/include/1.4/dom/domExtra.h | 8 +- .../include/1.4/dom/domFloat_array.h | 8 +- .../include/1.4/dom/domForce_field.h | 8 +- .../include/1.4/dom/domFx_annotate_common.h | 8 +- .../1.4/dom/domFx_annotate_type_common.h | 136 +- .../include/1.4/dom/domFx_basic_type_common.h | 240 ++- .../include/1.4/dom/domFx_clearcolor_common.h | 8 +- .../include/1.4/dom/domFx_cleardepth_common.h | 8 +- .../1.4/dom/domFx_clearstencil_common.h | 8 +- .../include/1.4/dom/domFx_code_profile.h | 8 +- .../1.4/dom/domFx_colortarget_common.h | 8 +- .../1.4/dom/domFx_depthtarget_common.h | 8 +- .../include/1.4/dom/domFx_include_common.h | 12 +- .../include/1.4/dom/domFx_newparam_common.h | 24 +- .../include/1.4/dom/domFx_profile_abstract.h | 8 +- .../include/1.4/dom/domFx_sampler1D_common.h | 72 +- .../include/1.4/dom/domFx_sampler2D_common.h | 80 +- .../include/1.4/dom/domFx_sampler3D_common.h | 88 +- .../1.4/dom/domFx_samplerCUBE_common.h | 88 +- .../1.4/dom/domFx_samplerDEPTH_common.h | 48 +- .../1.4/dom/domFx_samplerRECT_common.h | 80 +- .../1.4/dom/domFx_stenciltarget_common.h | 8 +- .../include/1.4/dom/domFx_surface_common.h | 52 +- .../dom/domFx_surface_format_hint_common.h | 40 +- .../1.4/dom/domFx_surface_init_common.h | 24 +- .../1.4/dom/domFx_surface_init_cube_common.h | 46 +- .../1.4/dom/domFx_surface_init_from_common.h | 10 +- .../dom/domFx_surface_init_planar_common.h | 18 +- .../dom/domFx_surface_init_volume_common.h | 28 +- .../COLLADA_DOM/include/1.4/dom/domGeometry.h | 8 +- .../include/1.4/dom/domGl_hook_abstract.h | 8 +- .../include/1.4/dom/domGl_pipeline_settings.h | 1160 +++++++----- .../include/1.4/dom/domGl_sampler1D.h | 8 +- .../include/1.4/dom/domGl_sampler2D.h | 8 +- .../include/1.4/dom/domGl_sampler3D.h | 8 +- .../include/1.4/dom/domGl_samplerCUBE.h | 8 +- .../include/1.4/dom/domGl_samplerDEPTH.h | 8 +- .../include/1.4/dom/domGl_samplerRECT.h | 8 +- .../1.4/dom/domGles_basic_type_common.h | 240 ++- .../include/1.4/dom/domGles_newparam.h | 24 +- .../1.4/dom/domGles_pipeline_settings.h | 672 ++++--- .../include/1.4/dom/domGles_sampler_state.h | 64 +- .../domGles_texcombiner_argumentAlpha_type.h | 8 +- .../domGles_texcombiner_argumentRGB_type.h | 8 +- .../domGles_texcombiner_commandAlpha_type.h | 8 +- .../dom/domGles_texcombiner_commandRGB_type.h | 8 +- .../dom/domGles_texcombiner_command_type.h | 8 +- .../1.4/dom/domGles_texenv_command_type.h | 8 +- .../1.4/dom/domGles_texture_constant_type.h | 8 +- .../1.4/dom/domGles_texture_pipeline.h | 8 +- .../include/1.4/dom/domGles_texture_unit.h | 32 +- .../include/1.4/dom/domGlsl_newarray_type.h | 8 +- .../include/1.4/dom/domGlsl_newparam.h | 24 +- .../include/1.4/dom/domGlsl_param_type.h | 136 +- .../include/1.4/dom/domGlsl_setarray_type.h | 8 +- .../include/1.4/dom/domGlsl_setparam.h | 8 +- .../include/1.4/dom/domGlsl_setparam_simple.h | 8 +- .../include/1.4/dom/domGlsl_surface_type.h | 24 +- .../include/1.4/dom/domIDREF_array.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domImage.h | 26 +- .../include/1.4/dom/domInputGlobal.h | 12 +- .../include/1.4/dom/domInputLocal.h | 12 +- .../include/1.4/dom/domInputLocalOffset.h | 12 +- .../include/1.4/dom/domInstanceWithExtra.h | 12 +- .../include/1.4/dom/domInstance_camera.h | 8 +- .../include/1.4/dom/domInstance_controller.h | 20 +- .../include/1.4/dom/domInstance_effect.h | 26 +- .../include/1.4/dom/domInstance_force_field.h | 8 +- .../include/1.4/dom/domInstance_geometry.h | 10 +- .../include/1.4/dom/domInstance_light.h | 8 +- .../include/1.4/dom/domInstance_material.h | 26 +- .../include/1.4/dom/domInstance_node.h | 8 +- .../1.4/dom/domInstance_physics_material.h | 8 +- .../1.4/dom/domInstance_physics_model.h | 12 +- .../include/1.4/dom/domInstance_rigid_body.h | 66 +- .../1.4/dom/domInstance_rigid_constraint.h | 8 +- .../include/1.4/dom/domInt_array.h | 8 +- .../1.4/dom/domLibrary_animation_clips.h | 8 +- .../include/1.4/dom/domLibrary_animations.h | 8 +- .../include/1.4/dom/domLibrary_cameras.h | 8 +- .../include/1.4/dom/domLibrary_controllers.h | 8 +- .../include/1.4/dom/domLibrary_effects.h | 8 +- .../include/1.4/dom/domLibrary_force_fields.h | 8 +- .../include/1.4/dom/domLibrary_geometries.h | 8 +- .../include/1.4/dom/domLibrary_images.h | 8 +- .../include/1.4/dom/domLibrary_lights.h | 8 +- .../include/1.4/dom/domLibrary_materials.h | 8 +- .../include/1.4/dom/domLibrary_nodes.h | 8 +- .../1.4/dom/domLibrary_physics_materials.h | 8 +- .../1.4/dom/domLibrary_physics_models.h | 8 +- .../1.4/dom/domLibrary_physics_scenes.h | 8 +- .../1.4/dom/domLibrary_visual_scenes.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domLight.h | 48 +- Extras/COLLADA_DOM/include/1.4/dom/domLines.h | 8 +- .../include/1.4/dom/domLinestrips.h | 8 +- .../COLLADA_DOM/include/1.4/dom/domLookat.h | 8 +- .../COLLADA_DOM/include/1.4/dom/domMaterial.h | 8 +- .../COLLADA_DOM/include/1.4/dom/domMatrix.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domMesh.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domMorph.h | 18 +- .../include/1.4/dom/domName_array.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domNode.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domP.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domParam.h | 8 +- .../include/1.4/dom/domPhysics_material.h | 16 +- .../include/1.4/dom/domPhysics_model.h | 8 +- .../include/1.4/dom/domPhysics_scene.h | 16 +- Extras/COLLADA_DOM/include/1.4/dom/domPlane.h | 16 +- .../COLLADA_DOM/include/1.4/dom/domPolygons.h | 24 +- .../COLLADA_DOM/include/1.4/dom/domPolylist.h | 16 +- .../include/1.4/dom/domProfile_CG.h | 80 +- .../include/1.4/dom/domProfile_COMMON.h | 51 +- .../include/1.4/dom/domProfile_GLES.h | 88 +- .../include/1.4/dom/domProfile_GLSL.h | 80 +- .../include/1.4/dom/domRigid_body.h | 48 +- .../include/1.4/dom/domRigid_constraint.h | 100 +- .../COLLADA_DOM/include/1.4/dom/domRotate.h | 8 +- .../COLLADA_DOM/include/1.4/dom/domSampler.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domScale.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domSkew.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domSkin.h | 50 +- .../COLLADA_DOM/include/1.4/dom/domSource.h | 16 +- .../COLLADA_DOM/include/1.4/dom/domSphere.h | 16 +- .../COLLADA_DOM/include/1.4/dom/domSpline.h | 16 +- .../include/1.4/dom/domTapered_capsule.h | 32 +- .../include/1.4/dom/domTapered_cylinder.h | 32 +- .../include/1.4/dom/domTargetableFloat.h | 8 +- .../include/1.4/dom/domTargetableFloat3.h | 8 +- .../include/1.4/dom/domTechnique.h | 10 +- .../include/1.4/dom/domTranslate.h | 8 +- .../include/1.4/dom/domTriangles.h | 8 +- .../COLLADA_DOM/include/1.4/dom/domTrifans.h | 8 +- .../include/1.4/dom/domTristrips.h | 8 +- Extras/COLLADA_DOM/include/1.4/dom/domTypes.h | 535 ++++++ .../COLLADA_DOM/include/1.4/dom/domVertices.h | 8 +- .../include/1.4/dom/domVisual_scene.h | 34 +- Extras/COLLADA_DOM/include/dae.h | 54 +- Extras/COLLADA_DOM/include/dae/daeArray.h | 335 +++- .../COLLADA_DOM/include/dae/daeAtomicType.h | 28 +- Extras/COLLADA_DOM/include/dae/daeDatabase.h | 66 +- Extras/COLLADA_DOM/include/dae/daeDocument.h | 20 +- Extras/COLLADA_DOM/include/dae/daeElement.h | 131 +- Extras/COLLADA_DOM/include/dae/daeError.h | 4 + .../COLLADA_DOM/include/dae/daeErrorHandler.h | 2 +- .../COLLADA_DOM/include/dae/daeGCCPlatform.h | 30 + .../include/dae/daeGenericPlatform.h | 13 +- Extras/COLLADA_DOM/include/dae/daeIDRef.h | 80 +- Extras/COLLADA_DOM/include/dae/daeIOPlugin.h | 10 +- .../include/dae/daeIntegrationObject.h | 16 +- Extras/COLLADA_DOM/include/dae/daeInterface.h | 36 +- .../COLLADA_DOM/include/dae/daeMemorySystem.h | 4 +- .../include/dae/daeMetaAttribute.h | 10 +- .../COLLADA_DOM/include/dae/daeMetaCMPolicy.h | 2 + .../COLLADA_DOM/include/dae/daeMetaElement.h | 48 +- .../COLLADA_DOM/include/dae/daeSIDResolver.h | 18 +- Extras/COLLADA_DOM/include/dae/daeStringRef.h | 15 +- .../COLLADA_DOM/include/dae/daeStringTable.h | 6 +- Extras/COLLADA_DOM/include/dae/daeTypes.h | 2 + Extras/COLLADA_DOM/include/dae/daeURI.h | 83 +- .../include/dae/daeWin32Platform.h | 28 +- Extras/COLLADA_DOM/include/dae/domAny.h | 6 +- .../include/modules/daeLIBXMLPlugin.h | 32 +- .../include/modules/daeLIBXMLResolver.h | 16 +- .../include/modules/daeSTLDatabase.h | 100 +- .../include/modules/stdErrPlugin.h | 2 +- .../COLLADA_DOM/src/1.4/dom/domAccessor.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domAnimation.cpp | 2 +- .../src/1.4/dom/domAnimation_clip.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domAsset.cpp | 30 +- .../src/1.4/dom/domBind_material.cpp | 4 +- .../COLLADA_DOM/src/1.4/dom/domBool_array.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domBox.cpp | 4 +- Extras/COLLADA_DOM/src/1.4/dom/domCOLLADA.cpp | 5 +- Extras/COLLADA_DOM/src/1.4/dom/domCamera.cpp | 12 +- Extras/COLLADA_DOM/src/1.4/dom/domCapsule.cpp | 6 +- .../src/1.4/dom/domCg_connect_param.cpp | 2 +- .../src/1.4/dom/domCg_newarray_type.cpp | 4 +- .../src/1.4/dom/domCg_newparam.cpp | 6 +- .../src/1.4/dom/domCg_param_type.cpp | 216 +-- .../src/1.4/dom/domCg_sampler1D.cpp | 2 +- .../src/1.4/dom/domCg_sampler2D.cpp | 2 +- .../src/1.4/dom/domCg_sampler3D.cpp | 2 +- .../src/1.4/dom/domCg_samplerCUBE.cpp | 2 +- .../src/1.4/dom/domCg_samplerDEPTH.cpp | 2 +- .../src/1.4/dom/domCg_samplerRECT.cpp | 2 +- .../src/1.4/dom/domCg_setarray_type.cpp | 4 +- .../src/1.4/dom/domCg_setparam.cpp | 2 +- .../src/1.4/dom/domCg_setparam_simple.cpp | 2 +- .../src/1.4/dom/domCg_setuser_type.cpp | 4 +- .../src/1.4/dom/domCg_surface_type.cpp | 6 +- Extras/COLLADA_DOM/src/1.4/dom/domChannel.cpp | 2 +- .../dom/domCommon_color_or_texture_type.cpp | 8 +- .../1.4/dom/domCommon_float_or_param_type.cpp | 6 +- .../src/1.4/dom/domCommon_newparam_type.cpp | 12 +- .../1.4/dom/domCommon_transparent_type.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domConstants.cpp | 1630 +++++++++++------ .../COLLADA_DOM/src/1.4/dom/domController.cpp | 2 +- .../src/1.4/dom/domConvex_mesh.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domCylinder.cpp | 6 +- Extras/COLLADA_DOM/src/1.4/dom/domEffect.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domEllipsoid.cpp | 4 +- Extras/COLLADA_DOM/src/1.4/dom/domExtra.cpp | 2 +- .../src/1.4/dom/domFloat_array.cpp | 2 +- .../src/1.4/dom/domForce_field.cpp | 2 +- .../src/1.4/dom/domFx_annotate_common.cpp | 2 +- .../1.4/dom/domFx_annotate_type_common.cpp | 34 +- .../src/1.4/dom/domFx_basic_type_common.cpp | 60 +- .../src/1.4/dom/domFx_clearcolor_common.cpp | 2 +- .../src/1.4/dom/domFx_cleardepth_common.cpp | 2 +- .../src/1.4/dom/domFx_clearstencil_common.cpp | 2 +- .../src/1.4/dom/domFx_code_profile.cpp | 2 +- .../src/1.4/dom/domFx_colortarget_common.cpp | 2 +- .../src/1.4/dom/domFx_depthtarget_common.cpp | 2 +- .../src/1.4/dom/domFx_include_common.cpp | 2 +- .../src/1.4/dom/domFx_newparam_common.cpp | 6 +- .../src/1.4/dom/domFx_profile_abstract.cpp | 2 +- .../src/1.4/dom/domFx_sampler1D_common.cpp | 18 +- .../src/1.4/dom/domFx_sampler2D_common.cpp | 20 +- .../src/1.4/dom/domFx_sampler3D_common.cpp | 22 +- .../src/1.4/dom/domFx_samplerCUBE_common.cpp | 22 +- .../src/1.4/dom/domFx_samplerDEPTH_common.cpp | 12 +- .../src/1.4/dom/domFx_samplerRECT_common.cpp | 20 +- .../1.4/dom/domFx_stenciltarget_common.cpp | 2 +- .../src/1.4/dom/domFx_surface_common.cpp | 12 +- .../dom/domFx_surface_format_hint_common.cpp | 10 +- .../src/1.4/dom/domFx_surface_init_common.cpp | 6 +- .../dom/domFx_surface_init_cube_common.cpp | 10 +- .../dom/domFx_surface_init_from_common.cpp | 2 +- .../dom/domFx_surface_init_planar_common.cpp | 4 +- .../dom/domFx_surface_init_volume_common.cpp | 6 +- .../COLLADA_DOM/src/1.4/dom/domGeometry.cpp | 2 +- .../src/1.4/dom/domGl_hook_abstract.cpp | 2 +- .../src/1.4/dom/domGl_pipeline_settings.cpp | 290 +-- .../src/1.4/dom/domGl_sampler1D.cpp | 2 +- .../src/1.4/dom/domGl_sampler2D.cpp | 2 +- .../src/1.4/dom/domGl_sampler3D.cpp | 2 +- .../src/1.4/dom/domGl_samplerCUBE.cpp | 2 +- .../src/1.4/dom/domGl_samplerDEPTH.cpp | 2 +- .../src/1.4/dom/domGl_samplerRECT.cpp | 2 +- .../src/1.4/dom/domGles_basic_type_common.cpp | 60 +- .../src/1.4/dom/domGles_newparam.cpp | 6 +- .../src/1.4/dom/domGles_pipeline_settings.cpp | 168 +- .../src/1.4/dom/domGles_sampler_state.cpp | 16 +- ...domGles_texcombiner_argumentAlpha_type.cpp | 2 +- .../domGles_texcombiner_argumentRGB_type.cpp | 2 +- .../domGles_texcombiner_commandAlpha_type.cpp | 2 +- .../domGles_texcombiner_commandRGB_type.cpp | 2 +- .../dom/domGles_texcombiner_command_type.cpp | 2 +- .../1.4/dom/domGles_texenv_command_type.cpp | 2 +- .../1.4/dom/domGles_texture_constant_type.cpp | 2 +- .../src/1.4/dom/domGles_texture_pipeline.cpp | 4 +- .../src/1.4/dom/domGles_texture_unit.cpp | 8 +- .../src/1.4/dom/domGlsl_newarray_type.cpp | 4 +- .../src/1.4/dom/domGlsl_newparam.cpp | 6 +- .../src/1.4/dom/domGlsl_param_type.cpp | 34 +- .../src/1.4/dom/domGlsl_setarray_type.cpp | 4 +- .../src/1.4/dom/domGlsl_setparam.cpp | 2 +- .../src/1.4/dom/domGlsl_setparam_simple.cpp | 2 +- .../src/1.4/dom/domGlsl_surface_type.cpp | 6 +- .../src/1.4/dom/domIDREF_array.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domImage.cpp | 6 +- .../src/1.4/dom/domInputGlobal.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domInputLocal.cpp | 2 +- .../src/1.4/dom/domInputLocalOffset.cpp | 2 +- .../src/1.4/dom/domInstanceWithExtra.cpp | 2 +- .../src/1.4/dom/domInstance_camera.cpp | 4 +- .../src/1.4/dom/domInstance_controller.cpp | 4 +- .../src/1.4/dom/domInstance_effect.cpp | 6 +- .../src/1.4/dom/domInstance_force_field.cpp | 4 +- .../src/1.4/dom/domInstance_geometry.cpp | 2 +- .../src/1.4/dom/domInstance_light.cpp | 4 +- .../src/1.4/dom/domInstance_material.cpp | 6 +- .../src/1.4/dom/domInstance_node.cpp | 4 +- .../1.4/dom/domInstance_physics_material.cpp | 4 +- .../src/1.4/dom/domInstance_physics_model.cpp | 2 +- .../src/1.4/dom/domInstance_rigid_body.cpp | 18 +- .../1.4/dom/domInstance_rigid_constraint.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domInt_array.cpp | 2 +- .../1.4/dom/domLibrary_animation_clips.cpp | 2 +- .../src/1.4/dom/domLibrary_animations.cpp | 2 +- .../src/1.4/dom/domLibrary_cameras.cpp | 2 +- .../src/1.4/dom/domLibrary_controllers.cpp | 2 +- .../src/1.4/dom/domLibrary_effects.cpp | 2 +- .../src/1.4/dom/domLibrary_force_fields.cpp | 2 +- .../src/1.4/dom/domLibrary_geometries.cpp | 2 +- .../src/1.4/dom/domLibrary_images.cpp | 2 +- .../src/1.4/dom/domLibrary_lights.cpp | 2 +- .../src/1.4/dom/domLibrary_materials.cpp | 2 +- .../src/1.4/dom/domLibrary_nodes.cpp | 2 +- .../1.4/dom/domLibrary_physics_materials.cpp | 2 +- .../src/1.4/dom/domLibrary_physics_models.cpp | 2 +- .../src/1.4/dom/domLibrary_physics_scenes.cpp | 2 +- .../src/1.4/dom/domLibrary_visual_scenes.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domLight.cpp | 12 +- Extras/COLLADA_DOM/src/1.4/dom/domLines.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domLinestrips.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domLookat.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domMaterial.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domMatrix.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domMesh.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domMorph.cpp | 4 +- .../COLLADA_DOM/src/1.4/dom/domName_array.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domNode.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domP.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domParam.cpp | 2 +- .../src/1.4/dom/domPhysics_material.cpp | 4 +- .../src/1.4/dom/domPhysics_model.cpp | 2 +- .../src/1.4/dom/domPhysics_scene.cpp | 4 +- Extras/COLLADA_DOM/src/1.4/dom/domPlane.cpp | 4 +- .../COLLADA_DOM/src/1.4/dom/domPolygons.cpp | 6 +- .../COLLADA_DOM/src/1.4/dom/domPolylist.cpp | 4 +- .../COLLADA_DOM/src/1.4/dom/domProfile_CG.cpp | 20 +- .../src/1.4/dom/domProfile_COMMON.cpp | 13 +- .../src/1.4/dom/domProfile_GLES.cpp | 22 +- .../src/1.4/dom/domProfile_GLSL.cpp | 20 +- .../COLLADA_DOM/src/1.4/dom/domRigid_body.cpp | 14 +- .../src/1.4/dom/domRigid_constraint.cpp | 28 +- Extras/COLLADA_DOM/src/1.4/dom/domRotate.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domSampler.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domScale.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domSkew.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domSkin.cpp | 12 +- Extras/COLLADA_DOM/src/1.4/dom/domSource.cpp | 4 +- Extras/COLLADA_DOM/src/1.4/dom/domSphere.cpp | 4 +- Extras/COLLADA_DOM/src/1.4/dom/domSpline.cpp | 4 +- .../src/1.4/dom/domTapered_capsule.cpp | 8 +- .../src/1.4/dom/domTapered_cylinder.cpp | 8 +- .../src/1.4/dom/domTargetableFloat.cpp | 2 +- .../src/1.4/dom/domTargetableFloat3.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domTechnique.cpp | 6 +- .../COLLADA_DOM/src/1.4/dom/domTranslate.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domTriangles.cpp | 2 +- Extras/COLLADA_DOM/src/1.4/dom/domTrifans.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domTristrips.cpp | 2 +- .../COLLADA_DOM/src/1.4/dom/domVertices.cpp | 2 +- .../src/1.4/dom/domVisual_scene.cpp | 8 +- Extras/COLLADA_DOM/src/dae/dae.cpp | 28 +- Extras/COLLADA_DOM/src/dae/daeArray.cpp | 5 +- Extras/COLLADA_DOM/src/dae/daeAtomicType.cpp | 143 +- Extras/COLLADA_DOM/src/dae/daeDocument.cpp | 18 + Extras/COLLADA_DOM/src/dae/daeElement.cpp | 98 +- Extras/COLLADA_DOM/src/dae/daeIDRef.cpp | 63 +- Extras/COLLADA_DOM/src/dae/daeMetaAny.cpp | 3 +- .../COLLADA_DOM/src/dae/daeMetaAttribute.cpp | 15 +- Extras/COLLADA_DOM/src/dae/daeMetaChoice.cpp | 10 +- Extras/COLLADA_DOM/src/dae/daeMetaElement.cpp | 68 +- .../src/dae/daeMetaElementAttribute.cpp | 30 +- .../COLLADA_DOM/src/dae/daeMetaSequence.cpp | 12 +- Extras/COLLADA_DOM/src/dae/daeSIDResolver.cpp | 5 + Extras/COLLADA_DOM/src/dae/daeStringRef.cpp | 30 +- Extras/COLLADA_DOM/src/dae/daeStringTable.cpp | 3 +- Extras/COLLADA_DOM/src/dae/daeURI.cpp | 90 +- Extras/COLLADA_DOM/src/dae/domAny.cpp | 8 +- .../modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp | 107 +- .../modules/STLDatabase/daeSTLDatabase.cpp | 430 +++-- 391 files changed, 9317 insertions(+), 5101 deletions(-) create mode 100644 Extras/COLLADA_DOM/include/dae/daeGCCPlatform.h diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domAccessor.h b/Extras/COLLADA_DOM/include/1.4/dom/domAccessor.h index 5ba53cccf..6e389cf57 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domAccessor.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domAccessor.h @@ -26,6 +26,8 @@ */ class domAccessor : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ACCESSOR; } protected: // Attributes /** * The count attribute indicates the number of times the array is accessed. @@ -94,7 +96,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const xsAnyURI &atSource ) { attrSource.setURI( atSource.getURI() ); + void setSource( const xsAnyURI &atSource ) { attrSource = atSource; _validAttributeArray[2] = true; } /** @@ -143,19 +145,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domAnimation.h b/Extras/COLLADA_DOM/include/1.4/dom/domAnimation.h index be292a752..f796c270b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domAnimation.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domAnimation.h @@ -31,6 +31,8 @@ */ class domAnimation : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ANIMATION; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -197,19 +199,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domAnimation_clip.h b/Extras/COLLADA_DOM/include/1.4/dom/domAnimation_clip.h index f0c395431..e8e816442 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domAnimation_clip.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domAnimation_clip.h @@ -26,6 +26,8 @@ */ class domAnimation_clip : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ANIMATION_CLIP; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -166,19 +168,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domAsset.h b/Extras/COLLADA_DOM/include/1.4/dom/domAsset.h index d4b6b0285..e07e57cc7 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domAsset.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domAsset.h @@ -23,6 +23,8 @@ */ class domAsset : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ASSET; } public: class domContributor; @@ -34,6 +36,8 @@ public: */ class domContributor : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONTRIBUTOR; } public: class domAuthor; @@ -46,6 +50,8 @@ public: */ class domAuthor : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::AUTHOR; } protected: // Value /** @@ -89,19 +95,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domAuthoring_tool; @@ -115,6 +121,8 @@ public: */ class domAuthoring_tool : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::AUTHORING_TOOL; } protected: // Value /** @@ -158,19 +166,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domComments; @@ -184,6 +192,8 @@ public: */ class domComments : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMENTS; } protected: // Value /** @@ -227,19 +237,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domCopyright; @@ -253,6 +263,8 @@ public: */ class domCopyright : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COPYRIGHT; } protected: // Value /** @@ -296,19 +308,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSource_data; @@ -322,6 +334,8 @@ public: */ class domSource_data : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE_DATA; } protected: // Value /** @@ -344,7 +358,7 @@ public: * Sets the _value of this element. * @param val The new value for this element. */ - void setValue( const xsAnyURI &val ) { _value.setURI( val.getURI() ); } + void setValue( const xsAnyURI &val ) { _value = val; } protected: /** @@ -370,19 +384,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -464,19 +478,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domCreated; @@ -491,6 +505,8 @@ public: */ class domCreated : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CREATED; } protected: // Value /** @@ -534,19 +550,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domKeywords; @@ -560,6 +576,8 @@ public: */ class domKeywords : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::KEYWORDS; } protected: // Value /** @@ -603,19 +621,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domModified; @@ -630,6 +648,8 @@ public: */ class domModified : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIED; } protected: // Value /** @@ -673,19 +693,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRevision; @@ -699,6 +719,8 @@ public: */ class domRevision : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::REVISION; } protected: // Value /** @@ -742,19 +764,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSubject; @@ -768,6 +790,8 @@ public: */ class domSubject : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SUBJECT; } protected: // Value /** @@ -811,19 +835,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTitle; @@ -837,6 +861,8 @@ public: */ class domTitle : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TITLE; } protected: // Value /** @@ -880,19 +906,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domUnit; @@ -907,6 +933,8 @@ public: */ class domUnit : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::UNIT; } protected: // Attributes /** * The meter attribute specifies the measurement with respect to the meter. @@ -969,19 +997,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domUp_axis; @@ -997,6 +1025,8 @@ public: */ class domUp_axis : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::UP_AXIS; } protected: // Value /** @@ -1040,19 +1070,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1186,19 +1216,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domBind_material.h b/Extras/COLLADA_DOM/include/1.4/dom/domBind_material.h index 1821a6887..8db3f836f 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domBind_material.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domBind_material.h @@ -27,6 +27,8 @@ */ class domBind_material : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BIND_MATERIAL; } public: class domTechnique_common; @@ -39,6 +41,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } protected: // Element /** @@ -83,19 +87,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -182,19 +186,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domBool_array.h b/Extras/COLLADA_DOM/include/1.4/dom/domBool_array.h index c4988ccd4..1b2b2d410 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domBool_array.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domBool_array.h @@ -23,6 +23,8 @@ */ class domBool_array : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL_ARRAY; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -123,19 +125,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domBox.h b/Extras/COLLADA_DOM/include/1.4/dom/domBox.h index beb384675..ea1be916d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domBox.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domBox.h @@ -23,6 +23,8 @@ */ class domBox : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOX; } public: class domHalf_extents; @@ -34,6 +36,8 @@ public: */ class domHalf_extents : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF_EXTENTS; } protected: // Value /** @@ -82,19 +86,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -149,19 +153,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCOLLADA.h b/Extras/COLLADA_DOM/include/1.4/dom/domCOLLADA.h index aefb1ad14..e114e7f89 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCOLLADA.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCOLLADA.h @@ -41,6 +41,8 @@ */ class domCOLLADA : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLLADA; } public: class domScene; @@ -56,6 +58,8 @@ public: */ class domScene : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SCENE; } protected: // Elements /** @@ -125,19 +129,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -274,7 +278,7 @@ public: //Accessors and Mutators * Sets the xmlns attribute. * @param xmlns The new value for the xmlns attribute. */ - void setXmlns( const xsAnyURI &xmlns ) { attrXmlns.setURI( xmlns.getURI() ); + void setXmlns( const xsAnyURI &xmlns ) { attrXmlns = xmlns; _validAttributeArray[0] = true; } /** @@ -303,7 +307,7 @@ public: //Accessors and Mutators * Sets the xml_base attribute. * @param atXml_base The new value for the xml_base attribute. */ - void setXml_base( const xsAnyURI &atXml_base ) { attrXml_base.setURI( atXml_base.getURI() ); + void setXml_base( const xsAnyURI &atXml_base ) { attrXml_base = atXml_base; _validAttributeArray[2] = true; } /** @@ -511,19 +515,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCamera.h b/Extras/COLLADA_DOM/include/1.4/dom/domCamera.h index d0ddda52d..a61681be6 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCamera.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCamera.h @@ -27,6 +27,8 @@ */ class domCamera : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CAMERA; } public: class domOptics; @@ -39,6 +41,8 @@ public: */ class domOptics : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::OPTICS; } public: class domTechnique_common; @@ -51,6 +55,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } public: class domOrthographic; @@ -63,6 +69,8 @@ public: */ class domOrthographic : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ORTHOGRAPHIC; } protected: // Elements /** @@ -165,19 +173,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPerspective; @@ -190,6 +198,8 @@ public: */ class domPerspective : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PERSPECTIVE; } protected: // Elements /** @@ -292,19 +302,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -376,19 +386,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -459,19 +469,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domImager; @@ -484,6 +494,8 @@ public: */ class domImager : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::IMAGER; } protected: // Elements /** @@ -541,19 +553,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -663,19 +675,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCapsule.h b/Extras/COLLADA_DOM/include/1.4/dom/domCapsule.h index 68ce76c91..9b1efeb74 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCapsule.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCapsule.h @@ -23,6 +23,8 @@ */ class domCapsule : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CAPSULE; } public: class domHeight; @@ -35,6 +37,8 @@ public: */ class domHeight : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HEIGHT; } protected: // Value /** @@ -78,19 +82,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRadius; @@ -103,6 +107,8 @@ public: */ class domRadius : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS; } protected: // Value /** @@ -151,19 +157,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -229,19 +235,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_connect_param.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_connect_param.h index b357c962a..7165067f5 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_connect_param.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_connect_param.h @@ -62,6 +62,8 @@ protected: */ class domCg_connect_param : public daeElement, public domCg_connect_param_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_CONNECT_PARAM; } public: //Accessors and Mutators /** @@ -100,19 +102,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_newarray_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_newarray_type.h index 8725f2eb9..2fddb73b1 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_newarray_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_newarray_type.h @@ -141,6 +141,8 @@ protected: */ class domCg_newarray_type : public daeElement, public domCg_newarray_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_NEWARRAY_TYPE; } public: //Accessors and Mutators /** @@ -179,19 +181,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_newparam.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_newparam.h index 29a90f659..08f35239f 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_newparam.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_newparam.h @@ -38,6 +38,8 @@ public: */ class domSemantic : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; } protected: // Value /** @@ -81,19 +83,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domModifier; @@ -106,6 +108,8 @@ public: */ class domModifier : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIER; } protected: // Value /** @@ -149,19 +153,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -279,6 +283,8 @@ protected: */ class domCg_newparam : public daeElement, public domCg_newparam_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_NEWPARAM; } public: //Accessors and Mutators /** @@ -317,19 +323,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_param_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_param_type.h index a127d94f9..372daf65d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_param_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_param_type.h @@ -29,6 +29,8 @@ */ class domCg_param_type : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_PARAM_TYPE; } public: class domBool; @@ -37,6 +39,8 @@ public: class domBool : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; } protected: // Value /** @@ -80,19 +84,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool1; @@ -102,6 +106,8 @@ public: class domBool1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL1; } protected: // Value /** @@ -145,19 +151,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2; @@ -167,6 +173,8 @@ public: class domBool2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; } protected: // Value /** @@ -215,19 +223,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3; @@ -237,6 +245,8 @@ public: class domBool3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; } protected: // Value /** @@ -285,19 +295,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4; @@ -307,6 +317,8 @@ public: class domBool4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; } protected: // Value /** @@ -355,19 +367,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool1x1; @@ -377,6 +389,8 @@ public: class domBool1x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL1X1; } protected: // Value /** @@ -425,19 +439,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool1x2; @@ -447,6 +461,8 @@ public: class domBool1x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL1X2; } protected: // Value /** @@ -495,19 +511,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool1x3; @@ -517,6 +533,8 @@ public: class domBool1x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL1X3; } protected: // Value /** @@ -565,19 +583,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool1x4; @@ -587,6 +605,8 @@ public: class domBool1x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL1X4; } protected: // Value /** @@ -635,19 +655,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2x1; @@ -657,6 +677,8 @@ public: class domBool2x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2X1; } protected: // Value /** @@ -705,19 +727,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2x2; @@ -727,6 +749,8 @@ public: class domBool2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2X2; } protected: // Value /** @@ -775,19 +799,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2x3; @@ -797,6 +821,8 @@ public: class domBool2x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2X3; } protected: // Value /** @@ -845,19 +871,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2x4; @@ -867,6 +893,8 @@ public: class domBool2x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2X4; } protected: // Value /** @@ -915,19 +943,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3x1; @@ -937,6 +965,8 @@ public: class domBool3x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3X1; } protected: // Value /** @@ -985,19 +1015,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3x2; @@ -1007,6 +1037,8 @@ public: class domBool3x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3X2; } protected: // Value /** @@ -1055,19 +1087,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3x3; @@ -1077,6 +1109,8 @@ public: class domBool3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3X3; } protected: // Value /** @@ -1125,19 +1159,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3x4; @@ -1147,6 +1181,8 @@ public: class domBool3x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3X4; } protected: // Value /** @@ -1195,19 +1231,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4x1; @@ -1217,6 +1253,8 @@ public: class domBool4x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4X1; } protected: // Value /** @@ -1265,19 +1303,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4x2; @@ -1287,6 +1325,8 @@ public: class domBool4x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4X2; } protected: // Value /** @@ -1335,19 +1375,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4x3; @@ -1357,6 +1397,8 @@ public: class domBool4x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4X3; } protected: // Value /** @@ -1405,19 +1447,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4x4; @@ -1427,6 +1469,8 @@ public: class domBool4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4X4; } protected: // Value /** @@ -1475,19 +1519,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat; @@ -1497,6 +1541,8 @@ public: class domFloat : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; } protected: // Value /** @@ -1540,19 +1586,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1; @@ -1562,6 +1608,8 @@ public: class domFloat1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1; } protected: // Value /** @@ -1605,19 +1653,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2; @@ -1627,6 +1675,8 @@ public: class domFloat2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; } protected: // Value /** @@ -1675,19 +1725,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3; @@ -1697,6 +1747,8 @@ public: class domFloat3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; } protected: // Value /** @@ -1745,19 +1797,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4; @@ -1767,6 +1819,8 @@ public: class domFloat4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; } protected: // Value /** @@ -1815,19 +1869,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x1; @@ -1837,6 +1891,8 @@ public: class domFloat1x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X1; } protected: // Value /** @@ -1885,19 +1941,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x2; @@ -1907,6 +1963,8 @@ public: class domFloat1x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X2; } protected: // Value /** @@ -1955,19 +2013,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x3; @@ -1977,6 +2035,8 @@ public: class domFloat1x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X3; } protected: // Value /** @@ -2025,19 +2085,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x4; @@ -2047,6 +2107,8 @@ public: class domFloat1x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X4; } protected: // Value /** @@ -2095,19 +2157,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x1; @@ -2117,6 +2179,8 @@ public: class domFloat2x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X1; } protected: // Value /** @@ -2165,19 +2229,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x2; @@ -2187,6 +2251,8 @@ public: class domFloat2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; } protected: // Value /** @@ -2235,19 +2301,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x3; @@ -2257,6 +2323,8 @@ public: class domFloat2x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X3; } protected: // Value /** @@ -2305,19 +2373,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x4; @@ -2327,6 +2395,8 @@ public: class domFloat2x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X4; } protected: // Value /** @@ -2375,19 +2445,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x1; @@ -2397,6 +2467,8 @@ public: class domFloat3x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X1; } protected: // Value /** @@ -2445,19 +2517,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x2; @@ -2467,6 +2539,8 @@ public: class domFloat3x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X2; } protected: // Value /** @@ -2515,19 +2589,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x3; @@ -2537,6 +2611,8 @@ public: class domFloat3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; } protected: // Value /** @@ -2585,19 +2661,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x4; @@ -2607,6 +2683,8 @@ public: class domFloat3x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X4; } protected: // Value /** @@ -2655,19 +2733,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x1; @@ -2677,6 +2755,8 @@ public: class domFloat4x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X1; } protected: // Value /** @@ -2725,19 +2805,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x2; @@ -2747,6 +2827,8 @@ public: class domFloat4x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X2; } protected: // Value /** @@ -2795,19 +2877,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x3; @@ -2817,6 +2899,8 @@ public: class domFloat4x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X3; } protected: // Value /** @@ -2865,19 +2949,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x4; @@ -2887,6 +2971,8 @@ public: class domFloat4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; } protected: // Value /** @@ -2935,19 +3021,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt; @@ -2957,6 +3043,8 @@ public: class domInt : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; } protected: // Value /** @@ -3000,19 +3088,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt1; @@ -3022,6 +3110,8 @@ public: class domInt1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT1; } protected: // Value /** @@ -3065,19 +3155,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2; @@ -3087,6 +3177,8 @@ public: class domInt2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; } protected: // Value /** @@ -3135,19 +3227,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3; @@ -3157,6 +3249,8 @@ public: class domInt3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; } protected: // Value /** @@ -3205,19 +3299,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4; @@ -3227,6 +3321,8 @@ public: class domInt4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; } protected: // Value /** @@ -3275,19 +3371,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt1x1; @@ -3297,6 +3393,8 @@ public: class domInt1x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT1X1; } protected: // Value /** @@ -3345,19 +3443,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt1x2; @@ -3367,6 +3465,8 @@ public: class domInt1x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT1X2; } protected: // Value /** @@ -3415,19 +3515,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt1x3; @@ -3437,6 +3537,8 @@ public: class domInt1x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT1X3; } protected: // Value /** @@ -3485,19 +3587,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt1x4; @@ -3507,6 +3609,8 @@ public: class domInt1x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT1X4; } protected: // Value /** @@ -3555,19 +3659,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2x1; @@ -3577,6 +3681,8 @@ public: class domInt2x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2X1; } protected: // Value /** @@ -3625,19 +3731,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2x2; @@ -3647,6 +3753,8 @@ public: class domInt2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2X2; } protected: // Value /** @@ -3695,19 +3803,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2x3; @@ -3717,6 +3825,8 @@ public: class domInt2x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2X3; } protected: // Value /** @@ -3765,19 +3875,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2x4; @@ -3787,6 +3897,8 @@ public: class domInt2x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2X4; } protected: // Value /** @@ -3835,19 +3947,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3x1; @@ -3857,6 +3969,8 @@ public: class domInt3x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3X1; } protected: // Value /** @@ -3905,19 +4019,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3x2; @@ -3927,6 +4041,8 @@ public: class domInt3x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3X2; } protected: // Value /** @@ -3975,19 +4091,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3x3; @@ -3997,6 +4113,8 @@ public: class domInt3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3X3; } protected: // Value /** @@ -4045,19 +4163,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3x4; @@ -4067,6 +4185,8 @@ public: class domInt3x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3X4; } protected: // Value /** @@ -4115,19 +4235,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4x1; @@ -4137,6 +4257,8 @@ public: class domInt4x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4X1; } protected: // Value /** @@ -4185,19 +4307,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4x2; @@ -4207,6 +4329,8 @@ public: class domInt4x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4X2; } protected: // Value /** @@ -4255,19 +4379,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4x3; @@ -4277,6 +4401,8 @@ public: class domInt4x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4X3; } protected: // Value /** @@ -4325,19 +4451,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4x4; @@ -4347,6 +4473,8 @@ public: class domInt4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4X4; } protected: // Value /** @@ -4395,19 +4523,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf; @@ -4417,6 +4545,8 @@ public: class domHalf : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF; } protected: // Value /** @@ -4460,19 +4590,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf1; @@ -4482,6 +4612,8 @@ public: class domHalf1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF1; } protected: // Value /** @@ -4525,19 +4657,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf2; @@ -4547,6 +4679,8 @@ public: class domHalf2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF2; } protected: // Value /** @@ -4595,19 +4729,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf3; @@ -4617,6 +4751,8 @@ public: class domHalf3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF3; } protected: // Value /** @@ -4665,19 +4801,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf4; @@ -4687,6 +4823,8 @@ public: class domHalf4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF4; } protected: // Value /** @@ -4735,19 +4873,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf1x1; @@ -4757,6 +4895,8 @@ public: class domHalf1x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF1X1; } protected: // Value /** @@ -4805,19 +4945,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf1x2; @@ -4827,6 +4967,8 @@ public: class domHalf1x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF1X2; } protected: // Value /** @@ -4875,19 +5017,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf1x3; @@ -4897,6 +5039,8 @@ public: class domHalf1x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF1X3; } protected: // Value /** @@ -4945,19 +5089,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf1x4; @@ -4967,6 +5111,8 @@ public: class domHalf1x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF1X4; } protected: // Value /** @@ -5015,19 +5161,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf2x1; @@ -5037,6 +5183,8 @@ public: class domHalf2x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF2X1; } protected: // Value /** @@ -5085,19 +5233,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf2x2; @@ -5107,6 +5255,8 @@ public: class domHalf2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF2X2; } protected: // Value /** @@ -5155,19 +5305,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf2x3; @@ -5177,6 +5327,8 @@ public: class domHalf2x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF2X3; } protected: // Value /** @@ -5225,19 +5377,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf2x4; @@ -5247,6 +5399,8 @@ public: class domHalf2x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF2X4; } protected: // Value /** @@ -5295,19 +5449,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf3x1; @@ -5317,6 +5471,8 @@ public: class domHalf3x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF3X1; } protected: // Value /** @@ -5365,19 +5521,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf3x2; @@ -5387,6 +5543,8 @@ public: class domHalf3x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF3X2; } protected: // Value /** @@ -5435,19 +5593,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf3x3; @@ -5457,6 +5615,8 @@ public: class domHalf3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF3X3; } protected: // Value /** @@ -5505,19 +5665,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf3x4; @@ -5527,6 +5687,8 @@ public: class domHalf3x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF3X4; } protected: // Value /** @@ -5575,19 +5737,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf4x1; @@ -5597,6 +5759,8 @@ public: class domHalf4x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF4X1; } protected: // Value /** @@ -5645,19 +5809,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf4x2; @@ -5667,6 +5831,8 @@ public: class domHalf4x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF4X2; } protected: // Value /** @@ -5715,19 +5881,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf4x3; @@ -5737,6 +5903,8 @@ public: class domHalf4x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF4X3; } protected: // Value /** @@ -5785,19 +5953,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domHalf4x4; @@ -5807,6 +5975,8 @@ public: class domHalf4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HALF4X4; } protected: // Value /** @@ -5855,19 +6025,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed; @@ -5877,6 +6047,8 @@ public: class domFixed : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED; } protected: // Value /** @@ -5920,19 +6092,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed1; @@ -5942,6 +6114,8 @@ public: class domFixed1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED1; } protected: // Value /** @@ -5985,19 +6159,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed2; @@ -6007,6 +6181,8 @@ public: class domFixed2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED2; } protected: // Value /** @@ -6055,19 +6231,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed3; @@ -6077,6 +6253,8 @@ public: class domFixed3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED3; } protected: // Value /** @@ -6125,19 +6303,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed4; @@ -6147,6 +6325,8 @@ public: class domFixed4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED4; } protected: // Value /** @@ -6195,19 +6375,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed1x1; @@ -6217,6 +6397,8 @@ public: class domFixed1x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED1X1; } protected: // Value /** @@ -6265,19 +6447,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed1x2; @@ -6287,6 +6469,8 @@ public: class domFixed1x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED1X2; } protected: // Value /** @@ -6335,19 +6519,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed1x3; @@ -6357,6 +6541,8 @@ public: class domFixed1x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED1X3; } protected: // Value /** @@ -6405,19 +6591,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed1x4; @@ -6427,6 +6613,8 @@ public: class domFixed1x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED1X4; } protected: // Value /** @@ -6475,19 +6663,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed2x1; @@ -6497,6 +6685,8 @@ public: class domFixed2x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED2X1; } protected: // Value /** @@ -6545,19 +6735,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed2x2; @@ -6567,6 +6757,8 @@ public: class domFixed2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED2X2; } protected: // Value /** @@ -6615,19 +6807,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed2x3; @@ -6637,6 +6829,8 @@ public: class domFixed2x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED2X3; } protected: // Value /** @@ -6685,19 +6879,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed2x4; @@ -6707,6 +6901,8 @@ public: class domFixed2x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED2X4; } protected: // Value /** @@ -6755,19 +6951,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed3x1; @@ -6777,6 +6973,8 @@ public: class domFixed3x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED3X1; } protected: // Value /** @@ -6825,19 +7023,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed3x2; @@ -6847,6 +7045,8 @@ public: class domFixed3x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED3X2; } protected: // Value /** @@ -6895,19 +7095,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed3x3; @@ -6917,6 +7117,8 @@ public: class domFixed3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED3X3; } protected: // Value /** @@ -6965,19 +7167,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed3x4; @@ -6987,6 +7189,8 @@ public: class domFixed3x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED3X4; } protected: // Value /** @@ -7035,19 +7239,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed4x1; @@ -7057,6 +7261,8 @@ public: class domFixed4x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED4X1; } protected: // Value /** @@ -7105,19 +7311,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed4x2; @@ -7127,6 +7333,8 @@ public: class domFixed4x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED4X2; } protected: // Value /** @@ -7175,19 +7383,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed4x3; @@ -7197,6 +7405,8 @@ public: class domFixed4x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED4X3; } protected: // Value /** @@ -7245,19 +7455,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFixed4x4; @@ -7267,6 +7477,8 @@ public: class domFixed4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FIXED4X4; } protected: // Value /** @@ -7315,19 +7527,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domString; @@ -7337,6 +7549,8 @@ public: class domString : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STRING; } protected: // Value /** @@ -7380,19 +7594,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domEnum; @@ -7402,6 +7616,8 @@ public: class domEnum : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ENUM; } protected: // Value /** @@ -7445,19 +7661,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -8193,19 +8409,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler1D.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler1D.h index dc25e4340..5ff31651a 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler1D.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler1D.h @@ -45,6 +45,8 @@ protected: */ class domCg_sampler1D : public daeElement, public domCg_sampler1D_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLER1D; } protected: /** * Constructor @@ -69,19 +71,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler2D.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler2D.h index a83b4f72a..187c8b543 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler2D.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler2D.h @@ -45,6 +45,8 @@ protected: */ class domCg_sampler2D : public daeElement, public domCg_sampler2D_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLER2D; } protected: /** * Constructor @@ -69,19 +71,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler3D.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler3D.h index a7f3ebc1b..64bbeff0a 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler3D.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_sampler3D.h @@ -45,6 +45,8 @@ protected: */ class domCg_sampler3D : public daeElement, public domCg_sampler3D_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLER3D; } protected: /** * Constructor @@ -69,19 +71,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerCUBE.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerCUBE.h index 6cfcd7f0e..84f6062f8 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerCUBE.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerCUBE.h @@ -45,6 +45,8 @@ protected: */ class domCg_samplerCUBE : public daeElement, public domCg_samplerCUBE_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLERCUBE; } protected: /** * Constructor @@ -69,19 +71,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerDEPTH.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerDEPTH.h index 3eba4e8e3..9801f6210 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerDEPTH.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerDEPTH.h @@ -45,6 +45,8 @@ protected: */ class domCg_samplerDEPTH : public daeElement, public domCg_samplerDEPTH_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLERDEPTH; } protected: /** * Constructor @@ -69,19 +71,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerRECT.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerRECT.h index 81645886d..d9b19c1de 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerRECT.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_samplerRECT.h @@ -45,6 +45,8 @@ protected: */ class domCg_samplerRECT : public daeElement, public domCg_samplerRECT_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLERRECT; } protected: /** * Constructor @@ -69,19 +71,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_setarray_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_setarray_type.h index 6c7c63c7e..d7c0ed418 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_setarray_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_setarray_type.h @@ -129,6 +129,8 @@ protected: */ class domCg_setarray_type : public daeElement, public domCg_setarray_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETARRAY_TYPE; } public: //Accessors and Mutators /** @@ -167,19 +169,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam.h index 46b734a45..2f8c61729 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam.h @@ -123,6 +123,8 @@ protected: */ class domCg_setparam : public daeElement, public domCg_setparam_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETPARAM; } public: //Accessors and Mutators /** @@ -173,19 +175,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam_simple.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam_simple.h index 4bebc3fd6..3cec00ed9 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam_simple.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_setparam_simple.h @@ -79,6 +79,8 @@ protected: */ class domCg_setparam_simple : public daeElement, public domCg_setparam_simple_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETPARAM_SIMPLE; } public: //Accessors and Mutators /** @@ -117,19 +119,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_setuser_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_setuser_type.h index 7d52e70ae..731e7b4e3 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_setuser_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_setuser_type.h @@ -162,6 +162,8 @@ protected: */ class domCg_setuser_type : public daeElement, public domCg_setuser_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETUSER_TYPE; } public: //Accessors and Mutators /** @@ -212,19 +214,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCg_surface_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCg_surface_type.h index 107f6b987..88dbf7a92 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCg_surface_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCg_surface_type.h @@ -39,6 +39,8 @@ public: */ class domGenerator : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GENERATOR; } public: class domName; @@ -50,6 +52,8 @@ public: */ class domName : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NAME; } protected: // Attribute xsNCName attrSource; @@ -107,19 +111,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -239,19 +243,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -292,6 +296,8 @@ protected: */ class domCg_surface_type : public daeElement, public domCg_surface_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SURFACE_TYPE; } protected: /** * Constructor @@ -316,19 +322,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domChannel.h b/Extras/COLLADA_DOM/include/1.4/dom/domChannel.h index 65fb2360b..5e936f56f 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domChannel.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domChannel.h @@ -22,6 +22,8 @@ */ class domChannel : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CHANNEL; } protected: // Attributes /** * The source attribute indicates the location of the sampler using a URL @@ -52,7 +54,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const domURIFragmentType &atSource ) { attrSource.setURI( atSource.getURI() ); + void setSource( const domURIFragmentType &atSource ) { attrSource = atSource; _validAttributeArray[0] = true; } /** @@ -91,19 +93,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCommon_color_or_texture_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCommon_color_or_texture_type.h index c29bbbef2..af6945193 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCommon_color_or_texture_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCommon_color_or_texture_type.h @@ -28,6 +28,8 @@ public: class domColor : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR; } protected: // Attribute xsNCName attrSid; @@ -90,19 +92,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domParam; @@ -112,6 +114,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Attribute xsNCName attrRef; @@ -153,19 +157,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture; @@ -175,6 +179,8 @@ public: class domTexture : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE; } protected: // Attributes xsNCName attrTexture; xsNCName attrTexcoord; @@ -236,22 +242,23 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; + protected: // Elements domColorRef elemColor; domParamRef elemParam; @@ -317,6 +324,8 @@ protected: */ class domCommon_color_or_texture_type : public daeElement, public domCommon_color_or_texture_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_COLOR_OR_TEXTURE_TYPE; } protected: /** * Constructor @@ -341,19 +350,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCommon_float_or_param_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCommon_float_or_param_type.h index 38e0de614..0422f5896 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCommon_float_or_param_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCommon_float_or_param_type.h @@ -27,6 +27,8 @@ public: class domFloat : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; } protected: // Attribute xsNCName attrSid; @@ -84,19 +86,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domParam; @@ -106,6 +108,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Attribute xsNCName attrRef; @@ -147,19 +151,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -223,6 +227,8 @@ protected: */ class domCommon_float_or_param_type : public daeElement, public domCommon_float_or_param_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_FLOAT_OR_PARAM_TYPE; } protected: /** * Constructor @@ -247,19 +253,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCommon_newparam_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCommon_newparam_type.h index ddd42e461..70da2346e 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCommon_newparam_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCommon_newparam_type.h @@ -29,6 +29,8 @@ public: class domSemantic : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; } protected: // Value /** @@ -72,19 +74,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat; @@ -94,6 +96,8 @@ public: class domFloat : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; } protected: // Value /** @@ -137,19 +141,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2; @@ -159,6 +163,8 @@ public: class domFloat2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; } protected: // Value /** @@ -207,19 +213,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3; @@ -229,6 +235,8 @@ public: class domFloat3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; } protected: // Value /** @@ -277,19 +285,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4; @@ -299,6 +307,8 @@ public: class domFloat4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; } protected: // Value /** @@ -347,19 +357,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -471,6 +481,8 @@ protected: */ class domCommon_newparam_type : public daeElement, public domCommon_newparam_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_NEWPARAM_TYPE; } public: //Accessors and Mutators /** @@ -509,19 +521,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCommon_transparent_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domCommon_transparent_type.h index f5798f880..53819a3a6 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCommon_transparent_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCommon_transparent_type.h @@ -23,6 +23,8 @@ */ class domCommon_transparent_type : public domCommon_color_or_texture_type { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_TRANSPARENT_TYPE; } protected: // Attribute domFx_opaque_enum attrOpaque; @@ -64,19 +66,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domConstants.h b/Extras/COLLADA_DOM/include/1.4/dom/domConstants.h index 383987653..15f05709b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domConstants.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domConstants.h @@ -16,568 +16,1078 @@ #include -extern daeString COLLADA_VERSION; -extern daeString COLLADA_NAMESPACE; -extern daeString COMMON_PROFILE_INPUT_BINORMAL; -extern daeString COMMON_PROFILE_INPUT_COLOR; -extern daeString COMMON_PROFILE_INPUT_CONTINUITY; -extern daeString COMMON_PROFILE_INPUT_IMAGE; -extern daeString COMMON_PROFILE_INPUT_IN_TANGENT; -extern daeString COMMON_PROFILE_INPUT_INPUT; -extern daeString COMMON_PROFILE_INPUT_INTERPOLATION; -extern daeString COMMON_PROFILE_INPUT_INV_BIND_MATRIX; -extern daeString COMMON_PROFILE_INPUT_JOINT; -extern daeString COMMON_PROFILE_INPUT_LINEAR_STEPS; -extern daeString COMMON_PROFILE_INPUT_MORPH_TARGET; -extern daeString COMMON_PROFILE_INPUT_MORPH_WEIGHT; -extern daeString COMMON_PROFILE_INPUT_NORMAL; -extern daeString COMMON_PROFILE_INPUT_OUTPUT; -extern daeString COMMON_PROFILE_INPUT_OUT_TANGENT; -extern daeString COMMON_PROFILE_INPUT_POSITION; -extern daeString COMMON_PROFILE_INPUT_TANGENT; -extern daeString COMMON_PROFILE_INPUT_TEXBINORMAL; -extern daeString COMMON_PROFILE_INPUT_TEXCOORD; -extern daeString COMMON_PROFILE_INPUT_TEXTANGENT; -extern daeString COMMON_PROFILE_INPUT_UV; -extern daeString COMMON_PROFILE_INPUT_VERTEX; -extern daeString COMMON_PROFILE_INPUT_WEIGHT; +extern DLLSPEC daeString COLLADA_VERSION; +extern DLLSPEC daeString COLLADA_NAMESPACE; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_BINORMAL; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_COLOR; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_CONTINUITY; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_IMAGE; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_IN_TANGENT; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_INPUT; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_INTERPOLATION; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_INV_BIND_MATRIX; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_JOINT; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_LINEAR_STEPS; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_MORPH_TARGET; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_MORPH_WEIGHT; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_NORMAL; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_OUTPUT; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_OUT_TANGENT; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_POSITION; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_TANGENT; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_TEXBINORMAL; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_TEXCOORD; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_TEXTANGENT; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_UV; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_VERTEX; +extern DLLSPEC daeString COMMON_PROFILE_INPUT_WEIGHT; -extern daeString COMMON_PROFILE_PARAM_A; -extern daeString COMMON_PROFILE_PARAM_ANGLE; -extern daeString COMMON_PROFILE_PARAM_B; -extern daeString COMMON_PROFILE_PARAM_DOUBLE_SIDED; -extern daeString COMMON_PROFILE_PARAM_G; -extern daeString COMMON_PROFILE_PARAM_P; -extern daeString COMMON_PROFILE_PARAM_Q; -extern daeString COMMON_PROFILE_PARAM_R; -extern daeString COMMON_PROFILE_PARAM_S; -extern daeString COMMON_PROFILE_PARAM_T; -extern daeString COMMON_PROFILE_PARAM_TIME; -extern daeString COMMON_PROFILE_PARAM_U; -extern daeString COMMON_PROFILE_PARAM_V; -extern daeString COMMON_PROFILE_PARAM_W; -extern daeString COMMON_PROFILE_PARAM_X; -extern daeString COMMON_PROFILE_PARAM_Y; -extern daeString COMMON_PROFILE_PARAM_Z; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_A; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_ANGLE; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_B; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_DOUBLE_SIDED; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_G; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_P; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_Q; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_R; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_S; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_T; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_TIME; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_U; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_V; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_W; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_X; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_Y; +extern DLLSPEC daeString COMMON_PROFILE_PARAM_Z; -extern daeString COLLADA_ELEMENT_INPUTGLOBAL; -extern daeString COLLADA_ELEMENT_INPUTLOCAL; -extern daeString COLLADA_ELEMENT_INPUTLOCALOFFSET; -extern daeString COLLADA_ELEMENT_INSTANCEWITHEXTRA; -extern daeString COLLADA_ELEMENT_TARGETABLEFLOAT; -extern daeString COLLADA_ELEMENT_TARGETABLEFLOAT3; -extern daeString COLLADA_ELEMENT_FX_SURFACE_FORMAT_HINT_COMMON; -extern daeString COLLADA_ELEMENT_CHANNELS; -extern daeString COLLADA_ELEMENT_RANGE; -extern daeString COLLADA_ELEMENT_PRECISION; -extern daeString COLLADA_ELEMENT_OPTION; -extern daeString COLLADA_ELEMENT_FX_SURFACE_INIT_PLANAR_COMMON; -extern daeString COLLADA_ELEMENT_ALL; -extern daeString COLLADA_ELEMENT_FX_SURFACE_INIT_VOLUME_COMMON; -extern daeString COLLADA_ELEMENT_PRIMARY; -extern daeString COLLADA_ELEMENT_FX_SURFACE_INIT_CUBE_COMMON; -extern daeString COLLADA_ELEMENT_ORDER; -extern daeString COLLADA_ELEMENT_FACE; -extern daeString COLLADA_ELEMENT_FX_SURFACE_INIT_FROM_COMMON; -extern daeString COLLADA_ELEMENT_FX_SURFACE_COMMON; -extern daeString COLLADA_ELEMENT_FORMAT; -extern daeString COLLADA_ELEMENT_SIZE; -extern daeString COLLADA_ELEMENT_VIEWPORT_RATIO; -extern daeString COLLADA_ELEMENT_MIP_LEVELS; -extern daeString COLLADA_ELEMENT_MIPMAP_GENERATE; -extern daeString COLLADA_ELEMENT_FX_SAMPLER1D_COMMON; -extern daeString COLLADA_ELEMENT_SOURCE; -extern daeString COLLADA_ELEMENT_WRAP_S; -extern daeString COLLADA_ELEMENT_MINFILTER; -extern daeString COLLADA_ELEMENT_MAGFILTER; -extern daeString COLLADA_ELEMENT_MIPFILTER; -extern daeString COLLADA_ELEMENT_BORDER_COLOR; -extern daeString COLLADA_ELEMENT_MIPMAP_MAXLEVEL; -extern daeString COLLADA_ELEMENT_MIPMAP_BIAS; -extern daeString COLLADA_ELEMENT_FX_SAMPLER2D_COMMON; -extern daeString COLLADA_ELEMENT_WRAP_T; -extern daeString COLLADA_ELEMENT_FX_SAMPLER3D_COMMON; -extern daeString COLLADA_ELEMENT_WRAP_P; -extern daeString COLLADA_ELEMENT_FX_SAMPLERCUBE_COMMON; -extern daeString COLLADA_ELEMENT_FX_SAMPLERRECT_COMMON; -extern daeString COLLADA_ELEMENT_FX_SAMPLERDEPTH_COMMON; -extern daeString COLLADA_ELEMENT_FX_COLORTARGET_COMMON; -extern daeString COLLADA_ELEMENT_FX_DEPTHTARGET_COMMON; -extern daeString COLLADA_ELEMENT_FX_STENCILTARGET_COMMON; -extern daeString COLLADA_ELEMENT_FX_CLEARCOLOR_COMMON; -extern daeString COLLADA_ELEMENT_FX_CLEARDEPTH_COMMON; -extern daeString COLLADA_ELEMENT_FX_CLEARSTENCIL_COMMON; -extern daeString COLLADA_ELEMENT_FX_ANNOTATE_COMMON; -extern daeString COLLADA_ELEMENT_FX_INCLUDE_COMMON; -extern daeString COLLADA_ELEMENT_FX_NEWPARAM_COMMON; -extern daeString COLLADA_ELEMENT_SEMANTIC; -extern daeString COLLADA_ELEMENT_MODIFIER; -extern daeString COLLADA_ELEMENT_FX_CODE_PROFILE; -extern daeString COLLADA_ELEMENT_GL_SAMPLER1D; -extern daeString COLLADA_ELEMENT_GL_SAMPLER2D; -extern daeString COLLADA_ELEMENT_GL_SAMPLER3D; -extern daeString COLLADA_ELEMENT_GL_SAMPLERCUBE; -extern daeString COLLADA_ELEMENT_GL_SAMPLERRECT; -extern daeString COLLADA_ELEMENT_GL_SAMPLERDEPTH; -extern daeString COLLADA_ELEMENT_GLSL_NEWARRAY_TYPE; -extern daeString COLLADA_ELEMENT_GLSL_SETARRAY_TYPE; -extern daeString COLLADA_ELEMENT_GLSL_SURFACE_TYPE; -extern daeString COLLADA_ELEMENT_GENERATOR; -extern daeString COLLADA_ELEMENT_NAME; -extern daeString COLLADA_ELEMENT_GLSL_NEWPARAM; -extern daeString COLLADA_ELEMENT_GLSL_SETPARAM_SIMPLE; -extern daeString COLLADA_ELEMENT_GLSL_SETPARAM; -extern daeString COLLADA_ELEMENT_COMMON_FLOAT_OR_PARAM_TYPE; -extern daeString COLLADA_ELEMENT_FLOAT; -extern daeString COLLADA_ELEMENT_PARAM; -extern daeString COLLADA_ELEMENT_COMMON_COLOR_OR_TEXTURE_TYPE; -extern daeString COLLADA_ELEMENT_COLOR; -extern daeString COLLADA_ELEMENT_TEXTURE; -extern daeString COLLADA_ELEMENT_COMMON_TRANSPARENT_TYPE; -extern daeString COLLADA_ELEMENT_COMMON_NEWPARAM_TYPE; -extern daeString COLLADA_ELEMENT_FLOAT2; -extern daeString COLLADA_ELEMENT_FLOAT3; -extern daeString COLLADA_ELEMENT_FLOAT4; -extern daeString COLLADA_ELEMENT_CG_SAMPLER1D; -extern daeString COLLADA_ELEMENT_CG_SAMPLER2D; -extern daeString COLLADA_ELEMENT_CG_SAMPLER3D; -extern daeString COLLADA_ELEMENT_CG_SAMPLERCUBE; -extern daeString COLLADA_ELEMENT_CG_SAMPLERRECT; -extern daeString COLLADA_ELEMENT_CG_SAMPLERDEPTH; -extern daeString COLLADA_ELEMENT_CG_CONNECT_PARAM; -extern daeString COLLADA_ELEMENT_CG_NEWARRAY_TYPE; -extern daeString COLLADA_ELEMENT_CG_SETARRAY_TYPE; -extern daeString COLLADA_ELEMENT_CG_SETUSER_TYPE; -extern daeString COLLADA_ELEMENT_CG_SURFACE_TYPE; -extern daeString COLLADA_ELEMENT_CG_NEWPARAM; -extern daeString COLLADA_ELEMENT_CG_SETPARAM_SIMPLE; -extern daeString COLLADA_ELEMENT_CG_SETPARAM; -extern daeString COLLADA_ELEMENT_GLES_TEXTURE_CONSTANT_TYPE; -extern daeString COLLADA_ELEMENT_GLES_TEXENV_COMMAND_TYPE; -extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_ARGUMENTRGB_TYPE; -extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_ARGUMENTALPHA_TYPE; -extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMANDRGB_TYPE; -extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMANDALPHA_TYPE; -extern daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMAND_TYPE; -extern daeString COLLADA_ELEMENT_GLES_TEXTURE_PIPELINE; -extern daeString COLLADA_ELEMENT_GLES_TEXTURE_UNIT; -extern daeString COLLADA_ELEMENT_SURFACE; -extern daeString COLLADA_ELEMENT_SAMPLER_STATE; -extern daeString COLLADA_ELEMENT_TEXCOORD; -extern daeString COLLADA_ELEMENT_GLES_SAMPLER_STATE; -extern daeString COLLADA_ELEMENT_GLES_NEWPARAM; -extern daeString COLLADA_ELEMENT_FX_SURFACE_INIT_COMMON; -extern daeString COLLADA_ELEMENT_INIT_AS_NULL; -extern daeString COLLADA_ELEMENT_INIT_AS_TARGET; -extern daeString COLLADA_ELEMENT_FX_ANNOTATE_TYPE_COMMON; -extern daeString COLLADA_ELEMENT_BOOL; -extern daeString COLLADA_ELEMENT_BOOL2; -extern daeString COLLADA_ELEMENT_BOOL3; -extern daeString COLLADA_ELEMENT_BOOL4; -extern daeString COLLADA_ELEMENT_INT; -extern daeString COLLADA_ELEMENT_INT2; -extern daeString COLLADA_ELEMENT_INT3; -extern daeString COLLADA_ELEMENT_INT4; -extern daeString COLLADA_ELEMENT_FLOAT2X2; -extern daeString COLLADA_ELEMENT_FLOAT3X3; -extern daeString COLLADA_ELEMENT_FLOAT4X4; -extern daeString COLLADA_ELEMENT_STRING; -extern daeString COLLADA_ELEMENT_FX_BASIC_TYPE_COMMON; -extern daeString COLLADA_ELEMENT_FLOAT1X1; -extern daeString COLLADA_ELEMENT_FLOAT1X2; -extern daeString COLLADA_ELEMENT_FLOAT1X3; -extern daeString COLLADA_ELEMENT_FLOAT1X4; -extern daeString COLLADA_ELEMENT_FLOAT2X1; -extern daeString COLLADA_ELEMENT_FLOAT2X3; -extern daeString COLLADA_ELEMENT_FLOAT2X4; -extern daeString COLLADA_ELEMENT_FLOAT3X1; -extern daeString COLLADA_ELEMENT_FLOAT3X2; -extern daeString COLLADA_ELEMENT_FLOAT3X4; -extern daeString COLLADA_ELEMENT_FLOAT4X1; -extern daeString COLLADA_ELEMENT_FLOAT4X2; -extern daeString COLLADA_ELEMENT_FLOAT4X3; -extern daeString COLLADA_ELEMENT_ENUM; -extern daeString COLLADA_ELEMENT_GL_PIPELINE_SETTINGS; -extern daeString COLLADA_ELEMENT_ALPHA_FUNC; -extern daeString COLLADA_ELEMENT_FUNC; -extern daeString COLLADA_ELEMENT_VALUE; -extern daeString COLLADA_ELEMENT_BLEND_FUNC; -extern daeString COLLADA_ELEMENT_SRC; -extern daeString COLLADA_ELEMENT_DEST; -extern daeString COLLADA_ELEMENT_BLEND_FUNC_SEPARATE; -extern daeString COLLADA_ELEMENT_SRC_RGB; -extern daeString COLLADA_ELEMENT_DEST_RGB; -extern daeString COLLADA_ELEMENT_SRC_ALPHA; -extern daeString COLLADA_ELEMENT_DEST_ALPHA; -extern daeString COLLADA_ELEMENT_BLEND_EQUATION; -extern daeString COLLADA_ELEMENT_BLEND_EQUATION_SEPARATE; -extern daeString COLLADA_ELEMENT_RGB; -extern daeString COLLADA_ELEMENT_ALPHA; -extern daeString COLLADA_ELEMENT_COLOR_MATERIAL; -extern daeString COLLADA_ELEMENT_MODE; -extern daeString COLLADA_ELEMENT_CULL_FACE; -extern daeString COLLADA_ELEMENT_DEPTH_FUNC; -extern daeString COLLADA_ELEMENT_FOG_MODE; -extern daeString COLLADA_ELEMENT_FOG_COORD_SRC; -extern daeString COLLADA_ELEMENT_FRONT_FACE; -extern daeString COLLADA_ELEMENT_LIGHT_MODEL_COLOR_CONTROL; -extern daeString COLLADA_ELEMENT_LOGIC_OP; -extern daeString COLLADA_ELEMENT_POLYGON_MODE; -extern daeString COLLADA_ELEMENT_SHADE_MODEL; -extern daeString COLLADA_ELEMENT_STENCIL_FUNC; -extern daeString COLLADA_ELEMENT_REF; -extern daeString COLLADA_ELEMENT_MASK; -extern daeString COLLADA_ELEMENT_STENCIL_OP; -extern daeString COLLADA_ELEMENT_FAIL; -extern daeString COLLADA_ELEMENT_ZFAIL; -extern daeString COLLADA_ELEMENT_ZPASS; -extern daeString COLLADA_ELEMENT_STENCIL_FUNC_SEPARATE; -extern daeString COLLADA_ELEMENT_FRONT; -extern daeString COLLADA_ELEMENT_BACK; -extern daeString COLLADA_ELEMENT_STENCIL_OP_SEPARATE; -extern daeString COLLADA_ELEMENT_STENCIL_MASK_SEPARATE; -extern daeString COLLADA_ELEMENT_LIGHT_ENABLE; -extern daeString COLLADA_ELEMENT_LIGHT_AMBIENT; -extern daeString COLLADA_ELEMENT_LIGHT_DIFFUSE; -extern daeString COLLADA_ELEMENT_LIGHT_SPECULAR; -extern daeString COLLADA_ELEMENT_LIGHT_POSITION; -extern daeString COLLADA_ELEMENT_LIGHT_CONSTANT_ATTENUATION; -extern daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUATION; -extern daeString COLLADA_ELEMENT_LIGHT_QUADRATIC_ATTENUATION; -extern daeString COLLADA_ELEMENT_LIGHT_SPOT_CUTOFF; -extern daeString COLLADA_ELEMENT_LIGHT_SPOT_DIRECTION; -extern daeString COLLADA_ELEMENT_LIGHT_SPOT_EXPONENT; -extern daeString COLLADA_ELEMENT_TEXTURE1D; -extern daeString COLLADA_ELEMENT_TEXTURE2D; -extern daeString COLLADA_ELEMENT_TEXTURE3D; -extern daeString COLLADA_ELEMENT_TEXTURECUBE; -extern daeString COLLADA_ELEMENT_TEXTURERECT; -extern daeString COLLADA_ELEMENT_TEXTUREDEPTH; -extern daeString COLLADA_ELEMENT_TEXTURE1D_ENABLE; -extern daeString COLLADA_ELEMENT_TEXTURE2D_ENABLE; -extern daeString COLLADA_ELEMENT_TEXTURE3D_ENABLE; -extern daeString COLLADA_ELEMENT_TEXTURECUBE_ENABLE; -extern daeString COLLADA_ELEMENT_TEXTURERECT_ENABLE; -extern daeString COLLADA_ELEMENT_TEXTUREDEPTH_ENABLE; -extern daeString COLLADA_ELEMENT_TEXTURE_ENV_COLOR; -extern daeString COLLADA_ELEMENT_TEXTURE_ENV_MODE; -extern daeString COLLADA_ELEMENT_CLIP_PLANE; -extern daeString COLLADA_ELEMENT_CLIP_PLANE_ENABLE; -extern daeString COLLADA_ELEMENT_BLEND_COLOR; -extern daeString COLLADA_ELEMENT_CLEAR_COLOR; -extern daeString COLLADA_ELEMENT_CLEAR_STENCIL; -extern daeString COLLADA_ELEMENT_CLEAR_DEPTH; -extern daeString COLLADA_ELEMENT_COLOR_MASK; -extern daeString COLLADA_ELEMENT_DEPTH_BOUNDS; -extern daeString COLLADA_ELEMENT_DEPTH_MASK; -extern daeString COLLADA_ELEMENT_DEPTH_RANGE; -extern daeString COLLADA_ELEMENT_FOG_DENSITY; -extern daeString COLLADA_ELEMENT_FOG_START; -extern daeString COLLADA_ELEMENT_FOG_END; -extern daeString COLLADA_ELEMENT_FOG_COLOR; -extern daeString COLLADA_ELEMENT_LIGHT_MODEL_AMBIENT; -extern daeString COLLADA_ELEMENT_LIGHTING_ENABLE; -extern daeString COLLADA_ELEMENT_LINE_STIPPLE; -extern daeString COLLADA_ELEMENT_LINE_WIDTH; -extern daeString COLLADA_ELEMENT_MATERIAL_AMBIENT; -extern daeString COLLADA_ELEMENT_MATERIAL_DIFFUSE; -extern daeString COLLADA_ELEMENT_MATERIAL_EMISSION; -extern daeString COLLADA_ELEMENT_MATERIAL_SHININESS; -extern daeString COLLADA_ELEMENT_MATERIAL_SPECULAR; -extern daeString COLLADA_ELEMENT_MODEL_VIEW_MATRIX; -extern daeString COLLADA_ELEMENT_POINT_DISTANCE_ATTENUATION; -extern daeString COLLADA_ELEMENT_POINT_FADE_THRESHOLD_SIZE; -extern daeString COLLADA_ELEMENT_POINT_SIZE; -extern daeString COLLADA_ELEMENT_POINT_SIZE_MIN; -extern daeString COLLADA_ELEMENT_POINT_SIZE_MAX; -extern daeString COLLADA_ELEMENT_POLYGON_OFFSET; -extern daeString COLLADA_ELEMENT_PROJECTION_MATRIX; -extern daeString COLLADA_ELEMENT_SCISSOR; -extern daeString COLLADA_ELEMENT_STENCIL_MASK; -extern daeString COLLADA_ELEMENT_ALPHA_TEST_ENABLE; -extern daeString COLLADA_ELEMENT_AUTO_NORMAL_ENABLE; -extern daeString COLLADA_ELEMENT_BLEND_ENABLE; -extern daeString COLLADA_ELEMENT_COLOR_LOGIC_OP_ENABLE; -extern daeString COLLADA_ELEMENT_COLOR_MATERIAL_ENABLE; -extern daeString COLLADA_ELEMENT_CULL_FACE_ENABLE; -extern daeString COLLADA_ELEMENT_DEPTH_BOUNDS_ENABLE; -extern daeString COLLADA_ELEMENT_DEPTH_CLAMP_ENABLE; -extern daeString COLLADA_ELEMENT_DEPTH_TEST_ENABLE; -extern daeString COLLADA_ELEMENT_DITHER_ENABLE; -extern daeString COLLADA_ELEMENT_FOG_ENABLE; -extern daeString COLLADA_ELEMENT_LIGHT_MODEL_LOCAL_VIEWER_ENABLE; -extern daeString COLLADA_ELEMENT_LIGHT_MODEL_TWO_SIDE_ENABLE; -extern daeString COLLADA_ELEMENT_LINE_SMOOTH_ENABLE; -extern daeString COLLADA_ELEMENT_LINE_STIPPLE_ENABLE; -extern daeString COLLADA_ELEMENT_LOGIC_OP_ENABLE; -extern daeString COLLADA_ELEMENT_MULTISAMPLE_ENABLE; -extern daeString COLLADA_ELEMENT_NORMALIZE_ENABLE; -extern daeString COLLADA_ELEMENT_POINT_SMOOTH_ENABLE; -extern daeString COLLADA_ELEMENT_POLYGON_OFFSET_FILL_ENABLE; -extern daeString COLLADA_ELEMENT_POLYGON_OFFSET_LINE_ENABLE; -extern daeString COLLADA_ELEMENT_POLYGON_OFFSET_POINT_ENABLE; -extern daeString COLLADA_ELEMENT_POLYGON_SMOOTH_ENABLE; -extern daeString COLLADA_ELEMENT_POLYGON_STIPPLE_ENABLE; -extern daeString COLLADA_ELEMENT_RESCALE_NORMAL_ENABLE; -extern daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_COVERAGE_ENABLE; -extern daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_ONE_ENABLE; -extern daeString COLLADA_ELEMENT_SAMPLE_COVERAGE_ENABLE; -extern daeString COLLADA_ELEMENT_SCISSOR_TEST_ENABLE; -extern daeString COLLADA_ELEMENT_STENCIL_TEST_ENABLE; -extern daeString COLLADA_ELEMENT_GLSL_PARAM_TYPE; -extern daeString COLLADA_ELEMENT_CG_PARAM_TYPE; -extern daeString COLLADA_ELEMENT_BOOL1; -extern daeString COLLADA_ELEMENT_BOOL1X1; -extern daeString COLLADA_ELEMENT_BOOL1X2; -extern daeString COLLADA_ELEMENT_BOOL1X3; -extern daeString COLLADA_ELEMENT_BOOL1X4; -extern daeString COLLADA_ELEMENT_BOOL2X1; -extern daeString COLLADA_ELEMENT_BOOL2X2; -extern daeString COLLADA_ELEMENT_BOOL2X3; -extern daeString COLLADA_ELEMENT_BOOL2X4; -extern daeString COLLADA_ELEMENT_BOOL3X1; -extern daeString COLLADA_ELEMENT_BOOL3X2; -extern daeString COLLADA_ELEMENT_BOOL3X3; -extern daeString COLLADA_ELEMENT_BOOL3X4; -extern daeString COLLADA_ELEMENT_BOOL4X1; -extern daeString COLLADA_ELEMENT_BOOL4X2; -extern daeString COLLADA_ELEMENT_BOOL4X3; -extern daeString COLLADA_ELEMENT_BOOL4X4; -extern daeString COLLADA_ELEMENT_FLOAT1; -extern daeString COLLADA_ELEMENT_INT1; -extern daeString COLLADA_ELEMENT_INT1X1; -extern daeString COLLADA_ELEMENT_INT1X2; -extern daeString COLLADA_ELEMENT_INT1X3; -extern daeString COLLADA_ELEMENT_INT1X4; -extern daeString COLLADA_ELEMENT_INT2X1; -extern daeString COLLADA_ELEMENT_INT2X2; -extern daeString COLLADA_ELEMENT_INT2X3; -extern daeString COLLADA_ELEMENT_INT2X4; -extern daeString COLLADA_ELEMENT_INT3X1; -extern daeString COLLADA_ELEMENT_INT3X2; -extern daeString COLLADA_ELEMENT_INT3X3; -extern daeString COLLADA_ELEMENT_INT3X4; -extern daeString COLLADA_ELEMENT_INT4X1; -extern daeString COLLADA_ELEMENT_INT4X2; -extern daeString COLLADA_ELEMENT_INT4X3; -extern daeString COLLADA_ELEMENT_INT4X4; -extern daeString COLLADA_ELEMENT_HALF; -extern daeString COLLADA_ELEMENT_HALF1; -extern daeString COLLADA_ELEMENT_HALF2; -extern daeString COLLADA_ELEMENT_HALF3; -extern daeString COLLADA_ELEMENT_HALF4; -extern daeString COLLADA_ELEMENT_HALF1X1; -extern daeString COLLADA_ELEMENT_HALF1X2; -extern daeString COLLADA_ELEMENT_HALF1X3; -extern daeString COLLADA_ELEMENT_HALF1X4; -extern daeString COLLADA_ELEMENT_HALF2X1; -extern daeString COLLADA_ELEMENT_HALF2X2; -extern daeString COLLADA_ELEMENT_HALF2X3; -extern daeString COLLADA_ELEMENT_HALF2X4; -extern daeString COLLADA_ELEMENT_HALF3X1; -extern daeString COLLADA_ELEMENT_HALF3X2; -extern daeString COLLADA_ELEMENT_HALF3X3; -extern daeString COLLADA_ELEMENT_HALF3X4; -extern daeString COLLADA_ELEMENT_HALF4X1; -extern daeString COLLADA_ELEMENT_HALF4X2; -extern daeString COLLADA_ELEMENT_HALF4X3; -extern daeString COLLADA_ELEMENT_HALF4X4; -extern daeString COLLADA_ELEMENT_FIXED; -extern daeString COLLADA_ELEMENT_FIXED1; -extern daeString COLLADA_ELEMENT_FIXED2; -extern daeString COLLADA_ELEMENT_FIXED3; -extern daeString COLLADA_ELEMENT_FIXED4; -extern daeString COLLADA_ELEMENT_FIXED1X1; -extern daeString COLLADA_ELEMENT_FIXED1X2; -extern daeString COLLADA_ELEMENT_FIXED1X3; -extern daeString COLLADA_ELEMENT_FIXED1X4; -extern daeString COLLADA_ELEMENT_FIXED2X1; -extern daeString COLLADA_ELEMENT_FIXED2X2; -extern daeString COLLADA_ELEMENT_FIXED2X3; -extern daeString COLLADA_ELEMENT_FIXED2X4; -extern daeString COLLADA_ELEMENT_FIXED3X1; -extern daeString COLLADA_ELEMENT_FIXED3X2; -extern daeString COLLADA_ELEMENT_FIXED3X3; -extern daeString COLLADA_ELEMENT_FIXED3X4; -extern daeString COLLADA_ELEMENT_FIXED4X1; -extern daeString COLLADA_ELEMENT_FIXED4X2; -extern daeString COLLADA_ELEMENT_FIXED4X3; -extern daeString COLLADA_ELEMENT_FIXED4X4; -extern daeString COLLADA_ELEMENT_GLES_PIPELINE_SETTINGS; -extern daeString COLLADA_ELEMENT_TEXTURE_PIPELINE; -extern daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUTATION; -extern daeString COLLADA_ELEMENT_TEXTURE_PIPELINE_ENABLE; -extern daeString COLLADA_ELEMENT_GLES_BASIC_TYPE_COMMON; -extern daeString COLLADA_ELEMENT_COLLADA; -extern daeString COLLADA_ELEMENT_SCENE; -extern daeString COLLADA_ELEMENT_IDREF_ARRAY; -extern daeString COLLADA_ELEMENT_NAME_ARRAY; -extern daeString COLLADA_ELEMENT_BOOL_ARRAY; -extern daeString COLLADA_ELEMENT_FLOAT_ARRAY; -extern daeString COLLADA_ELEMENT_INT_ARRAY; -extern daeString COLLADA_ELEMENT_ACCESSOR; -extern daeString COLLADA_ELEMENT_TECHNIQUE_COMMON; -extern daeString COLLADA_ELEMENT_GEOMETRY; -extern daeString COLLADA_ELEMENT_MESH; -extern daeString COLLADA_ELEMENT_SPLINE; -extern daeString COLLADA_ELEMENT_CONTROL_VERTICES; -extern daeString COLLADA_ELEMENT_P; -extern daeString COLLADA_ELEMENT_LINES; -extern daeString COLLADA_ELEMENT_LINESTRIPS; -extern daeString COLLADA_ELEMENT_POLYGONS; -extern daeString COLLADA_ELEMENT_PH; -extern daeString COLLADA_ELEMENT_H; -extern daeString COLLADA_ELEMENT_POLYLIST; -extern daeString COLLADA_ELEMENT_VCOUNT; -extern daeString COLLADA_ELEMENT_TRIANGLES; -extern daeString COLLADA_ELEMENT_TRIFANS; -extern daeString COLLADA_ELEMENT_TRISTRIPS; -extern daeString COLLADA_ELEMENT_VERTICES; -extern daeString COLLADA_ELEMENT_LOOKAT; -extern daeString COLLADA_ELEMENT_MATRIX; -extern daeString COLLADA_ELEMENT_ROTATE; -extern daeString COLLADA_ELEMENT_SCALE; -extern daeString COLLADA_ELEMENT_SKEW; -extern daeString COLLADA_ELEMENT_TRANSLATE; -extern daeString COLLADA_ELEMENT_IMAGE; -extern daeString COLLADA_ELEMENT_DATA; -extern daeString COLLADA_ELEMENT_INIT_FROM; -extern daeString COLLADA_ELEMENT_LIGHT; -extern daeString COLLADA_ELEMENT_AMBIENT; -extern daeString COLLADA_ELEMENT_DIRECTIONAL; -extern daeString COLLADA_ELEMENT_POINT; -extern daeString COLLADA_ELEMENT_SPOT; -extern daeString COLLADA_ELEMENT_MATERIAL; -extern daeString COLLADA_ELEMENT_CAMERA; -extern daeString COLLADA_ELEMENT_OPTICS; -extern daeString COLLADA_ELEMENT_ORTHOGRAPHIC; -extern daeString COLLADA_ELEMENT_PERSPECTIVE; -extern daeString COLLADA_ELEMENT_IMAGER; -extern daeString COLLADA_ELEMENT_ANIMATION; -extern daeString COLLADA_ELEMENT_ANIMATION_CLIP; -extern daeString COLLADA_ELEMENT_CHANNEL; -extern daeString COLLADA_ELEMENT_SAMPLER; -extern daeString COLLADA_ELEMENT_CONTROLLER; -extern daeString COLLADA_ELEMENT_SKIN; -extern daeString COLLADA_ELEMENT_BIND_SHAPE_MATRIX; -extern daeString COLLADA_ELEMENT_JOINTS; -extern daeString COLLADA_ELEMENT_VERTEX_WEIGHTS; -extern daeString COLLADA_ELEMENT_V; -extern daeString COLLADA_ELEMENT_MORPH; -extern daeString COLLADA_ELEMENT_TARGETS; -extern daeString COLLADA_ELEMENT_ASSET; -extern daeString COLLADA_ELEMENT_CONTRIBUTOR; -extern daeString COLLADA_ELEMENT_AUTHOR; -extern daeString COLLADA_ELEMENT_AUTHORING_TOOL; -extern daeString COLLADA_ELEMENT_COMMENTS; -extern daeString COLLADA_ELEMENT_COPYRIGHT; -extern daeString COLLADA_ELEMENT_SOURCE_DATA; -extern daeString COLLADA_ELEMENT_CREATED; -extern daeString COLLADA_ELEMENT_KEYWORDS; -extern daeString COLLADA_ELEMENT_MODIFIED; -extern daeString COLLADA_ELEMENT_REVISION; -extern daeString COLLADA_ELEMENT_SUBJECT; -extern daeString COLLADA_ELEMENT_TITLE; -extern daeString COLLADA_ELEMENT_UNIT; -extern daeString COLLADA_ELEMENT_UP_AXIS; -extern daeString COLLADA_ELEMENT_EXTRA; -extern daeString COLLADA_ELEMENT_TECHNIQUE; -extern daeString COLLADA_ELEMENT_NODE; -extern daeString COLLADA_ELEMENT_VISUAL_SCENE; -extern daeString COLLADA_ELEMENT_EVALUATE_SCENE; -extern daeString COLLADA_ELEMENT_RENDER; -extern daeString COLLADA_ELEMENT_LAYER; -extern daeString COLLADA_ELEMENT_BIND_MATERIAL; -extern daeString COLLADA_ELEMENT_INSTANCE_CAMERA; -extern daeString COLLADA_ELEMENT_INSTANCE_CONTROLLER; -extern daeString COLLADA_ELEMENT_SKELETON; -extern daeString COLLADA_ELEMENT_INSTANCE_EFFECT; -extern daeString COLLADA_ELEMENT_TECHNIQUE_HINT; -extern daeString COLLADA_ELEMENT_SETPARAM; -extern daeString COLLADA_ELEMENT_INSTANCE_FORCE_FIELD; -extern daeString COLLADA_ELEMENT_INSTANCE_GEOMETRY; -extern daeString COLLADA_ELEMENT_INSTANCE_LIGHT; -extern daeString COLLADA_ELEMENT_INSTANCE_MATERIAL; -extern daeString COLLADA_ELEMENT_BIND; -extern daeString COLLADA_ELEMENT_BIND_VERTEX_INPUT; -extern daeString COLLADA_ELEMENT_INSTANCE_NODE; -extern daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MATERIAL; -extern daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MODEL; -extern daeString COLLADA_ELEMENT_INSTANCE_RIGID_BODY; -extern daeString COLLADA_ELEMENT_ANGULAR_VELOCITY; -extern daeString COLLADA_ELEMENT_VELOCITY; -extern daeString COLLADA_ELEMENT_DYNAMIC; -extern daeString COLLADA_ELEMENT_MASS_FRAME; -extern daeString COLLADA_ELEMENT_SHAPE; -extern daeString COLLADA_ELEMENT_HOLLOW; -extern daeString COLLADA_ELEMENT_INSTANCE_RIGID_CONSTRAINT; -extern daeString COLLADA_ELEMENT_LIBRARY_ANIMATIONS; -extern daeString COLLADA_ELEMENT_LIBRARY_ANIMATION_CLIPS; -extern daeString COLLADA_ELEMENT_LIBRARY_CAMERAS; -extern daeString COLLADA_ELEMENT_LIBRARY_CONTROLLERS; -extern daeString COLLADA_ELEMENT_LIBRARY_GEOMETRIES; -extern daeString COLLADA_ELEMENT_LIBRARY_EFFECTS; -extern daeString COLLADA_ELEMENT_LIBRARY_FORCE_FIELDS; -extern daeString COLLADA_ELEMENT_LIBRARY_IMAGES; -extern daeString COLLADA_ELEMENT_LIBRARY_LIGHTS; -extern daeString COLLADA_ELEMENT_LIBRARY_MATERIALS; -extern daeString COLLADA_ELEMENT_LIBRARY_NODES; -extern daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MATERIALS; -extern daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MODELS; -extern daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_SCENES; -extern daeString COLLADA_ELEMENT_LIBRARY_VISUAL_SCENES; -extern daeString COLLADA_ELEMENT_FX_PROFILE_ABSTRACT; -extern daeString COLLADA_ELEMENT_EFFECT; -extern daeString COLLADA_ELEMENT_GL_HOOK_ABSTRACT; -extern daeString COLLADA_ELEMENT_PROFILE_GLSL; -extern daeString COLLADA_ELEMENT_PASS; -extern daeString COLLADA_ELEMENT_DRAW; -extern daeString COLLADA_ELEMENT_SHADER; -extern daeString COLLADA_ELEMENT_COMPILER_TARGET; -extern daeString COLLADA_ELEMENT_COMPILER_OPTIONS; -extern daeString COLLADA_ELEMENT_PROFILE_COMMON; -extern daeString COLLADA_ELEMENT_CONSTANT; -extern daeString COLLADA_ELEMENT_LAMBERT; -extern daeString COLLADA_ELEMENT_PHONG; -extern daeString COLLADA_ELEMENT_BLINN; -extern daeString COLLADA_ELEMENT_PROFILE_CG; -extern daeString COLLADA_ELEMENT_PROFILE_GLES; -extern daeString COLLADA_ELEMENT_COLOR_TARGET; -extern daeString COLLADA_ELEMENT_DEPTH_TARGET; -extern daeString COLLADA_ELEMENT_STENCIL_TARGET; -extern daeString COLLADA_ELEMENT_COLOR_CLEAR; -extern daeString COLLADA_ELEMENT_DEPTH_CLEAR; -extern daeString COLLADA_ELEMENT_STENCIL_CLEAR; -extern daeString COLLADA_ELEMENT_BOX; -extern daeString COLLADA_ELEMENT_HALF_EXTENTS; -extern daeString COLLADA_ELEMENT_PLANE; -extern daeString COLLADA_ELEMENT_EQUATION; -extern daeString COLLADA_ELEMENT_SPHERE; -extern daeString COLLADA_ELEMENT_RADIUS; -extern daeString COLLADA_ELEMENT_ELLIPSOID; -extern daeString COLLADA_ELEMENT_CYLINDER; -extern daeString COLLADA_ELEMENT_HEIGHT; -extern daeString COLLADA_ELEMENT_TAPERED_CYLINDER; -extern daeString COLLADA_ELEMENT_RADIUS1; -extern daeString COLLADA_ELEMENT_RADIUS2; -extern daeString COLLADA_ELEMENT_CAPSULE; -extern daeString COLLADA_ELEMENT_TAPERED_CAPSULE; -extern daeString COLLADA_ELEMENT_CONVEX_MESH; -extern daeString COLLADA_ELEMENT_FORCE_FIELD; -extern daeString COLLADA_ELEMENT_PHYSICS_MATERIAL; -extern daeString COLLADA_ELEMENT_PHYSICS_SCENE; -extern daeString COLLADA_ELEMENT_RIGID_BODY; -extern daeString COLLADA_ELEMENT_RIGID_CONSTRAINT; -extern daeString COLLADA_ELEMENT_REF_ATTACHMENT; -extern daeString COLLADA_ELEMENT_ATTACHMENT; -extern daeString COLLADA_ELEMENT_ENABLED; -extern daeString COLLADA_ELEMENT_INTERPENETRATE; -extern daeString COLLADA_ELEMENT_LIMITS; -extern daeString COLLADA_ELEMENT_SWING_CONE_AND_TWIST; -extern daeString COLLADA_ELEMENT_LINEAR; -extern daeString COLLADA_ELEMENT_SPRING; -extern daeString COLLADA_ELEMENT_ANGULAR; -extern daeString COLLADA_ELEMENT_PHYSICS_MODEL; + +extern DLLSPEC daeString COLLADA_TYPE_INPUTGLOBAL; +extern DLLSPEC daeString COLLADA_TYPE_INPUTLOCAL; +extern DLLSPEC daeString COLLADA_TYPE_INPUTLOCALOFFSET; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCEWITHEXTRA; +extern DLLSPEC daeString COLLADA_TYPE_TARGETABLEFLOAT; +extern DLLSPEC daeString COLLADA_TYPE_TARGETABLEFLOAT3; +extern DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_FORMAT_HINT_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_CHANNELS; +extern DLLSPEC daeString COLLADA_TYPE_RANGE; +extern DLLSPEC daeString COLLADA_TYPE_PRECISION; +extern DLLSPEC daeString COLLADA_TYPE_OPTION; +extern DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_PLANAR_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_ALL; +extern DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_VOLUME_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_PRIMARY; +extern DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_CUBE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_ORDER; +extern DLLSPEC daeString COLLADA_TYPE_FACE; +extern DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_FROM_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FORMAT; +extern DLLSPEC daeString COLLADA_TYPE_SIZE; +extern DLLSPEC daeString COLLADA_TYPE_VIEWPORT_RATIO; +extern DLLSPEC daeString COLLADA_TYPE_MIP_LEVELS; +extern DLLSPEC daeString COLLADA_TYPE_MIPMAP_GENERATE; +extern DLLSPEC daeString COLLADA_TYPE_FX_SAMPLER1D_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_SOURCE; +extern DLLSPEC daeString COLLADA_TYPE_WRAP_S; +extern DLLSPEC daeString COLLADA_TYPE_MINFILTER; +extern DLLSPEC daeString COLLADA_TYPE_MAGFILTER; +extern DLLSPEC daeString COLLADA_TYPE_MIPFILTER; +extern DLLSPEC daeString COLLADA_TYPE_BORDER_COLOR; +extern DLLSPEC daeString COLLADA_TYPE_MIPMAP_MAXLEVEL; +extern DLLSPEC daeString COLLADA_TYPE_MIPMAP_BIAS; +extern DLLSPEC daeString COLLADA_TYPE_FX_SAMPLER2D_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_WRAP_T; +extern DLLSPEC daeString COLLADA_TYPE_FX_SAMPLER3D_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_WRAP_P; +extern DLLSPEC daeString COLLADA_TYPE_FX_SAMPLERCUBE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_SAMPLERRECT_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_SAMPLERDEPTH_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_COLORTARGET_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_DEPTHTARGET_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_STENCILTARGET_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_CLEARCOLOR_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_CLEARDEPTH_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_CLEARSTENCIL_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_ANNOTATE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_INCLUDE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FX_NEWPARAM_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_SEMANTIC; +extern DLLSPEC daeString COLLADA_TYPE_MODIFIER; +extern DLLSPEC daeString COLLADA_TYPE_FX_CODE_PROFILE; +extern DLLSPEC daeString COLLADA_TYPE_GL_SAMPLER1D; +extern DLLSPEC daeString COLLADA_TYPE_GL_SAMPLER2D; +extern DLLSPEC daeString COLLADA_TYPE_GL_SAMPLER3D; +extern DLLSPEC daeString COLLADA_TYPE_GL_SAMPLERCUBE; +extern DLLSPEC daeString COLLADA_TYPE_GL_SAMPLERRECT; +extern DLLSPEC daeString COLLADA_TYPE_GL_SAMPLERDEPTH; +extern DLLSPEC daeString COLLADA_TYPE_GLSL_NEWARRAY_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLSL_SETARRAY_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLSL_SURFACE_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GENERATOR; +extern DLLSPEC daeString COLLADA_TYPE_NAME; +extern DLLSPEC daeString COLLADA_TYPE_GLSL_NEWPARAM; +extern DLLSPEC daeString COLLADA_TYPE_GLSL_SETPARAM_SIMPLE; +extern DLLSPEC daeString COLLADA_TYPE_GLSL_SETPARAM; +extern DLLSPEC daeString COLLADA_TYPE_COMMON_FLOAT_OR_PARAM_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT; +extern DLLSPEC daeString COLLADA_TYPE_PARAM; +extern DLLSPEC daeString COLLADA_TYPE_COMMON_COLOR_OR_TEXTURE_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_COLOR; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE; +extern DLLSPEC daeString COLLADA_TYPE_COMMON_TRANSPARENT_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_COMMON_NEWPARAM_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT2; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT3; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT4; +extern DLLSPEC daeString COLLADA_TYPE_CG_SAMPLER1D; +extern DLLSPEC daeString COLLADA_TYPE_CG_SAMPLER2D; +extern DLLSPEC daeString COLLADA_TYPE_CG_SAMPLER3D; +extern DLLSPEC daeString COLLADA_TYPE_CG_SAMPLERCUBE; +extern DLLSPEC daeString COLLADA_TYPE_CG_SAMPLERRECT; +extern DLLSPEC daeString COLLADA_TYPE_CG_SAMPLERDEPTH; +extern DLLSPEC daeString COLLADA_TYPE_CG_CONNECT_PARAM; +extern DLLSPEC daeString COLLADA_TYPE_CG_NEWARRAY_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_CG_SETARRAY_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_CG_SETUSER_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_CG_SURFACE_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_CG_NEWPARAM; +extern DLLSPEC daeString COLLADA_TYPE_CG_SETPARAM_SIMPLE; +extern DLLSPEC daeString COLLADA_TYPE_CG_SETPARAM; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXTURE_CONSTANT_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXENV_COMMAND_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_ARGUMENTRGB_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_ARGUMENTALPHA_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_COMMANDRGB_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_COMMANDALPHA_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_COMMAND_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXTURE_PIPELINE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_TEXTURE_UNIT; +extern DLLSPEC daeString COLLADA_TYPE_SURFACE; +extern DLLSPEC daeString COLLADA_TYPE_SAMPLER_STATE; +extern DLLSPEC daeString COLLADA_TYPE_TEXCOORD; +extern DLLSPEC daeString COLLADA_TYPE_GLES_SAMPLER_STATE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_NEWPARAM; +extern DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_INIT_AS_NULL; +extern DLLSPEC daeString COLLADA_TYPE_INIT_AS_TARGET; +extern DLLSPEC daeString COLLADA_TYPE_FX_ANNOTATE_TYPE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_BOOL; +extern DLLSPEC daeString COLLADA_TYPE_BOOL2; +extern DLLSPEC daeString COLLADA_TYPE_BOOL3; +extern DLLSPEC daeString COLLADA_TYPE_BOOL4; +extern DLLSPEC daeString COLLADA_TYPE_INT; +extern DLLSPEC daeString COLLADA_TYPE_INT2; +extern DLLSPEC daeString COLLADA_TYPE_INT3; +extern DLLSPEC daeString COLLADA_TYPE_INT4; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT2X2; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT3X3; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT4X4; +extern DLLSPEC daeString COLLADA_TYPE_STRING; +extern DLLSPEC daeString COLLADA_TYPE_FX_BASIC_TYPE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT1X1; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT1X2; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT1X3; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT1X4; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT2X1; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT2X3; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT2X4; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT3X1; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT3X2; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT3X4; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT4X1; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT4X2; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT4X3; +extern DLLSPEC daeString COLLADA_TYPE_ENUM; +extern DLLSPEC daeString COLLADA_TYPE_GL_PIPELINE_SETTINGS; +extern DLLSPEC daeString COLLADA_TYPE_ALPHA_FUNC; +extern DLLSPEC daeString COLLADA_TYPE_FUNC; +extern DLLSPEC daeString COLLADA_TYPE_VALUE; +extern DLLSPEC daeString COLLADA_TYPE_BLEND_FUNC; +extern DLLSPEC daeString COLLADA_TYPE_SRC; +extern DLLSPEC daeString COLLADA_TYPE_DEST; +extern DLLSPEC daeString COLLADA_TYPE_BLEND_FUNC_SEPARATE; +extern DLLSPEC daeString COLLADA_TYPE_SRC_RGB; +extern DLLSPEC daeString COLLADA_TYPE_DEST_RGB; +extern DLLSPEC daeString COLLADA_TYPE_SRC_ALPHA; +extern DLLSPEC daeString COLLADA_TYPE_DEST_ALPHA; +extern DLLSPEC daeString COLLADA_TYPE_BLEND_EQUATION; +extern DLLSPEC daeString COLLADA_TYPE_BLEND_EQUATION_SEPARATE; +extern DLLSPEC daeString COLLADA_TYPE_RGB; +extern DLLSPEC daeString COLLADA_TYPE_ALPHA; +extern DLLSPEC daeString COLLADA_TYPE_COLOR_MATERIAL; +extern DLLSPEC daeString COLLADA_TYPE_MODE; +extern DLLSPEC daeString COLLADA_TYPE_CULL_FACE; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_FUNC; +extern DLLSPEC daeString COLLADA_TYPE_FOG_MODE; +extern DLLSPEC daeString COLLADA_TYPE_FOG_COORD_SRC; +extern DLLSPEC daeString COLLADA_TYPE_FRONT_FACE; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_MODEL_COLOR_CONTROL; +extern DLLSPEC daeString COLLADA_TYPE_LOGIC_OP; +extern DLLSPEC daeString COLLADA_TYPE_POLYGON_MODE; +extern DLLSPEC daeString COLLADA_TYPE_SHADE_MODEL; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_FUNC; +extern DLLSPEC daeString COLLADA_TYPE_REF; +extern DLLSPEC daeString COLLADA_TYPE_MASK; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_OP; +extern DLLSPEC daeString COLLADA_TYPE_FAIL; +extern DLLSPEC daeString COLLADA_TYPE_ZFAIL; +extern DLLSPEC daeString COLLADA_TYPE_ZPASS; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_FUNC_SEPARATE; +extern DLLSPEC daeString COLLADA_TYPE_FRONT; +extern DLLSPEC daeString COLLADA_TYPE_BACK; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_OP_SEPARATE; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_MASK_SEPARATE; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_AMBIENT; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_DIFFUSE; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_SPECULAR; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_POSITION; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_CONSTANT_ATTENUATION; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_LINEAR_ATTENUATION; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_QUADRATIC_ATTENUATION; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_SPOT_CUTOFF; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_SPOT_DIRECTION; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_SPOT_EXPONENT; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE1D; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE2D; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE3D; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURECUBE; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURERECT; +extern DLLSPEC daeString COLLADA_TYPE_TEXTUREDEPTH; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE1D_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE2D_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE3D_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURECUBE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURERECT_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_TEXTUREDEPTH_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE_ENV_COLOR; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE_ENV_MODE; +extern DLLSPEC daeString COLLADA_TYPE_CLIP_PLANE; +extern DLLSPEC daeString COLLADA_TYPE_CLIP_PLANE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_BLEND_COLOR; +extern DLLSPEC daeString COLLADA_TYPE_CLEAR_COLOR; +extern DLLSPEC daeString COLLADA_TYPE_CLEAR_STENCIL; +extern DLLSPEC daeString COLLADA_TYPE_CLEAR_DEPTH; +extern DLLSPEC daeString COLLADA_TYPE_COLOR_MASK; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_BOUNDS; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_MASK; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_RANGE; +extern DLLSPEC daeString COLLADA_TYPE_FOG_DENSITY; +extern DLLSPEC daeString COLLADA_TYPE_FOG_START; +extern DLLSPEC daeString COLLADA_TYPE_FOG_END; +extern DLLSPEC daeString COLLADA_TYPE_FOG_COLOR; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_MODEL_AMBIENT; +extern DLLSPEC daeString COLLADA_TYPE_LIGHTING_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_LINE_STIPPLE; +extern DLLSPEC daeString COLLADA_TYPE_LINE_WIDTH; +extern DLLSPEC daeString COLLADA_TYPE_MATERIAL_AMBIENT; +extern DLLSPEC daeString COLLADA_TYPE_MATERIAL_DIFFUSE; +extern DLLSPEC daeString COLLADA_TYPE_MATERIAL_EMISSION; +extern DLLSPEC daeString COLLADA_TYPE_MATERIAL_SHININESS; +extern DLLSPEC daeString COLLADA_TYPE_MATERIAL_SPECULAR; +extern DLLSPEC daeString COLLADA_TYPE_MODEL_VIEW_MATRIX; +extern DLLSPEC daeString COLLADA_TYPE_POINT_DISTANCE_ATTENUATION; +extern DLLSPEC daeString COLLADA_TYPE_POINT_FADE_THRESHOLD_SIZE; +extern DLLSPEC daeString COLLADA_TYPE_POINT_SIZE; +extern DLLSPEC daeString COLLADA_TYPE_POINT_SIZE_MIN; +extern DLLSPEC daeString COLLADA_TYPE_POINT_SIZE_MAX; +extern DLLSPEC daeString COLLADA_TYPE_POLYGON_OFFSET; +extern DLLSPEC daeString COLLADA_TYPE_PROJECTION_MATRIX; +extern DLLSPEC daeString COLLADA_TYPE_SCISSOR; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_MASK; +extern DLLSPEC daeString COLLADA_TYPE_ALPHA_TEST_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_AUTO_NORMAL_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_BLEND_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_COLOR_LOGIC_OP_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_COLOR_MATERIAL_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_CULL_FACE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_BOUNDS_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_CLAMP_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_TEST_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_DITHER_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_FOG_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_MODEL_LOCAL_VIEWER_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_MODEL_TWO_SIDE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_LINE_SMOOTH_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_LINE_STIPPLE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_LOGIC_OP_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_MULTISAMPLE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_NORMALIZE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_POINT_SMOOTH_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_POLYGON_OFFSET_FILL_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_POLYGON_OFFSET_LINE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_POLYGON_OFFSET_POINT_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_POLYGON_SMOOTH_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_POLYGON_STIPPLE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_RESCALE_NORMAL_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_SAMPLE_ALPHA_TO_COVERAGE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_SAMPLE_ALPHA_TO_ONE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_SAMPLE_COVERAGE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_SCISSOR_TEST_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_TEST_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_GLSL_PARAM_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_CG_PARAM_TYPE; +extern DLLSPEC daeString COLLADA_TYPE_BOOL1; +extern DLLSPEC daeString COLLADA_TYPE_BOOL1X1; +extern DLLSPEC daeString COLLADA_TYPE_BOOL1X2; +extern DLLSPEC daeString COLLADA_TYPE_BOOL1X3; +extern DLLSPEC daeString COLLADA_TYPE_BOOL1X4; +extern DLLSPEC daeString COLLADA_TYPE_BOOL2X1; +extern DLLSPEC daeString COLLADA_TYPE_BOOL2X2; +extern DLLSPEC daeString COLLADA_TYPE_BOOL2X3; +extern DLLSPEC daeString COLLADA_TYPE_BOOL2X4; +extern DLLSPEC daeString COLLADA_TYPE_BOOL3X1; +extern DLLSPEC daeString COLLADA_TYPE_BOOL3X2; +extern DLLSPEC daeString COLLADA_TYPE_BOOL3X3; +extern DLLSPEC daeString COLLADA_TYPE_BOOL3X4; +extern DLLSPEC daeString COLLADA_TYPE_BOOL4X1; +extern DLLSPEC daeString COLLADA_TYPE_BOOL4X2; +extern DLLSPEC daeString COLLADA_TYPE_BOOL4X3; +extern DLLSPEC daeString COLLADA_TYPE_BOOL4X4; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT1; +extern DLLSPEC daeString COLLADA_TYPE_INT1; +extern DLLSPEC daeString COLLADA_TYPE_INT1X1; +extern DLLSPEC daeString COLLADA_TYPE_INT1X2; +extern DLLSPEC daeString COLLADA_TYPE_INT1X3; +extern DLLSPEC daeString COLLADA_TYPE_INT1X4; +extern DLLSPEC daeString COLLADA_TYPE_INT2X1; +extern DLLSPEC daeString COLLADA_TYPE_INT2X2; +extern DLLSPEC daeString COLLADA_TYPE_INT2X3; +extern DLLSPEC daeString COLLADA_TYPE_INT2X4; +extern DLLSPEC daeString COLLADA_TYPE_INT3X1; +extern DLLSPEC daeString COLLADA_TYPE_INT3X2; +extern DLLSPEC daeString COLLADA_TYPE_INT3X3; +extern DLLSPEC daeString COLLADA_TYPE_INT3X4; +extern DLLSPEC daeString COLLADA_TYPE_INT4X1; +extern DLLSPEC daeString COLLADA_TYPE_INT4X2; +extern DLLSPEC daeString COLLADA_TYPE_INT4X3; +extern DLLSPEC daeString COLLADA_TYPE_INT4X4; +extern DLLSPEC daeString COLLADA_TYPE_HALF; +extern DLLSPEC daeString COLLADA_TYPE_HALF1; +extern DLLSPEC daeString COLLADA_TYPE_HALF2; +extern DLLSPEC daeString COLLADA_TYPE_HALF3; +extern DLLSPEC daeString COLLADA_TYPE_HALF4; +extern DLLSPEC daeString COLLADA_TYPE_HALF1X1; +extern DLLSPEC daeString COLLADA_TYPE_HALF1X2; +extern DLLSPEC daeString COLLADA_TYPE_HALF1X3; +extern DLLSPEC daeString COLLADA_TYPE_HALF1X4; +extern DLLSPEC daeString COLLADA_TYPE_HALF2X1; +extern DLLSPEC daeString COLLADA_TYPE_HALF2X2; +extern DLLSPEC daeString COLLADA_TYPE_HALF2X3; +extern DLLSPEC daeString COLLADA_TYPE_HALF2X4; +extern DLLSPEC daeString COLLADA_TYPE_HALF3X1; +extern DLLSPEC daeString COLLADA_TYPE_HALF3X2; +extern DLLSPEC daeString COLLADA_TYPE_HALF3X3; +extern DLLSPEC daeString COLLADA_TYPE_HALF3X4; +extern DLLSPEC daeString COLLADA_TYPE_HALF4X1; +extern DLLSPEC daeString COLLADA_TYPE_HALF4X2; +extern DLLSPEC daeString COLLADA_TYPE_HALF4X3; +extern DLLSPEC daeString COLLADA_TYPE_HALF4X4; +extern DLLSPEC daeString COLLADA_TYPE_FIXED; +extern DLLSPEC daeString COLLADA_TYPE_FIXED1; +extern DLLSPEC daeString COLLADA_TYPE_FIXED2; +extern DLLSPEC daeString COLLADA_TYPE_FIXED3; +extern DLLSPEC daeString COLLADA_TYPE_FIXED4; +extern DLLSPEC daeString COLLADA_TYPE_FIXED1X1; +extern DLLSPEC daeString COLLADA_TYPE_FIXED1X2; +extern DLLSPEC daeString COLLADA_TYPE_FIXED1X3; +extern DLLSPEC daeString COLLADA_TYPE_FIXED1X4; +extern DLLSPEC daeString COLLADA_TYPE_FIXED2X1; +extern DLLSPEC daeString COLLADA_TYPE_FIXED2X2; +extern DLLSPEC daeString COLLADA_TYPE_FIXED2X3; +extern DLLSPEC daeString COLLADA_TYPE_FIXED2X4; +extern DLLSPEC daeString COLLADA_TYPE_FIXED3X1; +extern DLLSPEC daeString COLLADA_TYPE_FIXED3X2; +extern DLLSPEC daeString COLLADA_TYPE_FIXED3X3; +extern DLLSPEC daeString COLLADA_TYPE_FIXED3X4; +extern DLLSPEC daeString COLLADA_TYPE_FIXED4X1; +extern DLLSPEC daeString COLLADA_TYPE_FIXED4X2; +extern DLLSPEC daeString COLLADA_TYPE_FIXED4X3; +extern DLLSPEC daeString COLLADA_TYPE_FIXED4X4; +extern DLLSPEC daeString COLLADA_TYPE_GLES_PIPELINE_SETTINGS; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE_PIPELINE; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT_LINEAR_ATTENUTATION; +extern DLLSPEC daeString COLLADA_TYPE_TEXTURE_PIPELINE_ENABLE; +extern DLLSPEC daeString COLLADA_TYPE_GLES_BASIC_TYPE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_COLLADA; +extern DLLSPEC daeString COLLADA_TYPE_SCENE; +extern DLLSPEC daeString COLLADA_TYPE_IDREF_ARRAY; +extern DLLSPEC daeString COLLADA_TYPE_NAME_ARRAY; +extern DLLSPEC daeString COLLADA_TYPE_BOOL_ARRAY; +extern DLLSPEC daeString COLLADA_TYPE_FLOAT_ARRAY; +extern DLLSPEC daeString COLLADA_TYPE_INT_ARRAY; +extern DLLSPEC daeString COLLADA_TYPE_ACCESSOR; +extern DLLSPEC daeString COLLADA_TYPE_TECHNIQUE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_GEOMETRY; +extern DLLSPEC daeString COLLADA_TYPE_MESH; +extern DLLSPEC daeString COLLADA_TYPE_SPLINE; +extern DLLSPEC daeString COLLADA_TYPE_CONTROL_VERTICES; +extern DLLSPEC daeString COLLADA_TYPE_P; +extern DLLSPEC daeString COLLADA_TYPE_LINES; +extern DLLSPEC daeString COLLADA_TYPE_LINESTRIPS; +extern DLLSPEC daeString COLLADA_TYPE_POLYGONS; +extern DLLSPEC daeString COLLADA_TYPE_PH; +extern DLLSPEC daeString COLLADA_TYPE_H; +extern DLLSPEC daeString COLLADA_TYPE_POLYLIST; +extern DLLSPEC daeString COLLADA_TYPE_VCOUNT; +extern DLLSPEC daeString COLLADA_TYPE_TRIANGLES; +extern DLLSPEC daeString COLLADA_TYPE_TRIFANS; +extern DLLSPEC daeString COLLADA_TYPE_TRISTRIPS; +extern DLLSPEC daeString COLLADA_TYPE_VERTICES; +extern DLLSPEC daeString COLLADA_TYPE_LOOKAT; +extern DLLSPEC daeString COLLADA_TYPE_MATRIX; +extern DLLSPEC daeString COLLADA_TYPE_ROTATE; +extern DLLSPEC daeString COLLADA_TYPE_SCALE; +extern DLLSPEC daeString COLLADA_TYPE_SKEW; +extern DLLSPEC daeString COLLADA_TYPE_TRANSLATE; +extern DLLSPEC daeString COLLADA_TYPE_IMAGE; +extern DLLSPEC daeString COLLADA_TYPE_DATA; +extern DLLSPEC daeString COLLADA_TYPE_INIT_FROM; +extern DLLSPEC daeString COLLADA_TYPE_LIGHT; +extern DLLSPEC daeString COLLADA_TYPE_AMBIENT; +extern DLLSPEC daeString COLLADA_TYPE_DIRECTIONAL; +extern DLLSPEC daeString COLLADA_TYPE_POINT; +extern DLLSPEC daeString COLLADA_TYPE_SPOT; +extern DLLSPEC daeString COLLADA_TYPE_MATERIAL; +extern DLLSPEC daeString COLLADA_TYPE_CAMERA; +extern DLLSPEC daeString COLLADA_TYPE_OPTICS; +extern DLLSPEC daeString COLLADA_TYPE_ORTHOGRAPHIC; +extern DLLSPEC daeString COLLADA_TYPE_PERSPECTIVE; +extern DLLSPEC daeString COLLADA_TYPE_IMAGER; +extern DLLSPEC daeString COLLADA_TYPE_ANIMATION; +extern DLLSPEC daeString COLLADA_TYPE_ANIMATION_CLIP; +extern DLLSPEC daeString COLLADA_TYPE_CHANNEL; +extern DLLSPEC daeString COLLADA_TYPE_SAMPLER; +extern DLLSPEC daeString COLLADA_TYPE_CONTROLLER; +extern DLLSPEC daeString COLLADA_TYPE_SKIN; +extern DLLSPEC daeString COLLADA_TYPE_BIND_SHAPE_MATRIX; +extern DLLSPEC daeString COLLADA_TYPE_JOINTS; +extern DLLSPEC daeString COLLADA_TYPE_VERTEX_WEIGHTS; +extern DLLSPEC daeString COLLADA_TYPE_V; +extern DLLSPEC daeString COLLADA_TYPE_MORPH; +extern DLLSPEC daeString COLLADA_TYPE_TARGETS; +extern DLLSPEC daeString COLLADA_TYPE_ASSET; +extern DLLSPEC daeString COLLADA_TYPE_CONTRIBUTOR; +extern DLLSPEC daeString COLLADA_TYPE_AUTHOR; +extern DLLSPEC daeString COLLADA_TYPE_AUTHORING_TOOL; +extern DLLSPEC daeString COLLADA_TYPE_COMMENTS; +extern DLLSPEC daeString COLLADA_TYPE_COPYRIGHT; +extern DLLSPEC daeString COLLADA_TYPE_SOURCE_DATA; +extern DLLSPEC daeString COLLADA_TYPE_CREATED; +extern DLLSPEC daeString COLLADA_TYPE_KEYWORDS; +extern DLLSPEC daeString COLLADA_TYPE_MODIFIED; +extern DLLSPEC daeString COLLADA_TYPE_REVISION; +extern DLLSPEC daeString COLLADA_TYPE_SUBJECT; +extern DLLSPEC daeString COLLADA_TYPE_TITLE; +extern DLLSPEC daeString COLLADA_TYPE_UNIT; +extern DLLSPEC daeString COLLADA_TYPE_UP_AXIS; +extern DLLSPEC daeString COLLADA_TYPE_EXTRA; +extern DLLSPEC daeString COLLADA_TYPE_TECHNIQUE; +extern DLLSPEC daeString COLLADA_TYPE_NODE; +extern DLLSPEC daeString COLLADA_TYPE_VISUAL_SCENE; +extern DLLSPEC daeString COLLADA_TYPE_EVALUATE_SCENE; +extern DLLSPEC daeString COLLADA_TYPE_RENDER; +extern DLLSPEC daeString COLLADA_TYPE_LAYER; +extern DLLSPEC daeString COLLADA_TYPE_BIND_MATERIAL; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_CAMERA; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_CONTROLLER; +extern DLLSPEC daeString COLLADA_TYPE_SKELETON; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_EFFECT; +extern DLLSPEC daeString COLLADA_TYPE_TECHNIQUE_HINT; +extern DLLSPEC daeString COLLADA_TYPE_SETPARAM; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_FORCE_FIELD; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_GEOMETRY; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_LIGHT; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_MATERIAL; +extern DLLSPEC daeString COLLADA_TYPE_BIND; +extern DLLSPEC daeString COLLADA_TYPE_BIND_VERTEX_INPUT; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_NODE; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_PHYSICS_MATERIAL; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_PHYSICS_MODEL; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_RIGID_BODY; +extern DLLSPEC daeString COLLADA_TYPE_ANGULAR_VELOCITY; +extern DLLSPEC daeString COLLADA_TYPE_VELOCITY; +extern DLLSPEC daeString COLLADA_TYPE_DYNAMIC; +extern DLLSPEC daeString COLLADA_TYPE_MASS_FRAME; +extern DLLSPEC daeString COLLADA_TYPE_SHAPE; +extern DLLSPEC daeString COLLADA_TYPE_HOLLOW; +extern DLLSPEC daeString COLLADA_TYPE_INSTANCE_RIGID_CONSTRAINT; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_ANIMATIONS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_ANIMATION_CLIPS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_CAMERAS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_CONTROLLERS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_GEOMETRIES; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_EFFECTS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_FORCE_FIELDS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_IMAGES; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_LIGHTS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_MATERIALS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_NODES; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_PHYSICS_MATERIALS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_PHYSICS_MODELS; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_PHYSICS_SCENES; +extern DLLSPEC daeString COLLADA_TYPE_LIBRARY_VISUAL_SCENES; +extern DLLSPEC daeString COLLADA_TYPE_FX_PROFILE_ABSTRACT; +extern DLLSPEC daeString COLLADA_TYPE_EFFECT; +extern DLLSPEC daeString COLLADA_TYPE_GL_HOOK_ABSTRACT; +extern DLLSPEC daeString COLLADA_TYPE_PROFILE_GLSL; +extern DLLSPEC daeString COLLADA_TYPE_PASS; +extern DLLSPEC daeString COLLADA_TYPE_DRAW; +extern DLLSPEC daeString COLLADA_TYPE_SHADER; +extern DLLSPEC daeString COLLADA_TYPE_COMPILER_TARGET; +extern DLLSPEC daeString COLLADA_TYPE_COMPILER_OPTIONS; +extern DLLSPEC daeString COLLADA_TYPE_PROFILE_COMMON; +extern DLLSPEC daeString COLLADA_TYPE_CONSTANT; +extern DLLSPEC daeString COLLADA_TYPE_LAMBERT; +extern DLLSPEC daeString COLLADA_TYPE_PHONG; +extern DLLSPEC daeString COLLADA_TYPE_BLINN; +extern DLLSPEC daeString COLLADA_TYPE_PROFILE_CG; +extern DLLSPEC daeString COLLADA_TYPE_PROFILE_GLES; +extern DLLSPEC daeString COLLADA_TYPE_COLOR_TARGET; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_TARGET; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_TARGET; +extern DLLSPEC daeString COLLADA_TYPE_COLOR_CLEAR; +extern DLLSPEC daeString COLLADA_TYPE_DEPTH_CLEAR; +extern DLLSPEC daeString COLLADA_TYPE_STENCIL_CLEAR; +extern DLLSPEC daeString COLLADA_TYPE_BOX; +extern DLLSPEC daeString COLLADA_TYPE_HALF_EXTENTS; +extern DLLSPEC daeString COLLADA_TYPE_PLANE; +extern DLLSPEC daeString COLLADA_TYPE_EQUATION; +extern DLLSPEC daeString COLLADA_TYPE_SPHERE; +extern DLLSPEC daeString COLLADA_TYPE_RADIUS; +extern DLLSPEC daeString COLLADA_TYPE_ELLIPSOID; +extern DLLSPEC daeString COLLADA_TYPE_CYLINDER; +extern DLLSPEC daeString COLLADA_TYPE_HEIGHT; +extern DLLSPEC daeString COLLADA_TYPE_TAPERED_CYLINDER; +extern DLLSPEC daeString COLLADA_TYPE_RADIUS1; +extern DLLSPEC daeString COLLADA_TYPE_RADIUS2; +extern DLLSPEC daeString COLLADA_TYPE_CAPSULE; +extern DLLSPEC daeString COLLADA_TYPE_TAPERED_CAPSULE; +extern DLLSPEC daeString COLLADA_TYPE_CONVEX_MESH; +extern DLLSPEC daeString COLLADA_TYPE_FORCE_FIELD; +extern DLLSPEC daeString COLLADA_TYPE_PHYSICS_MATERIAL; +extern DLLSPEC daeString COLLADA_TYPE_PHYSICS_SCENE; +extern DLLSPEC daeString COLLADA_TYPE_RIGID_BODY; +extern DLLSPEC daeString COLLADA_TYPE_RIGID_CONSTRAINT; +extern DLLSPEC daeString COLLADA_TYPE_REF_ATTACHMENT; +extern DLLSPEC daeString COLLADA_TYPE_ATTACHMENT; +extern DLLSPEC daeString COLLADA_TYPE_ENABLED; +extern DLLSPEC daeString COLLADA_TYPE_INTERPENETRATE; +extern DLLSPEC daeString COLLADA_TYPE_LIMITS; +extern DLLSPEC daeString COLLADA_TYPE_SWING_CONE_AND_TWIST; +extern DLLSPEC daeString COLLADA_TYPE_LINEAR; +extern DLLSPEC daeString COLLADA_TYPE_SPRING; +extern DLLSPEC daeString COLLADA_TYPE_ANGULAR; +extern DLLSPEC daeString COLLADA_TYPE_PHYSICS_MODEL; + +extern DLLSPEC daeString COLLADA_ELEMENT_COLLADA; +extern DLLSPEC daeString COLLADA_ELEMENT_EXTRA; +extern DLLSPEC daeString COLLADA_ELEMENT_CHANNELS; +extern DLLSPEC daeString COLLADA_ELEMENT_RANGE; +extern DLLSPEC daeString COLLADA_ELEMENT_PRECISION; +extern DLLSPEC daeString COLLADA_ELEMENT_OPTION; +extern DLLSPEC daeString COLLADA_ELEMENT_ALL; +extern DLLSPEC daeString COLLADA_ELEMENT_PRIMARY; +extern DLLSPEC daeString COLLADA_ELEMENT_FACE; +extern DLLSPEC daeString COLLADA_ELEMENT_ORDER; +extern DLLSPEC daeString COLLADA_ELEMENT_FX_SURFACE_INIT_COMMON; +extern DLLSPEC daeString COLLADA_ELEMENT_FORMAT; +extern DLLSPEC daeString COLLADA_ELEMENT_FORMAT_HINT; +extern DLLSPEC daeString COLLADA_ELEMENT_SIZE; +extern DLLSPEC daeString COLLADA_ELEMENT_VIEWPORT_RATIO; +extern DLLSPEC daeString COLLADA_ELEMENT_MIP_LEVELS; +extern DLLSPEC daeString COLLADA_ELEMENT_MIPMAP_GENERATE; +extern DLLSPEC daeString COLLADA_ELEMENT_SOURCE; +extern DLLSPEC daeString COLLADA_ELEMENT_WRAP_S; +extern DLLSPEC daeString COLLADA_ELEMENT_MINFILTER; +extern DLLSPEC daeString COLLADA_ELEMENT_MAGFILTER; +extern DLLSPEC daeString COLLADA_ELEMENT_MIPFILTER; +extern DLLSPEC daeString COLLADA_ELEMENT_BORDER_COLOR; +extern DLLSPEC daeString COLLADA_ELEMENT_MIPMAP_MAXLEVEL; +extern DLLSPEC daeString COLLADA_ELEMENT_MIPMAP_BIAS; +extern DLLSPEC daeString COLLADA_ELEMENT_WRAP_T; +extern DLLSPEC daeString COLLADA_ELEMENT_WRAP_P; +extern DLLSPEC daeString COLLADA_ELEMENT_FX_ANNOTATE_TYPE_COMMON; +extern DLLSPEC daeString COLLADA_ELEMENT_ANNOTATE; +extern DLLSPEC daeString COLLADA_ELEMENT_SEMANTIC; +extern DLLSPEC daeString COLLADA_ELEMENT_MODIFIER; +extern DLLSPEC daeString COLLADA_ELEMENT_FX_BASIC_TYPE_COMMON; +extern DLLSPEC daeString COLLADA_ELEMENT_GLSL_PARAM_TYPE; +extern DLLSPEC daeString COLLADA_ELEMENT_ARRAY; +extern DLLSPEC daeString COLLADA_ELEMENT_GENERATOR; +extern DLLSPEC daeString COLLADA_ELEMENT_CODE; +extern DLLSPEC daeString COLLADA_ELEMENT_INCLUDE; +extern DLLSPEC daeString COLLADA_ELEMENT_NAME; +extern DLLSPEC daeString COLLADA_ELEMENT_SETPARAM; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT; +extern DLLSPEC daeString COLLADA_ELEMENT_PARAM; +extern DLLSPEC daeString COLLADA_ELEMENT_COLOR; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT2; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT3; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT4; +extern DLLSPEC daeString COLLADA_ELEMENT_SURFACE; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLER2D; +extern DLLSPEC daeString COLLADA_ELEMENT_CG_PARAM_TYPE; +extern DLLSPEC daeString COLLADA_ELEMENT_USERTYPE; +extern DLLSPEC daeString COLLADA_ELEMENT_CONNECT_PARAM; +extern DLLSPEC daeString COLLADA_ELEMENT_CONSTANT; +extern DLLSPEC daeString COLLADA_ELEMENT_ARGUMENT; +extern DLLSPEC daeString COLLADA_ELEMENT_rgb; +extern DLLSPEC daeString COLLADA_ELEMENT_ALPHA; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXCOMBINER; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXENV; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLER_STATE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXCOORD; +extern DLLSPEC daeString COLLADA_ELEMENT_GLES_BASIC_TYPE_COMMON; +extern DLLSPEC daeString COLLADA_ELEMENT_INIT_AS_NULL; +extern DLLSPEC daeString COLLADA_ELEMENT_INIT_AS_TARGET; +extern DLLSPEC daeString COLLADA_ELEMENT_INIT_CUBE; +extern DLLSPEC daeString COLLADA_ELEMENT_INIT_VOLUME; +extern DLLSPEC daeString COLLADA_ELEMENT_INIT_PLANAR; +extern DLLSPEC daeString COLLADA_ELEMENT_INIT_FROM; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL2; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL3; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL4; +extern DLLSPEC daeString COLLADA_ELEMENT_INT; +extern DLLSPEC daeString COLLADA_ELEMENT_INT2; +extern DLLSPEC daeString COLLADA_ELEMENT_INT3; +extern DLLSPEC daeString COLLADA_ELEMENT_INT4; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT2X2; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT3X3; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT4X4; +extern DLLSPEC daeString COLLADA_ELEMENT_STRING; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT1X1; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT1X2; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT1X3; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT1X4; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT2X1; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT2X3; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT2X4; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT3X1; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT3X2; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT3X4; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT4X1; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT4X2; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT4X3; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLER1D; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLER3D; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLERCUBE; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLERRECT; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLERDEPTH; +extern DLLSPEC daeString COLLADA_ELEMENT_ENUM; +extern DLLSPEC daeString COLLADA_ELEMENT_ALPHA_FUNC; +extern DLLSPEC daeString COLLADA_ELEMENT_BLEND_FUNC; +extern DLLSPEC daeString COLLADA_ELEMENT_BLEND_FUNC_SEPARATE; +extern DLLSPEC daeString COLLADA_ELEMENT_BLEND_EQUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_BLEND_EQUATION_SEPARATE; +extern DLLSPEC daeString COLLADA_ELEMENT_COLOR_MATERIAL; +extern DLLSPEC daeString COLLADA_ELEMENT_CULL_FACE; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_FUNC; +extern DLLSPEC daeString COLLADA_ELEMENT_FOG_MODE; +extern DLLSPEC daeString COLLADA_ELEMENT_FOG_COORD_SRC; +extern DLLSPEC daeString COLLADA_ELEMENT_FRONT_FACE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_MODEL_COLOR_CONTROL; +extern DLLSPEC daeString COLLADA_ELEMENT_LOGIC_OP; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYGON_MODE; +extern DLLSPEC daeString COLLADA_ELEMENT_SHADE_MODEL; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_FUNC; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_OP; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_FUNC_SEPARATE; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_OP_SEPARATE; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_MASK_SEPARATE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_AMBIENT; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_DIFFUSE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_SPECULAR; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_POSITION; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_CONSTANT_ATTENUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_QUADRATIC_ATTENUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_SPOT_CUTOFF; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_SPOT_DIRECTION; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_SPOT_EXPONENT; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE1D; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE2D; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE3D; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURECUBE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURERECT; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTUREDEPTH; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE1D_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE2D_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE3D_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURECUBE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURERECT_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTUREDEPTH_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_ENV_COLOR; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_ENV_MODE; +extern DLLSPEC daeString COLLADA_ELEMENT_CLIP_PLANE; +extern DLLSPEC daeString COLLADA_ELEMENT_CLIP_PLANE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_BLEND_COLOR; +extern DLLSPEC daeString COLLADA_ELEMENT_CLEAR_COLOR; +extern DLLSPEC daeString COLLADA_ELEMENT_CLEAR_STENCIL; +extern DLLSPEC daeString COLLADA_ELEMENT_CLEAR_DEPTH; +extern DLLSPEC daeString COLLADA_ELEMENT_COLOR_MASK; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_BOUNDS; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_MASK; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_RANGE; +extern DLLSPEC daeString COLLADA_ELEMENT_FOG_DENSITY; +extern DLLSPEC daeString COLLADA_ELEMENT_FOG_START; +extern DLLSPEC daeString COLLADA_ELEMENT_FOG_END; +extern DLLSPEC daeString COLLADA_ELEMENT_FOG_COLOR; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_MODEL_AMBIENT; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHTING_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_LINE_STIPPLE; +extern DLLSPEC daeString COLLADA_ELEMENT_LINE_WIDTH; +extern DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_AMBIENT; +extern DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_DIFFUSE; +extern DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_EMISSION; +extern DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_SHININESS; +extern DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_SPECULAR; +extern DLLSPEC daeString COLLADA_ELEMENT_MODEL_VIEW_MATRIX; +extern DLLSPEC daeString COLLADA_ELEMENT_POINT_DISTANCE_ATTENUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_POINT_FADE_THRESHOLD_SIZE; +extern DLLSPEC daeString COLLADA_ELEMENT_POINT_SIZE; +extern DLLSPEC daeString COLLADA_ELEMENT_POINT_SIZE_MIN; +extern DLLSPEC daeString COLLADA_ELEMENT_POINT_SIZE_MAX; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYGON_OFFSET; +extern DLLSPEC daeString COLLADA_ELEMENT_PROJECTION_MATRIX; +extern DLLSPEC daeString COLLADA_ELEMENT_SCISSOR; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_MASK; +extern DLLSPEC daeString COLLADA_ELEMENT_ALPHA_TEST_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_AUTO_NORMAL_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_BLEND_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_COLOR_LOGIC_OP_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_COLOR_MATERIAL_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_CULL_FACE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_BOUNDS_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_CLAMP_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_TEST_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_DITHER_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_FOG_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_MODEL_LOCAL_VIEWER_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_MODEL_TWO_SIDE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_LINE_SMOOTH_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_LINE_STIPPLE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_LOGIC_OP_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_MULTISAMPLE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_NORMALIZE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_POINT_SMOOTH_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYGON_OFFSET_FILL_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYGON_OFFSET_LINE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYGON_OFFSET_POINT_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYGON_SMOOTH_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYGON_STIPPLE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_RESCALE_NORMAL_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_COVERAGE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_ONE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLE_COVERAGE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_SCISSOR_TEST_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_TEST_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_GL_HOOK_ABSTRACT; +extern DLLSPEC daeString COLLADA_ELEMENT_FUNC; +extern DLLSPEC daeString COLLADA_ELEMENT_VALUE; +extern DLLSPEC daeString COLLADA_ELEMENT_SRC; +extern DLLSPEC daeString COLLADA_ELEMENT_DEST; +extern DLLSPEC daeString COLLADA_ELEMENT_SRC_RGB; +extern DLLSPEC daeString COLLADA_ELEMENT_DEST_RGB; +extern DLLSPEC daeString COLLADA_ELEMENT_SRC_ALPHA; +extern DLLSPEC daeString COLLADA_ELEMENT_DEST_ALPHA; +extern DLLSPEC daeString COLLADA_ELEMENT_RGB; +extern DLLSPEC daeString COLLADA_ELEMENT_MODE; +extern DLLSPEC daeString COLLADA_ELEMENT_REF; +extern DLLSPEC daeString COLLADA_ELEMENT_MASK; +extern DLLSPEC daeString COLLADA_ELEMENT_FAIL; +extern DLLSPEC daeString COLLADA_ELEMENT_ZFAIL; +extern DLLSPEC daeString COLLADA_ELEMENT_ZPASS; +extern DLLSPEC daeString COLLADA_ELEMENT_FRONT; +extern DLLSPEC daeString COLLADA_ELEMENT_BACK; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL1; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL1X1; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL1X2; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL1X3; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL1X4; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL2X1; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL2X2; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL2X3; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL2X4; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL3X1; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL3X2; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL3X3; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL3X4; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL4X1; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL4X2; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL4X3; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL4X4; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT1; +extern DLLSPEC daeString COLLADA_ELEMENT_INT1; +extern DLLSPEC daeString COLLADA_ELEMENT_INT1X1; +extern DLLSPEC daeString COLLADA_ELEMENT_INT1X2; +extern DLLSPEC daeString COLLADA_ELEMENT_INT1X3; +extern DLLSPEC daeString COLLADA_ELEMENT_INT1X4; +extern DLLSPEC daeString COLLADA_ELEMENT_INT2X1; +extern DLLSPEC daeString COLLADA_ELEMENT_INT2X2; +extern DLLSPEC daeString COLLADA_ELEMENT_INT2X3; +extern DLLSPEC daeString COLLADA_ELEMENT_INT2X4; +extern DLLSPEC daeString COLLADA_ELEMENT_INT3X1; +extern DLLSPEC daeString COLLADA_ELEMENT_INT3X2; +extern DLLSPEC daeString COLLADA_ELEMENT_INT3X3; +extern DLLSPEC daeString COLLADA_ELEMENT_INT3X4; +extern DLLSPEC daeString COLLADA_ELEMENT_INT4X1; +extern DLLSPEC daeString COLLADA_ELEMENT_INT4X2; +extern DLLSPEC daeString COLLADA_ELEMENT_INT4X3; +extern DLLSPEC daeString COLLADA_ELEMENT_INT4X4; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF1; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF2; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF3; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF4; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF1X1; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF1X2; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF1X3; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF1X4; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF2X1; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF2X2; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF2X3; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF2X4; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF3X1; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF3X2; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF3X3; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF3X4; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF4X1; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF4X2; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF4X3; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF4X4; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED1; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED2; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED3; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED4; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED1X1; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED1X2; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED1X3; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED1X4; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED2X1; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED2X2; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED2X3; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED2X4; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED3X1; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED3X2; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED3X3; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED3X4; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED4X1; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED4X2; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED4X3; +extern DLLSPEC daeString COLLADA_ELEMENT_FIXED4X4; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_PIPELINE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUTATION; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_PIPELINE_ENABLE; +extern DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_UNIT; +extern DLLSPEC daeString COLLADA_ELEMENT_ASSET; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_ANIMATIONS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_ANIMATION_CLIPS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_CAMERAS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_CONTROLLERS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_GEOMETRIES; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_EFFECTS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_FORCE_FIELDS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_IMAGES; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_LIGHTS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_MATERIALS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_NODES; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MATERIALS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MODELS; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_SCENES; +extern DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_VISUAL_SCENES; +extern DLLSPEC daeString COLLADA_ELEMENT_SCENE; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_SCENE; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_VISUAL_SCENE; +extern DLLSPEC daeString COLLADA_ELEMENT_IDREF_ARRAY; +extern DLLSPEC daeString COLLADA_ELEMENT_NAME_ARRAY; +extern DLLSPEC daeString COLLADA_ELEMENT_BOOL_ARRAY; +extern DLLSPEC daeString COLLADA_ELEMENT_FLOAT_ARRAY; +extern DLLSPEC daeString COLLADA_ELEMENT_INT_ARRAY; +extern DLLSPEC daeString COLLADA_ELEMENT_TECHNIQUE_COMMON; +extern DLLSPEC daeString COLLADA_ELEMENT_TECHNIQUE; +extern DLLSPEC daeString COLLADA_ELEMENT_ACCESSOR; +extern DLLSPEC daeString COLLADA_ELEMENT_CONVEX_MESH; +extern DLLSPEC daeString COLLADA_ELEMENT_MESH; +extern DLLSPEC daeString COLLADA_ELEMENT_SPLINE; +extern DLLSPEC daeString COLLADA_ELEMENT_VERTICES; +extern DLLSPEC daeString COLLADA_ELEMENT_LINES; +extern DLLSPEC daeString COLLADA_ELEMENT_LINESTRIPS; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYGONS; +extern DLLSPEC daeString COLLADA_ELEMENT_POLYLIST; +extern DLLSPEC daeString COLLADA_ELEMENT_TRIANGLES; +extern DLLSPEC daeString COLLADA_ELEMENT_TRIFANS; +extern DLLSPEC daeString COLLADA_ELEMENT_TRISTRIPS; +extern DLLSPEC daeString COLLADA_ELEMENT_CONTROL_VERTICES; +extern DLLSPEC daeString COLLADA_ELEMENT_INPUT; +extern DLLSPEC daeString COLLADA_ELEMENT_P; +extern DLLSPEC daeString COLLADA_ELEMENT_PH; +extern DLLSPEC daeString COLLADA_ELEMENT_H; +extern DLLSPEC daeString COLLADA_ELEMENT_VCOUNT; +extern DLLSPEC daeString COLLADA_ELEMENT_DATA; +extern DLLSPEC daeString COLLADA_ELEMENT_AMBIENT; +extern DLLSPEC daeString COLLADA_ELEMENT_DIRECTIONAL; +extern DLLSPEC daeString COLLADA_ELEMENT_POINT; +extern DLLSPEC daeString COLLADA_ELEMENT_SPOT; +extern DLLSPEC daeString COLLADA_ELEMENT_CONSTANT_ATTENUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_LINEAR_ATTENUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_QUADRATIC_ATTENUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_FALLOFF_ANGLE; +extern DLLSPEC daeString COLLADA_ELEMENT_FALLOFF_EXPONENT; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_EFFECT; +extern DLLSPEC daeString COLLADA_ELEMENT_OPTICS; +extern DLLSPEC daeString COLLADA_ELEMENT_IMAGER; +extern DLLSPEC daeString COLLADA_ELEMENT_ORTHOGRAPHIC; +extern DLLSPEC daeString COLLADA_ELEMENT_PERSPECTIVE; +extern DLLSPEC daeString COLLADA_ELEMENT_XMAG; +extern DLLSPEC daeString COLLADA_ELEMENT_YMAG; +extern DLLSPEC daeString COLLADA_ELEMENT_ASPECT_RATIO; +extern DLLSPEC daeString COLLADA_ELEMENT_ZNEAR; +extern DLLSPEC daeString COLLADA_ELEMENT_ZFAR; +extern DLLSPEC daeString COLLADA_ELEMENT_XFOV; +extern DLLSPEC daeString COLLADA_ELEMENT_YFOV; +extern DLLSPEC daeString COLLADA_ELEMENT_SAMPLER; +extern DLLSPEC daeString COLLADA_ELEMENT_CHANNEL; +extern DLLSPEC daeString COLLADA_ELEMENT_ANIMATION; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_ANIMATION; +extern DLLSPEC daeString COLLADA_ELEMENT_SKIN; +extern DLLSPEC daeString COLLADA_ELEMENT_MORPH; +extern DLLSPEC daeString COLLADA_ELEMENT_BIND_SHAPE_MATRIX; +extern DLLSPEC daeString COLLADA_ELEMENT_JOINTS; +extern DLLSPEC daeString COLLADA_ELEMENT_VERTEX_WEIGHTS; +extern DLLSPEC daeString COLLADA_ELEMENT_V; +extern DLLSPEC daeString COLLADA_ELEMENT_TARGETS; +extern DLLSPEC daeString COLLADA_ELEMENT_CONTRIBUTOR; +extern DLLSPEC daeString COLLADA_ELEMENT_CREATED; +extern DLLSPEC daeString COLLADA_ELEMENT_KEYWORDS; +extern DLLSPEC daeString COLLADA_ELEMENT_MODIFIED; +extern DLLSPEC daeString COLLADA_ELEMENT_REVISION; +extern DLLSPEC daeString COLLADA_ELEMENT_SUBJECT; +extern DLLSPEC daeString COLLADA_ELEMENT_TITLE; +extern DLLSPEC daeString COLLADA_ELEMENT_UNIT; +extern DLLSPEC daeString COLLADA_ELEMENT_UP_AXIS; +extern DLLSPEC daeString COLLADA_ELEMENT_AUTHOR; +extern DLLSPEC daeString COLLADA_ELEMENT_AUTHORING_TOOL; +extern DLLSPEC daeString COLLADA_ELEMENT_COMMENTS; +extern DLLSPEC daeString COLLADA_ELEMENT_COPYRIGHT; +extern DLLSPEC daeString COLLADA_ELEMENT_SOURCE_DATA; +extern DLLSPEC daeString COLLADA_ELEMENT_LOOKAT; +extern DLLSPEC daeString COLLADA_ELEMENT_MATRIX; +extern DLLSPEC daeString COLLADA_ELEMENT_ROTATE; +extern DLLSPEC daeString COLLADA_ELEMENT_SCALE; +extern DLLSPEC daeString COLLADA_ELEMENT_SKEW; +extern DLLSPEC daeString COLLADA_ELEMENT_TRANSLATE; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_CAMERA; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_CONTROLLER; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_GEOMETRY; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_LIGHT; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_NODE; +extern DLLSPEC daeString COLLADA_ELEMENT_NODE; +extern DLLSPEC daeString COLLADA_ELEMENT_EVALUATE_SCENE; +extern DLLSPEC daeString COLLADA_ELEMENT_RENDER; +extern DLLSPEC daeString COLLADA_ELEMENT_LAYER; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_MATERIAL; +extern DLLSPEC daeString COLLADA_ELEMENT_SKELETON; +extern DLLSPEC daeString COLLADA_ELEMENT_BIND_MATERIAL; +extern DLLSPEC daeString COLLADA_ELEMENT_TECHNIQUE_HINT; +extern DLLSPEC daeString COLLADA_ELEMENT_BIND; +extern DLLSPEC daeString COLLADA_ELEMENT_BIND_VERTEX_INPUT; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_FORCE_FIELD; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_RIGID_BODY; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_RIGID_CONSTRAINT; +extern DLLSPEC daeString COLLADA_ELEMENT_ANGULAR_VELOCITY; +extern DLLSPEC daeString COLLADA_ELEMENT_VELOCITY; +extern DLLSPEC daeString COLLADA_ELEMENT_DYNAMIC; +extern DLLSPEC daeString COLLADA_ELEMENT_MASS; +extern DLLSPEC daeString COLLADA_ELEMENT_MASS_FRAME; +extern DLLSPEC daeString COLLADA_ELEMENT_INERTIA; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MATERIAL; +extern DLLSPEC daeString COLLADA_ELEMENT_PHYSICS_MATERIAL; +extern DLLSPEC daeString COLLADA_ELEMENT_SHAPE; +extern DLLSPEC daeString COLLADA_ELEMENT_HOLLOW; +extern DLLSPEC daeString COLLADA_ELEMENT_DENSITY; +extern DLLSPEC daeString COLLADA_ELEMENT_PLANE; +extern DLLSPEC daeString COLLADA_ELEMENT_BOX; +extern DLLSPEC daeString COLLADA_ELEMENT_SPHERE; +extern DLLSPEC daeString COLLADA_ELEMENT_CYLINDER; +extern DLLSPEC daeString COLLADA_ELEMENT_TAPERED_CYLINDER; +extern DLLSPEC daeString COLLADA_ELEMENT_CAPSULE; +extern DLLSPEC daeString COLLADA_ELEMENT_TAPERED_CAPSULE; +extern DLLSPEC daeString COLLADA_ELEMENT_ANIMATION_CLIP; +extern DLLSPEC daeString COLLADA_ELEMENT_CAMERA; +extern DLLSPEC daeString COLLADA_ELEMENT_CONTROLLER; +extern DLLSPEC daeString COLLADA_ELEMENT_GEOMETRY; +extern DLLSPEC daeString COLLADA_ELEMENT_EFFECT; +extern DLLSPEC daeString COLLADA_ELEMENT_FORCE_FIELD; +extern DLLSPEC daeString COLLADA_ELEMENT_IMAGE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIGHT; +extern DLLSPEC daeString COLLADA_ELEMENT_MATERIAL; +extern DLLSPEC daeString COLLADA_ELEMENT_PHYSICS_MODEL; +extern DLLSPEC daeString COLLADA_ELEMENT_PHYSICS_SCENE; +extern DLLSPEC daeString COLLADA_ELEMENT_VISUAL_SCENE; +extern DLLSPEC daeString COLLADA_ELEMENT_NEWPARAM; +extern DLLSPEC daeString COLLADA_ELEMENT_FX_PROFILE_ABSTRACT; +extern DLLSPEC daeString COLLADA_ELEMENT_PROFILE_GLSL; +extern DLLSPEC daeString COLLADA_ELEMENT_PASS; +extern DLLSPEC daeString COLLADA_ELEMENT_COLOR_TARGET; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_TARGET; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_TARGET; +extern DLLSPEC daeString COLLADA_ELEMENT_COLOR_CLEAR; +extern DLLSPEC daeString COLLADA_ELEMENT_DEPTH_CLEAR; +extern DLLSPEC daeString COLLADA_ELEMENT_STENCIL_CLEAR; +extern DLLSPEC daeString COLLADA_ELEMENT_DRAW; +extern DLLSPEC daeString COLLADA_ELEMENT_GL_PIPELINE_SETTINGS; +extern DLLSPEC daeString COLLADA_ELEMENT_SHADER; +extern DLLSPEC daeString COLLADA_ELEMENT_COMPILER_TARGET; +extern DLLSPEC daeString COLLADA_ELEMENT_COMPILER_OPTIONS; +extern DLLSPEC daeString COLLADA_ELEMENT_PROFILE_COMMON; +extern DLLSPEC daeString COLLADA_ELEMENT_LAMBERT; +extern DLLSPEC daeString COLLADA_ELEMENT_PHONG; +extern DLLSPEC daeString COLLADA_ELEMENT_BLINN; +extern DLLSPEC daeString COLLADA_ELEMENT_EMISSION; +extern DLLSPEC daeString COLLADA_ELEMENT_REFLECTIVE; +extern DLLSPEC daeString COLLADA_ELEMENT_REFLECTIVITY; +extern DLLSPEC daeString COLLADA_ELEMENT_TRANSPARENT; +extern DLLSPEC daeString COLLADA_ELEMENT_TRANSPARENCY; +extern DLLSPEC daeString COLLADA_ELEMENT_INDEX_OF_REFRACTION; +extern DLLSPEC daeString COLLADA_ELEMENT_DIFFUSE; +extern DLLSPEC daeString COLLADA_ELEMENT_SPECULAR; +extern DLLSPEC daeString COLLADA_ELEMENT_SHININESS; +extern DLLSPEC daeString COLLADA_ELEMENT_PROFILE_CG; +extern DLLSPEC daeString COLLADA_ELEMENT_PROFILE_GLES; +extern DLLSPEC daeString COLLADA_ELEMENT_GLES_PIPELINE_SETTINGS; +extern DLLSPEC daeString COLLADA_ELEMENT_HALF_EXTENTS; +extern DLLSPEC daeString COLLADA_ELEMENT_EQUATION; +extern DLLSPEC daeString COLLADA_ELEMENT_RADIUS; +extern DLLSPEC daeString COLLADA_ELEMENT_HEIGHT; +extern DLLSPEC daeString COLLADA_ELEMENT_RADIUS1; +extern DLLSPEC daeString COLLADA_ELEMENT_RADIUS2; +extern DLLSPEC daeString COLLADA_ELEMENT_DYNAMIC_FRICTION; +extern DLLSPEC daeString COLLADA_ELEMENT_RESTITUTION; +extern DLLSPEC daeString COLLADA_ELEMENT_STATIC_FRICTION; +extern DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MODEL; +extern DLLSPEC daeString COLLADA_ELEMENT_GRAVITY; +extern DLLSPEC daeString COLLADA_ELEMENT_TIME_STEP; +extern DLLSPEC daeString COLLADA_ELEMENT_REF_ATTACHMENT; +extern DLLSPEC daeString COLLADA_ELEMENT_ATTACHMENT; +extern DLLSPEC daeString COLLADA_ELEMENT_ENABLED; +extern DLLSPEC daeString COLLADA_ELEMENT_INTERPENETRATE; +extern DLLSPEC daeString COLLADA_ELEMENT_LIMITS; +extern DLLSPEC daeString COLLADA_ELEMENT_SPRING; +extern DLLSPEC daeString COLLADA_ELEMENT_SWING_CONE_AND_TWIST; +extern DLLSPEC daeString COLLADA_ELEMENT_LINEAR; +extern DLLSPEC daeString COLLADA_ELEMENT_MIN; +extern DLLSPEC daeString COLLADA_ELEMENT_MAX; +extern DLLSPEC daeString COLLADA_ELEMENT_ANGULAR; +extern DLLSPEC daeString COLLADA_ELEMENT_STIFFNESS; +extern DLLSPEC daeString COLLADA_ELEMENT_DAMPING; +extern DLLSPEC daeString COLLADA_ELEMENT_TARGET_VALUE; +extern DLLSPEC daeString COLLADA_ELEMENT_RIGID_BODY; +extern DLLSPEC daeString COLLADA_ELEMENT_RIGID_CONSTRAINT; #endif //__DOM_CONSTANTS_H__ diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domController.h b/Extras/COLLADA_DOM/include/1.4/dom/domController.h index a06fd1151..6a453c3a3 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domController.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domController.h @@ -28,6 +28,8 @@ */ class domController : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONTROLLER; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -154,19 +156,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domConvex_mesh.h b/Extras/COLLADA_DOM/include/1.4/dom/domConvex_mesh.h index ec2936804..06b85b458 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domConvex_mesh.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domConvex_mesh.h @@ -36,6 +36,8 @@ */ class domConvex_mesh : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONVEX_MESH; } protected: // Attribute /** * The convex_hull_of attribute is a URI string of geometry to compute the @@ -82,7 +84,7 @@ public: //Accessors and Mutators * Sets the convex_hull_of attribute. * @param atConvex_hull_of The new value for the convex_hull_of attribute. */ - void setConvex_hull_of( const xsAnyURI &atConvex_hull_of ) { attrConvex_hull_of.setURI( atConvex_hull_of.getURI() ); + void setConvex_hull_of( const xsAnyURI &atConvex_hull_of ) { attrConvex_hull_of = atConvex_hull_of; _validAttributeArray[0] = true; } /** @@ -215,19 +217,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domCylinder.h b/Extras/COLLADA_DOM/include/1.4/dom/domCylinder.h index 0ca0c11d4..905a36aa9 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domCylinder.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domCylinder.h @@ -24,6 +24,8 @@ */ class domCylinder : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CYLINDER; } public: class domHeight; @@ -35,6 +37,8 @@ public: */ class domHeight : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HEIGHT; } protected: // Value /** @@ -78,19 +82,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRadius; @@ -103,6 +107,8 @@ public: */ class domRadius : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS; } protected: // Value /** @@ -151,19 +157,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -228,19 +234,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domEffect.h b/Extras/COLLADA_DOM/include/1.4/dom/domEffect.h index 7bdaa59a2..64c02caa3 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domEffect.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domEffect.h @@ -28,6 +28,8 @@ */ class domEffect : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::EFFECT; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -194,19 +196,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domEllipsoid.h b/Extras/COLLADA_DOM/include/1.4/dom/domEllipsoid.h index cfb6030e3..29465264f 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domEllipsoid.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domEllipsoid.h @@ -19,6 +19,8 @@ class domEllipsoid : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ELLIPSOID; } public: class domSize; @@ -27,6 +29,8 @@ public: class domSize : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SIZE; } protected: // Value /** @@ -75,19 +79,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -125,19 +129,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domExtra.h b/Extras/COLLADA_DOM/include/1.4/dom/domExtra.h index 645401402..b5eab322b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domExtra.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domExtra.h @@ -25,6 +25,8 @@ */ class domExtra : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::EXTRA; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -129,19 +131,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFloat_array.h b/Extras/COLLADA_DOM/include/1.4/dom/domFloat_array.h index 731ce4020..9fc1267d8 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFloat_array.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFloat_array.h @@ -23,6 +23,8 @@ */ class domFloat_array : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT_ARRAY; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -159,19 +161,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domForce_field.h b/Extras/COLLADA_DOM/include/1.4/dom/domForce_field.h index db315f552..ee0a4f7c1 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domForce_field.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domForce_field.h @@ -26,6 +26,8 @@ */ class domForce_field : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FORCE_FIELD; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -127,19 +129,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_common.h index 3c86de7ab..9e8b0c6d2 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_common.h @@ -67,6 +67,8 @@ protected: */ class domFx_annotate_common : public daeElement, public domFx_annotate_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_ANNOTATE_COMMON; } public: //Accessors and Mutators /** @@ -105,19 +107,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_type_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_type_common.h index e1bad1941..87431c0d5 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_type_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_annotate_type_common.h @@ -22,6 +22,8 @@ */ class domFx_annotate_type_common : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_ANNOTATE_TYPE_COMMON; } public: class domBool; @@ -30,6 +32,8 @@ public: class domBool : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; } protected: // Value /** @@ -73,19 +77,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2; @@ -95,6 +99,8 @@ public: class domBool2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; } protected: // Value /** @@ -143,19 +149,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3; @@ -165,6 +171,8 @@ public: class domBool3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; } protected: // Value /** @@ -213,19 +221,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4; @@ -235,6 +243,8 @@ public: class domBool4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; } protected: // Value /** @@ -283,19 +293,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt; @@ -305,6 +315,8 @@ public: class domInt : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; } protected: // Value /** @@ -348,19 +360,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2; @@ -370,6 +382,8 @@ public: class domInt2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; } protected: // Value /** @@ -418,19 +432,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3; @@ -440,6 +454,8 @@ public: class domInt3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; } protected: // Value /** @@ -488,19 +504,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4; @@ -510,6 +526,8 @@ public: class domInt4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; } protected: // Value /** @@ -558,19 +576,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat; @@ -580,6 +598,8 @@ public: class domFloat : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; } protected: // Value /** @@ -623,19 +643,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2; @@ -645,6 +665,8 @@ public: class domFloat2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; } protected: // Value /** @@ -693,19 +715,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3; @@ -715,6 +737,8 @@ public: class domFloat3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; } protected: // Value /** @@ -763,19 +787,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4; @@ -785,6 +809,8 @@ public: class domFloat4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; } protected: // Value /** @@ -833,19 +859,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x2; @@ -855,6 +881,8 @@ public: class domFloat2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; } protected: // Value /** @@ -903,19 +931,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x3; @@ -925,6 +953,8 @@ public: class domFloat3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; } protected: // Value /** @@ -973,19 +1003,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x4; @@ -995,6 +1025,8 @@ public: class domFloat4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; } protected: // Value /** @@ -1043,19 +1075,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domString; @@ -1065,6 +1097,8 @@ public: class domString : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STRING; } protected: // Value /** @@ -1108,19 +1142,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1268,19 +1302,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_basic_type_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_basic_type_common.h index 9c3ce0b45..5a55a7a7d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_basic_type_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_basic_type_common.h @@ -29,6 +29,8 @@ */ class domFx_basic_type_common : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_BASIC_TYPE_COMMON; } public: class domBool; @@ -37,6 +39,8 @@ public: class domBool : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; } protected: // Value /** @@ -80,19 +84,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2; @@ -102,6 +106,8 @@ public: class domBool2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; } protected: // Value /** @@ -150,19 +156,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3; @@ -172,6 +178,8 @@ public: class domBool3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; } protected: // Value /** @@ -220,19 +228,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4; @@ -242,6 +250,8 @@ public: class domBool4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; } protected: // Value /** @@ -290,19 +300,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt; @@ -312,6 +322,8 @@ public: class domInt : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; } protected: // Value /** @@ -355,19 +367,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2; @@ -377,6 +389,8 @@ public: class domInt2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; } protected: // Value /** @@ -425,19 +439,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3; @@ -447,6 +461,8 @@ public: class domInt3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; } protected: // Value /** @@ -495,19 +511,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4; @@ -517,6 +533,8 @@ public: class domInt4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; } protected: // Value /** @@ -565,19 +583,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat; @@ -587,6 +605,8 @@ public: class domFloat : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; } protected: // Value /** @@ -630,19 +650,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2; @@ -652,6 +672,8 @@ public: class domFloat2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; } protected: // Value /** @@ -700,19 +722,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3; @@ -722,6 +744,8 @@ public: class domFloat3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; } protected: // Value /** @@ -770,19 +794,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4; @@ -792,6 +816,8 @@ public: class domFloat4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; } protected: // Value /** @@ -840,19 +866,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x1; @@ -862,6 +888,8 @@ public: class domFloat1x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X1; } protected: // Value /** @@ -905,19 +933,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x2; @@ -927,6 +955,8 @@ public: class domFloat1x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X2; } protected: // Value /** @@ -975,19 +1005,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x3; @@ -997,6 +1027,8 @@ public: class domFloat1x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X3; } protected: // Value /** @@ -1045,19 +1077,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x4; @@ -1067,6 +1099,8 @@ public: class domFloat1x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X4; } protected: // Value /** @@ -1115,19 +1149,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x1; @@ -1137,6 +1171,8 @@ public: class domFloat2x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X1; } protected: // Value /** @@ -1185,19 +1221,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x2; @@ -1207,6 +1243,8 @@ public: class domFloat2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; } protected: // Value /** @@ -1255,19 +1293,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x3; @@ -1277,6 +1315,8 @@ public: class domFloat2x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X3; } protected: // Value /** @@ -1325,19 +1365,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x4; @@ -1347,6 +1387,8 @@ public: class domFloat2x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X4; } protected: // Value /** @@ -1395,19 +1437,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x1; @@ -1417,6 +1459,8 @@ public: class domFloat3x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X1; } protected: // Value /** @@ -1465,19 +1509,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x2; @@ -1487,6 +1531,8 @@ public: class domFloat3x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X2; } protected: // Value /** @@ -1535,19 +1581,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x3; @@ -1557,6 +1603,8 @@ public: class domFloat3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; } protected: // Value /** @@ -1605,19 +1653,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x4; @@ -1627,6 +1675,8 @@ public: class domFloat3x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X4; } protected: // Value /** @@ -1675,19 +1725,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x1; @@ -1697,6 +1747,8 @@ public: class domFloat4x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X1; } protected: // Value /** @@ -1745,19 +1797,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x2; @@ -1767,6 +1819,8 @@ public: class domFloat4x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X2; } protected: // Value /** @@ -1815,19 +1869,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x3; @@ -1837,6 +1891,8 @@ public: class domFloat4x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X3; } protected: // Value /** @@ -1885,19 +1941,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x4; @@ -1907,6 +1963,8 @@ public: class domFloat4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; } protected: // Value /** @@ -1955,19 +2013,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domEnum; @@ -1977,6 +2035,8 @@ public: class domEnum : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ENUM; } protected: // Value /** @@ -2020,19 +2080,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -2300,19 +2360,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_clearcolor_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_clearcolor_common.h index cea327330..a557d9c33 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_clearcolor_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_clearcolor_common.h @@ -80,6 +80,8 @@ protected: */ class domFx_clearcolor_common : public daeElement, public domFx_clearcolor_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CLEARCOLOR_COMMON; } public: //Accessors and Mutators /** @@ -118,19 +120,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_cleardepth_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_cleardepth_common.h index de843ea4a..d3e2e7989 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_cleardepth_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_cleardepth_common.h @@ -75,6 +75,8 @@ protected: */ class domFx_cleardepth_common : public daeElement, public domFx_cleardepth_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CLEARDEPTH_COMMON; } public: //Accessors and Mutators /** @@ -113,19 +115,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_clearstencil_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_clearstencil_common.h index 81b3c339c..e40a073f8 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_clearstencil_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_clearstencil_common.h @@ -75,6 +75,8 @@ protected: */ class domFx_clearstencil_common : public daeElement, public domFx_clearstencil_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CLEARSTENCIL_COMMON; } public: //Accessors and Mutators /** @@ -113,19 +115,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_code_profile.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_code_profile.h index 415374f43..40d435dfe 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_code_profile.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_code_profile.h @@ -84,6 +84,8 @@ protected: */ class domFx_code_profile : public daeElement, public domFx_code_profile_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_CODE_PROFILE; } public: //Accessors and Mutators /** @@ -122,19 +124,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_colortarget_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_colortarget_common.h index fe1b16978..be3e11856 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_colortarget_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_colortarget_common.h @@ -111,6 +111,8 @@ protected: */ class domFx_colortarget_common : public daeElement, public domFx_colortarget_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_COLORTARGET_COMMON; } public: //Accessors and Mutators /** @@ -185,19 +187,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_depthtarget_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_depthtarget_common.h index 8e73c5bb1..277957afb 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_depthtarget_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_depthtarget_common.h @@ -111,6 +111,8 @@ protected: */ class domFx_depthtarget_common : public daeElement, public domFx_depthtarget_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_DEPTHTARGET_COMMON; } public: //Accessors and Mutators /** @@ -185,19 +187,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_include_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_include_common.h index ab127fe86..c9f7f6855 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_include_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_include_common.h @@ -65,7 +65,7 @@ public: //Accessors and Mutators * Sets the url attribute. * @param atUrl The new value for the url attribute. */ - void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); } + void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; } protected: /** @@ -91,6 +91,8 @@ protected: */ class domFx_include_common : public daeElement, public domFx_include_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_INCLUDE_COMMON; } public: //Accessors and Mutators /** @@ -119,7 +121,7 @@ public: //Accessors and Mutators * Sets the url attribute. * @param atUrl The new value for the url attribute. */ - void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); + void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; _validAttributeArray[1] = true; } protected: @@ -146,19 +148,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_newparam_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_newparam_common.h index 60735b5d2..555cfbece 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_newparam_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_newparam_common.h @@ -36,6 +36,8 @@ public: */ class domSemantic : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; } protected: // Value /** @@ -79,19 +81,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domModifier; @@ -104,6 +106,8 @@ public: */ class domModifier : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIER; } protected: // Value /** @@ -147,19 +151,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -250,6 +254,8 @@ protected: */ class domFx_newparam_common : public daeElement, public domFx_newparam_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_NEWPARAM_COMMON; } public: //Accessors and Mutators /** @@ -288,19 +294,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_profile_abstract.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_profile_abstract.h index 7e864bc05..d7e29d7d9 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_profile_abstract.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_profile_abstract.h @@ -23,6 +23,8 @@ */ class domFx_profile_abstract : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_PROFILE_ABSTRACT; } protected: /** @@ -48,19 +50,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler1D_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler1D_common.h index 147f47eb0..ad398aca2 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler1D_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler1D_common.h @@ -31,6 +31,8 @@ public: class domSource : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; } protected: // Value /** @@ -74,19 +76,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_s; @@ -96,6 +98,8 @@ public: class domWrap_s : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; } protected: // Value /** @@ -139,19 +143,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMinfilter; @@ -161,6 +165,8 @@ public: class domMinfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } protected: // Value /** @@ -204,19 +210,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMagfilter; @@ -226,6 +232,8 @@ public: class domMagfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } protected: // Value /** @@ -269,19 +277,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipfilter; @@ -291,6 +299,8 @@ public: class domMipfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; } protected: // Value /** @@ -334,19 +344,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBorder_color; @@ -356,6 +366,8 @@ public: class domBorder_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; } protected: // Value /** @@ -404,19 +416,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_maxlevel; @@ -426,6 +438,8 @@ public: class domMipmap_maxlevel : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; } protected: // Value /** @@ -469,19 +483,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_bias; @@ -491,6 +505,8 @@ public: class domMipmap_bias : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; } protected: // Value /** @@ -534,19 +550,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -637,6 +653,8 @@ protected: */ class domFx_sampler1D_common : public daeElement, public domFx_sampler1D_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER1D_COMMON; } protected: /** * Constructor @@ -661,19 +679,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler2D_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler2D_common.h index 623a2aa8f..8b09caafc 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler2D_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler2D_common.h @@ -31,6 +31,8 @@ public: class domSource : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; } protected: // Value /** @@ -74,19 +76,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_s; @@ -96,6 +98,8 @@ public: class domWrap_s : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; } protected: // Value /** @@ -139,19 +143,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_t; @@ -161,6 +165,8 @@ public: class domWrap_t : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; } protected: // Value /** @@ -204,19 +210,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMinfilter; @@ -226,6 +232,8 @@ public: class domMinfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } protected: // Value /** @@ -269,19 +277,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMagfilter; @@ -291,6 +299,8 @@ public: class domMagfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } protected: // Value /** @@ -334,19 +344,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipfilter; @@ -356,6 +366,8 @@ public: class domMipfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; } protected: // Value /** @@ -399,19 +411,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBorder_color; @@ -421,6 +433,8 @@ public: class domBorder_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; } protected: // Value /** @@ -469,19 +483,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_maxlevel; @@ -491,6 +505,8 @@ public: class domMipmap_maxlevel : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; } protected: // Value /** @@ -534,19 +550,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_bias; @@ -556,6 +572,8 @@ public: class domMipmap_bias : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; } protected: // Value /** @@ -599,19 +617,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -708,6 +726,8 @@ protected: */ class domFx_sampler2D_common : public daeElement, public domFx_sampler2D_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER2D_COMMON; } protected: /** * Constructor @@ -732,19 +752,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler3D_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler3D_common.h index c104b3298..f96b59b10 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler3D_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_sampler3D_common.h @@ -31,6 +31,8 @@ public: class domSource : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; } protected: // Value /** @@ -74,19 +76,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_s; @@ -96,6 +98,8 @@ public: class domWrap_s : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; } protected: // Value /** @@ -139,19 +143,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_t; @@ -161,6 +165,8 @@ public: class domWrap_t : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; } protected: // Value /** @@ -204,19 +210,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_p; @@ -226,6 +232,8 @@ public: class domWrap_p : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_P; } protected: // Value /** @@ -269,19 +277,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMinfilter; @@ -291,6 +299,8 @@ public: class domMinfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } protected: // Value /** @@ -334,19 +344,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMagfilter; @@ -356,6 +366,8 @@ public: class domMagfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } protected: // Value /** @@ -399,19 +411,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipfilter; @@ -421,6 +433,8 @@ public: class domMipfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; } protected: // Value /** @@ -464,19 +478,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBorder_color; @@ -486,6 +500,8 @@ public: class domBorder_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; } protected: // Value /** @@ -534,19 +550,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_maxlevel; @@ -556,6 +572,8 @@ public: class domMipmap_maxlevel : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; } protected: // Value /** @@ -599,19 +617,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_bias; @@ -621,6 +639,8 @@ public: class domMipmap_bias : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; } protected: // Value /** @@ -664,19 +684,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -779,6 +799,8 @@ protected: */ class domFx_sampler3D_common : public daeElement, public domFx_sampler3D_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLER3D_COMMON; } protected: /** * Constructor @@ -803,19 +825,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerCUBE_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerCUBE_common.h index 3a4d22bef..71d58c63d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerCUBE_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerCUBE_common.h @@ -31,6 +31,8 @@ public: class domSource : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; } protected: // Value /** @@ -74,19 +76,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_s; @@ -96,6 +98,8 @@ public: class domWrap_s : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; } protected: // Value /** @@ -139,19 +143,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_t; @@ -161,6 +165,8 @@ public: class domWrap_t : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; } protected: // Value /** @@ -204,19 +210,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_p; @@ -226,6 +232,8 @@ public: class domWrap_p : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_P; } protected: // Value /** @@ -269,19 +277,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMinfilter; @@ -291,6 +299,8 @@ public: class domMinfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } protected: // Value /** @@ -334,19 +344,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMagfilter; @@ -356,6 +366,8 @@ public: class domMagfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } protected: // Value /** @@ -399,19 +411,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipfilter; @@ -421,6 +433,8 @@ public: class domMipfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; } protected: // Value /** @@ -464,19 +478,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBorder_color; @@ -486,6 +500,8 @@ public: class domBorder_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; } protected: // Value /** @@ -534,19 +550,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_maxlevel; @@ -556,6 +572,8 @@ public: class domMipmap_maxlevel : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; } protected: // Value /** @@ -599,19 +617,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_bias; @@ -621,6 +639,8 @@ public: class domMipmap_bias : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; } protected: // Value /** @@ -664,19 +684,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -779,6 +799,8 @@ protected: */ class domFx_samplerCUBE_common : public daeElement, public domFx_samplerCUBE_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLERCUBE_COMMON; } protected: /** * Constructor @@ -803,19 +825,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerDEPTH_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerDEPTH_common.h index 06506f883..cf9ba77ac 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerDEPTH_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerDEPTH_common.h @@ -31,6 +31,8 @@ public: class domSource : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; } protected: // Value /** @@ -74,19 +76,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_s; @@ -96,6 +98,8 @@ public: class domWrap_s : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; } protected: // Value /** @@ -139,19 +143,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_t; @@ -161,6 +165,8 @@ public: class domWrap_t : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; } protected: // Value /** @@ -204,19 +210,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMinfilter; @@ -226,6 +232,8 @@ public: class domMinfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } protected: // Value /** @@ -269,19 +277,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMagfilter; @@ -291,6 +299,8 @@ public: class domMagfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } protected: // Value /** @@ -334,19 +344,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -419,6 +429,8 @@ protected: */ class domFx_samplerDEPTH_common : public daeElement, public domFx_samplerDEPTH_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLERDEPTH_COMMON; } protected: /** * Constructor @@ -443,19 +455,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerRECT_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerRECT_common.h index f5b9f3e61..dfa2cd9f9 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerRECT_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_samplerRECT_common.h @@ -31,6 +31,8 @@ public: class domSource : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; } protected: // Value /** @@ -74,19 +76,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_s; @@ -96,6 +98,8 @@ public: class domWrap_s : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; } protected: // Value /** @@ -139,19 +143,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_t; @@ -161,6 +165,8 @@ public: class domWrap_t : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; } protected: // Value /** @@ -204,19 +210,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMinfilter; @@ -226,6 +232,8 @@ public: class domMinfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } protected: // Value /** @@ -269,19 +277,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMagfilter; @@ -291,6 +299,8 @@ public: class domMagfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } protected: // Value /** @@ -334,19 +344,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipfilter; @@ -356,6 +366,8 @@ public: class domMipfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; } protected: // Value /** @@ -399,19 +411,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBorder_color; @@ -421,6 +433,8 @@ public: class domBorder_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BORDER_COLOR; } protected: // Value /** @@ -469,19 +483,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_maxlevel; @@ -491,6 +505,8 @@ public: class domMipmap_maxlevel : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; } protected: // Value /** @@ -534,19 +550,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_bias; @@ -556,6 +572,8 @@ public: class domMipmap_bias : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; } protected: // Value /** @@ -599,19 +617,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -708,6 +726,8 @@ protected: */ class domFx_samplerRECT_common : public daeElement, public domFx_samplerRECT_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SAMPLERRECT_COMMON; } protected: /** * Constructor @@ -732,19 +752,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_stenciltarget_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_stenciltarget_common.h index ea521fb0b..e56c02976 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_stenciltarget_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_stenciltarget_common.h @@ -111,6 +111,8 @@ protected: */ class domFx_stenciltarget_common : public daeElement, public domFx_stenciltarget_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_STENCILTARGET_COMMON; } public: //Accessors and Mutators /** @@ -185,19 +187,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_common.h index 35b6c98aa..6f0f6e3a1 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_common.h @@ -41,6 +41,8 @@ public: */ class domFormat : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FORMAT; } protected: // Value /** @@ -84,19 +86,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSize; @@ -109,6 +111,8 @@ public: */ class domSize : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SIZE; } protected: // Value /** @@ -157,19 +161,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domViewport_ratio; @@ -183,6 +187,8 @@ public: */ class domViewport_ratio : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VIEWPORT_RATIO; } protected: // Value /** @@ -231,19 +237,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMip_levels; @@ -260,6 +266,8 @@ public: */ class domMip_levels : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIP_LEVELS; } protected: // Value /** @@ -303,19 +311,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_generate; @@ -331,6 +339,8 @@ public: */ class domMipmap_generate : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_GENERATE; } protected: // Value /** @@ -374,19 +384,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -553,12 +563,12 @@ public: //Backwards Compatibility * Gets the init_from element array. * @return Returns a reference to the array of init_from elements. */ - domInit_from_Array &getInit_from_array(); + DLLSPEC domInit_from_Array &getInit_from_array(); /** * Gets the init_from element array. * @return Returns a constant reference to the array of init_from elements. */ - const domInit_from_Array &getInit_from_array() const; + DLLSPEC const domInit_from_Array &getInit_from_array() const; private: domInit_from_Array emptyArray; @@ -569,6 +579,8 @@ private: */ class domFx_surface_common : public daeElement, public domFx_surface_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_COMMON; } public: //Accessors and Mutators /** @@ -607,19 +619,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_format_hint_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_format_hint_common.h index bddc7fa6f..e41189b7c 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_format_hint_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_format_hint_common.h @@ -38,6 +38,8 @@ public: */ class domChannels : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CHANNELS; } protected: // Value /** @@ -81,19 +83,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRange; @@ -108,6 +110,8 @@ public: */ class domRange : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RANGE; } protected: // Value /** @@ -151,19 +155,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPrecision; @@ -179,6 +183,8 @@ public: */ class domPrecision : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PRECISION; } protected: // Value /** @@ -222,19 +228,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domOption; @@ -248,6 +254,8 @@ public: */ class domOption : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::OPTION; } protected: // Value /** @@ -291,19 +299,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -395,6 +403,8 @@ protected: */ class domFx_surface_format_hint_common : public daeElement, public domFx_surface_format_hint_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_FORMAT_HINT_COMMON; } protected: /** * Constructor @@ -419,19 +429,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_common.h index ff0754f93..170275537 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_common.h @@ -28,6 +28,8 @@ */ class domFx_surface_init_common : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_COMMON; } public: class domInit_as_null; @@ -43,6 +45,8 @@ public: */ class domInit_as_null : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INIT_AS_NULL; } protected: /** @@ -68,19 +72,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInit_as_target; @@ -94,6 +98,8 @@ public: */ class domInit_as_target : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INIT_AS_TARGET; } protected: /** @@ -119,19 +125,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -253,19 +259,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_cube_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_cube_common.h index 3f38a8303..5c92f0947 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_cube_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_cube_common.h @@ -30,6 +30,8 @@ public: */ class domAll : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALL; } protected: // Attribute xsIDREF attrRef; @@ -49,7 +51,7 @@ public: * Sets the ref attribute. * @param atRef The new value for the ref attribute. */ - void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() ); + void setRef( const xsIDREF &atRef ) { attrRef = atRef; _validAttributeArray[0] = true; } protected: @@ -76,19 +78,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPrimary; @@ -103,6 +105,8 @@ public: */ class domPrimary : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PRIMARY; } public: class domOrder; @@ -115,6 +119,8 @@ public: */ class domOrder : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ORDER; } protected: // Value /** @@ -158,19 +164,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -199,7 +205,7 @@ public: * Sets the ref attribute. * @param atRef The new value for the ref attribute. */ - void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() ); + void setRef( const xsIDREF &atRef ) { attrRef = atRef; _validAttributeArray[0] = true; } /** @@ -236,19 +242,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFace; @@ -261,6 +267,8 @@ public: */ class domFace : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FACE; } protected: // Attribute xsIDREF attrRef; @@ -280,7 +288,7 @@ public: * Sets the ref attribute. * @param atRef The new value for the ref attribute. */ - void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() ); + void setRef( const xsIDREF &atRef ) { attrRef = atRef; _validAttributeArray[0] = true; } protected: @@ -307,19 +315,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -405,6 +413,8 @@ protected: */ class domFx_surface_init_cube_common : public daeElement, public domFx_surface_init_cube_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_CUBE_COMMON; } protected: /** * Constructor @@ -429,19 +439,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_from_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_from_common.h index 21ba4aee5..4e4e36f12 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_from_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_from_common.h @@ -82,7 +82,7 @@ public: //Accessors and Mutators * Sets the _value of this element. * @param val The new value for this element. */ - void setValue( const xsIDREF &val ) { _value.setID( val.getID() ); } + void setValue( const xsIDREF &val ) { _value = val; } protected: /** @@ -108,6 +108,8 @@ protected: */ class domFx_surface_init_from_common : public daeElement, public domFx_surface_init_from_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_FROM_COMMON; } public: //Accessors and Mutators /** @@ -170,19 +172,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_planar_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_planar_common.h index 5b241cd17..26dd6d42f 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_planar_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_planar_common.h @@ -33,6 +33,8 @@ public: */ class domAll : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALL; } protected: // Attribute xsIDREF attrRef; @@ -52,7 +54,7 @@ public: * Sets the ref attribute. * @param atRef The new value for the ref attribute. */ - void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() ); + void setRef( const xsIDREF &atRef ) { attrRef = atRef; _validAttributeArray[0] = true; } protected: @@ -79,19 +81,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -132,6 +134,8 @@ protected: */ class domFx_surface_init_planar_common : public daeElement, public domFx_surface_init_planar_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_PLANAR_COMMON; } protected: /** * Constructor @@ -156,19 +160,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_volume_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_volume_common.h index e609f818b..7ff0f7ba7 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_volume_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_volume_common.h @@ -30,6 +30,8 @@ public: */ class domAll : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALL; } protected: // Attribute xsIDREF attrRef; @@ -49,7 +51,7 @@ public: * Sets the ref attribute. * @param atRef The new value for the ref attribute. */ - void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() ); + void setRef( const xsIDREF &atRef ) { attrRef = atRef; _validAttributeArray[0] = true; } protected: @@ -76,19 +78,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPrimary; @@ -102,6 +104,8 @@ public: */ class domPrimary : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PRIMARY; } protected: // Attribute xsIDREF attrRef; @@ -121,7 +125,7 @@ public: * Sets the ref attribute. * @param atRef The new value for the ref attribute. */ - void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() ); + void setRef( const xsIDREF &atRef ) { attrRef = atRef; _validAttributeArray[0] = true; } protected: @@ -148,19 +152,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -232,6 +236,8 @@ protected: */ class domFx_surface_init_volume_common : public daeElement, public domFx_surface_init_volume_common_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_SURFACE_INIT_VOLUME_COMMON; } protected: /** * Constructor @@ -256,19 +262,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGeometry.h b/Extras/COLLADA_DOM/include/1.4/dom/domGeometry.h index dc5f1f1c3..1b58f3d7b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGeometry.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGeometry.h @@ -30,6 +30,8 @@ */ class domGeometry : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GEOMETRY; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -160,19 +162,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGl_hook_abstract.h b/Extras/COLLADA_DOM/include/1.4/dom/domGl_hook_abstract.h index 007a553d4..6ab613dbf 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGl_hook_abstract.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGl_hook_abstract.h @@ -19,6 +19,8 @@ class domGl_hook_abstract : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_HOOK_ABSTRACT; } protected: /** @@ -44,19 +46,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGl_pipeline_settings.h b/Extras/COLLADA_DOM/include/1.4/dom/domGl_pipeline_settings.h index c521c6519..cfd867ddb 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGl_pipeline_settings.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGl_pipeline_settings.h @@ -29,6 +29,8 @@ */ class domGl_pipeline_settings : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_PIPELINE_SETTINGS; } public: class domAlpha_func; @@ -37,6 +39,8 @@ public: class domAlpha_func : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALPHA_FUNC; } public: class domFunc; @@ -45,6 +49,8 @@ public: class domFunc : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FUNC; } protected: // Attributes domGl_func_type attrValue; xsNCName attrParam; @@ -99,19 +105,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domValue; @@ -121,6 +127,8 @@ public: class domValue : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VALUE; } protected: // Attributes domGl_alpha_value_type attrValue; xsNCName attrParam; @@ -175,19 +183,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -231,19 +239,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlend_func; @@ -253,6 +261,8 @@ public: class domBlend_func : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLEND_FUNC; } public: class domSrc; @@ -261,6 +271,8 @@ public: class domSrc : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SRC; } protected: // Attributes domGl_blend_type attrValue; xsNCName attrParam; @@ -315,19 +327,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDest; @@ -337,6 +349,8 @@ public: class domDest : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEST; } protected: // Attributes domGl_blend_type attrValue; xsNCName attrParam; @@ -391,19 +405,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -447,19 +461,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlend_func_separate; @@ -469,6 +483,8 @@ public: class domBlend_func_separate : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLEND_FUNC_SEPARATE; } public: class domSrc_rgb; @@ -477,6 +493,8 @@ public: class domSrc_rgb : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SRC_RGB; } protected: // Attributes domGl_blend_type attrValue; xsNCName attrParam; @@ -531,19 +549,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDest_rgb; @@ -553,6 +571,8 @@ public: class domDest_rgb : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEST_RGB; } protected: // Attributes domGl_blend_type attrValue; xsNCName attrParam; @@ -607,19 +627,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSrc_alpha; @@ -629,6 +649,8 @@ public: class domSrc_alpha : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SRC_ALPHA; } protected: // Attributes domGl_blend_type attrValue; xsNCName attrParam; @@ -683,19 +705,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDest_alpha; @@ -705,6 +727,8 @@ public: class domDest_alpha : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEST_ALPHA; } protected: // Attributes domGl_blend_type attrValue; xsNCName attrParam; @@ -759,19 +783,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -827,19 +851,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlend_equation; @@ -849,6 +873,8 @@ public: class domBlend_equation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLEND_EQUATION; } protected: // Attributes domGl_blend_equation_type attrValue; xsNCName attrParam; @@ -903,19 +929,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlend_equation_separate; @@ -925,6 +951,8 @@ public: class domBlend_equation_separate : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLEND_EQUATION_SEPARATE; } public: class domRgb; @@ -933,6 +961,8 @@ public: class domRgb : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RGB; } protected: // Attributes domGl_blend_equation_type attrValue; xsNCName attrParam; @@ -987,19 +1017,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domAlpha; @@ -1009,6 +1039,8 @@ public: class domAlpha : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALPHA; } protected: // Attributes domGl_blend_equation_type attrValue; xsNCName attrParam; @@ -1063,19 +1095,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1119,19 +1151,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domColor_material; @@ -1141,6 +1173,8 @@ public: class domColor_material : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_MATERIAL; } public: class domFace; @@ -1149,6 +1183,8 @@ public: class domFace : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FACE; } protected: // Attributes domGl_face_type attrValue; xsNCName attrParam; @@ -1203,19 +1239,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMode; @@ -1225,6 +1261,8 @@ public: class domMode : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODE; } protected: // Attributes domGl_material_type attrValue; xsNCName attrParam; @@ -1279,19 +1317,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1335,19 +1373,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domCull_face; @@ -1357,6 +1395,8 @@ public: class domCull_face : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CULL_FACE; } protected: // Attributes domGl_face_type attrValue; xsNCName attrParam; @@ -1411,19 +1451,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_func; @@ -1433,6 +1473,8 @@ public: class domDepth_func : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_FUNC; } protected: // Attributes domGl_func_type attrValue; xsNCName attrParam; @@ -1487,19 +1529,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_mode; @@ -1509,6 +1551,8 @@ public: class domFog_mode : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_MODE; } protected: // Attributes domGl_fog_type attrValue; xsNCName attrParam; @@ -1563,19 +1607,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_coord_src; @@ -1585,6 +1629,8 @@ public: class domFog_coord_src : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_COORD_SRC; } protected: // Attributes domGl_fog_coord_src_type attrValue; xsNCName attrParam; @@ -1639,19 +1685,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFront_face; @@ -1661,6 +1707,8 @@ public: class domFront_face : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FRONT_FACE; } protected: // Attributes domGl_front_face_type attrValue; xsNCName attrParam; @@ -1715,19 +1763,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_model_color_control; @@ -1737,6 +1785,8 @@ public: class domLight_model_color_control : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_MODEL_COLOR_CONTROL; } protected: // Attributes domGl_light_model_color_control_type attrValue; xsNCName attrParam; @@ -1791,19 +1841,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLogic_op; @@ -1813,6 +1863,8 @@ public: class domLogic_op : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LOGIC_OP; } protected: // Attributes domGl_logic_op_type attrValue; xsNCName attrParam; @@ -1867,19 +1919,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_mode; @@ -1889,6 +1941,8 @@ public: class domPolygon_mode : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_MODE; } public: class domFace; @@ -1897,6 +1951,8 @@ public: class domFace : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FACE; } protected: // Attributes domGl_face_type attrValue; xsNCName attrParam; @@ -1951,19 +2007,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMode; @@ -1973,6 +2029,8 @@ public: class domMode : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODE; } protected: // Attributes domGl_polygon_mode_type attrValue; xsNCName attrParam; @@ -2027,19 +2085,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -2083,19 +2141,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domShade_model; @@ -2105,6 +2163,8 @@ public: class domShade_model : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SHADE_MODEL; } protected: // Attributes domGl_shade_model_type attrValue; xsNCName attrParam; @@ -2159,19 +2219,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_func; @@ -2181,6 +2241,8 @@ public: class domStencil_func : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_FUNC; } public: class domFunc; @@ -2189,6 +2251,8 @@ public: class domFunc : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FUNC; } protected: // Attributes domGl_func_type attrValue; xsNCName attrParam; @@ -2243,19 +2307,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRef; @@ -2265,6 +2329,8 @@ public: class domRef : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::REF; } protected: // Attributes xsUnsignedByte attrValue; xsNCName attrParam; @@ -2319,19 +2385,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMask; @@ -2341,6 +2407,8 @@ public: class domMask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MASK; } protected: // Attributes xsUnsignedByte attrValue; xsNCName attrParam; @@ -2395,19 +2463,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -2457,19 +2525,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_op; @@ -2479,6 +2547,8 @@ public: class domStencil_op : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_OP; } public: class domFail; @@ -2487,6 +2557,8 @@ public: class domFail : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FAIL; } protected: // Attributes domGl_stencil_op_type attrValue; xsNCName attrParam; @@ -2541,19 +2613,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domZfail; @@ -2563,6 +2635,8 @@ public: class domZfail : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ZFAIL; } protected: // Attributes domGl_stencil_op_type attrValue; xsNCName attrParam; @@ -2617,19 +2691,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domZpass; @@ -2639,6 +2713,8 @@ public: class domZpass : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ZPASS; } protected: // Attributes domGl_stencil_op_type attrValue; xsNCName attrParam; @@ -2693,19 +2769,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -2755,19 +2831,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_func_separate; @@ -2777,6 +2853,8 @@ public: class domStencil_func_separate : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_FUNC_SEPARATE; } public: class domFront; @@ -2785,6 +2863,8 @@ public: class domFront : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FRONT; } protected: // Attributes domGl_func_type attrValue; xsNCName attrParam; @@ -2839,19 +2919,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBack; @@ -2861,6 +2941,8 @@ public: class domBack : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BACK; } protected: // Attributes domGl_func_type attrValue; xsNCName attrParam; @@ -2915,19 +2997,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRef; @@ -2937,6 +3019,8 @@ public: class domRef : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::REF; } protected: // Attributes xsUnsignedByte attrValue; xsNCName attrParam; @@ -2991,19 +3075,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMask; @@ -3013,6 +3097,8 @@ public: class domMask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MASK; } protected: // Attributes xsUnsignedByte attrValue; xsNCName attrParam; @@ -3067,19 +3153,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -3135,19 +3221,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_op_separate; @@ -3157,6 +3243,8 @@ public: class domStencil_op_separate : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_OP_SEPARATE; } public: class domFace; @@ -3165,6 +3253,8 @@ public: class domFace : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FACE; } protected: // Attributes domGl_face_type attrValue; xsNCName attrParam; @@ -3219,19 +3309,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFail; @@ -3241,6 +3331,8 @@ public: class domFail : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FAIL; } protected: // Attributes domGl_stencil_op_type attrValue; xsNCName attrParam; @@ -3295,19 +3387,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domZfail; @@ -3317,6 +3409,8 @@ public: class domZfail : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ZFAIL; } protected: // Attributes domGl_stencil_op_type attrValue; xsNCName attrParam; @@ -3371,19 +3465,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domZpass; @@ -3393,6 +3487,8 @@ public: class domZpass : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ZPASS; } protected: // Attributes domGl_stencil_op_type attrValue; xsNCName attrParam; @@ -3447,19 +3543,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -3515,19 +3611,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_mask_separate; @@ -3537,6 +3633,8 @@ public: class domStencil_mask_separate : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_MASK_SEPARATE; } public: class domFace; @@ -3545,6 +3643,8 @@ public: class domFace : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FACE; } protected: // Attributes domGl_face_type attrValue; xsNCName attrParam; @@ -3599,19 +3699,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMask; @@ -3621,6 +3721,8 @@ public: class domMask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MASK; } protected: // Attributes xsUnsignedByte attrValue; xsNCName attrParam; @@ -3675,19 +3777,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -3731,19 +3833,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_enable; @@ -3753,6 +3855,8 @@ public: class domLight_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -3820,19 +3924,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_ambient; @@ -3842,6 +3946,8 @@ public: class domLight_ambient : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_AMBIENT; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -3914,19 +4020,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_diffuse; @@ -3936,6 +4042,8 @@ public: class domLight_diffuse : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_DIFFUSE; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -4008,19 +4116,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_specular; @@ -4030,6 +4138,8 @@ public: class domLight_specular : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_SPECULAR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -4102,19 +4212,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_position; @@ -4124,6 +4234,8 @@ public: class domLight_position : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_POSITION; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -4196,19 +4308,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_constant_attenuation; @@ -4218,6 +4330,8 @@ public: class domLight_constant_attenuation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_CONSTANT_ATTENUATION; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -4285,19 +4399,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_linear_attenuation; @@ -4307,6 +4421,8 @@ public: class domLight_linear_attenuation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_LINEAR_ATTENUATION; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -4374,19 +4490,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_quadratic_attenuation; @@ -4396,6 +4512,8 @@ public: class domLight_quadratic_attenuation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_QUADRATIC_ATTENUATION; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -4463,19 +4581,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_spot_cutoff; @@ -4485,6 +4603,8 @@ public: class domLight_spot_cutoff : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_SPOT_CUTOFF; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -4552,19 +4672,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_spot_direction; @@ -4574,6 +4694,8 @@ public: class domLight_spot_direction : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_SPOT_DIRECTION; } protected: // Attributes domFloat3 attrValue; xsNCName attrParam; @@ -4646,19 +4768,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_spot_exponent; @@ -4668,6 +4790,8 @@ public: class domLight_spot_exponent : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_SPOT_EXPONENT; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -4735,19 +4859,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture1D; @@ -4757,6 +4881,8 @@ public: class domTexture1D : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE1D; } public: class domParam; @@ -4765,6 +4891,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Value /** @@ -4808,19 +4936,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -4898,19 +5026,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture2D; @@ -4920,6 +5048,8 @@ public: class domTexture2D : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE2D; } public: class domParam; @@ -4928,6 +5058,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Value /** @@ -4971,19 +5103,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -5061,19 +5193,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture3D; @@ -5083,6 +5215,8 @@ public: class domTexture3D : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE3D; } public: class domParam; @@ -5091,6 +5225,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Value /** @@ -5134,19 +5270,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -5224,19 +5360,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTextureCUBE; @@ -5246,6 +5382,8 @@ public: class domTextureCUBE : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURECUBE; } public: class domParam; @@ -5254,6 +5392,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Value /** @@ -5297,19 +5437,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -5387,19 +5527,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTextureRECT; @@ -5409,6 +5549,8 @@ public: class domTextureRECT : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURERECT; } public: class domParam; @@ -5417,6 +5559,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Value /** @@ -5460,19 +5604,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -5550,19 +5694,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTextureDEPTH; @@ -5572,6 +5716,8 @@ public: class domTextureDEPTH : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTUREDEPTH; } public: class domParam; @@ -5580,6 +5726,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Value /** @@ -5623,19 +5771,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -5713,19 +5861,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture1D_enable; @@ -5735,6 +5883,8 @@ public: class domTexture1D_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE1D_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5802,19 +5952,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture2D_enable; @@ -5824,6 +5974,8 @@ public: class domTexture2D_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE2D_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5891,19 +6043,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture3D_enable; @@ -5913,6 +6065,8 @@ public: class domTexture3D_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE3D_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5980,19 +6134,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTextureCUBE_enable; @@ -6002,6 +6156,8 @@ public: class domTextureCUBE_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURECUBE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6069,19 +6225,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTextureRECT_enable; @@ -6091,6 +6247,8 @@ public: class domTextureRECT_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURERECT_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6158,19 +6316,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTextureDEPTH_enable; @@ -6180,6 +6338,8 @@ public: class domTextureDEPTH_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTUREDEPTH_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6247,19 +6407,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture_env_color; @@ -6269,6 +6429,8 @@ public: class domTexture_env_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE_ENV_COLOR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -6341,19 +6503,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture_env_mode; @@ -6363,6 +6525,8 @@ public: class domTexture_env_mode : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE_ENV_MODE; } protected: // Attributes domString attrValue; xsNCName attrParam; @@ -6430,19 +6594,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClip_plane; @@ -6452,6 +6616,8 @@ public: class domClip_plane : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLIP_PLANE; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -6524,19 +6690,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClip_plane_enable; @@ -6546,6 +6712,8 @@ public: class domClip_plane_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLIP_PLANE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6613,19 +6781,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlend_color; @@ -6635,6 +6803,8 @@ public: class domBlend_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLEND_COLOR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -6694,19 +6864,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClear_color; @@ -6716,6 +6886,8 @@ public: class domClear_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLEAR_COLOR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -6775,19 +6947,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClear_stencil; @@ -6797,6 +6969,8 @@ public: class domClear_stencil : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLEAR_STENCIL; } protected: // Attributes domInt attrValue; xsNCName attrParam; @@ -6851,19 +7025,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClear_depth; @@ -6873,6 +7047,8 @@ public: class domClear_depth : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLEAR_DEPTH; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -6927,19 +7103,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domColor_mask; @@ -6949,6 +7125,8 @@ public: class domColor_mask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_MASK; } protected: // Attributes domBool4 attrValue; xsNCName attrParam; @@ -7008,19 +7186,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_bounds; @@ -7030,6 +7208,8 @@ public: class domDepth_bounds : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_BOUNDS; } protected: // Attributes domFloat2 attrValue; xsNCName attrParam; @@ -7089,19 +7269,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_mask; @@ -7111,6 +7291,8 @@ public: class domDepth_mask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_MASK; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -7165,19 +7347,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_range; @@ -7187,6 +7369,8 @@ public: class domDepth_range : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_RANGE; } protected: // Attributes domFloat2 attrValue; xsNCName attrParam; @@ -7246,19 +7430,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_density; @@ -7268,6 +7452,8 @@ public: class domFog_density : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_DENSITY; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -7322,19 +7508,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_start; @@ -7344,6 +7530,8 @@ public: class domFog_start : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_START; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -7398,19 +7586,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_end; @@ -7420,6 +7608,8 @@ public: class domFog_end : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_END; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -7474,19 +7664,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_color; @@ -7496,6 +7686,8 @@ public: class domFog_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_COLOR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -7555,19 +7747,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_model_ambient; @@ -7577,6 +7769,8 @@ public: class domLight_model_ambient : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_MODEL_AMBIENT; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -7636,19 +7830,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLighting_enable; @@ -7658,6 +7852,8 @@ public: class domLighting_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHTING_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -7712,19 +7908,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLine_stipple; @@ -7734,6 +7930,8 @@ public: class domLine_stipple : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINE_STIPPLE; } protected: // Attributes domInt2 attrValue; xsNCName attrParam; @@ -7793,19 +7991,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLine_width; @@ -7815,6 +8013,8 @@ public: class domLine_width : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINE_WIDTH; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -7869,19 +8069,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_ambient; @@ -7891,6 +8091,8 @@ public: class domMaterial_ambient : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_AMBIENT; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -7950,19 +8152,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_diffuse; @@ -7972,6 +8174,8 @@ public: class domMaterial_diffuse : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_DIFFUSE; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -8031,19 +8235,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_emission; @@ -8053,6 +8257,8 @@ public: class domMaterial_emission : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_EMISSION; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -8112,19 +8318,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_shininess; @@ -8134,6 +8340,8 @@ public: class domMaterial_shininess : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_SHININESS; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -8188,19 +8396,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_specular; @@ -8210,6 +8418,8 @@ public: class domMaterial_specular : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_SPECULAR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -8269,19 +8479,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domModel_view_matrix; @@ -8291,6 +8501,8 @@ public: class domModel_view_matrix : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODEL_VIEW_MATRIX; } protected: // Attributes domFloat4x4 attrValue; xsNCName attrParam; @@ -8350,19 +8562,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_distance_attenuation; @@ -8372,6 +8584,8 @@ public: class domPoint_distance_attenuation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_DISTANCE_ATTENUATION; } protected: // Attributes domFloat3 attrValue; xsNCName attrParam; @@ -8431,19 +8645,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_fade_threshold_size; @@ -8453,6 +8667,8 @@ public: class domPoint_fade_threshold_size : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_FADE_THRESHOLD_SIZE; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -8507,19 +8723,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_size; @@ -8529,6 +8745,8 @@ public: class domPoint_size : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_SIZE; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -8583,19 +8801,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_size_min; @@ -8605,6 +8823,8 @@ public: class domPoint_size_min : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_SIZE_MIN; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -8659,19 +8879,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_size_max; @@ -8681,6 +8901,8 @@ public: class domPoint_size_max : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_SIZE_MAX; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -8735,19 +8957,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_offset; @@ -8757,6 +8979,8 @@ public: class domPolygon_offset : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_OFFSET; } protected: // Attributes domFloat2 attrValue; xsNCName attrParam; @@ -8816,19 +9040,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domProjection_matrix; @@ -8838,6 +9062,8 @@ public: class domProjection_matrix : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PROJECTION_MATRIX; } protected: // Attributes domFloat4x4 attrValue; xsNCName attrParam; @@ -8897,19 +9123,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domScissor; @@ -8919,6 +9145,8 @@ public: class domScissor : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SCISSOR; } protected: // Attributes domInt4 attrValue; xsNCName attrParam; @@ -8978,19 +9206,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_mask; @@ -9000,6 +9228,8 @@ public: class domStencil_mask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_MASK; } protected: // Attributes domInt attrValue; xsNCName attrParam; @@ -9054,19 +9284,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domAlpha_test_enable; @@ -9076,6 +9306,8 @@ public: class domAlpha_test_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALPHA_TEST_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9130,19 +9362,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domAuto_normal_enable; @@ -9152,6 +9384,8 @@ public: class domAuto_normal_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::AUTO_NORMAL_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9206,19 +9440,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlend_enable; @@ -9228,6 +9462,8 @@ public: class domBlend_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLEND_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9282,19 +9518,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domColor_logic_op_enable; @@ -9304,6 +9540,8 @@ public: class domColor_logic_op_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_LOGIC_OP_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9358,19 +9596,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domColor_material_enable; @@ -9380,6 +9618,8 @@ public: class domColor_material_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_MATERIAL_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9434,19 +9674,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domCull_face_enable; @@ -9456,6 +9696,8 @@ public: class domCull_face_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CULL_FACE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9510,19 +9752,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_bounds_enable; @@ -9532,6 +9774,8 @@ public: class domDepth_bounds_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_BOUNDS_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9586,19 +9830,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_clamp_enable; @@ -9608,6 +9852,8 @@ public: class domDepth_clamp_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_CLAMP_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9662,19 +9908,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_test_enable; @@ -9684,6 +9930,8 @@ public: class domDepth_test_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_TEST_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9738,19 +9986,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDither_enable; @@ -9760,6 +10008,8 @@ public: class domDither_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DITHER_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9814,19 +10064,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_enable; @@ -9836,6 +10086,8 @@ public: class domFog_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9890,19 +10142,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_model_local_viewer_enable; @@ -9912,6 +10164,8 @@ public: class domLight_model_local_viewer_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_MODEL_LOCAL_VIEWER_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -9966,19 +10220,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_model_two_side_enable; @@ -9988,6 +10242,8 @@ public: class domLight_model_two_side_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_MODEL_TWO_SIDE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10042,19 +10298,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLine_smooth_enable; @@ -10064,6 +10320,8 @@ public: class domLine_smooth_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINE_SMOOTH_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10118,19 +10376,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLine_stipple_enable; @@ -10140,6 +10398,8 @@ public: class domLine_stipple_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINE_STIPPLE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10194,19 +10454,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLogic_op_enable; @@ -10216,6 +10476,8 @@ public: class domLogic_op_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LOGIC_OP_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10270,19 +10532,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMultisample_enable; @@ -10292,6 +10554,8 @@ public: class domMultisample_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MULTISAMPLE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10346,19 +10610,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domNormalize_enable; @@ -10368,6 +10632,8 @@ public: class domNormalize_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NORMALIZE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10422,19 +10688,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_smooth_enable; @@ -10444,6 +10710,8 @@ public: class domPoint_smooth_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_SMOOTH_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10498,19 +10766,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_offset_fill_enable; @@ -10520,6 +10788,8 @@ public: class domPolygon_offset_fill_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_OFFSET_FILL_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10574,19 +10844,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_offset_line_enable; @@ -10596,6 +10866,8 @@ public: class domPolygon_offset_line_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_OFFSET_LINE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10650,19 +10922,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_offset_point_enable; @@ -10672,6 +10944,8 @@ public: class domPolygon_offset_point_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_OFFSET_POINT_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10726,19 +11000,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_smooth_enable; @@ -10748,6 +11022,8 @@ public: class domPolygon_smooth_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_SMOOTH_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10802,19 +11078,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_stipple_enable; @@ -10824,6 +11100,8 @@ public: class domPolygon_stipple_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_STIPPLE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10878,19 +11156,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRescale_normal_enable; @@ -10900,6 +11178,8 @@ public: class domRescale_normal_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RESCALE_NORMAL_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -10954,19 +11234,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSample_alpha_to_coverage_enable; @@ -10976,6 +11256,8 @@ public: class domSample_alpha_to_coverage_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLE_ALPHA_TO_COVERAGE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -11030,19 +11312,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSample_alpha_to_one_enable; @@ -11052,6 +11334,8 @@ public: class domSample_alpha_to_one_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLE_ALPHA_TO_ONE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -11106,19 +11390,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSample_coverage_enable; @@ -11128,6 +11412,8 @@ public: class domSample_coverage_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLE_COVERAGE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -11182,19 +11468,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domScissor_test_enable; @@ -11204,6 +11490,8 @@ public: class domScissor_test_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SCISSOR_TEST_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -11258,19 +11546,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_test_enable; @@ -11280,6 +11568,8 @@ public: class domStencil_test_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_TEST_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -11334,19 +11624,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -12052,19 +12342,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler1D.h b/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler1D.h index 9157459bf..84a08470e 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler1D.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler1D.h @@ -48,6 +48,8 @@ protected: */ class domGl_sampler1D : public daeElement, public domGl_sampler1D_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLER1D; } protected: /** * Constructor @@ -72,19 +74,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler2D.h b/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler2D.h index 798e28b3b..38d356c50 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler2D.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler2D.h @@ -48,6 +48,8 @@ protected: */ class domGl_sampler2D : public daeElement, public domGl_sampler2D_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLER2D; } protected: /** * Constructor @@ -72,19 +74,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler3D.h b/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler3D.h index 705cefa6f..4724d022a 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler3D.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGl_sampler3D.h @@ -48,6 +48,8 @@ protected: */ class domGl_sampler3D : public daeElement, public domGl_sampler3D_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLER3D; } protected: /** * Constructor @@ -72,19 +74,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerCUBE.h b/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerCUBE.h index a911166bd..082fc0d5f 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerCUBE.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerCUBE.h @@ -48,6 +48,8 @@ protected: */ class domGl_samplerCUBE : public daeElement, public domGl_samplerCUBE_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLERCUBE; } protected: /** * Constructor @@ -72,19 +74,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerDEPTH.h b/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerDEPTH.h index 522e19e34..11d95f7b9 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerDEPTH.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerDEPTH.h @@ -48,6 +48,8 @@ protected: */ class domGl_samplerDEPTH : public daeElement, public domGl_samplerDEPTH_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLERDEPTH; } protected: /** * Constructor @@ -72,19 +74,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerRECT.h b/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerRECT.h index 167f38055..d4b095413 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerRECT.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGl_samplerRECT.h @@ -48,6 +48,8 @@ protected: */ class domGl_samplerRECT : public daeElement, public domGl_samplerRECT_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_SAMPLERRECT; } protected: /** * Constructor @@ -72,19 +74,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_basic_type_common.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_basic_type_common.h index e70cff13d..901f75413 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_basic_type_common.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_basic_type_common.h @@ -26,6 +26,8 @@ */ class domGles_basic_type_common : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_BASIC_TYPE_COMMON; } public: class domBool; @@ -34,6 +36,8 @@ public: class domBool : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; } protected: // Value /** @@ -77,19 +81,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2; @@ -99,6 +103,8 @@ public: class domBool2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; } protected: // Value /** @@ -147,19 +153,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3; @@ -169,6 +175,8 @@ public: class domBool3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; } protected: // Value /** @@ -217,19 +225,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4; @@ -239,6 +247,8 @@ public: class domBool4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; } protected: // Value /** @@ -287,19 +297,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt; @@ -309,6 +319,8 @@ public: class domInt : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; } protected: // Value /** @@ -352,19 +364,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2; @@ -374,6 +386,8 @@ public: class domInt2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; } protected: // Value /** @@ -422,19 +436,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3; @@ -444,6 +458,8 @@ public: class domInt3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; } protected: // Value /** @@ -492,19 +508,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4; @@ -514,6 +530,8 @@ public: class domInt4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; } protected: // Value /** @@ -562,19 +580,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat; @@ -584,6 +602,8 @@ public: class domFloat : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; } protected: // Value /** @@ -627,19 +647,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2; @@ -649,6 +669,8 @@ public: class domFloat2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; } protected: // Value /** @@ -697,19 +719,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3; @@ -719,6 +741,8 @@ public: class domFloat3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; } protected: // Value /** @@ -767,19 +791,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4; @@ -789,6 +813,8 @@ public: class domFloat4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; } protected: // Value /** @@ -837,19 +863,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x1; @@ -859,6 +885,8 @@ public: class domFloat1x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X1; } protected: // Value /** @@ -902,19 +930,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x2; @@ -924,6 +952,8 @@ public: class domFloat1x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X2; } protected: // Value /** @@ -972,19 +1002,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x3; @@ -994,6 +1024,8 @@ public: class domFloat1x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X3; } protected: // Value /** @@ -1042,19 +1074,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat1x4; @@ -1064,6 +1096,8 @@ public: class domFloat1x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT1X4; } protected: // Value /** @@ -1112,19 +1146,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x1; @@ -1134,6 +1168,8 @@ public: class domFloat2x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X1; } protected: // Value /** @@ -1182,19 +1218,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x2; @@ -1204,6 +1240,8 @@ public: class domFloat2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; } protected: // Value /** @@ -1252,19 +1290,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x3; @@ -1274,6 +1312,8 @@ public: class domFloat2x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X3; } protected: // Value /** @@ -1322,19 +1362,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x4; @@ -1344,6 +1384,8 @@ public: class domFloat2x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X4; } protected: // Value /** @@ -1392,19 +1434,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x1; @@ -1414,6 +1456,8 @@ public: class domFloat3x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X1; } protected: // Value /** @@ -1462,19 +1506,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x2; @@ -1484,6 +1528,8 @@ public: class domFloat3x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X2; } protected: // Value /** @@ -1532,19 +1578,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x3; @@ -1554,6 +1600,8 @@ public: class domFloat3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; } protected: // Value /** @@ -1602,19 +1650,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x4; @@ -1624,6 +1672,8 @@ public: class domFloat3x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X4; } protected: // Value /** @@ -1672,19 +1722,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x1; @@ -1694,6 +1744,8 @@ public: class domFloat4x1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X1; } protected: // Value /** @@ -1742,19 +1794,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x2; @@ -1764,6 +1816,8 @@ public: class domFloat4x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X2; } protected: // Value /** @@ -1812,19 +1866,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x3; @@ -1834,6 +1888,8 @@ public: class domFloat4x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X3; } protected: // Value /** @@ -1882,19 +1938,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x4; @@ -1904,6 +1960,8 @@ public: class domFloat4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; } protected: // Value /** @@ -1952,19 +2010,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domEnum; @@ -1974,6 +2032,8 @@ public: class domEnum : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ENUM; } protected: // Value /** @@ -2017,19 +2077,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -2279,19 +2339,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_newparam.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_newparam.h index d7453efd2..9bec7e8d5 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_newparam.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_newparam.h @@ -36,6 +36,8 @@ public: */ class domSemantic : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; } protected: // Value /** @@ -79,19 +81,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domModifier; @@ -104,6 +106,8 @@ public: */ class domModifier : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIER; } protected: // Value /** @@ -147,19 +151,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -250,6 +254,8 @@ protected: */ class domGles_newparam : public daeElement, public domGles_newparam_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_NEWPARAM; } public: //Accessors and Mutators /** @@ -288,19 +294,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_pipeline_settings.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_pipeline_settings.h index bd88bfe82..d903bfd74 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_pipeline_settings.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_pipeline_settings.h @@ -23,6 +23,8 @@ */ class domGles_pipeline_settings : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_PIPELINE_SETTINGS; } public: class domAlpha_func; @@ -31,6 +33,8 @@ public: class domAlpha_func : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALPHA_FUNC; } public: class domFunc; @@ -39,6 +43,8 @@ public: class domFunc : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FUNC; } protected: // Attributes domGl_func_type attrValue; xsNCName attrParam; @@ -93,19 +99,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domValue; @@ -115,6 +121,8 @@ public: class domValue : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VALUE; } protected: // Attributes domGl_alpha_value_type attrValue; xsNCName attrParam; @@ -169,19 +177,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -225,19 +233,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlend_func; @@ -247,6 +255,8 @@ public: class domBlend_func : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLEND_FUNC; } public: class domSrc; @@ -255,6 +265,8 @@ public: class domSrc : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SRC; } protected: // Attributes domGl_blend_type attrValue; xsNCName attrParam; @@ -309,19 +321,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDest; @@ -331,6 +343,8 @@ public: class domDest : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEST; } protected: // Attributes domGl_blend_type attrValue; xsNCName attrParam; @@ -385,19 +399,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -441,19 +455,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClear_color; @@ -463,6 +477,8 @@ public: class domClear_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLEAR_COLOR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -522,19 +538,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClear_stencil; @@ -544,6 +560,8 @@ public: class domClear_stencil : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLEAR_STENCIL; } protected: // Attributes domInt attrValue; xsNCName attrParam; @@ -598,19 +616,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClear_depth; @@ -620,6 +638,8 @@ public: class domClear_depth : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLEAR_DEPTH; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -674,19 +694,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClip_plane; @@ -696,6 +716,8 @@ public: class domClip_plane : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLIP_PLANE; } protected: // Attributes domBool4 attrValue; xsNCName attrParam; @@ -768,19 +790,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domColor_mask; @@ -790,6 +812,8 @@ public: class domColor_mask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_MASK; } protected: // Attributes domBool4 attrValue; xsNCName attrParam; @@ -849,19 +873,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domCull_face; @@ -871,6 +895,8 @@ public: class domCull_face : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CULL_FACE; } protected: // Attributes domGl_face_type attrValue; xsNCName attrParam; @@ -925,19 +951,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_func; @@ -947,6 +973,8 @@ public: class domDepth_func : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_FUNC; } protected: // Attributes domGl_func_type attrValue; xsNCName attrParam; @@ -1001,19 +1029,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_mask; @@ -1023,6 +1051,8 @@ public: class domDepth_mask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_MASK; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -1077,19 +1107,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_range; @@ -1099,6 +1129,8 @@ public: class domDepth_range : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_RANGE; } protected: // Attributes domFloat2 attrValue; xsNCName attrParam; @@ -1158,19 +1190,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_color; @@ -1180,6 +1212,8 @@ public: class domFog_color : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_COLOR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -1239,19 +1273,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_density; @@ -1261,6 +1295,8 @@ public: class domFog_density : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_DENSITY; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -1315,19 +1351,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_mode; @@ -1337,6 +1373,8 @@ public: class domFog_mode : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_MODE; } protected: // Attributes domGl_fog_type attrValue; xsNCName attrParam; @@ -1391,19 +1429,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_start; @@ -1413,6 +1451,8 @@ public: class domFog_start : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_START; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -1467,19 +1507,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_end; @@ -1489,6 +1529,8 @@ public: class domFog_end : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_END; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -1543,19 +1585,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFront_face; @@ -1565,6 +1607,8 @@ public: class domFront_face : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FRONT_FACE; } protected: // Attributes domGl_front_face_type attrValue; xsNCName attrParam; @@ -1619,19 +1663,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture_pipeline; @@ -1641,6 +1685,8 @@ public: class domTexture_pipeline : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE_PIPELINE; } protected: // Attribute xsNCName attrParam; @@ -1689,19 +1735,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLogic_op; @@ -1711,6 +1757,8 @@ public: class domLogic_op : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LOGIC_OP; } protected: // Attributes domGl_logic_op_type attrValue; xsNCName attrParam; @@ -1765,19 +1813,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_ambient; @@ -1787,6 +1835,8 @@ public: class domLight_ambient : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_AMBIENT; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -1859,19 +1909,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_diffuse; @@ -1881,6 +1931,8 @@ public: class domLight_diffuse : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_DIFFUSE; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -1953,19 +2005,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_specular; @@ -1975,6 +2027,8 @@ public: class domLight_specular : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_SPECULAR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -2047,19 +2101,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_position; @@ -2069,6 +2123,8 @@ public: class domLight_position : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_POSITION; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -2141,19 +2197,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_constant_attenuation; @@ -2163,6 +2219,8 @@ public: class domLight_constant_attenuation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_CONSTANT_ATTENUATION; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -2230,19 +2288,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_linear_attenutation; @@ -2252,6 +2310,8 @@ public: class domLight_linear_attenutation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_LINEAR_ATTENUTATION; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -2319,19 +2379,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_quadratic_attenuation; @@ -2341,6 +2401,8 @@ public: class domLight_quadratic_attenuation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_QUADRATIC_ATTENUATION; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -2408,19 +2470,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_spot_cutoff; @@ -2430,6 +2492,8 @@ public: class domLight_spot_cutoff : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_SPOT_CUTOFF; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -2497,19 +2561,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_spot_direction; @@ -2519,6 +2583,8 @@ public: class domLight_spot_direction : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_SPOT_DIRECTION; } protected: // Attributes domFloat3 attrValue; xsNCName attrParam; @@ -2591,19 +2657,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_spot_exponent; @@ -2613,6 +2679,8 @@ public: class domLight_spot_exponent : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_SPOT_EXPONENT; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -2680,19 +2748,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_model_ambient; @@ -2702,6 +2770,8 @@ public: class domLight_model_ambient : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_MODEL_AMBIENT; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -2761,19 +2831,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLine_width; @@ -2783,6 +2853,8 @@ public: class domLine_width : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINE_WIDTH; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -2837,19 +2909,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_ambient; @@ -2859,6 +2931,8 @@ public: class domMaterial_ambient : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_AMBIENT; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -2918,19 +2992,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_diffuse; @@ -2940,6 +3014,8 @@ public: class domMaterial_diffuse : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_DIFFUSE; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -2999,19 +3075,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_emission; @@ -3021,6 +3097,8 @@ public: class domMaterial_emission : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_EMISSION; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -3080,19 +3158,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_shininess; @@ -3102,6 +3180,8 @@ public: class domMaterial_shininess : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_SHININESS; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -3156,19 +3236,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMaterial_specular; @@ -3178,6 +3258,8 @@ public: class domMaterial_specular : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL_SPECULAR; } protected: // Attributes domFloat4 attrValue; xsNCName attrParam; @@ -3237,19 +3319,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domModel_view_matrix; @@ -3259,6 +3341,8 @@ public: class domModel_view_matrix : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODEL_VIEW_MATRIX; } protected: // Attributes domFloat4x4 attrValue; xsNCName attrParam; @@ -3318,19 +3402,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_distance_attenuation; @@ -3340,6 +3424,8 @@ public: class domPoint_distance_attenuation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_DISTANCE_ATTENUATION; } protected: // Attributes domFloat3 attrValue; xsNCName attrParam; @@ -3399,19 +3485,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_fade_threshold_size; @@ -3421,6 +3507,8 @@ public: class domPoint_fade_threshold_size : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_FADE_THRESHOLD_SIZE; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -3475,19 +3563,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_size; @@ -3497,6 +3585,8 @@ public: class domPoint_size : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_SIZE; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -3551,19 +3641,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_size_min; @@ -3573,6 +3663,8 @@ public: class domPoint_size_min : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_SIZE_MIN; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -3627,19 +3719,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_size_max; @@ -3649,6 +3741,8 @@ public: class domPoint_size_max : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_SIZE_MAX; } protected: // Attributes domFloat attrValue; xsNCName attrParam; @@ -3703,19 +3797,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_offset; @@ -3725,6 +3819,8 @@ public: class domPolygon_offset : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_OFFSET; } protected: // Attributes domFloat2 attrValue; xsNCName attrParam; @@ -3784,19 +3880,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domProjection_matrix; @@ -3806,6 +3902,8 @@ public: class domProjection_matrix : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PROJECTION_MATRIX; } protected: // Attributes domFloat4x4 attrValue; xsNCName attrParam; @@ -3865,19 +3963,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domScissor; @@ -3887,6 +3985,8 @@ public: class domScissor : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SCISSOR; } protected: // Attributes domInt4 attrValue; xsNCName attrParam; @@ -3946,19 +4046,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domShade_model; @@ -3968,6 +4068,8 @@ public: class domShade_model : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SHADE_MODEL; } protected: // Attributes domGl_shade_model_type attrValue; xsNCName attrParam; @@ -4022,19 +4124,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_func; @@ -4044,6 +4146,8 @@ public: class domStencil_func : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_FUNC; } public: class domFunc; @@ -4052,6 +4156,8 @@ public: class domFunc : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FUNC; } protected: // Attributes domGl_func_type attrValue; xsNCName attrParam; @@ -4106,19 +4212,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRef; @@ -4128,6 +4234,8 @@ public: class domRef : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::REF; } protected: // Attributes xsUnsignedByte attrValue; xsNCName attrParam; @@ -4182,19 +4290,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMask; @@ -4204,6 +4312,8 @@ public: class domMask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MASK; } protected: // Attributes xsUnsignedByte attrValue; xsNCName attrParam; @@ -4258,19 +4368,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -4320,19 +4430,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_mask; @@ -4342,6 +4452,8 @@ public: class domStencil_mask : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_MASK; } protected: // Attributes domInt attrValue; xsNCName attrParam; @@ -4396,19 +4508,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_op; @@ -4418,6 +4530,8 @@ public: class domStencil_op : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_OP; } public: class domFail; @@ -4426,6 +4540,8 @@ public: class domFail : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FAIL; } protected: // Attributes domGles_stencil_op_type attrValue; xsNCName attrParam; @@ -4480,19 +4596,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domZfail; @@ -4502,6 +4618,8 @@ public: class domZfail : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ZFAIL; } protected: // Attributes domGles_stencil_op_type attrValue; xsNCName attrParam; @@ -4556,19 +4674,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domZpass; @@ -4578,6 +4696,8 @@ public: class domZpass : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ZPASS; } protected: // Attributes domGles_stencil_op_type attrValue; xsNCName attrParam; @@ -4632,19 +4752,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -4694,19 +4814,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domAlpha_test_enable; @@ -4716,6 +4836,8 @@ public: class domAlpha_test_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ALPHA_TEST_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -4770,19 +4892,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlend_enable; @@ -4792,6 +4914,8 @@ public: class domBlend_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLEND_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -4846,19 +4970,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domClip_plane_enable; @@ -4868,6 +4992,8 @@ public: class domClip_plane_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CLIP_PLANE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -4935,19 +5061,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domColor_logic_op_enable; @@ -4957,6 +5083,8 @@ public: class domColor_logic_op_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_LOGIC_OP_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5011,19 +5139,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domColor_material_enable; @@ -5033,6 +5161,8 @@ public: class domColor_material_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_MATERIAL_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5087,19 +5217,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domCull_face_enable; @@ -5109,6 +5239,8 @@ public: class domCull_face_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CULL_FACE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5163,19 +5295,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_test_enable; @@ -5185,6 +5317,8 @@ public: class domDepth_test_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_TEST_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5239,19 +5373,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDither_enable; @@ -5261,6 +5395,8 @@ public: class domDither_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DITHER_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5315,19 +5451,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFog_enable; @@ -5337,6 +5473,8 @@ public: class domFog_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FOG_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5391,19 +5529,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexture_pipeline_enable; @@ -5413,6 +5551,8 @@ public: class domTexture_pipeline_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXTURE_PIPELINE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5467,19 +5607,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_enable; @@ -5489,6 +5629,8 @@ public: class domLight_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5556,19 +5698,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLighting_enable; @@ -5578,6 +5720,8 @@ public: class domLighting_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHTING_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5632,19 +5776,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLight_model_two_side_enable; @@ -5654,6 +5798,8 @@ public: class domLight_model_two_side_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT_MODEL_TWO_SIDE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5708,19 +5854,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLine_smooth_enable; @@ -5730,6 +5876,8 @@ public: class domLine_smooth_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINE_SMOOTH_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5784,19 +5932,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMultisample_enable; @@ -5806,6 +5954,8 @@ public: class domMultisample_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MULTISAMPLE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5860,19 +6010,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domNormalize_enable; @@ -5882,6 +6032,8 @@ public: class domNormalize_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NORMALIZE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -5936,19 +6088,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint_smooth_enable; @@ -5958,6 +6110,8 @@ public: class domPoint_smooth_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT_SMOOTH_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6012,19 +6166,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPolygon_offset_fill_enable; @@ -6034,6 +6188,8 @@ public: class domPolygon_offset_fill_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGON_OFFSET_FILL_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6088,19 +6244,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRescale_normal_enable; @@ -6110,6 +6266,8 @@ public: class domRescale_normal_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RESCALE_NORMAL_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6164,19 +6322,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSample_alpha_to_coverage_enable; @@ -6186,6 +6344,8 @@ public: class domSample_alpha_to_coverage_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLE_ALPHA_TO_COVERAGE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6240,19 +6400,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSample_alpha_to_one_enable; @@ -6262,6 +6422,8 @@ public: class domSample_alpha_to_one_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLE_ALPHA_TO_ONE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6316,19 +6478,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSample_coverage_enable; @@ -6338,6 +6500,8 @@ public: class domSample_coverage_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLE_COVERAGE_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6392,19 +6556,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domScissor_test_enable; @@ -6414,6 +6578,8 @@ public: class domScissor_test_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SCISSOR_TEST_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6468,19 +6634,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_test_enable; @@ -6490,6 +6656,8 @@ public: class domStencil_test_enable : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_TEST_ENABLE; } protected: // Attributes domBool attrValue; xsNCName attrParam; @@ -6544,19 +6712,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -7046,19 +7214,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_sampler_state.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_sampler_state.h index 78d70726b..2407018fc 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_sampler_state.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_sampler_state.h @@ -32,6 +32,8 @@ public: class domWrap_s : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_S; } protected: // Value /** @@ -75,19 +77,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domWrap_t; @@ -97,6 +99,8 @@ public: class domWrap_t : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::WRAP_T; } protected: // Value /** @@ -140,19 +144,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMinfilter; @@ -162,6 +166,8 @@ public: class domMinfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MINFILTER; } protected: // Value /** @@ -205,19 +211,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMagfilter; @@ -227,6 +233,8 @@ public: class domMagfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MAGFILTER; } protected: // Value /** @@ -270,19 +278,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipfilter; @@ -292,6 +300,8 @@ public: class domMipfilter : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPFILTER; } protected: // Value /** @@ -335,19 +345,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_maxlevel; @@ -357,6 +367,8 @@ public: class domMipmap_maxlevel : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_MAXLEVEL; } protected: // Value /** @@ -400,19 +412,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMipmap_bias; @@ -422,6 +434,8 @@ public: class domMipmap_bias : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MIPMAP_BIAS; } protected: // Value /** @@ -465,19 +479,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -584,6 +598,8 @@ protected: */ class domGles_sampler_state : public daeElement, public domGles_sampler_state_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_SAMPLER_STATE; } public: //Accessors and Mutators /** @@ -622,19 +638,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_argumentAlpha_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_argumentAlpha_type.h index c301345bf..4c85e3181 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_argumentAlpha_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_argumentAlpha_type.h @@ -83,6 +83,8 @@ protected: */ class domGles_texcombiner_argumentAlpha_type : public daeElement, public domGles_texcombiner_argumentAlpha_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_ARGUMENTALPHA_TYPE; } public: //Accessors and Mutators /** @@ -145,19 +147,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_argumentRGB_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_argumentRGB_type.h index 275704585..c2aeaeee4 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_argumentRGB_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_argumentRGB_type.h @@ -83,6 +83,8 @@ protected: */ class domGles_texcombiner_argumentRGB_type : public daeElement, public domGles_texcombiner_argumentRGB_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_ARGUMENTRGB_TYPE; } public: //Accessors and Mutators /** @@ -145,19 +147,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_commandAlpha_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_commandAlpha_type.h index 2b5dbeb3c..27c04131d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_commandAlpha_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_commandAlpha_type.h @@ -84,6 +84,8 @@ protected: */ class domGles_texcombiner_commandAlpha_type : public daeElement, public domGles_texcombiner_commandAlpha_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMANDALPHA_TYPE; } public: //Accessors and Mutators /** @@ -134,19 +136,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_commandRGB_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_commandRGB_type.h index e50f8c0cc..386f8c7c0 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_commandRGB_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_commandRGB_type.h @@ -88,6 +88,8 @@ protected: */ class domGles_texcombiner_commandRGB_type : public daeElement, public domGles_texcombiner_commandRGB_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMANDRGB_TYPE; } public: //Accessors and Mutators /** @@ -138,19 +140,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_command_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_command_type.h index 6cb220338..0e6f62a85 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_command_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texcombiner_command_type.h @@ -68,6 +68,8 @@ protected: */ class domGles_texcombiner_command_type : public daeElement, public domGles_texcombiner_command_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXCOMBINER_COMMAND_TYPE; } protected: /** * Constructor @@ -92,19 +94,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texenv_command_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texenv_command_type.h index dc97dadb2..8e4f8e18b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texenv_command_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texenv_command_type.h @@ -79,6 +79,8 @@ protected: */ class domGles_texenv_command_type : public daeElement, public domGles_texenv_command_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXENV_COMMAND_TYPE; } public: //Accessors and Mutators /** @@ -129,19 +131,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_constant_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_constant_type.h index 9093f6eea..2b7e4713c 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_constant_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_constant_type.h @@ -76,6 +76,8 @@ protected: */ class domGles_texture_constant_type : public daeElement, public domGles_texture_constant_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXTURE_CONSTANT_TYPE; } public: //Accessors and Mutators /** @@ -131,19 +133,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_pipeline.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_pipeline.h index f5b5e9da8..4df426ea7 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_pipeline.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_pipeline.h @@ -137,6 +137,8 @@ protected: */ class domGles_texture_pipeline : public daeElement, public domGles_texture_pipeline_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXTURE_PIPELINE; } public: //Accessors and Mutators /** @@ -175,19 +177,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_unit.h b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_unit.h index 2ddea3e22..9d069340e 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_unit.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGles_texture_unit.h @@ -28,6 +28,8 @@ public: class domSurface : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SURFACE; } protected: // Value /** @@ -71,19 +73,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSampler_state; @@ -93,6 +95,8 @@ public: class domSampler_state : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLER_STATE; } protected: // Value /** @@ -136,19 +140,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTexcoord; @@ -158,6 +162,8 @@ public: class domTexcoord : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TEXCOORD; } protected: // Attribute xsNCName attrSemantic; @@ -199,19 +205,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -290,6 +296,8 @@ protected: */ class domGles_texture_unit : public daeElement, public domGles_texture_unit_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLES_TEXTURE_UNIT; } public: //Accessors and Mutators /** @@ -328,19 +336,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newarray_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newarray_type.h index 0f5df3504..87512df67 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newarray_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newarray_type.h @@ -115,6 +115,8 @@ protected: */ class domGlsl_newarray_type : public daeElement, public domGlsl_newarray_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_NEWARRAY_TYPE; } public: //Accessors and Mutators /** @@ -153,19 +155,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newparam.h b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newparam.h index 8b22602a8..73ca965a9 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newparam.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_newparam.h @@ -30,6 +30,8 @@ public: class domSemantic : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SEMANTIC; } protected: // Value /** @@ -73,19 +75,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domModifier; @@ -95,6 +97,8 @@ public: class domModifier : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIER; } protected: // Value /** @@ -138,19 +142,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -250,6 +254,8 @@ protected: */ class domGlsl_newparam : public daeElement, public domGlsl_newparam_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_NEWPARAM; } public: //Accessors and Mutators /** @@ -288,19 +294,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_param_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_param_type.h index 8268db296..5b8885506 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_param_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_param_type.h @@ -29,6 +29,8 @@ */ class domGlsl_param_type : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_PARAM_TYPE; } public: class domBool; @@ -37,6 +39,8 @@ public: class domBool : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; } protected: // Value /** @@ -80,19 +84,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool2; @@ -102,6 +106,8 @@ public: class domBool2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; } protected: // Value /** @@ -150,19 +156,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool3; @@ -172,6 +178,8 @@ public: class domBool3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; } protected: // Value /** @@ -220,19 +228,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBool4; @@ -242,6 +250,8 @@ public: class domBool4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; } protected: // Value /** @@ -290,19 +300,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat; @@ -312,6 +322,8 @@ public: class domFloat : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; } protected: // Value /** @@ -355,19 +367,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2; @@ -377,6 +389,8 @@ public: class domFloat2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; } protected: // Value /** @@ -425,19 +439,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3; @@ -447,6 +461,8 @@ public: class domFloat3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; } protected: // Value /** @@ -495,19 +511,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4; @@ -517,6 +533,8 @@ public: class domFloat4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; } protected: // Value /** @@ -565,19 +583,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat2x2; @@ -587,6 +605,8 @@ public: class domFloat2x2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; } protected: // Value /** @@ -635,19 +655,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat3x3; @@ -657,6 +677,8 @@ public: class domFloat3x3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; } protected: // Value /** @@ -705,19 +727,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domFloat4x4; @@ -727,6 +749,8 @@ public: class domFloat4x4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; } protected: // Value /** @@ -775,19 +799,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt; @@ -797,6 +821,8 @@ public: class domInt : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; } protected: // Value /** @@ -840,19 +866,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt2; @@ -862,6 +888,8 @@ public: class domInt2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; } protected: // Value /** @@ -910,19 +938,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt3; @@ -932,6 +960,8 @@ public: class domInt3 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; } protected: // Value /** @@ -980,19 +1010,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInt4; @@ -1002,6 +1032,8 @@ public: class domInt4 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; } protected: // Value /** @@ -1050,19 +1082,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domEnum; @@ -1072,6 +1104,8 @@ public: class domEnum : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ENUM; } protected: // Value /** @@ -1115,19 +1149,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1317,19 +1351,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setarray_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setarray_type.h index 97351a386..249c0913d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setarray_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setarray_type.h @@ -115,6 +115,8 @@ protected: */ class domGlsl_setarray_type : public daeElement, public domGlsl_setarray_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_SETARRAY_TYPE; } public: //Accessors and Mutators /** @@ -153,19 +155,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam.h b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam.h index 6dde2b149..2f9a74606 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam.h @@ -118,6 +118,8 @@ protected: */ class domGlsl_setparam : public daeElement, public domGlsl_setparam_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_SETPARAM; } public: //Accessors and Mutators /** @@ -168,19 +170,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam_simple.h b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam_simple.h index cc8fc13fb..3cf164340 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam_simple.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_setparam_simple.h @@ -79,6 +79,8 @@ protected: */ class domGlsl_setparam_simple : public daeElement, public domGlsl_setparam_simple_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_SETPARAM_SIMPLE; } public: //Accessors and Mutators /** @@ -117,19 +119,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_surface_type.h b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_surface_type.h index 9c965e632..66bd03fec 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_surface_type.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domGlsl_surface_type.h @@ -39,6 +39,8 @@ public: */ class domGenerator : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GENERATOR; } public: class domName; @@ -50,6 +52,8 @@ public: */ class domName : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NAME; } protected: // Attribute xsNCName attrSource; @@ -107,19 +111,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -240,19 +244,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -293,6 +297,8 @@ protected: */ class domGlsl_surface_type : public daeElement, public domGlsl_surface_type_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_SURFACE_TYPE; } protected: /** * Constructor @@ -317,19 +323,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domIDREF_array.h b/Extras/COLLADA_DOM/include/1.4/dom/domIDREF_array.h index 280891f5b..4df132e03 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domIDREF_array.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domIDREF_array.h @@ -23,6 +23,8 @@ */ class domIDREF_array : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::IDREF_ARRAY; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -123,19 +125,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domImage.h b/Extras/COLLADA_DOM/include/1.4/dom/domImage.h index 52513308e..0c31ec244 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domImage.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domImage.h @@ -28,6 +28,8 @@ */ class domImage : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::IMAGE; } public: class domData; @@ -40,6 +42,8 @@ public: */ class domData : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DATA; } protected: // Value /** @@ -88,19 +92,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInit_from; @@ -114,6 +118,8 @@ public: */ class domInit_from : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INIT_FROM; } protected: // Value /** @@ -136,7 +142,7 @@ public: * Sets the _value of this element. * @param val The new value for this element. */ - void setValue( const xsAnyURI &val ) { _value.setURI( val.getURI() ); } + void setValue( const xsAnyURI &val ) { _value = val; } protected: /** @@ -162,19 +168,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -373,19 +379,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInputGlobal.h b/Extras/COLLADA_DOM/include/1.4/dom/domInputGlobal.h index 3b4c133c7..72f5d2632 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInputGlobal.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInputGlobal.h @@ -62,7 +62,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const xsAnyURI &atSource ) { attrSource.setURI( atSource.getURI() ); } + void setSource( const xsAnyURI &atSource ) { attrSource = atSource; } protected: /** @@ -88,6 +88,8 @@ protected: */ class domInputGlobal : public daeElement, public domInputGlobal_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INPUTGLOBAL; } public: //Accessors and Mutators /** @@ -116,7 +118,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const xsAnyURI &atSource ) { attrSource.setURI( atSource.getURI() ); + void setSource( const xsAnyURI &atSource ) { attrSource = atSource; _validAttributeArray[1] = true; } protected: @@ -143,19 +145,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInputLocal.h b/Extras/COLLADA_DOM/include/1.4/dom/domInputLocal.h index 9dc543f46..4443870b7 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInputLocal.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInputLocal.h @@ -62,7 +62,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const domURIFragmentType &atSource ) { attrSource.setURI( atSource.getURI() ); } + void setSource( const domURIFragmentType &atSource ) { attrSource = atSource; } protected: /** @@ -88,6 +88,8 @@ protected: */ class domInputLocal : public daeElement, public domInputLocal_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INPUTLOCAL; } public: //Accessors and Mutators /** @@ -116,7 +118,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const domURIFragmentType &atSource ) { attrSource.setURI( atSource.getURI() ); + void setSource( const domURIFragmentType &atSource ) { attrSource = atSource; _validAttributeArray[1] = true; } protected: @@ -143,19 +145,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInputLocalOffset.h b/Extras/COLLADA_DOM/include/1.4/dom/domInputLocalOffset.h index b882171fa..625a57da2 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInputLocalOffset.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInputLocalOffset.h @@ -85,7 +85,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const domURIFragmentType &atSource ) { attrSource.setURI( atSource.getURI() ); } + void setSource( const domURIFragmentType &atSource ) { attrSource = atSource; } /** * Gets the set attribute. @@ -122,6 +122,8 @@ protected: */ class domInputLocalOffset : public daeElement, public domInputLocalOffset_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INPUTLOCALOFFSET; } public: //Accessors and Mutators /** @@ -162,7 +164,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const domURIFragmentType &atSource ) { attrSource.setURI( atSource.getURI() ); + void setSource( const domURIFragmentType &atSource ) { attrSource = atSource; _validAttributeArray[2] = true; } /** @@ -201,19 +203,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstanceWithExtra.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstanceWithExtra.h index 968e03fef..4929cb039 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstanceWithExtra.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstanceWithExtra.h @@ -65,7 +65,7 @@ public: //Accessors and Mutators * Sets the url attribute. * @param atUrl The new value for the url attribute. */ - void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); } + void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; } /** * Gets the sid attribute. @@ -123,6 +123,8 @@ protected: */ class domInstanceWithExtra : public daeElement, public domInstanceWithExtra_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCEWITHEXTRA; } public: //Accessors and Mutators /** @@ -139,7 +141,7 @@ public: //Accessors and Mutators * Sets the url attribute. * @param atUrl The new value for the url attribute. */ - void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); + void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; _validAttributeArray[0] = true; } /** @@ -190,19 +192,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_camera.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_camera.h index e3c2da3ae..d553adeb1 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_camera.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_camera.h @@ -24,6 +24,8 @@ */ class domInstance_camera : public daeElement, public domInstanceWithExtra_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_CAMERA; } protected: /** @@ -49,19 +51,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_controller.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_controller.h index 2590d5aed..208cd3da7 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_controller.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_controller.h @@ -25,6 +25,8 @@ */ class domInstance_controller : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_CONTROLLER; } public: class domSkeleton; @@ -38,6 +40,8 @@ public: */ class domSkeleton : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SKELETON; } protected: // Value /** @@ -60,7 +64,7 @@ public: * Sets the _value of this element. * @param val The new value for this element. */ - void setValue( const xsAnyURI &val ) { _value.setURI( val.getURI() ); } + void setValue( const xsAnyURI &val ) { _value = val; } protected: /** @@ -86,19 +90,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -153,7 +157,7 @@ public: //Accessors and Mutators * Sets the url attribute. * @param atUrl The new value for the url attribute. */ - void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); + void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; _validAttributeArray[0] = true; } /** @@ -229,19 +233,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_effect.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_effect.h index fa92f9ad1..e38f68b73 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_effect.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_effect.h @@ -25,6 +25,8 @@ */ class domInstance_effect : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_EFFECT; } public: class domTechnique_hint; @@ -36,6 +38,8 @@ public: */ class domTechnique_hint : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_HINT; } protected: // Attributes /** * A platform defines a string that specifies which platform this is hint @@ -114,19 +118,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSetparam; @@ -139,6 +143,8 @@ public: */ class domSetparam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SETPARAM; } protected: // Attribute xsToken attrRef; @@ -187,19 +193,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -252,7 +258,7 @@ public: //Accessors and Mutators * Sets the url attribute. * @param atUrl The new value for the url attribute. */ - void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); + void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; _validAttributeArray[0] = true; } /** @@ -333,19 +339,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_force_field.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_force_field.h index ddac00049..24769217b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_force_field.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_force_field.h @@ -24,6 +24,8 @@ */ class domInstance_force_field : public daeElement, public domInstanceWithExtra_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_FORCE_FIELD; } protected: /** @@ -49,19 +51,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_geometry.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_geometry.h index cae074f53..b87c82e92 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_geometry.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_geometry.h @@ -25,6 +25,8 @@ */ class domInstance_geometry : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_GEOMETRY; } protected: // Attributes /** * The url attribute refers to resource. This may refer to a local resource @@ -70,7 +72,7 @@ public: //Accessors and Mutators * Sets the url attribute. * @param atUrl The new value for the url attribute. */ - void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); + void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; _validAttributeArray[0] = true; } /** @@ -136,19 +138,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_light.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_light.h index f8d0bbe27..7f050fd6b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_light.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_light.h @@ -24,6 +24,8 @@ */ class domInstance_light : public daeElement, public domInstanceWithExtra_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_LIGHT; } protected: /** @@ -49,19 +51,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_material.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_material.h index c9d9cec5c..ba46e4342 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_material.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_material.h @@ -24,6 +24,8 @@ */ class domInstance_material : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_MATERIAL; } public: class domBind; @@ -35,6 +37,8 @@ public: */ class domBind : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BIND; } protected: // Attributes /** * The semantic attribute specifies which effect parameter to bind. @@ -97,19 +101,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBind_vertex_input; @@ -123,6 +127,8 @@ public: */ class domBind_vertex_input : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BIND_VERTEX_INPUT; } protected: // Attributes /** * The semantic attribute specifies which effect parameter to bind. @@ -199,19 +205,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -280,7 +286,7 @@ public: //Accessors and Mutators * Sets the target attribute. * @param atTarget The new value for the target attribute. */ - void setTarget( const xsAnyURI &atTarget ) { attrTarget.setURI( atTarget.getURI() ); + void setTarget( const xsAnyURI &atTarget ) { attrTarget = atTarget; _validAttributeArray[1] = true; } /** @@ -361,19 +367,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_node.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_node.h index 768c5d720..cd1ea2b19 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_node.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_node.h @@ -24,6 +24,8 @@ */ class domInstance_node : public daeElement, public domInstanceWithExtra_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_NODE; } protected: /** @@ -49,19 +51,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_physics_material.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_physics_material.h index 3fcf88ce4..8e086c78e 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_physics_material.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_physics_material.h @@ -24,6 +24,8 @@ */ class domInstance_physics_material : public daeElement, public domInstanceWithExtra_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_PHYSICS_MATERIAL; } protected: /** @@ -49,19 +51,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_physics_model.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_physics_model.h index 59eff79a9..81a1c8b02 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_physics_model.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_physics_model.h @@ -27,6 +27,8 @@ */ class domInstance_physics_model : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_PHYSICS_MODEL; } protected: // Attributes /** * The url attribute refers to resource. This may refer to a local resource @@ -89,7 +91,7 @@ public: //Accessors and Mutators * Sets the url attribute. * @param atUrl The new value for the url attribute. */ - void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); + void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; _validAttributeArray[0] = true; } /** @@ -130,7 +132,7 @@ public: //Accessors and Mutators * Sets the parent attribute. * @param atParent The new value for the parent attribute. */ - void setParent( const xsAnyURI &atParent ) { attrParent.setURI( atParent.getURI() ); + void setParent( const xsAnyURI &atParent ) { attrParent = atParent; _validAttributeArray[3] = true; } /** @@ -197,19 +199,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_rigid_body.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_rigid_body.h index 2c613cafb..9ed15e8cd 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_rigid_body.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_rigid_body.h @@ -38,6 +38,8 @@ */ class domInstance_rigid_body : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_RIGID_BODY; } public: class domTechnique_common; @@ -50,6 +52,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } public: class domAngular_velocity; @@ -62,6 +66,8 @@ public: */ class domAngular_velocity : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ANGULAR_VELOCITY; } protected: // Value /** @@ -110,19 +116,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domVelocity; @@ -135,6 +141,8 @@ public: */ class domVelocity : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VELOCITY; } protected: // Value /** @@ -183,19 +191,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDynamic; @@ -205,6 +213,8 @@ public: class domDynamic : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DYNAMIC; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -267,19 +277,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMass_frame; @@ -289,6 +299,8 @@ public: class domMass_frame : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MASS_FRAME; } protected: // Elements domTranslate_Array elemTranslate_array; @@ -359,19 +371,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domShape; @@ -381,6 +393,8 @@ public: class domShape : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SHAPE; } public: class domHollow; @@ -389,6 +403,8 @@ public: class domHollow : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HOLLOW; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -451,19 +467,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -629,19 +645,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -761,19 +777,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -867,7 +883,7 @@ public: //Accessors and Mutators * Sets the target attribute. * @param atTarget The new value for the target attribute. */ - void setTarget( const xsAnyURI &atTarget ) { attrTarget.setURI( atTarget.getURI() ); + void setTarget( const xsAnyURI &atTarget ) { attrTarget = atTarget; _validAttributeArray[3] = true; } /** @@ -919,19 +935,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_rigid_constraint.h b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_rigid_constraint.h index 9b4434561..2ecd58093 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInstance_rigid_constraint.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInstance_rigid_constraint.h @@ -23,6 +23,8 @@ */ class domInstance_rigid_constraint : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_RIGID_CONSTRAINT; } protected: // Attributes /** * The constraint attribute indicates which rigid_constraing to instantiate. @@ -117,19 +119,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domInt_array.h b/Extras/COLLADA_DOM/include/1.4/dom/domInt_array.h index 275ebda02..152bdad63 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domInt_array.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domInt_array.h @@ -23,6 +23,8 @@ */ class domInt_array : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT_ARRAY; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -158,19 +160,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_animation_clips.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_animation_clips.h index 725bdb327..e986f67d0 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_animation_clips.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_animation_clips.h @@ -26,6 +26,8 @@ */ class domLibrary_animation_clips : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_ANIMATION_CLIPS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -127,19 +129,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_animations.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_animations.h index cdf63a54f..0402b8140 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_animations.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_animations.h @@ -25,6 +25,8 @@ */ class domLibrary_animations : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_ANIMATIONS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_cameras.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_cameras.h index 6c853946b..28b6fc535 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_cameras.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_cameras.h @@ -25,6 +25,8 @@ */ class domLibrary_cameras : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_CAMERAS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_controllers.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_controllers.h index c9d007243..c5e1d0e20 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_controllers.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_controllers.h @@ -25,6 +25,8 @@ */ class domLibrary_controllers : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_CONTROLLERS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_effects.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_effects.h index a69dbb323..cbe42d0cb 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_effects.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_effects.h @@ -25,6 +25,8 @@ */ class domLibrary_effects : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_EFFECTS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_force_fields.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_force_fields.h index 7c40524be..c1db02504 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_force_fields.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_force_fields.h @@ -25,6 +25,8 @@ */ class domLibrary_force_fields : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_FORCE_FIELDS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_geometries.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_geometries.h index fe8163fc4..81deadd2d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_geometries.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_geometries.h @@ -25,6 +25,8 @@ */ class domLibrary_geometries : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_GEOMETRIES; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_images.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_images.h index b4ba84e88..138ff001f 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_images.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_images.h @@ -25,6 +25,8 @@ */ class domLibrary_images : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_IMAGES; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_lights.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_lights.h index 0b3136361..c97610d66 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_lights.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_lights.h @@ -25,6 +25,8 @@ */ class domLibrary_lights : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_LIGHTS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_materials.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_materials.h index 31c233531..792c39a6d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_materials.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_materials.h @@ -25,6 +25,8 @@ */ class domLibrary_materials : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_MATERIALS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_nodes.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_nodes.h index dea2f13f7..ed8ea77ba 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_nodes.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_nodes.h @@ -25,6 +25,8 @@ */ class domLibrary_nodes : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_NODES; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -125,19 +127,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_materials.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_materials.h index e20f0c402..26ed9058f 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_materials.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_materials.h @@ -26,6 +26,8 @@ */ class domLibrary_physics_materials : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_PHYSICS_MATERIALS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -127,19 +129,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_models.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_models.h index 72de995e7..6c4b27dbb 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_models.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_models.h @@ -25,6 +25,8 @@ */ class domLibrary_physics_models : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_PHYSICS_MODELS; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -126,19 +128,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_scenes.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_scenes.h index 7653969f7..e3f5fa874 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_scenes.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_physics_scenes.h @@ -25,6 +25,8 @@ */ class domLibrary_physics_scenes : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_PHYSICS_SCENES; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -126,19 +128,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_visual_scenes.h b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_visual_scenes.h index 2d7adf8e6..007e65336 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_visual_scenes.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLibrary_visual_scenes.h @@ -25,6 +25,8 @@ */ class domLibrary_visual_scenes : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_VISUAL_SCENES; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -126,19 +128,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLight.h b/Extras/COLLADA_DOM/include/1.4/dom/domLight.h index 52c505ba1..d106d908e 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLight.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLight.h @@ -29,6 +29,8 @@ */ class domLight : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIGHT; } public: class domTechnique_common; @@ -41,6 +43,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } public: class domAmbient; @@ -54,6 +58,8 @@ public: */ class domAmbient : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::AMBIENT; } protected: // Element /** @@ -92,19 +98,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDirectional; @@ -122,6 +128,8 @@ public: */ class domDirectional : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DIRECTIONAL; } protected: // Element /** @@ -160,19 +168,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPoint; @@ -189,6 +197,8 @@ public: */ class domPoint : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POINT; } protected: // Elements /** @@ -260,19 +270,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSpot; @@ -295,6 +305,8 @@ public: */ class domSpot : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SPOT; } protected: // Elements /** @@ -386,19 +398,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -508,19 +520,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -635,19 +647,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLines.h b/Extras/COLLADA_DOM/include/1.4/dom/domLines.h index 1291ba697..667dd721b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLines.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLines.h @@ -29,6 +29,8 @@ */ class domLines : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINES; } protected: // Attributes /** * The name attribute is the text string name of this element. Optional attribute. @@ -148,19 +150,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLinestrips.h b/Extras/COLLADA_DOM/include/1.4/dom/domLinestrips.h index cf2bb910e..6b85df1ed 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLinestrips.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLinestrips.h @@ -29,6 +29,8 @@ */ class domLinestrips : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINESTRIPS; } protected: // Attributes /** * The name attribute is the text string name of this element. Optional attribute. @@ -153,19 +155,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domLookat.h b/Extras/COLLADA_DOM/include/1.4/dom/domLookat.h index 85be386f9..4a50f0c50 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domLookat.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domLookat.h @@ -25,6 +25,8 @@ */ class domLookat : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LOOKAT; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -92,19 +94,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domMaterial.h b/Extras/COLLADA_DOM/include/1.4/dom/domMaterial.h index 35cfefab9..2cd7b53eb 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domMaterial.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domMaterial.h @@ -25,6 +25,8 @@ */ class domMaterial : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATERIAL; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -120,19 +122,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domMatrix.h b/Extras/COLLADA_DOM/include/1.4/dom/domMatrix.h index 48d8b836e..a6a92c49c 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domMatrix.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domMatrix.h @@ -24,6 +24,8 @@ */ class domMatrix : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MATRIX; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -91,19 +93,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domMesh.h b/Extras/COLLADA_DOM/include/1.4/dom/domMesh.h index 9b203f448..f6cc2763a 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domMesh.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domMesh.h @@ -33,6 +33,8 @@ */ class domMesh : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MESH; } protected: // Elements /** @@ -217,19 +219,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domMorph.h b/Extras/COLLADA_DOM/include/1.4/dom/domMorph.h index c1588a5d1..093a19e40 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domMorph.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domMorph.h @@ -27,6 +27,8 @@ */ class domMorph : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MORPH; } public: class domTargets; @@ -39,6 +41,8 @@ public: */ class domTargets : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TARGETS; } protected: // Elements /** @@ -96,19 +100,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -166,7 +170,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const xsAnyURI &atSource ) { attrSource.setURI( atSource.getURI() ); + void setSource( const xsAnyURI &atSource ) { attrSource = atSource; _validAttributeArray[1] = true; } /** @@ -218,19 +222,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domName_array.h b/Extras/COLLADA_DOM/include/1.4/dom/domName_array.h index 8aca26ce7..6ef078854 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domName_array.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domName_array.h @@ -23,6 +23,8 @@ */ class domName_array : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NAME_ARRAY; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -123,19 +125,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domNode.h b/Extras/COLLADA_DOM/include/1.4/dom/domNode.h index f44882127..b3f1e4b2c 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domNode.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domNode.h @@ -36,6 +36,8 @@ */ class domNode : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NODE; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -373,19 +375,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domP.h b/Extras/COLLADA_DOM/include/1.4/dom/domP.h index 7d39a478c..f4f954182 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domP.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domP.h @@ -25,6 +25,8 @@ */ class domP : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::P; } protected: // Value /** @@ -73,19 +75,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domParam.h b/Extras/COLLADA_DOM/include/1.4/dom/domParam.h index fef4b01c9..83e222e73 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domParam.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domParam.h @@ -23,6 +23,8 @@ */ class domParam : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Attributes /** * The name attribute is the text string name of this element. Optional attribute. @@ -135,19 +137,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_material.h b/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_material.h index 379d5b9c6..01b8cf9eb 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_material.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_material.h @@ -28,6 +28,8 @@ */ class domPhysics_material : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PHYSICS_MATERIAL; } public: class domTechnique_common; @@ -40,6 +42,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } protected: // Elements /** @@ -96,19 +100,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -224,19 +228,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_model.h b/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_model.h index 16d70ce73..54a1d6f02 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_model.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_model.h @@ -28,6 +28,8 @@ */ class domPhysics_model : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PHYSICS_MODEL; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -159,19 +161,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_scene.h b/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_scene.h index 8e0aeaf41..7df8d6653 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_scene.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domPhysics_scene.h @@ -26,6 +26,8 @@ class domPhysics_scene : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PHYSICS_SCENE; } public: class domTechnique_common; @@ -38,6 +40,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } protected: // Elements /** @@ -84,19 +88,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -240,19 +244,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domPlane.h b/Extras/COLLADA_DOM/include/1.4/dom/domPlane.h index 05b6c5829..d9cb475af 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domPlane.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domPlane.h @@ -23,6 +23,8 @@ */ class domPlane : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PLANE; } public: class domEquation; @@ -35,6 +37,8 @@ public: */ class domEquation : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::EQUATION; } protected: // Value /** @@ -83,19 +87,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -151,19 +155,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domPolygons.h b/Extras/COLLADA_DOM/include/1.4/dom/domPolygons.h index b7f3aa3cc..2c2610dd1 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domPolygons.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domPolygons.h @@ -28,6 +28,8 @@ */ class domPolygons : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYGONS; } public: class domPh; @@ -39,6 +41,8 @@ public: */ class domPh : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PH; } public: class domH; @@ -51,6 +55,8 @@ public: */ class domH : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::H; } protected: // Value /** @@ -99,19 +105,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -167,19 +173,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -341,19 +347,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domPolylist.h b/Extras/COLLADA_DOM/include/1.4/dom/domPolylist.h index 69f6bb725..468945c59 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domPolylist.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domPolylist.h @@ -29,6 +29,8 @@ */ class domPolylist : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::POLYLIST; } public: class domVcount; @@ -42,6 +44,8 @@ public: */ class domVcount : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VCOUNT; } protected: // Value /** @@ -90,19 +94,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -236,19 +240,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domProfile_CG.h b/Extras/COLLADA_DOM/include/1.4/dom/domProfile_CG.h index 9734a63a7..bcdcad35d 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domProfile_CG.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domProfile_CG.h @@ -39,6 +39,8 @@ */ class domProfile_CG : public domFx_profile_abstract { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PROFILE_CG; } public: class domTechnique; @@ -51,6 +53,8 @@ public: */ class domTechnique : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE; } public: class domPass; @@ -63,6 +67,8 @@ public: */ class domPass : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PASS; } public: class domDraw; @@ -71,6 +77,8 @@ public: class domDraw : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DRAW; } protected: // Value /** @@ -114,19 +122,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domShader; @@ -140,6 +148,8 @@ public: */ class domShader : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SHADER; } public: class domCompiler_target; @@ -148,6 +158,8 @@ public: class domCompiler_target : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMPILER_TARGET; } protected: // Value /** @@ -191,19 +203,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domCompiler_options; @@ -216,6 +228,8 @@ public: */ class domCompiler_options : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMPILER_OPTIONS; } protected: // Value /** @@ -259,19 +273,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domName; @@ -284,6 +298,8 @@ public: */ class domName : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NAME; } protected: // Attribute xsNCName attrSource; @@ -341,19 +357,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBind; @@ -366,6 +382,8 @@ public: */ class domBind : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BIND; } public: class domParam; @@ -377,6 +395,8 @@ public: */ class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Attribute xsNCName attrRef; @@ -418,19 +438,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -516,19 +536,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -628,19 +648,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -831,19 +851,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1033,19 +1053,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1209,19 +1229,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domProfile_COMMON.h b/Extras/COLLADA_DOM/include/1.4/dom/domProfile_COMMON.h index e82b2ee38..7fa5f63cc 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domProfile_COMMON.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domProfile_COMMON.h @@ -30,6 +30,8 @@ */ class domProfile_COMMON : public domFx_profile_abstract { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PROFILE_COMMON; } public: class domTechnique; @@ -42,6 +44,8 @@ public: */ class domTechnique : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE; } public: class domConstant; @@ -50,6 +54,8 @@ public: class domConstant : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONSTANT; } protected: // Elements domCommon_color_or_texture_typeRef elemEmission; @@ -80,7 +86,6 @@ public: * @return a daeSmartRef to the transparent element. */ const domCommon_transparent_typeRef getTransparent() const { return elemTransparent; } - /** * Gets the transparency element. * @return a daeSmartRef to the transparency element. @@ -115,19 +120,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLambert; @@ -137,6 +142,8 @@ public: class domLambert : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LAMBERT; } protected: // Elements domCommon_color_or_texture_typeRef elemEmission; @@ -179,7 +186,6 @@ public: * @return a daeSmartRef to the transparent element. */ const domCommon_transparent_typeRef getTransparent() const { return elemTransparent; } - /** * Gets the transparency element. * @return a daeSmartRef to the transparency element. @@ -214,19 +220,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPhong; @@ -236,6 +242,8 @@ public: class domPhong : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PHONG; } protected: // Elements domCommon_color_or_texture_typeRef elemEmission; @@ -290,7 +298,6 @@ public: * @return a daeSmartRef to the transparent element. */ const domCommon_transparent_typeRef getTransparent() const { return elemTransparent; } - /** * Gets the transparency element. * @return a daeSmartRef to the transparency element. @@ -325,19 +332,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBlinn; @@ -347,6 +354,8 @@ public: class domBlinn : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BLINN; } protected: // Elements domCommon_color_or_texture_typeRef elemEmission; @@ -435,19 +444,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -605,19 +614,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -740,19 +749,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domProfile_GLES.h b/Extras/COLLADA_DOM/include/1.4/dom/domProfile_GLES.h index 6efa49d58..25b384cb1 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domProfile_GLES.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domProfile_GLES.h @@ -30,6 +30,8 @@ */ class domProfile_GLES : public domFx_profile_abstract { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PROFILE_GLES; } public: class domTechnique; @@ -42,6 +44,8 @@ public: */ class domTechnique : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE; } public: class domSetparam; @@ -50,6 +54,8 @@ public: class domSetparam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SETPARAM; } protected: // Attribute xsNCName attrRef; @@ -109,19 +115,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domPass; @@ -135,6 +141,8 @@ public: */ class domPass : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PASS; } public: class domColor_target; @@ -143,6 +151,8 @@ public: class domColor_target : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_TARGET; } protected: // Value /** @@ -186,19 +196,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_target; @@ -208,6 +218,8 @@ public: class domDepth_target : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_TARGET; } protected: // Value /** @@ -251,19 +263,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_target; @@ -273,6 +285,8 @@ public: class domStencil_target : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_TARGET; } protected: // Value /** @@ -316,19 +330,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domColor_clear; @@ -338,6 +352,8 @@ public: class domColor_clear : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COLOR_CLEAR; } protected: // Value /** @@ -386,19 +402,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDepth_clear; @@ -408,6 +424,8 @@ public: class domDepth_clear : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DEPTH_CLEAR; } protected: // Value /** @@ -451,19 +469,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domStencil_clear; @@ -473,6 +491,8 @@ public: class domStencil_clear : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STENCIL_CLEAR; } protected: // Value /** @@ -516,19 +536,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domDraw; @@ -538,6 +558,8 @@ public: class domDraw : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DRAW; } protected: // Value /** @@ -581,19 +603,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -739,19 +761,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -911,19 +933,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1065,19 +1087,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domProfile_GLSL.h b/Extras/COLLADA_DOM/include/1.4/dom/domProfile_GLSL.h index 575ffe630..dafb8223e 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domProfile_GLSL.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domProfile_GLSL.h @@ -39,6 +39,8 @@ */ class domProfile_GLSL : public domFx_profile_abstract { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PROFILE_GLSL; } public: class domTechnique; @@ -51,6 +53,8 @@ public: */ class domTechnique : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE; } public: class domPass; @@ -63,6 +67,8 @@ public: */ class domPass : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PASS; } public: class domDraw; @@ -71,6 +77,8 @@ public: class domDraw : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DRAW; } protected: // Value /** @@ -114,19 +122,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domShader; @@ -140,6 +148,8 @@ public: */ class domShader : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SHADER; } public: class domCompiler_target; @@ -152,6 +162,8 @@ public: */ class domCompiler_target : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMPILER_TARGET; } protected: // Value /** @@ -195,19 +207,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domCompiler_options; @@ -220,6 +232,8 @@ public: */ class domCompiler_options : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMPILER_OPTIONS; } protected: // Value /** @@ -263,19 +277,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domName; @@ -288,6 +302,8 @@ public: */ class domName : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::NAME; } protected: // Attribute xsNCName attrSource; @@ -345,19 +361,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domBind; @@ -370,6 +386,8 @@ public: */ class domBind : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BIND; } public: class domParam; @@ -378,6 +396,8 @@ public: class domParam : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::PARAM; } protected: // Attribute xsString attrRef; @@ -419,19 +439,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -513,19 +533,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -629,19 +649,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -832,19 +852,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1025,19 +1045,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1184,19 +1204,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domRigid_body.h b/Extras/COLLADA_DOM/include/1.4/dom/domRigid_body.h index 9a19fa4ca..2c2b31f41 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domRigid_body.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domRigid_body.h @@ -41,6 +41,8 @@ */ class domRigid_body : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RIGID_BODY; } public: class domTechnique_common; @@ -53,6 +55,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } public: class domDynamic; @@ -64,6 +68,8 @@ public: */ class domDynamic : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::DYNAMIC; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -126,19 +132,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domMass_frame; @@ -154,6 +160,8 @@ public: */ class domMass_frame : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MASS_FRAME; } protected: // Elements domTranslate_Array elemTranslate_array; @@ -224,19 +232,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domShape; @@ -249,6 +257,8 @@ public: */ class domShape : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SHAPE; } public: class domHollow; @@ -260,6 +270,8 @@ public: */ class domHollow : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HOLLOW; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -322,19 +334,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -545,19 +557,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -682,19 +694,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -801,19 +813,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domRigid_constraint.h b/Extras/COLLADA_DOM/include/1.4/dom/domRigid_constraint.h index 2a8c961c0..d3cde20b8 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domRigid_constraint.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domRigid_constraint.h @@ -29,6 +29,8 @@ */ class domRigid_constraint : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RIGID_CONSTRAINT; } public: class domRef_attachment; @@ -40,6 +42,8 @@ public: */ class domRef_attachment : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::REF_ATTACHMENT; } protected: // Attribute /** * The “rigid_body” attribute is a relative reference to a rigid-body @@ -85,7 +89,7 @@ public: * Sets the rigid_body attribute. * @param atRigid_body The new value for the rigid_body attribute. */ - void setRigid_body( const xsAnyURI &atRigid_body ) { attrRigid_body.setURI( atRigid_body.getURI() ); + void setRigid_body( const xsAnyURI &atRigid_body ) { attrRigid_body = atRigid_body; _validAttributeArray[0] = true; } /** @@ -153,19 +157,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domAttachment; @@ -178,6 +182,8 @@ public: */ class domAttachment : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ATTACHMENT; } protected: // Attribute /** * The “rigid_body” attribute is a relative reference to a rigid-body @@ -223,7 +229,7 @@ public: * Sets the rigid_body attribute. * @param atRigid_body The new value for the rigid_body attribute. */ - void setRigid_body( const xsAnyURI &atRigid_body ) { attrRigid_body.setURI( atRigid_body.getURI() ); + void setRigid_body( const xsAnyURI &atRigid_body ) { attrRigid_body = atRigid_body; _validAttributeArray[0] = true; } /** @@ -291,19 +297,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domTechnique_common; @@ -317,6 +323,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } public: class domEnabled; @@ -329,6 +337,8 @@ public: */ class domEnabled : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ENABLED; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -391,19 +401,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domInterpenetrate; @@ -416,6 +426,8 @@ public: */ class domInterpenetrate : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INTERPENETRATE; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -478,19 +490,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLimits; @@ -504,6 +516,8 @@ public: */ class domLimits : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIMITS; } public: class domSwing_cone_and_twist; @@ -517,6 +531,8 @@ public: */ class domSwing_cone_and_twist : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SWING_CONE_AND_TWIST; } protected: // Elements /** @@ -563,19 +579,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLinear; @@ -588,6 +604,8 @@ public: */ class domLinear : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINEAR; } protected: // Elements /** @@ -634,19 +652,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -699,19 +717,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domSpring; @@ -724,6 +742,8 @@ public: */ class domSpring : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SPRING; } public: class domAngular; @@ -735,6 +755,8 @@ public: */ class domAngular : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ANGULAR; } protected: // Elements /** @@ -791,19 +813,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domLinear; @@ -816,6 +838,8 @@ public: */ class domLinear : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LINEAR; } protected: // Elements /** @@ -872,19 +896,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -934,19 +958,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1017,19 +1041,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -1155,19 +1179,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domRotate.h b/Extras/COLLADA_DOM/include/1.4/dom/domRotate.h index d6e2838f0..2898603ed 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domRotate.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domRotate.h @@ -23,6 +23,8 @@ */ class domRotate : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ROTATE; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -90,19 +92,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domSampler.h b/Extras/COLLADA_DOM/include/1.4/dom/domSampler.h index 6d786ee17..f6b35d09a 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domSampler.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domSampler.h @@ -25,6 +25,8 @@ */ class domSampler : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SAMPLER; } protected: // Attribute /** * The id attribute is a text string containing the unique identifier of @@ -87,19 +89,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domScale.h b/Extras/COLLADA_DOM/include/1.4/dom/domScale.h index 6cb070968..e49648dfb 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domScale.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domScale.h @@ -24,6 +24,8 @@ */ class domScale : public daeElement, public domTargetableFloat3_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SCALE; } protected: /** @@ -49,19 +51,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domSkew.h b/Extras/COLLADA_DOM/include/1.4/dom/domSkew.h index bcdb15b59..7dd22c423 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domSkew.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domSkew.h @@ -23,6 +23,8 @@ */ class domSkew : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SKEW; } protected: // Attribute /** * The sid attribute is a text string value containing the sub-identifier @@ -90,19 +92,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domSkin.h b/Extras/COLLADA_DOM/include/1.4/dom/domSkin.h index fd65c3ec6..c6b9f5905 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domSkin.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domSkin.h @@ -27,6 +27,8 @@ */ class domSkin : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SKIN; } public: class domBind_shape_matrix; @@ -41,6 +43,8 @@ public: */ class domBind_shape_matrix : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BIND_SHAPE_MATRIX; } protected: // Value /** @@ -89,19 +93,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domJoints; @@ -116,6 +120,8 @@ public: */ class domJoints : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::JOINTS; } protected: // Elements /** @@ -173,19 +179,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domVertex_weights; @@ -199,6 +205,8 @@ public: */ class domVertex_weights : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VERTEX_WEIGHTS; } public: class domVcount; @@ -211,6 +219,8 @@ public: */ class domVcount : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VCOUNT; } protected: // Value /** @@ -259,19 +269,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domV; @@ -287,6 +297,8 @@ public: */ class domV : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::V; } protected: // Value /** @@ -335,19 +347,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -447,19 +459,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -514,7 +526,7 @@ public: //Accessors and Mutators * Sets the source attribute. * @param atSource The new value for the source attribute. */ - void setSource( const xsAnyURI &atSource ) { attrSource.setURI( atSource.getURI() ); + void setSource( const xsAnyURI &atSource ) { attrSource = atSource; _validAttributeArray[0] = true; } /** @@ -576,19 +588,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domSource.h b/Extras/COLLADA_DOM/include/1.4/dom/domSource.h index e0d003b0c..17cc76aa2 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domSource.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domSource.h @@ -31,6 +31,8 @@ */ class domSource : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE; } public: class domTechnique_common; @@ -43,6 +45,8 @@ public: */ class domTechnique_common : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE_COMMON; } protected: // Element /** @@ -81,19 +85,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -259,19 +263,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domSphere.h b/Extras/COLLADA_DOM/include/1.4/dom/domSphere.h index 1b32cfea4..f16134f5a 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domSphere.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domSphere.h @@ -23,6 +23,8 @@ */ class domSphere : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SPHERE; } public: class domRadius; @@ -34,6 +36,8 @@ public: */ class domRadius : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS; } protected: // Value /** @@ -77,19 +81,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -144,19 +148,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domSpline.h b/Extras/COLLADA_DOM/include/1.4/dom/domSpline.h index 024cc19d8..6d8c98ad8 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domSpline.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domSpline.h @@ -26,6 +26,8 @@ */ class domSpline : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SPLINE; } public: class domControl_vertices; @@ -38,6 +40,8 @@ public: */ class domControl_vertices : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONTROL_VERTICES; } protected: // Elements /** @@ -95,19 +99,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -191,19 +195,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTapered_capsule.h b/Extras/COLLADA_DOM/include/1.4/dom/domTapered_capsule.h index 3c244920a..6b86c92e3 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTapered_capsule.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTapered_capsule.h @@ -24,6 +24,8 @@ */ class domTapered_capsule : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TAPERED_CAPSULE; } public: class domHeight; @@ -36,6 +38,8 @@ public: */ class domHeight : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HEIGHT; } protected: // Value /** @@ -79,19 +83,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRadius1; @@ -105,6 +109,8 @@ public: */ class domRadius1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS1; } protected: // Value /** @@ -153,19 +159,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRadius2; @@ -179,6 +185,8 @@ public: */ class domRadius2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS2; } protected: // Value /** @@ -227,19 +235,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -317,19 +325,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTapered_cylinder.h b/Extras/COLLADA_DOM/include/1.4/dom/domTapered_cylinder.h index 1b2a7a734..f1e51f02b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTapered_cylinder.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTapered_cylinder.h @@ -24,6 +24,8 @@ */ class domTapered_cylinder : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TAPERED_CYLINDER; } public: class domHeight; @@ -35,6 +37,8 @@ public: */ class domHeight : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::HEIGHT; } protected: // Value /** @@ -78,19 +82,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRadius1; @@ -105,6 +109,8 @@ public: */ class domRadius1 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS1; } protected: // Value /** @@ -153,19 +159,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; class domRadius2; @@ -179,6 +185,8 @@ public: */ class domRadius2 : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RADIUS2; } protected: // Value /** @@ -227,19 +235,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -317,19 +325,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTargetableFloat.h b/Extras/COLLADA_DOM/include/1.4/dom/domTargetableFloat.h index 03f3cd0c9..d0301ceb8 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTargetableFloat.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTargetableFloat.h @@ -84,6 +84,8 @@ protected: */ class domTargetableFloat : public daeElement, public domTargetableFloat_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TARGETABLEFLOAT; } public: //Accessors and Mutators /** @@ -122,19 +124,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTargetableFloat3.h b/Extras/COLLADA_DOM/include/1.4/dom/domTargetableFloat3.h index ef1c04803..f813ecd2e 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTargetableFloat3.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTargetableFloat3.h @@ -89,6 +89,8 @@ protected: */ class domTargetableFloat3 : public daeElement, public domTargetableFloat3_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TARGETABLEFLOAT3; } public: //Accessors and Mutators /** @@ -127,19 +129,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTechnique.h b/Extras/COLLADA_DOM/include/1.4/dom/domTechnique.h index 3324ccf64..a5c0a356b 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTechnique.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTechnique.h @@ -28,6 +28,8 @@ */ class domTechnique : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TECHNIQUE; } protected: // Attribute /** * This element may specify its own xmlns. @@ -66,7 +68,7 @@ public: //Accessors and Mutators * Sets the xmlns attribute. * @param xmlns The new value for the xmlns attribute. */ - void setXmlns( const xsAnyURI &xmlns ) { attrXmlns.setURI( xmlns.getURI() ); + void setXmlns( const xsAnyURI &xmlns ) { attrXmlns = xmlns; _validAttributeArray[0] = true; } /** @@ -116,19 +118,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTranslate.h b/Extras/COLLADA_DOM/include/1.4/dom/domTranslate.h index 4ffe95a9d..3df4c9d37 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTranslate.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTranslate.h @@ -24,6 +24,8 @@ */ class domTranslate : public daeElement, public domTargetableFloat3_complexType { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TRANSLATE; } protected: /** @@ -49,19 +51,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTriangles.h b/Extras/COLLADA_DOM/include/1.4/dom/domTriangles.h index 678211a32..e20b330d5 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTriangles.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTriangles.h @@ -29,6 +29,8 @@ */ class domTriangles : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TRIANGLES; } protected: // Attributes /** * The name attribute is the text string name of this element. Optional attribute. @@ -148,19 +150,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTrifans.h b/Extras/COLLADA_DOM/include/1.4/dom/domTrifans.h index 66c8003c8..32c6af4e6 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTrifans.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTrifans.h @@ -29,6 +29,8 @@ */ class domTrifans : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TRIFANS; } protected: // Attributes /** * The name attribute is the text string name of this element. Optional attribute. @@ -153,19 +155,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTristrips.h b/Extras/COLLADA_DOM/include/1.4/dom/domTristrips.h index 170554756..4b8a6c5f5 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTristrips.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTristrips.h @@ -29,6 +29,8 @@ */ class domTristrips : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TRISTRIPS; } protected: // Attributes /** * The name attribute is the text string name of this element. Optional attribute. @@ -153,19 +155,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domTypes.h b/Extras/COLLADA_DOM/include/1.4/dom/domTypes.h index 59ae3be10..3c6feed05 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domTypes.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domTypes.h @@ -719,5 +719,540 @@ enum domGles_enumeration { GLES_ENUMERATION_COUNT = 65 }; +//Element Type Enum +namespace COLLADA_TYPE +{ +#ifdef _MSC_VER + enum TypeEnum + { +#else + const int +#endif + NO_TYPE = 0, + ANY = 1, + INPUTGLOBAL = 2, + INPUTLOCAL = 3, + INPUTLOCALOFFSET = 4, + INSTANCEWITHEXTRA = 5, + TARGETABLEFLOAT = 6, + TARGETABLEFLOAT3 = 7, + FX_SURFACE_FORMAT_HINT_COMMON = 8, + CHANNELS = 9, + RANGE = 10, + PRECISION = 11, + OPTION = 12, + FX_SURFACE_INIT_PLANAR_COMMON = 13, + ALL = 14, + FX_SURFACE_INIT_VOLUME_COMMON = 15, + PRIMARY = 16, + FX_SURFACE_INIT_CUBE_COMMON = 17, + ORDER = 18, + FACE = 19, + FX_SURFACE_INIT_FROM_COMMON = 20, + FX_SURFACE_COMMON = 21, + FORMAT = 22, + SIZE = 23, + VIEWPORT_RATIO = 24, + MIP_LEVELS = 25, + MIPMAP_GENERATE = 26, + FX_SAMPLER1D_COMMON = 27, + SOURCE = 28, + WRAP_S = 29, + MINFILTER = 30, + MAGFILTER = 31, + MIPFILTER = 32, + BORDER_COLOR = 33, + MIPMAP_MAXLEVEL = 34, + MIPMAP_BIAS = 35, + FX_SAMPLER2D_COMMON = 36, + WRAP_T = 37, + FX_SAMPLER3D_COMMON = 38, + WRAP_P = 39, + FX_SAMPLERCUBE_COMMON = 40, + FX_SAMPLERRECT_COMMON = 41, + FX_SAMPLERDEPTH_COMMON = 42, + FX_COLORTARGET_COMMON = 43, + FX_DEPTHTARGET_COMMON = 44, + FX_STENCILTARGET_COMMON = 45, + FX_CLEARCOLOR_COMMON = 46, + FX_CLEARDEPTH_COMMON = 47, + FX_CLEARSTENCIL_COMMON = 48, + FX_ANNOTATE_COMMON = 49, + FX_INCLUDE_COMMON = 50, + FX_NEWPARAM_COMMON = 51, + SEMANTIC = 52, + MODIFIER = 53, + FX_CODE_PROFILE = 54, + GL_SAMPLER1D = 55, + GL_SAMPLER2D = 56, + GL_SAMPLER3D = 57, + GL_SAMPLERCUBE = 58, + GL_SAMPLERRECT = 59, + GL_SAMPLERDEPTH = 60, + GLSL_NEWARRAY_TYPE = 61, + GLSL_SETARRAY_TYPE = 62, + GLSL_SURFACE_TYPE = 63, + GENERATOR = 64, + NAME = 65, + GLSL_NEWPARAM = 66, + GLSL_SETPARAM_SIMPLE = 67, + GLSL_SETPARAM = 68, + COMMON_FLOAT_OR_PARAM_TYPE = 69, + FLOAT = 70, + PARAM = 71, + COMMON_COLOR_OR_TEXTURE_TYPE = 72, + COLOR = 73, + TEXTURE = 74, + COMMON_TRANSPARENT_TYPE = 75, + COMMON_NEWPARAM_TYPE = 76, + FLOAT2 = 77, + FLOAT3 = 78, + FLOAT4 = 79, + CG_SAMPLER1D = 80, + CG_SAMPLER2D = 81, + CG_SAMPLER3D = 82, + CG_SAMPLERCUBE = 83, + CG_SAMPLERRECT = 84, + CG_SAMPLERDEPTH = 85, + CG_CONNECT_PARAM = 86, + CG_NEWARRAY_TYPE = 87, + CG_SETARRAY_TYPE = 88, + CG_SETUSER_TYPE = 89, + CG_SURFACE_TYPE = 90, + CG_NEWPARAM = 91, + CG_SETPARAM_SIMPLE = 92, + CG_SETPARAM = 93, + GLES_TEXTURE_CONSTANT_TYPE = 94, + GLES_TEXENV_COMMAND_TYPE = 95, + GLES_TEXCOMBINER_ARGUMENTRGB_TYPE = 96, + GLES_TEXCOMBINER_ARGUMENTALPHA_TYPE = 97, + GLES_TEXCOMBINER_COMMANDRGB_TYPE = 98, + GLES_TEXCOMBINER_COMMANDALPHA_TYPE = 99, + GLES_TEXCOMBINER_COMMAND_TYPE = 100, + GLES_TEXTURE_PIPELINE = 101, + GLES_TEXTURE_UNIT = 102, + SURFACE = 103, + SAMPLER_STATE = 104, + TEXCOORD = 105, + GLES_SAMPLER_STATE = 106, + GLES_NEWPARAM = 107, + FX_SURFACE_INIT_COMMON = 108, + INIT_AS_NULL = 109, + INIT_AS_TARGET = 110, + FX_ANNOTATE_TYPE_COMMON = 111, + BOOL = 112, + BOOL2 = 113, + BOOL3 = 114, + BOOL4 = 115, + INT = 116, + INT2 = 117, + INT3 = 118, + INT4 = 119, + FLOAT2X2 = 120, + FLOAT3X3 = 121, + FLOAT4X4 = 122, + STRING = 123, + FX_BASIC_TYPE_COMMON = 124, + FLOAT1X1 = 125, + FLOAT1X2 = 126, + FLOAT1X3 = 127, + FLOAT1X4 = 128, + FLOAT2X1 = 129, + FLOAT2X3 = 130, + FLOAT2X4 = 131, + FLOAT3X1 = 132, + FLOAT3X2 = 133, + FLOAT3X4 = 134, + FLOAT4X1 = 135, + FLOAT4X2 = 136, + FLOAT4X3 = 137, + ENUM = 138, + GL_PIPELINE_SETTINGS = 139, + ALPHA_FUNC = 140, + FUNC = 141, + VALUE = 142, + BLEND_FUNC = 143, + SRC = 144, + DEST = 145, + BLEND_FUNC_SEPARATE = 146, + SRC_RGB = 147, + DEST_RGB = 148, + SRC_ALPHA = 149, + DEST_ALPHA = 150, + BLEND_EQUATION = 151, + BLEND_EQUATION_SEPARATE = 152, + RGB = 153, + ALPHA = 154, + COLOR_MATERIAL = 155, + MODE = 156, + CULL_FACE = 157, + DEPTH_FUNC = 158, + FOG_MODE = 159, + FOG_COORD_SRC = 160, + FRONT_FACE = 161, + LIGHT_MODEL_COLOR_CONTROL = 162, + LOGIC_OP = 163, + POLYGON_MODE = 164, + SHADE_MODEL = 165, + STENCIL_FUNC = 166, + REF = 167, + MASK = 168, + STENCIL_OP = 169, + FAIL = 170, + ZFAIL = 171, + ZPASS = 172, + STENCIL_FUNC_SEPARATE = 173, + FRONT = 174, + BACK = 175, + STENCIL_OP_SEPARATE = 176, + STENCIL_MASK_SEPARATE = 177, + LIGHT_ENABLE = 178, + LIGHT_AMBIENT = 179, + LIGHT_DIFFUSE = 180, + LIGHT_SPECULAR = 181, + LIGHT_POSITION = 182, + LIGHT_CONSTANT_ATTENUATION = 183, + LIGHT_LINEAR_ATTENUATION = 184, + LIGHT_QUADRATIC_ATTENUATION = 185, + LIGHT_SPOT_CUTOFF = 186, + LIGHT_SPOT_DIRECTION = 187, + LIGHT_SPOT_EXPONENT = 188, + TEXTURE1D = 189, + TEXTURE2D = 190, + TEXTURE3D = 191, + TEXTURECUBE = 192, + TEXTURERECT = 193, + TEXTUREDEPTH = 194, + TEXTURE1D_ENABLE = 195, + TEXTURE2D_ENABLE = 196, + TEXTURE3D_ENABLE = 197, + TEXTURECUBE_ENABLE = 198, + TEXTURERECT_ENABLE = 199, + TEXTUREDEPTH_ENABLE = 200, + TEXTURE_ENV_COLOR = 201, + TEXTURE_ENV_MODE = 202, + CLIP_PLANE = 203, + CLIP_PLANE_ENABLE = 204, + BLEND_COLOR = 205, + CLEAR_COLOR = 206, + CLEAR_STENCIL = 207, + CLEAR_DEPTH = 208, + COLOR_MASK = 209, + DEPTH_BOUNDS = 210, + DEPTH_MASK = 211, + DEPTH_RANGE = 212, + FOG_DENSITY = 213, + FOG_START = 214, + FOG_END = 215, + FOG_COLOR = 216, + LIGHT_MODEL_AMBIENT = 217, + LIGHTING_ENABLE = 218, + LINE_STIPPLE = 219, + LINE_WIDTH = 220, + MATERIAL_AMBIENT = 221, + MATERIAL_DIFFUSE = 222, + MATERIAL_EMISSION = 223, + MATERIAL_SHININESS = 224, + MATERIAL_SPECULAR = 225, + MODEL_VIEW_MATRIX = 226, + POINT_DISTANCE_ATTENUATION = 227, + POINT_FADE_THRESHOLD_SIZE = 228, + POINT_SIZE = 229, + POINT_SIZE_MIN = 230, + POINT_SIZE_MAX = 231, + POLYGON_OFFSET = 232, + PROJECTION_MATRIX = 233, + SCISSOR = 234, + STENCIL_MASK = 235, + ALPHA_TEST_ENABLE = 236, + AUTO_NORMAL_ENABLE = 237, + BLEND_ENABLE = 238, + COLOR_LOGIC_OP_ENABLE = 239, + COLOR_MATERIAL_ENABLE = 240, + CULL_FACE_ENABLE = 241, + DEPTH_BOUNDS_ENABLE = 242, + DEPTH_CLAMP_ENABLE = 243, + DEPTH_TEST_ENABLE = 244, + DITHER_ENABLE = 245, + FOG_ENABLE = 246, + LIGHT_MODEL_LOCAL_VIEWER_ENABLE = 247, + LIGHT_MODEL_TWO_SIDE_ENABLE = 248, + LINE_SMOOTH_ENABLE = 249, + LINE_STIPPLE_ENABLE = 250, + LOGIC_OP_ENABLE = 251, + MULTISAMPLE_ENABLE = 252, + NORMALIZE_ENABLE = 253, + POINT_SMOOTH_ENABLE = 254, + POLYGON_OFFSET_FILL_ENABLE = 255, + POLYGON_OFFSET_LINE_ENABLE = 256, + POLYGON_OFFSET_POINT_ENABLE = 257, + POLYGON_SMOOTH_ENABLE = 258, + POLYGON_STIPPLE_ENABLE = 259, + RESCALE_NORMAL_ENABLE = 260, + SAMPLE_ALPHA_TO_COVERAGE_ENABLE = 261, + SAMPLE_ALPHA_TO_ONE_ENABLE = 262, + SAMPLE_COVERAGE_ENABLE = 263, + SCISSOR_TEST_ENABLE = 264, + STENCIL_TEST_ENABLE = 265, + GLSL_PARAM_TYPE = 266, + CG_PARAM_TYPE = 267, + BOOL1 = 268, + BOOL1X1 = 269, + BOOL1X2 = 270, + BOOL1X3 = 271, + BOOL1X4 = 272, + BOOL2X1 = 273, + BOOL2X2 = 274, + BOOL2X3 = 275, + BOOL2X4 = 276, + BOOL3X1 = 277, + BOOL3X2 = 278, + BOOL3X3 = 279, + BOOL3X4 = 280, + BOOL4X1 = 281, + BOOL4X2 = 282, + BOOL4X3 = 283, + BOOL4X4 = 284, + FLOAT1 = 285, + INT1 = 286, + INT1X1 = 287, + INT1X2 = 288, + INT1X3 = 289, + INT1X4 = 290, + INT2X1 = 291, + INT2X2 = 292, + INT2X3 = 293, + INT2X4 = 294, + INT3X1 = 295, + INT3X2 = 296, + INT3X3 = 297, + INT3X4 = 298, + INT4X1 = 299, + INT4X2 = 300, + INT4X3 = 301, + INT4X4 = 302, + HALF = 303, + HALF1 = 304, + HALF2 = 305, + HALF3 = 306, + HALF4 = 307, + HALF1X1 = 308, + HALF1X2 = 309, + HALF1X3 = 310, + HALF1X4 = 311, + HALF2X1 = 312, + HALF2X2 = 313, + HALF2X3 = 314, + HALF2X4 = 315, + HALF3X1 = 316, + HALF3X2 = 317, + HALF3X3 = 318, + HALF3X4 = 319, + HALF4X1 = 320, + HALF4X2 = 321, + HALF4X3 = 322, + HALF4X4 = 323, + FIXED = 324, + FIXED1 = 325, + FIXED2 = 326, + FIXED3 = 327, + FIXED4 = 328, + FIXED1X1 = 329, + FIXED1X2 = 330, + FIXED1X3 = 331, + FIXED1X4 = 332, + FIXED2X1 = 333, + FIXED2X2 = 334, + FIXED2X3 = 335, + FIXED2X4 = 336, + FIXED3X1 = 337, + FIXED3X2 = 338, + FIXED3X3 = 339, + FIXED3X4 = 340, + FIXED4X1 = 341, + FIXED4X2 = 342, + FIXED4X3 = 343, + FIXED4X4 = 344, + GLES_PIPELINE_SETTINGS = 345, + TEXTURE_PIPELINE = 346, + LIGHT_LINEAR_ATTENUTATION = 347, + TEXTURE_PIPELINE_ENABLE = 348, + GLES_BASIC_TYPE_COMMON = 349, + COLLADA = 350, + SCENE = 351, + IDREF_ARRAY = 352, + NAME_ARRAY = 353, + BOOL_ARRAY = 354, + FLOAT_ARRAY = 355, + INT_ARRAY = 356, + ACCESSOR = 357, + TECHNIQUE_COMMON = 358, + GEOMETRY = 359, + MESH = 360, + SPLINE = 361, + CONTROL_VERTICES = 362, + P = 363, + LINES = 364, + LINESTRIPS = 365, + POLYGONS = 366, + PH = 367, + H = 368, + POLYLIST = 369, + VCOUNT = 370, + TRIANGLES = 371, + TRIFANS = 372, + TRISTRIPS = 373, + VERTICES = 374, + LOOKAT = 375, + MATRIX = 376, + ROTATE = 377, + SCALE = 378, + SKEW = 379, + TRANSLATE = 380, + IMAGE = 381, + DATA = 382, + INIT_FROM = 383, + LIGHT = 384, + AMBIENT = 385, + DIRECTIONAL = 386, + POINT = 387, + SPOT = 388, + MATERIAL = 389, + CAMERA = 390, + OPTICS = 391, + ORTHOGRAPHIC = 392, + PERSPECTIVE = 393, + IMAGER = 394, + ANIMATION = 395, + ANIMATION_CLIP = 396, + CHANNEL = 397, + SAMPLER = 398, + CONTROLLER = 399, + SKIN = 400, + BIND_SHAPE_MATRIX = 401, + JOINTS = 402, + VERTEX_WEIGHTS = 403, + V = 404, + MORPH = 405, + TARGETS = 406, + ASSET = 407, + CONTRIBUTOR = 408, + AUTHOR = 409, + AUTHORING_TOOL = 410, + COMMENTS = 411, + COPYRIGHT = 412, + SOURCE_DATA = 413, + CREATED = 414, + KEYWORDS = 415, + MODIFIED = 416, + REVISION = 417, + SUBJECT = 418, + TITLE = 419, + UNIT = 420, + UP_AXIS = 421, + EXTRA = 422, + TECHNIQUE = 423, + NODE = 424, + VISUAL_SCENE = 425, + EVALUATE_SCENE = 426, + RENDER = 427, + LAYER = 428, + BIND_MATERIAL = 429, + INSTANCE_CAMERA = 430, + INSTANCE_CONTROLLER = 431, + SKELETON = 432, + INSTANCE_EFFECT = 433, + TECHNIQUE_HINT = 434, + SETPARAM = 435, + INSTANCE_FORCE_FIELD = 436, + INSTANCE_GEOMETRY = 437, + INSTANCE_LIGHT = 438, + INSTANCE_MATERIAL = 439, + BIND = 440, + BIND_VERTEX_INPUT = 441, + INSTANCE_NODE = 442, + INSTANCE_PHYSICS_MATERIAL = 443, + INSTANCE_PHYSICS_MODEL = 444, + INSTANCE_RIGID_BODY = 445, + ANGULAR_VELOCITY = 446, + VELOCITY = 447, + DYNAMIC = 448, + MASS_FRAME = 449, + SHAPE = 450, + HOLLOW = 451, + INSTANCE_RIGID_CONSTRAINT = 452, + LIBRARY_ANIMATIONS = 453, + LIBRARY_ANIMATION_CLIPS = 454, + LIBRARY_CAMERAS = 455, + LIBRARY_CONTROLLERS = 456, + LIBRARY_GEOMETRIES = 457, + LIBRARY_EFFECTS = 458, + LIBRARY_FORCE_FIELDS = 459, + LIBRARY_IMAGES = 460, + LIBRARY_LIGHTS = 461, + LIBRARY_MATERIALS = 462, + LIBRARY_NODES = 463, + LIBRARY_PHYSICS_MATERIALS = 464, + LIBRARY_PHYSICS_MODELS = 465, + LIBRARY_PHYSICS_SCENES = 466, + LIBRARY_VISUAL_SCENES = 467, + FX_PROFILE_ABSTRACT = 468, + EFFECT = 469, + GL_HOOK_ABSTRACT = 470, + PROFILE_GLSL = 471, + PASS = 472, + DRAW = 473, + SHADER = 474, + COMPILER_TARGET = 475, + COMPILER_OPTIONS = 476, + PROFILE_COMMON = 477, + CONSTANT = 478, + LAMBERT = 479, + PHONG = 480, + BLINN = 481, + PROFILE_CG = 482, + PROFILE_GLES = 483, + COLOR_TARGET = 484, + DEPTH_TARGET = 485, + STENCIL_TARGET = 486, + COLOR_CLEAR = 487, + DEPTH_CLEAR = 488, + STENCIL_CLEAR = 489, + BOX = 490, + HALF_EXTENTS = 491, + PLANE = 492, + EQUATION = 493, + SPHERE = 494, + RADIUS = 495, + ELLIPSOID = 496, + CYLINDER = 497, + HEIGHT = 498, + TAPERED_CYLINDER = 499, + RADIUS1 = 500, + RADIUS2 = 501, + CAPSULE = 502, + TAPERED_CAPSULE = 503, + CONVEX_MESH = 504, + FORCE_FIELD = 505, + PHYSICS_MATERIAL = 506, + PHYSICS_SCENE = 507, + RIGID_BODY = 508, + RIGID_CONSTRAINT = 509, + REF_ATTACHMENT = 510, + ATTACHMENT = 511, + ENABLED = 512, + INTERPENETRATE = 513, + LIMITS = 514, + SWING_CONE_AND_TWIST = 515, + LINEAR = 516, + SPRING = 517, + ANGULAR = 518, + PHYSICS_MODEL = 519 +#ifdef _MSC_VER + }; +#else + ; +#endif +}; #endif diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domVertices.h b/Extras/COLLADA_DOM/include/1.4/dom/domVertices.h index fc111ffeb..ce8a10620 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domVertices.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domVertices.h @@ -27,6 +27,8 @@ */ class domVertices : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VERTICES; } protected: // Attributes /** * The id attribute is a text string containing the unique identifier of @@ -119,19 +121,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/1.4/dom/domVisual_scene.h b/Extras/COLLADA_DOM/include/1.4/dom/domVisual_scene.h index 758349361..6f5173613 100644 --- a/Extras/COLLADA_DOM/include/1.4/dom/domVisual_scene.h +++ b/Extras/COLLADA_DOM/include/1.4/dom/domVisual_scene.h @@ -29,6 +29,8 @@ */ class domVisual_scene : public daeElement { +public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::VISUAL_SCENE; } public: class domEvaluate_scene; @@ -42,6 +44,8 @@ public: */ class domEvaluate_scene : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::EVALUATE_SCENE; } public: class domRender; @@ -54,6 +58,8 @@ public: */ class domRender : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::RENDER; } public: class domLayer; @@ -66,6 +72,8 @@ public: */ class domLayer : public daeElement { + public: + COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LAYER; } protected: // Value /** @@ -109,19 +117,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -160,7 +168,7 @@ public: * Sets the camera_node attribute. * @param atCamera_node The new value for the camera_node attribute. */ - void setCamera_node( const xsAnyURI &atCamera_node ) { attrCamera_node.setURI( atCamera_node.getURI() ); + void setCamera_node( const xsAnyURI &atCamera_node ) { attrCamera_node = atCamera_node; _validAttributeArray[0] = true; } /** @@ -202,19 +210,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -278,19 +286,19 @@ public: * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; @@ -410,19 +418,19 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ - static daeMetaElement* _Meta; + static DLLSPEC daeMetaElement* _Meta; }; diff --git a/Extras/COLLADA_DOM/include/dae.h b/Extras/COLLADA_DOM/include/dae.h index 25787dad2..cf803d042 100644 --- a/Extras/COLLADA_DOM/include/dae.h +++ b/Extras/COLLADA_DOM/include/dae.h @@ -41,58 +41,54 @@ public: /** * Constructor. */ - DAE(); + DLLSPEC DAE(); /** * Destructor. */ - virtual ~DAE(); + virtual DLLSPEC ~DAE(); /** - * Before exiting an application, call @c cleanup() - * to release all static meta information associated with the - * COLLADA api. - * The @c daeMetaElement::releaseMetas() and - * @c daeAtomicType::uninitializeKnownTypes() functions are called - * if there are no remaining instances of a @c DAE. - * @note This function is useless when called by the application in a non-static - * context. It should be called after you delete your DAE object. + * Releases all static meta information associated with the COLLADA DOM. + * Ff there are no remaining instances of a @c DAE cleanup happens automatically. + * @note This function is useless if called by the application in a non-static + * context. */ - static void cleanup(); + static DLLSPEC void cleanup(); // Abstract Interface Class for the daeDatabase front end public: // Database setup - virtual daeDatabase* getDatabase(); - virtual daeInt setDatabase(daeDatabase* database); + virtual DLLSPEC daeDatabase* getDatabase(); + virtual DLLSPEC daeInt setDatabase(daeDatabase* database); // IO Plugin setup - virtual daeIOPlugin* getIOPlugin(); - virtual daeInt setIOPlugin(daeIOPlugin* plugin); + virtual DLLSPEC daeIOPlugin* getIOPlugin(); + virtual DLLSPEC daeInt setIOPlugin(daeIOPlugin* plugin); // Integration Library Setup - virtual daeIntegrationLibraryFunc getIntegrationLibrary(); - virtual daeInt setIntegrationLibrary(daeIntegrationLibraryFunc regFunc); + virtual DLLSPEC daeIntegrationLibraryFunc getIntegrationLibrary(); + virtual DLLSPEC daeInt setIntegrationLibrary(daeIntegrationLibraryFunc regFunc); // batch file operations - virtual daeInt load(daeString name, daeString docBuffer = NULL); - virtual daeInt save(daeString documentName, daeBool replace=true); - virtual daeInt save(daeUInt documentIndex, daeBool replace=true); - virtual daeInt saveAs(daeString name, daeString documentName, daeBool replace=true); - virtual daeInt saveAs(daeString name, daeUInt documentIndex=0, daeBool replace=true); + virtual DLLSPEC daeInt load(daeString name, daeString docBuffer = NULL); + virtual DLLSPEC daeInt save(daeString documentName, daeBool replace=true); + virtual DLLSPEC daeInt save(daeUInt documentIndex, daeBool replace=true); + virtual DLLSPEC daeInt saveAs(daeString name, daeString documentName, daeBool replace=true); + virtual DLLSPEC daeInt saveAs(daeString name, daeUInt documentIndex=0, daeBool replace=true); - virtual daeInt unload(daeString name); - virtual daeInt clear(); + virtual DLLSPEC daeInt unload(daeString name); + virtual DLLSPEC daeInt clear(); // Load/Save Progress - virtual void getProgress(daeInt* bytesParsed, + virtual DLLSPEC void getProgress(daeInt* bytesParsed, daeInt* lineNumber, daeInt* totalBytes, daeBool reset = false ); // Simple Query - virtual domCOLLADA* getDom(daeString name); - virtual daeString getDomVersion(); - virtual daeInt setDom(daeString name, domCOLLADA* dom); + virtual DLLSPEC domCOLLADA* getDom(daeString name); + virtual DLLSPEC daeString getDomVersion(); + virtual DLLSPEC daeInt setDom(daeString name, domCOLLADA* dom); private: daeDatabase *database; @@ -102,7 +98,7 @@ private: bool defaultDatabase; bool defaultPlugin; daeIntegrationLibraryFunc registerFunc; - daeMetaElement *topMeta; + static daeMetaElement *topMeta; }; #endif // __DAE_INTERFACE__ diff --git a/Extras/COLLADA_DOM/include/dae/daeArray.h b/Extras/COLLADA_DOM/include/dae/daeArray.h index f2648a53e..78a01ac6c 100644 --- a/Extras/COLLADA_DOM/include/dae/daeArray.h +++ b/Extras/COLLADA_DOM/include/dae/daeArray.h @@ -32,7 +32,7 @@ public: /** * Constructor */ - daeArray(); + DLLSPEC daeArray(); /** * Copy Constructor */ @@ -45,7 +45,7 @@ public: /** * Destructor */ - virtual ~daeArray(); + virtual DLLSPEC ~daeArray(); /** * Clears the contents of the array. Do not use this function if the array contains @c daeSmartRef objects and the * @c dom* class the array belongs to has a @c _contents member. @@ -55,7 +55,7 @@ public: * objects will not be removed from @c _contents, which can cause problems when you * save the data. We recommended that @c clear() not be used on arrays that are part of a @c dom* object. */ - virtual void clear(); + virtual DLLSPEC void clear(); /** * Sets the size of an element in the array when creating a @c daeArray of a specific type. * @param elementSize Size of an element in the array. @@ -91,7 +91,7 @@ public: * Increases the size of the @c daeArray. * @param sz Size to grow the array to. */ - void grow(size_t sz); + void DLLSPEC grow(size_t sz); /** * Removes an item at a specific index in the @c daeArray. * @param index Index number of the item to delete. @@ -100,7 +100,7 @@ public: * objects in two places, the class member and the @c _contents array, when you remove something from the * dom, you must remove it from both places. */ - virtual daeInt removeIndex(size_t index); + virtual DLLSPEC daeInt removeIndex(size_t index); }; /** @@ -122,11 +122,11 @@ public: */ daeTArray( const daeTArray &cpy ) : daeArray() { _count = cpy._count; - _capacity = cpy._capacity; + //_capacity = cpy._capacity; _data = NULL; _elementSize = cpy._elementSize; _type = cpy._type; - grow(_capacity); + grow(_count); for(size_t i=0;i<_count;i++) set( i, cpy[i] ); } @@ -199,8 +199,11 @@ public: * @param value Value to store at index in the array. */ inline void set(size_t index, const T& value) { - if (index >= _capacity) - grow(index); + if (index >= _count) + { + //grow(index); + setCount(index+1); + } ((T*)_data)[index] = value; } /** @@ -219,7 +222,7 @@ public: */ inline size_t append(const T& value) { set(_count, value); - _count++; + //_count++; return _count-1; } @@ -300,11 +303,14 @@ public: grow( _count +1 ); } //memmove( &(((T*)_data)[index+1]), &(((T*)_data)[index]), (_count - index)*_elementSize ); - for (size_t i = _count; i > index; i-- ) { - set( i, ((T*)_data)[i-1] ); + for (size_t i = _count; i > index; i-- ) + { + T tmp = ((T*)_data)[i-1]; + set( i, tmp ); + //set( i, ((T*)_data)[i-1] ); } set( index, value ); - _count++; + //_count++; } /** @@ -315,13 +321,312 @@ public: inline daeTArray &operator=( const daeTArray &other ) { clear(); _count = other._count; - _capacity = other._capacity; - grow(_capacity); + //_capacity = other._capacity; + grow(_count); for(size_t i=0;i<_count;i++) set( i, other[i] ); return *this; } + + //some helpers + /** + * Sets the array to the contain the two values specified. + * @param one The first value. + * @param two The second value. + */ + void set2( const T &one, const T &two ) + { + setCount( 2 ); + set( 0, one ); + set( 1, two ); + } + /** + * Sets the array to the contain the three values specified. + * @param one The first value. + * @param two The second value. + * @param three The third value. + */ + void set3( const T &one, const T &two, const T &three ) + { + setCount( 3 ); + set( 0, one ); + set( 1, two ); + set( 2, three ); + } + /** + * Sets the array to the contain the four values specified. + * @param one The first value. + * @param two The second value. + * @param three The third value. + * @param four The fourth value. + */ + void set4( const T &one, const T &two, const T &three, const T &four ) + { + setCount( 4 ); + set( 0, one ); + set( 1, two ); + set( 2, three ); + set( 3, four ); + } + + /** + * Sets the values in the array at the specified location to the contain the two + * values specified. This function will grow the array if needed. + * @param index The position in the array to start setting. + * @param one The first value. + * @param two The second value. + */ + void set2at( size_t index, const T &one, const T &two ) + { + set( index, one ); + set( index+1, two ); + } + /** + * Sets the values in the array at the specified location to the contain the three + * values specified. This function will grow the array if needed. + * @param index The position in the array to start setting. + * @param one The first value. + * @param two The second value. + * @param three The third value. + */ + void set3at( size_t index, const T &one, const T &two, const T &three ) + { + set( index, one ); + set( index+1, two ); + set( index+2, three ); + } + /** + * Sets the values in the array at the specified location to the contain the four + * values specified. This function will grow the array if needed. + * @param index The position in the array to start setting. + * @param one The first value. + * @param two The second value. + * @param three The third value. + * @param four The fourth value. + */ + void set4at( size_t index, const T &one, const T &two, const T &three, const T &four ) + { + set( index, one ); + set( index+1, two ); + set( index+2, three ); + set( index+3, four ); + } + + /** + * Appends two values to the array. + * @param one The first value. + * @param two The second value. + */ + void append2( const T &one, const T &two ) + { + append( one ); + append( two ); + } + /** + * Appends three values to the array. + * @param one The first value. + * @param two The second value. + * @param three The third value. + */ + void append3( const T &one, const T &two, const T &three ) + { + append( one ); + append( two ); + append( three ); + } + /** + * Appends four values to the array. + * @param one The first value. + * @param two The second value. + * @param three The third value. + * @param four The fourth value. + */ + void append4( const T &one, const T &two, const T &three, const T &four ) + { + append( one ); + append( two ); + append( three ); + append( four ); + } + + /** + * Inserts two values into the array at the specified location. + * @param index The position in the array to start inserting. + * @param one The first value. + * @param two The second value. + */ + void insert2at( size_t index, const T &one, const T &two ) + { + if ( index > _count ) + setCount( index +2 ); + else + setCount( _count +2 ); + + for (size_t i = _count; i > index+2; i-- ) + { + T tmp = ((T*)_data)[i-3]; + set( i-1, tmp ); + } + set( index, one ); + set( index+1, two ); + } + /** + * Inserts three values into the array at the specified location. + * @param index The position in the array to start inserting. + * @param one The first value. + * @param two The second value. + * @param three The third value. + */ + void insert3at( size_t index, const T &one, const T &two, const T &three ) + { + if ( index > _count ) + setCount( index +3 ); + else + setCount( _count +3 ); + + for (size_t i = _count; i > index+3; i-- ) + { + T tmp = ((T*)_data)[i-4]; + set( i-1, tmp ); + } + set( index, one ); + set( index+1, two ); + set( index+2, three ); + } + /** + * Inserts four values into the array at the specified location. + * @param index The position in the array to start inserting. + * @param one The first value. + * @param two The second value. + * @param three The third value. + * @param four The fourth value. + */ + void insert4at( size_t index, const T &one, const T &two, const T &three, const T &four ) + { + if ( index > _count ) + setCount( index +4 ); + else + setCount( _count +4 ); + + for (size_t i = _count; i > index+4; i-- ) + { + T tmp = ((T*)_data)[i-5]; + set( i-1, tmp ); + } + set( index, one ); + set( index+1, two ); + set( index+2, three ); + set( index+4, four ); + } + + /** + * Gets two values from the array at the specified location. + * @param index The position in the array to start getting. + * @param one Variable to store the first value. + * @param two Variable to store the second value. + * @return Returns The number of elements retrieved. + */ + daeInt get2at( size_t index, T &one, T &two ) + { + daeInt retVal = 0; + if ( index < _count ) + { + one = get(index); + retVal++; + } + if ( index+1 < _count ) + { + two = get(index+1); + retVal++; + } + return retVal; + } + /** + * Gets three values from the array at the specified location. + * @param index The position in the array to start getting. + * @param one Variable to store the first value. + * @param two Variable to store the second value. + * @param three Variable to store the third value. + * @return Returns The number of elements retrieved. + */ + daeInt get3at( size_t index, T &one, T &two, T &three ) + { + daeInt retVal = 0; + if ( index < _count ) + { + one = get(index); + retVal++; + } + if ( index+1 < _count ) + { + two = get(index+1); + retVal++; + } + if ( index+2 < _count ) + { + two = get(index+2); + retVal++; + } + return retVal; + } + /** + * Gets four values from the array at the specified location. + * @param index The position in the array to start getting. + * @param one Variable to store the first value. + * @param two Variable to store the second value. + * @param three Variable to store the third value. + * @param four Variable to store the fourth value. + * @return Returns The number of elements retrieved. + */ + daeInt get4at( size_t index, T &one, T &two, T &three, T &four ) + { + daeInt retVal = 0; + if ( index < _count ) + { + one = get(index); + retVal++; + } + if ( index+1 < _count ) + { + two = get(index+1); + retVal++; + } + if ( index+2 < _count ) + { + two = get(index+2); + retVal++; + } + if ( index+3 < _count ) + { + two = get(index+3); + retVal++; + } + return retVal; + } + + /** + * Appends a number of elements to this array from a C native array. + * @param num The number of elements to append. + * @param array The C native array that contains the values to append. + */ + void appendArray( size_t num, T *array ) + { + if ( array == NULL ) + return; + + for ( size_t i = 0; i < num; i++ ) + append( array[i] ); + } + /** + * Appends a number of elements to this array from another daeTArray. + * @param array The daeTArray that contains the values to append. + */ + void appendArray( const daeTArray &array ){ + size_t num = array.getCount(); + for ( size_t i = 0; i < num; i++ ) + append( array[i] ); + } }; diff --git a/Extras/COLLADA_DOM/include/dae/daeAtomicType.h b/Extras/COLLADA_DOM/include/dae/daeAtomicType.h index fff432963..c4ad10121 100644 --- a/Extras/COLLADA_DOM/include/dae/daeAtomicType.h +++ b/Extras/COLLADA_DOM/include/dae/daeAtomicType.h @@ -83,10 +83,10 @@ public: /** * Resolves a reference, if indeed this type is a reference type. * @param element The containing element. - * @param ma The @c deaMetaAttribute where the resolved reference + * @param src Source of the raw data to resolve. * should be placed. */ - virtual void resolve(daeElementRef element, daeMetaAttributeRef ma); + virtual void resolve(daeElementRef element, daeChar* src); /** * Determines if this atomic type requires a special string-based @@ -436,6 +436,14 @@ public: * false if the operation would cause the destination buffer to overflow. */ virtual daeBool memoryToString(daeChar* src, daeChar* dst, daeInt dstSize); + /** + * Overrides the base class @c stringToMemoryFunction(). + * Reads an atomic typed item into the destination runtime memory. + * @param src Source string. + * @param dst Raw binary to store the resulting value. + * @return Returns true if the operation was successful, false if not successful. + */ + virtual daeBool stringToMemory(daeChar* src, daeChar* dst); }; /** @@ -459,6 +467,14 @@ public: * false if the operation would cause the destination buffer to overflow. */ virtual daeBool memoryToString(daeChar* src, daeChar* dst, daeInt dstSize); + /** + * Overrides the base class @c stringToMemoryFunction(). + * Reads an atomic typed item into the destination runtime memory. + * @param src Source string. + * @param dst Raw binary to store the resulting value. + * @return Returns true if the operation was successful, false if not successful. + */ + virtual daeBool stringToMemory(daeChar* src, daeChar* dst); }; /** @@ -659,10 +675,10 @@ public: * Overrides the base class @c resolve() function * Resolves a reference, if indeed this type is a reference type * @param element The containing element. - * @param ma The @c deaMetaAttribute where the resolved reference + * @param src Source of the raw data to resolve. * should be placed. */ - virtual void resolve(daeElementRef element, daeMetaAttributeRef ma); + virtual void resolve(daeElementRef element, daeChar* src); /** * Override base class function. * Determines if this atomic type requires a special string-based @@ -706,10 +722,10 @@ public: * Overrides the base class @c resolve() function * Resolves a reference, if indeed this type is a reference type. * @param element The containing element. - * @param ma The @c deaMetaAttribute where the resolved reference + * @param src Source of the raw data to resolve. * should be placed. */ - virtual void resolve(daeElementRef element, daeMetaAttributeRef ma); + virtual void resolve(daeElementRef element, daeChar* src); }; diff --git a/Extras/COLLADA_DOM/include/dae/daeDatabase.h b/Extras/COLLADA_DOM/include/dae/daeDatabase.h index cb4c632e5..67d117383 100644 --- a/Extras/COLLADA_DOM/include/dae/daeDatabase.h +++ b/Extras/COLLADA_DOM/include/dae/daeDatabase.h @@ -29,7 +29,7 @@ public: /** * Destructor. */ - virtual ~daeDatabase() {} + virtual DLLSPEC ~daeDatabase() {} /** @name Documents */ //@{ @@ -42,7 +42,7 @@ public: * @note The @c daeElement passed in as dom should always be a @c domCOLLADA object, the API may enforce this in the future. * @deprecated This function will be removed in future versions. Please use createDocument. */ - virtual daeInt insertDocument(daeString name, daeElement* dom, daeDocument** document = NULL) = 0; + virtual DLLSPEC daeInt insertDocument(daeString name, daeElement* dom, daeDocument** document = NULL) = 0; /** * Creates a new @c domCOLLADA root element and a new document; returns an error if the document name already exists. * @param name Name of the new document, must be a valid URI. @@ -50,7 +50,7 @@ public: * @return Returns DAE_OK if the document was created successfully, otherwise returns a negative value as defined in daeError.h. * @deprecated This function will be removed in future versions. Please use createDocument. */ - virtual daeInt insertDocument(daeString name, daeDocument** document = NULL) = 0; + virtual DLLSPEC daeInt insertDocument(daeString name, daeDocument** document = NULL) = 0; /** * Creates a new document, defining its root as the dom object; returns an error if the document name already exists. * @param name Name of the new document, must be a valid URI. @@ -59,59 +59,59 @@ public: * @return Returns @c DAE_OK if the document was created successfully, otherwise returns a negative value as defined in daeError.h. * @note The @c daeElement passed in as dom should always be a @c domCOLLADA object, the API may enforce this in the future. */ - virtual daeInt createDocument(daeString name, daeElement* dom, daeDocument** document = NULL) = 0; + virtual DLLSPEC daeInt createDocument(daeString name, daeElement* dom, daeDocument** document = NULL) = 0; /** * Creates a new @c domCOLLADA root element and a new document; returns an error if the document name already exists. * @param name Name of the new document, must be a valid URI. * @param document Pointer to a @c daeDocument pointer that receives the document created * @return Returns DAE_OK if the document was created successfully, otherwise returns a negative value as defined in daeError.h. */ - virtual daeInt createDocument(daeString name, daeDocument** document = NULL) = 0; + virtual DLLSPEC daeInt createDocument(daeString name, daeDocument** document = NULL) = 0; /** * Inserts an already existing document into the database. * @param c The document to insert. * @return Returns DAE_OK if the document was inserted successfully, otherwise returns a negative value as defined in daeError.h. */ - virtual daeInt insertDocument( daeDocument *c ) = 0; + virtual DLLSPEC daeInt insertDocument( daeDocument *c ) = 0; /** * Removes a document from the database. * @param document Document to remove from the database * @return Returns DAE_OK if the document was successfully removed, otherwise returns a negative value as defined in daeError.h. */ - virtual daeInt removeDocument(daeDocument* document) = 0; + virtual DLLSPEC daeInt removeDocument(daeDocument* document) = 0; /** * Gets the number of documents. * @return Returns the number of documents. */ - virtual daeUInt getDocumentCount() = 0; + virtual DLLSPEC daeUInt getDocumentCount() = 0; /** * Gets a document based on the document index. * @param index Index of the document to get. * @return Returns a pointer on the document, or NULL if not found. */ - virtual daeDocument* getDocument(daeUInt index) = 0; + virtual DLLSPEC daeDocument* getDocument(daeUInt index) = 0; /** * Gets a document based on the document name. * @param name The name of the document as a URI. * @return Returns a pointer to the document, or NULL if not found. * @note If the URI contains a fragment, the fragment is stripped off. */ - virtual daeDocument* getDocument(daeString name) = 0; + virtual DLLSPEC daeDocument* getDocument(daeString name) = 0; /** * Gets a document name. * @param index Index of the document to get. * @return Returns the name of the document at the given index. */ - virtual daeString getDocumentName(daeUInt index) = 0; + virtual DLLSPEC daeString getDocumentName(daeUInt index) = 0; /** * Indicates if a document is loaded or not. * @param name Name of the document as a URI. * @return Returns true if the document is loaded, false otherwise. * @note If the URI contains a fragment, the fragment is stripped off. */ - virtual daeBool isDocumentLoaded(daeString name) = 0; + virtual DLLSPEC daeBool isDocumentLoaded(daeString name) = 0; //@} /** @name Elements */ @@ -120,20 +120,20 @@ public: * Gets the number of types in the database. * @return Returns the number of different types of objects inserted in the database. */ - virtual daeUInt getTypeCount() = 0; + virtual DLLSPEC daeUInt getTypeCount() = 0; /** * Retrieves the name of a type of object inserted in the database. * @param index Index of the type; must be between 0 and daeDatabase::getTypeCount()-1 * @return Returns the name of the type, NULL if the index is invalid. */ - virtual daeString getTypeName(daeUInt index) = 0; + virtual DLLSPEC daeString getTypeName(daeUInt index) = 0; /** * Inserts a @c daeElement into the runtime database. * @param document Document in which the @c daeElement lives. * @param element @c daeElement to insert in the database * @return Returns @c DAE_OK if element successfully inserted, otherwise returns a negative value as defined in daeError.h. */ - virtual daeInt insertElement(daeDocument* document, + virtual DLLSPEC daeInt insertElement(daeDocument* document, daeElement* element) = 0; /** * Removes a @c daeElement from the runtime database; not implemented in the reference STL implementation. @@ -142,7 +142,7 @@ public: * @return Returns @c DAE_OK if element successfully removed, otherwise returns a negative value as defined in daeError.h. * @note This function is not implemented in the reference STL implementation. */ - virtual daeInt removeElement(daeDocument* document, + virtual DLLSPEC daeInt removeElement(daeDocument* document, daeElement* element) = 0; /** * Unloads all of the documents of the runtime database. @@ -150,7 +150,7 @@ public: * except any objects on which you still have a smart pointer reference (@c daeSmartRef). * @return Returns @c DAE_OK if all documents successfully unloaded, otherwise returns a negative value as defined in daeError.h. */ - virtual daeInt clear() = 0; + virtual DLLSPEC daeInt clear() = 0; /** * Optimizes the database. * This function takes time; it is called by the interface at the end of a load operation. @@ -158,7 +158,7 @@ public: * need to be sorted. All database search functions call @c validate(); you should not need to * call this function directly. */ - virtual void validate() = 0; + virtual DLLSPEC void validate() = 0; //@} /** @name Queries */ @@ -175,7 +175,7 @@ public: * @param file Name of the document or file, for example, "myDocument.xml", can be NULL * @return Returns the number of elements matching this query. */ - virtual daeUInt getElementCount(daeString name = NULL, + virtual DLLSPEC daeUInt getElementCount(daeString name = NULL, daeString type = NULL, daeString file = NULL) = 0; /** @@ -198,7 +198,7 @@ public: * @param file Name of the document or file, for example, "myDocument.xml", can be NULL * @return Returns DAE_OK upon success, returns DAE_ERR_QUERY_NO_MATCH if there is no match, otherwise, returns a negative value as defined in daeError.h. */ - virtual daeInt getElement(daeElement** pElement, + virtual DLLSPEC daeInt getElement(daeElement** pElement, daeInt index, daeString name = NULL, daeString type = NULL, @@ -210,7 +210,7 @@ public: * @return Returns DAE_OK if it succeeds, returns DAE_ERR_QUERY_NO_MATCH if there is no match, otherwise returns a negative value as defined in daeError.h. * @note This function is not implemented. */ - virtual daeInt queryElement(daeElement** pElement, daeString genericQuery) = 0; + virtual DLLSPEC daeInt queryElement(daeElement** pElement, daeString genericQuery) = 0; //@} /** @@ -222,40 +222,40 @@ public: * @param _topMeta Top meta object to use to create objects to fill the database. * @return Returns DAE_OK if successful, otherwise returns a negative value defined in daeError.h. */ - virtual daeInt setMeta(daeMetaElement *_topMeta) = 0; + virtual DLLSPEC daeInt setMeta(daeMetaElement *_topMeta) = 0; public: //Depricated methods - inline daeInt insertCollection(daeString name, daeElement* dom, daeDocument** document = NULL) { + inline DLLSPEC daeInt insertCollection(daeString name, daeElement* dom, daeDocument** document = NULL) { return insertDocument( name, dom, document ); } - inline daeInt insertCollection(daeString name, daeDocument** document = NULL) { + inline DLLSPEC daeInt insertCollection(daeString name, daeDocument** document = NULL) { return insertDocument( name, document ); } - inline daeInt createCollection(daeString name, daeElement* dom, daeDocument** document = NULL) { + inline DLLSPEC daeInt createCollection(daeString name, daeElement* dom, daeDocument** document = NULL) { return createDocument( name, dom, document ); } - inline daeInt createCollection(daeString name, daeDocument** document = NULL) { + inline DLLSPEC daeInt createCollection(daeString name, daeDocument** document = NULL) { return createDocument( name, document ); } - inline daeInt insertCollection( daeDocument *c ) { + inline DLLSPEC daeInt insertCollection( daeDocument *c ) { return insertDocument( c ); } - inline daeInt removeCollection(daeDocument* document) { + inline DLLSPEC daeInt removeCollection(daeDocument* document) { return removeDocument( document ); } - inline daeUInt getCollectionCount() { + inline DLLSPEC daeUInt getCollectionCount() { return getDocumentCount(); } - inline daeDocument* getCollection(daeUInt index) { + inline DLLSPEC daeDocument* getCollection(daeUInt index) { return getDocument( index ); } - inline daeDocument* getCollection(daeString name) { + inline DLLSPEC daeDocument* getCollection(daeString name) { return getDocument( name ); } - inline daeString getCollectionName(daeUInt index) { + inline DLLSPEC daeString getCollectionName(daeUInt index) { return getDocumentName( index ); } - inline daeBool isCollectionLoaded(daeString name) { + inline DLLSPEC daeBool isCollectionLoaded(daeString name) { return isDocumentLoaded( name ); } diff --git a/Extras/COLLADA_DOM/include/dae/daeDocument.h b/Extras/COLLADA_DOM/include/dae/daeDocument.h index 962fbc574..e7df36413 100644 --- a/Extras/COLLADA_DOM/include/dae/daeDocument.h +++ b/Extras/COLLADA_DOM/include/dae/daeDocument.h @@ -25,6 +25,12 @@ class daeDocument { public: + // sthomas + /** + * Destructor + */ + DLLSPEC ~daeDocument(); + /** * Accessor to get the @c domCollada associated with this document. * @return A @c daeElementRef for the @c domCollada that is the root of this document. @@ -37,7 +43,7 @@ public: * @param domRoot the domCollada that is the root of this document * @remarks Should really require a domColladaRef but we're trying to avoid having dae classes depend on generated dom classes. */ - void setDomRoot(daeElement* domRoot) {dom = domRoot;} + void setDomRoot(daeElement* domRoot) {dom = domRoot; domRoot->setDocument(this); } /** * Accessor to get the URI associated with the document in this document; * this is currently set to the URI from which the document was loaded, but @@ -73,14 +79,14 @@ public: * @note This function is called internally and not meant to be called by the client application. * Calling this function from the client application may result in unexpected behavior. */ - void insertElement( daeElementRef element ); + DLLSPEC void insertElement( daeElementRef element ); /** * This function is used to track how a document gets modified. It gets called internally. * @param element The element that was removed from this document. * @note This function is called internally and not meant to be called by the client application. * Calling this function from the client application may result in unexpected behavior. */ - void removeElement( daeElementRef element ); + DLLSPEC void removeElement( daeElementRef element ); /** * This function is used to track how a document gets modified. It gets called internally. @@ -98,14 +104,14 @@ public: * @note This function gets called internally from daeURI upon trying to resolve an element. * Calling this function in your client code my result in unexpected behavior. */ - void addExternalReference( daeURI &uri ); + DLLSPEC void addExternalReference( daeURI &uri ); /** * Removes a URI to the list of external references in this document. * @param uri The URI that was the external reference. * @note This function gets called internally from daeURI upon trying to resolve an element. * Calling this function in your client code my result in unexpected behavior. */ - void removeExternalReference( daeURI &uri ); + DLLSPEC void removeExternalReference( daeURI &uri ); /** * Gets a list of all the documents that are referenced from URI contained within this document. * @return Returns a list of URI strings, each being a URI which is referenced from within this document. @@ -116,7 +122,9 @@ public: * @param docURI The URI string of the document that you want to resolve against. * @note This function is called internally whenever a new document is loaded. */ - void resolveExternals( daeString docURI); + DLLSPEC void resolveExternals( daeString docURI); + + DLLSPEC const daeTArray *getExternalURIs(daeStringRef docURI) const; private: /** diff --git a/Extras/COLLADA_DOM/include/dae/daeElement.h b/Extras/COLLADA_DOM/include/dae/daeElement.h index fdd9ec849..c99fae452 100644 --- a/Extras/COLLADA_DOM/include/dae/daeElement.h +++ b/Extras/COLLADA_DOM/include/dae/daeElement.h @@ -22,6 +22,15 @@ //#include //#endif +namespace COLLADA_TYPE +{ +#ifdef _MSC_VER + enum TypeEnum; +#else + typedef const int TypeEnum; +#endif +}; + class daeMetaElement; class daeIntegrationObject; class daeDocument; @@ -29,6 +38,18 @@ class daeURI; template class daeSmartRef; +//Contributed by Nus - Wed, 08 Nov 2006 +/** + * Initializing resolve array. + */ +extern "C" void initializeResolveArray(void); + +/** + * Terminating resolve array. + */ +extern "C" void terminateResolveArray(void); +//------------------- + /** * The @c daeElement class represents an instance of a COLLADA "Element"; * it is the main base class for the COLLADA Dom. @@ -58,7 +79,7 @@ protected: public: /** An enum that describes the state of user integration with this object */ - enum IntegrationState { + DLLSPEC enum IntegrationState { /** The user integration is not initialized */ int_uninitialized, /** The user integration object has been created */ @@ -78,20 +99,22 @@ public: * @note This should not be used externally. * Use factories to create elements */ - daeElement(); + DLLSPEC daeElement(); /** * Element Destructor. * @note This should not be used externally, * if daeSmartRefs are being used. */ - virtual ~daeElement(); + virtual DLLSPEC ~daeElement(); + // sthomas (see https://collada.org/public_forum/viewtopic.php?t=325&) + static void releaseElements(); /** * Decrements the reference count and deletes the object if reference count is zero. * @note Should not be used externally if daeSmartRefs are being used, they call it * automatically. */ - void release() const; + DLLSPEC void release() const; /** * Increments the reference count of this element. @@ -101,17 +124,17 @@ public: inline void ref() const {_refCount++;} /** - * Resolves all fields of type daeURI. - * This is done via database query of the URI. + * Resolves all fields of type daeURI and IDRef. + * This is done via database query of the URI or IDRef. */ - void resolve(); + DLLSPEC void resolve(); /** * Sets up a @c daeElement. Called on all @c daeElements as part of their initialization. * @param meta Meta element to use to configure this element. * @note Should not be called externally. */ - void setup(daeMetaElement* meta); + DLLSPEC void setup(daeMetaElement* meta); /** * Places an element as a child of @c this element. @@ -124,7 +147,7 @@ public: * @param element Element to be placed in the @c this container. * @return Returns true if the element was successfully placed, false otherwise. */ - daeBool placeElement(daeElement* element); + DLLSPEC daeBool placeElement(daeElement* element); /** * This function searches through the list of potential child elements @@ -139,7 +162,7 @@ public: * @param element is the element to be placed in the 'this' container. * @return return whether or not the element was successfully placed. */ - daeBool placeElementAt(daeInt index, daeElement* element); + DLLSPEC daeBool placeElementAt(daeInt index, daeElement* element); /** * Places an element as a child of @c this element. @@ -149,7 +172,7 @@ public: * @param element Element to be placed in the @c this container. * @return Returns true if the element was successfully placed, false otherwise. */ - daeBool placeElementBefore( daeElement* marker, daeElement *element ); + DLLSPEC daeBool placeElementBefore( daeElement* marker, daeElement *element ); /** * Places an element as a child of @c this element. @@ -159,7 +182,7 @@ public: * @param element Element to be placed in the @c this container. * @return Returns true if the element was successfully placed, false otherwise. */ - daeBool placeElementAfter( daeElement* marker, daeElement *element ); + DLLSPEC daeBool placeElementAfter( daeElement* marker, daeElement *element ); /** * Finds the last index into the array of children of the type specified. @@ -167,7 +190,7 @@ public: * @return Returns the index into the children array of the last element of type typeName. -1 if * there are no children of type typeName. */ - daeInt findLastIndexOf( daeString elementName ); + DLLSPEC daeInt findLastIndexOf( daeString elementName ); /** * Removes the specified element from it parent, the @c this element. @@ -179,7 +202,7 @@ public: * @param element Element to be removed in the @c this container. * @return Returns true if the element was successfully removed, false otherwise. */ - daeBool removeChildElement(daeElement* element); + DLLSPEC daeBool removeChildElement(daeElement* element); /** * Removes the specified element from its parent element. @@ -209,7 +232,7 @@ public: * @param attrValue String-based value to apply to the attribute. * @return Returns true if the attribute was found and the value was set, false otherwise. */ - virtual daeBool setAttribute(daeString attrName, daeString attrValue); + virtual DLLSPEC daeBool setAttribute(daeString attrName, daeString attrValue); /** * Checks if an attribute has been set either by being loaded from the COLLADA document or set @@ -218,14 +241,14 @@ public: * @return Returns true if the attribute has been set. False if the attribute hasn't been set * or doesn't exist for this element. */ - daeBool isAttributeSet( daeString attrName ); + DLLSPEC daeBool isAttributeSet( daeString attrName ); /** * Checks if this element can have the attribute specified. * @param attrName The name of the attribute to look for. * @return Returns true is this element can have an attribute with the name specified. False otherwise. */ - daeBool hasAttribute( daeString attrName ); + DLLSPEC daeBool hasAttribute( daeString attrName ); /** * Gets a pointer to the value of the attribute specified. @@ -233,7 +256,20 @@ public: * @return Returns a daeMemoryRef (char *) to the value of the attribute. The return value will need * to be typecast to the appropriate type. Returns NULL if the attribute does not exist. */ - daeMemoryRef getAttributeValue( daeString attrName ); + DLLSPEC daeMemoryRef getAttributeValue( daeString attrName ); + + /** + * Checks if this element can have a value. + * @return Returns true is this element can have a value. False otherwise. + */ + DLLSPEC daeBool hasValue(); + + /** + * Gets a pointer to the element's value. + * @return Returns a daeMemoryRef (char *) to the value of the element. The return value will need + * to be typecast to the appropriate type. Returns NULL if the element does not allow a value. + */ + DLLSPEC daeMemoryRef getValuePointer(); /** * Finds the database document associated with @c this element. @@ -251,34 +287,34 @@ public: * Sets the database document associated with this element. * @param c The daeDocument to associate with this element. */ - void setDocument(daeDocument* c ); + DLLSPEC void setDocument(daeDocument* c ); /** * Deprecated. */ - void setCollection(daeDocument* c ); + DLLSPEC void setCollection(daeDocument* c ); /** * Gets the URI of the document containing this element, note that this is NOT the URI of the element. * @return Returns a pointer to the daeURI of the document containing this element. */ - daeURI* getDocumentURI() const; + DLLSPEC daeURI* getDocumentURI() const; /** * Creates an element via the element factory system. This creation * is based @em only on potential child elements of this element. - * @param className Class name of the subelement to create. + * @param elementName Class name of the subelement to create. * @return Returns the created @c daeElement, if it was successfully created. */ - daeSmartRef createElement(daeString className); + DLLSPEC daeSmartRef createElement(daeString elementName); /** * Creates a subelement via @c createElement() and places it via @c placeElement(). * Automatically adds the new element to the _contents of its parent, if the parent has one. * This is the primary method used to construct the COLLADA dom hierarchy. - * @param className - Class name of the subelement to create. + * @param elementName - Class name of the subelement to create. * @return Returns the created @c daeElement, if it was successfully created. */ - daeElement* createAndPlace(daeString className); + DLLSPEC daeElement* createAndPlace(daeString elementName); /** * Create a sub-element via #createElement and place it via #placeElementAt @@ -286,10 +322,10 @@ public: * parent, if the parent has one. * This is useful when constructing the COLLADA dom hierarchy * @param index the position in the _contents array the newly created element is to be placed at - * @param className - the className of the sub-element to be created + * @param elementName - the className of the sub-element to be created * @return the created element if it was in fact successfully created. */ - daeElement* createAndPlaceAt(daeInt index, daeString className); + DLLSPEC daeElement* createAndPlaceAt(daeInt index, daeString elementName); /** * Gets the container element for @c this element. @@ -328,25 +364,31 @@ public: * @return Returns the @c daeIntegrationObject associated with this COLLADA element * instance. */ - daeIntegrationObject* getIntObject( IntegrationState from_state = int_converted, IntegrationState to_state = int_uninitialized ); + DLLSPEC daeIntegrationObject* getIntObject( IntegrationState from_state = int_converted, IntegrationState to_state = int_uninitialized ); + /** + * Gets the element type. + * @return Returns the COLLADA_TYPE::TypeEnum value corresponding to this element's type. + */ + virtual COLLADA_TYPE::TypeEnum getElementType() const { return (COLLADA_TYPE::TypeEnum)0; } /** * Gets the element type name for this element. * @return Returns the string for the type name. */ - daeString getTypeName() const; + DLLSPEC daeString getTypeName() const; + /** * Gets this element's name. * @return Returns the string for the name. * @remarks This function returns NULL if the element's name is identical to it's type's name. */ - daeString getElementName() const; + DLLSPEC daeString getElementName() const; /** * Sets this element's name. * @param nm Specifies the string to use as the element's name. * @remarks Use caution when using this function since you can easily create invalid COLLADA documents. */ - void setElementName( daeString nm ); + DLLSPEC void setElementName( daeString nm ); /** * Gets the element ID if it exists. @@ -354,7 +396,7 @@ public: * an attribute on this element type. * @return the string for the element ID if it exists. */ - daeString getID() const; + DLLSPEC daeString getID() const; /** * Gets the children/sub-elements of this element. @@ -364,7 +406,7 @@ public: * @param array The return value. An elementref array to append this element's children to. */ //void getChildren( daeElementRefArray &array ); - void getChildren( daeTArray > &array ); + DLLSPEC void getChildren( daeTArray > &array ); /** * Clones/deep copies this @c daeElement and all of it's subtree. @@ -374,7 +416,7 @@ public: * Default is no name mangling. * @return Returns a @c daeElement smartref of the copy of this element. */ - daeSmartRef clone( daeString idSuffix = NULL, daeString nameSuffix = NULL ); + DLLSPEC daeSmartRef clone( daeString idSuffix = NULL, daeString nameSuffix = NULL ); public: /** @@ -383,7 +425,12 @@ public: * This is used as part of post-parsing process of a COLLADA instance document, * which results in a new document in the database. */ - static void resolveAll(); + static DLLSPEC void resolveAll(); + + /** + * Clears the resolveArray. + */ + static DLLSPEC void clearResolveArray(); public: /** * Releases the element passed in. This function is a static wrapper that invokes @@ -391,7 +438,7 @@ public: * if it is not NULL. * @param elem Element to call @c release() for, if the element exists. */ - static void release(const daeElement* elem) {if (elem != NULL) elem->release();} + static DLLSPEC void release(const daeElement* elem) {if (elem != NULL) elem->release();} /** * Increments the reference counter for the element passed in. This function is a static wrapper @@ -399,7 +446,7 @@ public: * if it is not NULL. * @param elem Element to call @c ref() for, if the element exists. */ - static void ref(const daeElement* elem) { if (elem != NULL) elem->ref(); } + static DLLSPEC void ref(const daeElement* elem) { if (elem != NULL) elem->ref(); } /** * Appends the passed in element to the list of elements that need to be resolved. @@ -407,7 +454,7 @@ public: * @param elem Element to add to the list of elements * waiting for their @c daeURIs to be resolved. */ - static void appendResolveElement(daeElement* elem); + static DLLSPEC void appendResolveElement(daeElement* elem); }; #include @@ -418,4 +465,12 @@ typedef daeTArray daeElementRefArray; extern daeElementRef DAECreateElement(int nbytes); +template +inline T *daeSafeCast( daeElement *element ) +{ + if ( element && element->getMeta() == T::_Meta ) + return (T *)element; + return NULL; +} + #endif //__DAE_ELEMENT_H__ diff --git a/Extras/COLLADA_DOM/include/dae/daeError.h b/Extras/COLLADA_DOM/include/dae/daeError.h index 15c1a199d..f6972deb7 100644 --- a/Extras/COLLADA_DOM/include/dae/daeError.h +++ b/Extras/COLLADA_DOM/include/dae/daeError.h @@ -41,6 +41,10 @@ * @param errorCode Error code returned by a function of the API. * @return Returns an English string describing the error. */ +#ifdef WIN32 +__declspec( dllexport ) const char *daeErrorString(int errorCode); +#else const char *daeErrorString(int errorCode); +#endif #endif //__DAE__ERROR__ diff --git a/Extras/COLLADA_DOM/include/dae/daeErrorHandler.h b/Extras/COLLADA_DOM/include/dae/daeErrorHandler.h index 458721474..294339fa9 100644 --- a/Extras/COLLADA_DOM/include/dae/daeErrorHandler.h +++ b/Extras/COLLADA_DOM/include/dae/daeErrorHandler.h @@ -21,7 +21,7 @@ * messages get handled in the client application. An example of this would be a class that reports * the message to a gui front end instead of just printing on stdout. */ -class daeErrorHandler { +class DLLSPEC daeErrorHandler { public: /** * Constructor. diff --git a/Extras/COLLADA_DOM/include/dae/daeGCCPlatform.h b/Extras/COLLADA_DOM/include/dae/daeGCCPlatform.h new file mode 100644 index 000000000..5dbf11b70 --- /dev/null +++ b/Extras/COLLADA_DOM/include/dae/daeGCCPlatform.h @@ -0,0 +1,30 @@ +/* + * Copyright 2006 Sony Computer Entertainment Inc. + * + * Licensed under the SCEA Shared Source License, Version 1.0 (the "License"); you may not use this + * file except in compliance with the License. You may obtain a copy of the License at: + * http://research.scea.com/scea_shared_source_license.html + * + * Unless required by applicable law or agreed to in writing, software distributed under the License + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + * implied. See the License for the specific language governing permissions and limitations under the + * License. + */ + +#ifndef __DAE_GCC_PLATFORM_H__ +#define __DAE_GCC_PLATFORM_H__ + +#define PLATFORM_INT8 char +#define PLATFORM_INT16 short +#define PLATFORM_INT32 int +#define PLATFORM_INT64 long long +#define PLATFORM_UINT8 unsigned char +#define PLATFORM_UINT16 unsigned short +#define PLATFORM_UINT32 unsigned int +#define PLATFORM_UINT64 unsigned long long +#define PLATFORM_FLOAT32 float +#define PLATFORM_FLOAT64 double + +#define DLLSPEC + +#endif diff --git a/Extras/COLLADA_DOM/include/dae/daeGenericPlatform.h b/Extras/COLLADA_DOM/include/dae/daeGenericPlatform.h index 4d35110cf..821771d69 100644 --- a/Extras/COLLADA_DOM/include/dae/daeGenericPlatform.h +++ b/Extras/COLLADA_DOM/include/dae/daeGenericPlatform.h @@ -11,21 +11,22 @@ * License. */ -#ifndef __DAE_WIN32_PLATFORM_H__ -#define __DAE_WIN32_PLATFORM_H__ +#ifndef __DAE_GENERIC_PLATFORM_H__ +#define __DAE_GENERIC_PLATFORM_H__ + +#include #define PLATFORM_INT8 char #define PLATFORM_INT16 short #define PLATFORM_INT32 int -#define PLATFORM_INT64 long -#define PLATFORM_INT128 long long +#define PLATFORM_INT64 long long #define PLATFORM_UINT8 unsigned char #define PLATFORM_UINT16 unsigned short #define PLATFORM_UINT32 unsigned int -#define PLATFORM_UINT64 unsigned long -#define PLATFORM_UINT128 unsigned long long +#define PLATFORM_UINT64 unsigned long long #define PLATFORM_FLOAT32 float #define PLATFORM_FLOAT64 double +#define DLLSPEC #endif diff --git a/Extras/COLLADA_DOM/include/dae/daeIDRef.h b/Extras/COLLADA_DOM/include/dae/daeIDRef.h index 687e59f30..71e8060d6 100644 --- a/Extras/COLLADA_DOM/include/dae/daeIDRef.h +++ b/Extras/COLLADA_DOM/include/dae/daeIDRef.h @@ -35,7 +35,7 @@ public: /** * An enum describing the status of the ID resolution process. */ - enum ResolveState{ + DLLSPEC enum ResolveState{ /** No ID specified */ id_empty, /** ID specified but not resolved */ @@ -116,36 +116,36 @@ public: /** * Simple Constructor */ - daeIDRef(); + DLLSPEC daeIDRef(); /** * Destructor */ - ~daeIDRef(); + DLLSPEC ~daeIDRef(); /** * Constructs an id reference via a string, using @c setID(); loads the status. * @param id ID to construct a reference for, passed to @c setID() automatically. */ - daeIDRef(daeString id); + DLLSPEC daeIDRef(daeString id); /** * Constructs a new id reference by copying an existing one. * @param constructFromIDRef @c daeIDRef to copy into this one. */ - daeIDRef(daeIDRef& constructFromIDRef); + DLLSPEC daeIDRef(daeIDRef& constructFromIDRef); /** * Copies ID into the id data member. * After the call to @c setID(), the state is set to @c id_loaded * @param ID String to use to configure this @c daeIDRef. */ - void setID(daeString ID); + DLLSPEC void setID(daeString ID); /** * Gets the ID string * @return Returns the full ID string from id. */ - daeString getID() const; + DLLSPEC daeString getID() const; /** * Uses the @c daeIDRefResolver static API to try to resolve this ID @@ -154,43 +154,57 @@ public: * a database query, et cetera based on the @c daeIDRefResolver plugins * implemented. */ - void resolveElement( daeString typeNameHint = NULL ); + DLLSPEC void resolveElement( daeString typeNameHint = NULL ); /** * Configures the id string of this @c daeIDRef based on the element set its element data member. * Uses @c daeElement::getID() to get the element's ID information to configure * the id string. */ - void resolveID(); + DLLSPEC void resolveID(); /** * Sets the state of this @c daeIDRef to @c id_pending, as it is awaiting a call to * @c resolveElement(). */ - void validate(); + DLLSPEC void validate(); /** * Copies from into this. * The function does a simple copy, and not "base validation". * @param from @c daeIDRef to copy from. */ - void copyFrom(daeIDRef& from); + DLLSPEC void copyFrom(daeIDRef& from); /** * Outputs all components of this @c daeIDRef to stderr. */ - void print(); + DLLSPEC void print(); /** * Resets this @c daeIDRef; frees all string references * and returns state to @c empty. */ - void reset(); + DLLSPEC void reset(); /** * Initializes the @c daeIDREf, setting id, element, and container to NULL. */ - void initialize(); + DLLSPEC void initialize(); + + /** + * Comparison operator. + * @return Returns true if URI's are equal. + */ + inline bool operator==(const daeIDRef& other) const{ + return (!strcmp(other.getID(), getID())); } + + daeIDRef &operator=( const daeIDRef& other) { + setID(other.getID()); + element = other.element; + state = other.state; + return *this; + } //Backwards Compatibility daeIDRef &get( daeUInt idx ) { (void)idx; return *this; } @@ -216,15 +230,27 @@ public: /** * Constructor; base constructor appends @c this to _KnownResolvers list. */ - daeIDRefResolver(); + DLLSPEC daeIDRefResolver(); /** * Destructor */ - virtual ~daeIDRefResolver(); + virtual DLLSPEC ~daeIDRefResolver(); +//Contributed by Nus - Wed, 08 Nov 2006 + /** + * Initialize ID reference solver + */ + static void initializeIDRefSolver(void); + + /** + * Terminate ID reference solver + */ + static void terminateIDRefSolver(void); +//------------------------- + protected: - static daeIDRefResolverPtrArray _KnownResolvers; + static daeIDRefResolverPtrArray* _KnownResolvers; public: /** @@ -232,14 +258,14 @@ public: * calling @c resolveElement(). * @param id @c daeIDRef to resolve. */ - static void attemptResolveElement(daeIDRef &id, daeString typeNameHint = NULL ); + static DLLSPEC void attemptResolveElement(daeIDRef &id, daeString typeNameHint = NULL ); /** * attemptResolveID iterates through known resolvers * calling resolveID(). * @param id @c daeIDRef to resolve. */ - static void attemptResolveID(daeIDRef &id); + static DLLSPEC void attemptResolveID(daeIDRef &id); public: // Abstract Interface /** @@ -248,20 +274,20 @@ public: // Abstract Interface * @return Returns true if the @c daeIDRefResolver successfully resolved the IDRef, * returns false otherwise. */ - virtual daeBool resolveElement(daeIDRef& IDRef, daeString typeNameHint = NULL ) = 0; + virtual DLLSPEC daeBool resolveElement(daeIDRef& IDRef, daeString typeNameHint = NULL ) = 0; /** * Provides an abstract interface to convert a @c daeElement into a @c daeIDRef. * @param IDRef @c daeIDRef to resolve. * @return Returns true if the @c daeIDRefResolver successfully resolved the element * into a @c daeIDRef, returns false otherwise. */ - virtual daeBool resolveID(daeIDRef& IDRef) = 0; + virtual DLLSPEC daeBool resolveID(daeIDRef& IDRef) = 0; /** * Gets the name of this resolver. * @return Returns the string name. */ - virtual daeString getName() = 0; + virtual DLLSPEC daeString getName() = 0; }; @@ -278,12 +304,12 @@ public: * Constructor * @param database @c daeDatabase for this implementation. */ - daeDefaultIDRefResolver(daeDatabase* database); + DLLSPEC daeDefaultIDRefResolver(daeDatabase* database); /** * Destructor */ - ~daeDefaultIDRefResolver(); + DLLSPEC ~daeDefaultIDRefResolver(); protected: daeDatabase* _database; @@ -292,17 +318,17 @@ public: // Abstract Interface /* * Implements base class abstract routine from @c daeIDRefResolver. */ - virtual daeBool resolveElement(daeIDRef& id, daeString typeNameHint = NULL ); + virtual DLLSPEC daeBool resolveElement(daeIDRef& id, daeString typeNameHint = NULL ); /* * Implements base class abstract routine from @c daeIDRefResolver. */ - virtual daeBool resolveID(daeIDRef& id); + virtual DLLSPEC daeBool resolveID(daeIDRef& id); /* * Implements base class abstract routine from @c daeIDRefResolver. */ - virtual daeString getName(); + virtual DLLSPEC daeString getName(); }; #endif //__DAE_IDREF_H__ diff --git a/Extras/COLLADA_DOM/include/dae/daeIOPlugin.h b/Extras/COLLADA_DOM/include/dae/daeIOPlugin.h index ce4a5f0f7..4d161db93 100644 --- a/Extras/COLLADA_DOM/include/dae/daeIOPlugin.h +++ b/Extras/COLLADA_DOM/include/dae/daeIOPlugin.h @@ -41,7 +41,7 @@ public: * @param topMeta Top meta object to use to create objects to fill the database. * @return Returns DAE_OK if successful, otherwise returns a negative value defined in daeError.h. */ - virtual daeInt setMeta(daeMetaElement *topMeta) = 0; + virtual DLLSPEC daeInt setMeta(daeMetaElement *topMeta) = 0; /** @name Database setup */ //@{ @@ -52,7 +52,7 @@ public: * for storage and queries. * @param database Database to set. */ - virtual void setDatabase(daeDatabase* database) = 0; + virtual DLLSPEC void setDatabase(daeDatabase* database) = 0; //@} @@ -68,7 +68,7 @@ public: * @return Returns DAE_OK if successfully loaded, otherwise returns a negative value defined in daeError.h. * @see @c daeInterface::load(). */ - virtual daeInt read(daeURI& uri, daeString docBuffer) = 0; + virtual DLLSPEC daeInt read(daeURI& uri, daeString docBuffer) = 0; /** @name Operations */ //@{ @@ -81,7 +81,7 @@ public: * @return Returns DAE_OK if success, a negative value defined in daeError.h otherwise. * @see @c daeInterface::saveAS() */ - virtual daeInt write(daeURI *name, daeDocument *document, daeBool replace) = 0; + virtual DLLSPEC daeInt write(daeURI *name, daeDocument *document, daeBool replace) = 0; //@} /** @name Load/Save Progress */ @@ -102,7 +102,7 @@ public: * the bytesParsed and lineNumber counters. The system resets the counter at the beginning of * each file. */ - virtual void getProgress(daeInt* bytesParsed, + virtual DLLSPEC void getProgress(daeInt* bytesParsed, daeInt* lineNumber, daeInt* totalBytes, daeBool reset = false ) = 0; diff --git a/Extras/COLLADA_DOM/include/dae/daeIntegrationObject.h b/Extras/COLLADA_DOM/include/dae/daeIntegrationObject.h index f19dff88a..f33a44b64 100644 --- a/Extras/COLLADA_DOM/include/dae/daeIntegrationObject.h +++ b/Extras/COLLADA_DOM/include/dae/daeIntegrationObject.h @@ -28,11 +28,11 @@ public: /** * Constructor. */ - daeIntegrationObject() { _element = NULL; _object = NULL; _from_state = int_uninitialized; _to_state = int_uninitialized; } + DLLSPEC daeIntegrationObject() { _element = NULL; _object = NULL; _from_state = int_uninitialized; _to_state = int_uninitialized; } /** * Destructor. */ - virtual ~daeIntegrationObject() {} + virtual DLLSPEC ~daeIntegrationObject() {} public: /** A pointer to the element associated with this integration object. */ @@ -74,31 +74,31 @@ protected: * for this integration template. This method sets up the integration object for the DOM class. * @param element A daeSmartRef to the element to convert into the user's structure. */ - virtual void createFrom(daeElementRef element) = 0; + virtual DLLSPEC void createFrom(daeElementRef element) = 0; /** * Defines the code to convert the COLLADA Object Model data structure into your application-specific * data structure. */ - virtual void fromCOLLADA() = 0; + virtual DLLSPEC void fromCOLLADA() = 0; /** * Defines any postprocessing code that must execute after the basic conversion. */ - virtual void fromCOLLADAPostProcess() = 0; + virtual DLLSPEC void fromCOLLADAPostProcess() = 0; /** * Defines code to create the COLLADA Object Model data structure associated with the DOM class for * this template. * @param userData A pointer to the application-specific data structure to convert to the DOM structure. */ - virtual void createTo(void *userData) = 0; + virtual DLLSPEC void createTo(void *userData) = 0; /** * Defines the code to convert your application's data structures back into COLLADA Object Model data * structures. */ - virtual void toCOLLADA() = 0; + virtual DLLSPEC void toCOLLADA() = 0; /** * Defines any postprocessing code that must execute after the basic conversion. */ - virtual void toCOLLADAPostProcess() = 0; + virtual DLLSPEC void toCOLLADAPostProcess() = 0; public: /** diff --git a/Extras/COLLADA_DOM/include/dae/daeInterface.h b/Extras/COLLADA_DOM/include/dae/daeInterface.h index 9271586c1..b347578da 100644 --- a/Extras/COLLADA_DOM/include/dae/daeInterface.h +++ b/Extras/COLLADA_DOM/include/dae/daeInterface.h @@ -38,7 +38,7 @@ public: /** * Destructor. */ - virtual ~daeInterface() {} + virtual DLLSPEC ~daeInterface() {} /** @name Database setup * management of the database that stores the COLLADA elements. @@ -48,14 +48,14 @@ public: * Gets the COLLADA runtime database currently being used. * @return Returns the database currently being used. */ - virtual daeDatabase* getDatabase() = 0; + virtual DLLSPEC daeDatabase* getDatabase() = 0; /** * Sets the COLLADA runtime database to use. * @param database Database that stores the COLLADA data, * if set to NULL a default database is set. * @return Returns @c DAE_OK if success, otherwise, returns a negative error value as defined in daeError.h. */ - virtual daeInt setDatabase(daeDatabase* database) = 0; + virtual DLLSPEC daeInt setDatabase(daeDatabase* database) = 0; //@} /** @name IOPlugin setup @@ -67,7 +67,7 @@ public: * Gets the @c daeIOPlugin currently set. * @return Returns the @c daeIOPlugin currently set on the interface. */ - virtual daeIOPlugin* getIOPlugin() = 0; + virtual DLLSPEC daeIOPlugin* getIOPlugin() = 0; /** * Sets the plugin which will be the interface between the COLLADA runtime database * and the rest of the system. @@ -76,7 +76,7 @@ public: * @param plugin Plugin to use, if set to NULL a default plugin is set. * @return Returns @c DAE_OK if success, otherwise, returns a negative error value as defined in daeError.h. */ - virtual daeInt setIOPlugin(daeIOPlugin* plugin) = 0; + virtual DLLSPEC daeInt setIOPlugin(daeIOPlugin* plugin) = 0; //@} /** @name Integration Library Setup @@ -91,13 +91,13 @@ public: * Gets the integration library register function currently being used. * @return Returns the integration library register function currently being used. */ - virtual daeIntegrationLibraryFunc getIntegrationLibrary() = 0; + virtual DLLSPEC daeIntegrationLibraryFunc getIntegrationLibrary() = 0; /** * Sets the integration library register function. * @param regFunc Integration library register function to use. * @return Returns DAE_OK if success, a negative value defined in daeError.h otherwise. */ - virtual daeInt setIntegrationLibrary(daeIntegrationLibraryFunc regFunc)=0; + virtual DLLSPEC daeInt setIntegrationLibrary(daeIntegrationLibraryFunc regFunc)=0; //@} /** @name Batch import/export operations @@ -114,7 +114,7 @@ public: * and should only be used if the document has already been loaded into memory. * @return Returns DAE_OK if success, a negative value defined in daeError.h otherwise. */ - virtual daeInt load(daeString name, daeString docBuffer = NULL) = 0; + virtual DLLSPEC daeInt load(daeString name, daeString docBuffer = NULL) = 0; /** * Saves a single document/document back to the location it was loaded from. * @param documentName the name of the loaded document to be saved, in most cases this will be an rfc 2396 compliant @@ -123,7 +123,7 @@ public: * error. * @return Returns DAE_OK if success, a negative value defined in daeError.h otherwise. */ - virtual daeInt save(daeString documentName, daeBool replace=true) = 0; + virtual DLLSPEC daeInt save(daeString documentName, daeBool replace=true) = 0; /** * Saves a single document/document back to the location it was loaded from. * @param documentIndex the index of a loaded document to be saved. @@ -131,7 +131,7 @@ public: * error. * @return Returns DAE_OK if success, a negative value defined in daeError.h otherwise. */ - virtual daeInt save(daeUInt documentIndex=0, daeBool replace=true) = 0; + virtual DLLSPEC daeInt save(daeUInt documentIndex=0, daeBool replace=true) = 0; /** * Saves a single document/document from the runtime database by name. * @param name the name to save the document to. The format for this is defined by the IO plugin @@ -144,7 +144,7 @@ public: * error. * @return Returns DAE_OK if success, a negative value defined in daeError.h otherwise. */ - virtual daeInt saveAs(daeString name, daeString documentName, daeBool replace=true) = 0; + virtual DLLSPEC daeInt saveAs(daeString name, daeString documentName, daeBool replace=true) = 0; /** * Saves a single document/document from the runtime database by index. * @param name the name to save the document to. The format for this is defined by the IO plugin @@ -157,21 +157,21 @@ public: * error. * @return Returns DAE_OK if success, a negative value defined in daeError.h otherwise. */ - virtual daeInt saveAs(daeString name, daeUInt documentIndex=0, daeBool replace=true) = 0; + virtual DLLSPEC daeInt saveAs(daeString name, daeUInt documentIndex=0, daeBool replace=true) = 0; /** * Unloads a specific document from the runtime database. * @param name Name of the document to remove. * @return Returns DAE_OK if unloaded successfully, otherwise returns a negative value as defined in daeError.h. * @note This function is not currently implemented. */ - virtual daeInt unload(daeString name) = 0; + virtual DLLSPEC daeInt unload(daeString name) = 0; /** * Unloads all the documents of the runtime database. * This function frees all the @c dom* objects and integration objects created so far, * except the object on which the user still has a smart pointer reference. * @return Returns DAE_OK if all documents unloaded successfully, otherwise returns a negative value as defined in daeError.h. */ - virtual daeInt clear() = 0; + virtual DLLSPEC daeInt clear() = 0; //@} /** @name Import/export progress @@ -193,7 +193,7 @@ public: * the bytesParsed and lineNumber counters. The system resets the counter at the beginning of * each file. */ - virtual void getProgress(daeInt* bytesParsed, + virtual DLLSPEC void getProgress(daeInt* bytesParsed, daeInt* lineNumber, daeInt* totalBytes, daeBool reset = false )=0; @@ -207,12 +207,12 @@ public: * @param name Document name, for the file @c daeIOPlugin, this will be the filename for a file. * @return Returns the @c domCOLLADA root object of the document, or NULL if the document is not found. */ - virtual domCOLLADA* getDom(daeString name) = 0; + virtual DLLSPEC domCOLLADA* getDom(daeString name) = 0; /** * Gets the COLLADA schema version that was used to build the DOM classes * @return a text string with the version number in it (ie: 1.3.1) */ - virtual daeString getDomVersion() = 0; + virtual DLLSPEC daeString getDomVersion() = 0; /** * Sets or inserts a COLLADA tree into the database. * The system creates a default database if none is set and then creates a document @@ -223,7 +223,7 @@ public: * @param dom Root tree. * @return Returns DAE_OK if success, otherwise returns a negative value as defined in daeError.h. */ - virtual daeInt setDom(daeString name, domCOLLADA* dom) = 0; + virtual DLLSPEC daeInt setDom(daeString name, domCOLLADA* dom) = 0; //@} }; diff --git a/Extras/COLLADA_DOM/include/dae/daeMemorySystem.h b/Extras/COLLADA_DOM/include/dae/daeMemorySystem.h index 444f0caed..9a5aa60bd 100644 --- a/Extras/COLLADA_DOM/include/dae/daeMemorySystem.h +++ b/Extras/COLLADA_DOM/include/dae/daeMemorySystem.h @@ -31,14 +31,14 @@ public: * @param n Number of bytes to allocate. * @return Returns the memory allocated if successful, or NULL if not. */ - static daeRawRef malloc(daeString pool, size_t n); + static DLLSPEC daeRawRef malloc(daeString pool, size_t n); /** * Provides a wrapper free with pool argument. * @param pool Pool the memory should be freed from. * @param mem Memory to be freed. */ - static void free(daeString pool, daeRawRef mem); + static DLLSPEC void free(daeString pool, daeRawRef mem); }; // Shorthand for defining new and delete overrides for classes, bad use of macros! diff --git a/Extras/COLLADA_DOM/include/dae/daeMetaAttribute.h b/Extras/COLLADA_DOM/include/dae/daeMetaAttribute.h index 0e05b879f..c053f25a8 100644 --- a/Extras/COLLADA_DOM/include/dae/daeMetaAttribute.h +++ b/Extras/COLLADA_DOM/include/dae/daeMetaAttribute.h @@ -213,7 +213,7 @@ public: * @param e Element from which to apply this attributes offset. * @return Returns the storage associate with this attribute in e. */ - daeChar* getWritableMemory(daeElement* e) { + inline daeChar* getWritableMemory(daeElement* e) { return (daeChar*)e+_offset; } }; @@ -262,6 +262,14 @@ public: * @return Returns true if this attribute is an array type. */ virtual daeBool isArrayAttribute() { return true; } + + /** + * Resolves a reference (if there is one) in the attribute type; + * only useful for reference types. + * @param elem Containing element on which this attribute + * should be resolved. + */ + virtual void resolve(daeElementRef elem); }; diff --git a/Extras/COLLADA_DOM/include/dae/daeMetaCMPolicy.h b/Extras/COLLADA_DOM/include/dae/daeMetaCMPolicy.h index 0eec6b095..83779fbce 100644 --- a/Extras/COLLADA_DOM/include/dae/daeMetaCMPolicy.h +++ b/Extras/COLLADA_DOM/include/dae/daeMetaCMPolicy.h @@ -98,7 +98,9 @@ protected: /** * Destructor. */ +public: // sthomas virtual ~daeMetaCMPolicy(); +protected: // sthomas daeMetaElement * _container; daeMetaCMPolicy * _parent; diff --git a/Extras/COLLADA_DOM/include/dae/daeMetaElement.h b/Extras/COLLADA_DOM/include/dae/daeMetaElement.h index 2eb7a8c83..ded428be4 100644 --- a/Extras/COLLADA_DOM/include/dae/daeMetaElement.h +++ b/Extras/COLLADA_DOM/include/dae/daeMetaElement.h @@ -69,7 +69,8 @@ protected: daeBool _allowsAny; daeBool _innerClass; - static daeTArray > _metas; + static daeTArray > &_metas(); + static daeTArray< daeMetaElement** > &_classMetaPointers(); daeMetaCMPolicy * _contentModel; @@ -77,12 +78,12 @@ public: /** * Constructor */ - daeMetaElement(); + DLLSPEC daeMetaElement(); /** * Destructor */ - ~daeMetaElement(); + DLLSPEC ~daeMetaElement(); public: // public accessors @@ -220,7 +221,7 @@ public: // public accessors * @param s String containing the desired attribute's name. * @return Returns the corresponding @c daeMetaAttribute, or NULL if none found. */ - daeMetaAttribute* getMetaAttribute(daeString s); + DLLSPEC daeMetaAttribute* getMetaAttribute(daeString s); /** * Sets the size in bytes of each instance of this element type. @@ -243,14 +244,14 @@ public: * should only be called by the system as it sets up the Reflective Object System. * @param offset Byte offset for the contents field in the C++ element class. */ - void addContents(daeInt offset); + DLLSPEC void addContents(daeInt offset); /** * Registers with the reflective object system the array that stores the _contents ordering. This method is @em * only for @c daeMetaElement contstuction, and should only be called by the system as it sets up the Reflective * Object System. * @param offset Byte offset for the contents order array in the C++ element class. */ - void addContentsOrder( daeInt offset ); + DLLSPEC void addContentsOrder( daeInt offset ); /** * Gets the attribute associated with the contents meta information. @@ -265,17 +266,18 @@ public: * @param attr Attribute to append to this element types list * of potential attributes. */ - void appendAttribute(daeMetaAttribute* attr); + DLLSPEC void appendAttribute(daeMetaAttribute* attr); /** - * Registers the function that can construct a C++ instance - * of this class. Necessary for the factory system such that C++ + * Registers the function that can construct a C++ instance of this class and the + * pointer to the classes static meta. Necessary for the factory system such that C++ * can still call @c new and the @c vptr will still be initialized even when * constructed via the factory system. * @param func Pointer to a function that does object construction. + * @param metaPtr Pointer to the class static meta pointer. */ - void registerConstructor(daeElementConstructFunctionPtr func) { - _createFunc = func; } + void registerClass(daeElementConstructFunctionPtr func, daeMetaElement** metaPtr = NULL ) { + _createFunc = func; if ( metaPtr != NULL ) _classMetaPointers().append( metaPtr ); } /** * Determines if this element contains attributes @@ -289,7 +291,7 @@ public: * Validates this class to be used by the runtime c++ object model * including factory creation. */ - void validate(); + DLLSPEC void validate(); /** * Places a child element into the parent element where the @@ -298,7 +300,7 @@ public: * @param child Child element to place in the parent. * @return Returns true if the operation was successful, false otherwise. */ - daeBool place(daeElement *parent, daeElement *child, daeUInt *ordinal = NULL); + DLLSPEC daeBool place(daeElement *parent, daeElement *child, daeUInt *ordinal = NULL); /** * Places a child element into the parent element at a specific location * where the calling object is the @c daeMetaElement for the parent element. @@ -309,7 +311,7 @@ public: * @note This should only be called on elements that have a _contents array. Elements without * a _contents array will be placed normally. */ - daeBool placeAt( daeInt index, daeElement *parent, daeElement *child ); + DLLSPEC daeBool placeAt( daeInt index, daeElement *parent, daeElement *child ); /** * Places a child element into the parent element at a specific location which is right * before the marker element. @@ -318,7 +320,7 @@ public: * @param child Child element to place in the parent. * @return Returns true if the operation was successful, false otherwise. */ - daeBool placeBefore( daeElement* marker, daeElement *parent, daeElement *child, daeUInt *ordinal = NULL ); + DLLSPEC daeBool placeBefore( daeElement* marker, daeElement *parent, daeElement *child, daeUInt *ordinal = NULL ); /** * Places a child element into the parent element at a specific location which is right * after the marker element. @@ -327,7 +329,7 @@ public: * @param child Child element to place in the parent. * @return Returns true if the operation was successful, false otherwise. */ - daeBool placeAfter( daeElement* marker, daeElement *parent, daeElement *child, daeUInt *ordinal = NULL ); + DLLSPEC daeBool placeAfter( daeElement* marker, daeElement *parent, daeElement *child, daeUInt *ordinal = NULL ); /** * Removes a child element from its parent element. @@ -335,13 +337,13 @@ public: * @param child Child element to remove. * @return Returns true if the operation was successful, false otherwise. */ - daeBool remove( daeElement *parent, daeElement *child ); + DLLSPEC daeBool remove( daeElement *parent, daeElement *child ); /** * Gets all of the children from an element of this type. * @param parent The element that you want to get the children from. * @param array The return value. An elementref array to append this element's children to. */ - void getChildren( daeElement* parent, daeElementRefArray &array ); + DLLSPEC void getChildren( daeElement* parent, daeElementRefArray &array ); /** * Invokes the factory element creation routine set by @c registerConstructor() @@ -349,7 +351,7 @@ public: * @return Returns a created @c daeElement of appropriate type via the * object creation function and the daeElement::setup() function. */ - daeElementRef create(); + DLLSPEC daeElementRef create(); /** * Looks through the list of potential child elements @@ -359,7 +361,7 @@ public: * @param childElementTypeName Type name to create. * @return Returns the created element if the type was found as a potential child element. */ - daeElementRef create(daeString childElementTypeName); + DLLSPEC daeElementRef create(daeString childElementTypeName); /** * Gets the root of the content model policy tree. @@ -370,16 +372,16 @@ public: * Sets the root of the content model policy tree. * @param cm The root element of the tree of content model policy elements. */ - void setCMRoot( daeMetaCMPolicy *cm ) { _contentModel = cm; } + DLLSPEC void setCMRoot( daeMetaCMPolicy *cm ); public: /** * Releases all of the meta information contained in @c daeMetaElements. */ - static void releaseMetas(); + static DLLSPEC void releaseMetas(); - static const daeTArray > &getAllMetas() { return _metas; } + static const daeTArray > &getAllMetas() { return _metas(); } }; typedef daeSmartRef daeMetaElementRef; diff --git a/Extras/COLLADA_DOM/include/dae/daeSIDResolver.h b/Extras/COLLADA_DOM/include/dae/daeSIDResolver.h index 8b2f82a67..88b8e6541 100644 --- a/Extras/COLLADA_DOM/include/dae/daeSIDResolver.h +++ b/Extras/COLLADA_DOM/include/dae/daeSIDResolver.h @@ -35,7 +35,7 @@ public: /** * An enum describing the status of the SID resolution process. */ - enum ResolveState{ + DLLSPEC enum ResolveState{ /** No target specified */ target_empty, /** target specified but not resolved */ @@ -56,12 +56,12 @@ public: * @param target The target string which needs to be resolved. * @param platform The platform name of the technique to use. A NULL value indicates the common platform. */ - daeSIDResolver( daeElement *container, daeString target, daeString platform = NULL ); + DLLSPEC daeSIDResolver( daeElement *container, daeString target, daeString platform = NULL ); /** * Destructor. */ - ~daeSIDResolver(); + DLLSPEC ~daeSIDResolver(); /** * Gets the target string. @@ -72,7 +72,7 @@ public: * Sets the target string. * @param t The new target string for this resolver. */ - void setTarget( daeString t ); + DLLSPEC void setTarget( daeString t ); /** * Gets the name of the profile to use when resolving. @@ -83,7 +83,7 @@ public: * Sets the profile to use when resolving. * @param p The profile name of the technique to use. A NULL value indicates the common profile. */ - void setProfile( daeString p ); + DLLSPEC void setProfile( daeString p ); /** * Gets a pointer to the @c daeElement that contains the target to resolve. @@ -94,7 +94,7 @@ public: * Sets the pointer to the @c daeElement that contains the target to resolve. * @param element Pointer to the containing @c daeElmement. */ - void setContainer(daeElement* element); + DLLSPEC void setContainer(daeElement* element); /** * Gets the resolution state. @@ -106,14 +106,14 @@ public: * Gets the element that this SID resolves to. * @return Returns the element that the URI resolves to. */ - daeElementRef getElement(); + DLLSPEC daeElementRef getElement(); /** * Gets the value array of the element that the SID resolves to. * @return Returns a pointer to the value array that the SID resolves to * @note The daeSIDResolver can only resolve to this level for daeDoubleArray values. */ - daeDoubleArray *getDoubleArray(); + DLLSPEC daeDoubleArray *getDoubleArray(); /** * Gets a pointer to the particle this target resolved to. @@ -122,7 +122,7 @@ public: * final symbolic name is from the COMMON profile or a cardinal value is specified. * @note The daeSIDResolver assumes the value is a 4x4 matrix if there are 2 cardinal values specified. */ - daeDouble *getDouble(); + DLLSPEC daeDouble *getDouble(); private: diff --git a/Extras/COLLADA_DOM/include/dae/daeStringRef.h b/Extras/COLLADA_DOM/include/dae/daeStringRef.h index e3db034e9..3cc5bce39 100644 --- a/Extras/COLLADA_DOM/include/dae/daeStringRef.h +++ b/Extras/COLLADA_DOM/include/dae/daeStringRef.h @@ -29,7 +29,7 @@ public: DAE_ALLOC; private: daeString _string; - static daeStringTable _stringTable; + static daeStringTable &_stringTable(); public: /** @@ -53,7 +53,7 @@ public: * Constructor that creates from a const char *. * @param string External string to create from. */ - daeStringRef(daeString string); + DLLSPEC daeStringRef(daeString string); /** * Assignment operator. @@ -70,14 +70,14 @@ public: * @param string The daeString to copy. * @return A reference to this object. */ - const daeStringRef& set(daeString string); + DLLSPEC const daeStringRef& set(daeString string); /** * Assignment operator from an external const char *. * @param string The daeString to copy. * @return A reference to this object. */ - const daeStringRef& operator= (daeString string); + DLLSPEC const daeStringRef& operator= (daeString string); /** * Cast operator that returns a const char *. @@ -93,6 +93,13 @@ public: inline bool operator==(const daeStringRef& other) const{ //return (other._string == _string); } return (!strcmp(other._string, _string)); } + +//Contributed by Nus - Wed, 08 Nov 2006 + /** + * Release string table... + */ + static void releaseStringTable(void); +//-------------------- }; typedef daeTArray daeStringRefArray; diff --git a/Extras/COLLADA_DOM/include/dae/daeStringTable.h b/Extras/COLLADA_DOM/include/dae/daeStringTable.h index 9aa69e23c..c8abc6693 100644 --- a/Extras/COLLADA_DOM/include/dae/daeStringTable.h +++ b/Extras/COLLADA_DOM/include/dae/daeStringTable.h @@ -31,7 +31,7 @@ public: // allocate/construct/destruct/deallocate * Constructor which specifies fixed buffer size. * @param stringBufferSize The size of the buffer to create for string allocation. */ - daeStringTable(int stringBufferSize = 1024*1024); + DLLSPEC daeStringTable(int stringBufferSize = 1024*1024); /** * Destructor. @@ -44,12 +44,12 @@ public: // INTERFACE * @param string const char * to copy into the table. * @return Returns an allocated string. */ - daeString allocString(daeString string); + DLLSPEC daeString allocString(daeString string); /** * Clears the storage. */ - void clear(); + DLLSPEC void clear(); private: // MEMBERS size_t _stringBufferSize; diff --git a/Extras/COLLADA_DOM/include/dae/daeTypes.h b/Extras/COLLADA_DOM/include/dae/daeTypes.h index 20d2f3064..d19eb01fa 100644 --- a/Extras/COLLADA_DOM/include/dae/daeTypes.h +++ b/Extras/COLLADA_DOM/include/dae/daeTypes.h @@ -16,6 +16,8 @@ #ifdef WIN32 #include +#elif defined( __GCC__ ) +#include #else #include #endif diff --git a/Extras/COLLADA_DOM/include/dae/daeURI.h b/Extras/COLLADA_DOM/include/dae/daeURI.h index 26a3e1db3..fccd21dab 100644 --- a/Extras/COLLADA_DOM/include/dae/daeURI.h +++ b/Extras/COLLADA_DOM/include/dae/daeURI.h @@ -17,6 +17,18 @@ #include #include +//Contributed by Nus - Wed, 08 Nov 2006 +/** + * Initializing URI. + */ +extern "C" void initializeURI(void); + +/** + * Terminating URI. + */ +extern "C" void terminateURI(void); +//------------------------- + /** * The @c daeURI is a simple class designed to aid in the parsing and resolution * of URI references inside COLLADA elements. @@ -69,7 +81,7 @@ public: /** * An enum describing the status of the URI resolution process. */ - enum ResolveState{ + DLLSPEC enum ResolveState{ /** No URI specified */ uri_empty, /** URI specified but unresolved */ @@ -135,11 +147,11 @@ public: /** * Constructs a daeURI object that contains no URI reference. */ - daeURI(); + DLLSPEC daeURI(); /** * Destructor */ - ~daeURI(); + DLLSPEC ~daeURI(); /** * Constructs a daeURI object that points to the application's current working @@ -149,14 +161,14 @@ public: * workaround to insure that the ApplicationURI is initialized only once and before the user can call * daeURI::setBaseURI() (so when we initialize ApplicationURI there is no chance of wiping out a user value). */ - daeURI(int dummy); + DLLSPEC daeURI(int dummy); /** * Constructs a daeURI object from a URI passed in as a string. * @param URIString Passed to setURI() automatically. * @param nofrag If true, the fragment part of the URI is stripped off before construction. */ - daeURI(daeString URIString, daeBool nofrag = false); + DLLSPEC daeURI(daeString URIString, daeBool nofrag = false); /** * Constructs a daeURI object using a baseURI and a uriString. @@ -164,13 +176,13 @@ public: * @param baseURI Base URI to resolve against. * @param URIString String designating this URI. */ - daeURI(daeURI& baseURI, daeString URIString); + DLLSPEC daeURI(daeURI& baseURI, daeString URIString); /** * Constructs a daeURI object based on a simple copy from an existing @c daeURI. * @param constructFromURI URI to copy into this one. */ - daeURI(daeURI& constructFromURI); + DLLSPEC daeURI(daeURI& constructFromURI); /** * Gets the ID string parsed from the URI. @@ -258,19 +270,19 @@ public: * After @c setURI(), the state is set to @c uri_loaded. * @param uri String to use to configure this URI. */ - void setURI(daeString uri); + DLLSPEC void setURI(daeString uri); /** * Gets the URI stored in the daeURI. * @return Returns the full URI String, from uriString. */ - daeString getURI() const; + DLLSPEC daeString getURI() const; /** * Gets the original URI String as originally set, not flattened against the base URI. * @return Returns the original URI String as originally set, not flattened against the base URI. */ - daeString getOriginalURI() const; + DLLSPEC daeString getOriginalURI() const; /** * Gets if this URI resolves to an element that is not contained in the same document as the URI. @@ -284,14 +296,14 @@ public: * This function can effectively force a load of a file, perform * a database query, and so on, based on the @c daeURIResolver plugins implemented. */ - void resolveElement(daeString typeNameHint = NULL); + DLLSPEC void resolveElement(daeString typeNameHint = NULL); /** * Configures the uriString for this @c daeURI based on the element set in element. * Uses the element's base URI and ID information to configure * the URI string. */ - void resolveURI(); + DLLSPEC void resolveURI(); /** * Flattens this URI with base URI to obtain a useable @@ -301,27 +313,27 @@ public: * @note After @c validate(), state is @c uri_pending as it is awaiting a call to * @c resolveElement(). */ - void validate(daeURI* baseURI = NULL); + DLLSPEC void validate(daeURI* baseURI = NULL); /** * Copies the URI specified in from into @c this. * Performs a simple copy without validating the URI. * @param from URI to copy from. */ - void copyFrom(daeURI& from); + DLLSPEC void copyFrom(daeURI& from); /** * Outputs all components of this URI to stderr. * Useful for debugging URIs, this outputs each part of the URI separately. */ - void print(); + DLLSPEC void print(); /** * Makes the "originalURI" in this URI relative to some other uri * @param uri the URI to make "this" relative to. * @note this is experimental and not fully tested, please don't use in critical code yet. */ - int makeRelativeTo(daeURI* uri); + DLLSPEC int makeRelativeTo(daeURI* uri); /** * Comparison operator. @@ -330,6 +342,13 @@ public: inline bool operator==(const daeURI& other) const{ return (!strcmp(other.getURI(), getURI())); } + daeURI &operator=( const daeURI& other) { + setURI(other.getOriginalURI()); + element = other.element; + state = other.state; + return *this; + } + private: /** * Resets this URI; frees all string references @@ -349,7 +368,7 @@ public: * @param size The size of the buffer. * @return Returns true for success, false if the path exceeded the size of the user provided buffer. */ - daeBool getPath(daeChar *dest, daeInt size); + DLLSPEC daeBool getPath(daeChar *dest, daeInt size); public: /** @@ -357,19 +376,19 @@ public: * authority, and path in the case of top-level relative URIs. * @param uri Base URI to use as the default application URI. */ - static void setBaseURI(daeURI& uri); + static DLLSPEC void setBaseURI(daeURI& uri); /** * Gets the application's default base URI. * @return Returns the base URI used in the case of top-level relative URIs. */ - static daeURI* getBaseURI(); + static DLLSPEC daeURI* getBaseURI(); /** * Performs RFC2396 path normalization. * @param path Path to be normalized. */ - static void normalizeURIPath(char *path); + static DLLSPEC void normalizeURIPath(char *path); }; @@ -393,15 +412,15 @@ public: /** * This base constructor appends @c this to KnownResolvers list. */ - daeURIResolver(); + DLLSPEC daeURIResolver(); /** * Destructor */ - virtual ~daeURIResolver(); + virtual DLLSPEC ~daeURIResolver(); protected: - static daeURIResolverPtrArray _KnownResolvers; + static daeURIResolverPtrArray &_KnownResolvers(); static daeBool _loadExternalDocuments; @@ -412,7 +431,7 @@ public: * @c resolveElement(). * @param uri @c daeURI to resolve. */ - static void attemptResolveElement(daeURI &uri, daeString typeNameHint = NULL); + static DLLSPEC void attemptResolveElement(daeURI &uri, daeString typeNameHint = NULL); /** * Iterates through known resolvers @@ -420,7 +439,7 @@ public: * @c resolveURI(). * @param uri @c daeURI to resolve. */ - static void attemptResolveURI(daeURI &uri); + static DLLSPEC void attemptResolveURI(daeURI &uri); /** * Sets a flag that tells the URI resolver whether or not to load a separate document if a URI @@ -428,7 +447,7 @@ public: * @param load Set to true if you want the URI Resolver to automatically load other documents to * resolve URIs. */ - static void setAutoLoadExternalDocuments( daeBool load ) { _loadExternalDocuments = load; } + static DLLSPEC void setAutoLoadExternalDocuments( daeBool load ); /** * Gets a flag that tells if the URI resolver is set to load an external document if a URI @@ -436,7 +455,7 @@ public: * @return Returns true if the resolver will automatically load documents to resolve a URI. * False otherwise. */ - static daeBool getAutoLoadExternalDocuments() { return _loadExternalDocuments; } + static DLLSPEC daeBool getAutoLoadExternalDocuments(); public: // Abstract Interface /** @@ -445,20 +464,20 @@ public: // Abstract Interface * @return Returns true if the @c daeURIResolver successfully resolved the URI, * returns false otherwise. */ - virtual daeBool resolveElement(daeURI& uri, daeString typeNameHint = NULL) = 0; + virtual DLLSPEC daeBool resolveElement(daeURI& uri, daeString typeNameHint = NULL) = 0; /** * Provides an abstract interface for converting a @c daeElement into a @c daeURI * @param uri @c daeURI to resolve. * @return Returns true if the @c daeURIResolver successfully resolved the element * into a URI, returns false otherwise. */ - virtual daeBool resolveURI(daeURI& uri) = 0; + virtual DLLSPEC daeBool resolveURI(daeURI& uri) = 0; /** * Gets the name of this resolver. * @return Returns the resolver name as a string. */ - virtual daeString getName() = 0; + virtual DLLSPEC daeString getName() = 0; /** * Determines whether this resolver supports a particular protocol @@ -467,7 +486,7 @@ public: // Abstract Interface * @return Returns true if this @c daeURIResolver understands how to resolve using this protocol, returns * false otherwise */ - virtual daeBool isProtocolSupported(daeString protocol) = 0; + virtual DLLSPEC daeBool isProtocolSupported(daeString protocol) = 0; /** * Determines whether this resolver supports the given extension. @@ -476,7 +495,7 @@ public: // Abstract Interface * @param extension Extension string found after the '.' in the file name. * @return Returns true if the given extension is supported, returns false otherwise. */ - virtual daeBool isExtensionSupported(daeString extension) = 0; + virtual DLLSPEC daeBool isExtensionSupported(daeString extension) = 0; }; diff --git a/Extras/COLLADA_DOM/include/dae/daeWin32Platform.h b/Extras/COLLADA_DOM/include/dae/daeWin32Platform.h index 00115ffcf..d521e43cc 100644 --- a/Extras/COLLADA_DOM/include/dae/daeWin32Platform.h +++ b/Extras/COLLADA_DOM/include/dae/daeWin32Platform.h @@ -14,14 +14,14 @@ #ifndef __DAE_WIN32_PLATFORM_H__ #define __DAE_WIN32_PLATFORM_H__ -#define PLATFORM_INT8 char -#define PLATFORM_INT16 short -#define PLATFORM_INT32 int -#define PLATFORM_INT64 long -#define PLATFORM_UINT8 unsigned char -#define PLATFORM_UINT16 unsigned short -#define PLATFORM_UINT32 unsigned int -#define PLATFORM_UINT64 unsigned long +#define PLATFORM_INT8 __int8 +#define PLATFORM_INT16 __int16 +#define PLATFORM_INT32 __int32 +#define PLATFORM_INT64 __int64 +#define PLATFORM_UINT8 unsigned __int8 +#define PLATFORM_UINT16 unsigned __int16 +#define PLATFORM_UINT32 unsigned __int32 +#define PLATFORM_UINT64 unsigned __int64 #define PLATFORM_FLOAT32 float #define PLATFORM_FLOAT64 double @@ -29,4 +29,16 @@ typedef int intptr_t; #endif +#ifdef DOM_DYNAMIC + +#ifdef DOM_EXPORT +#define DLLSPEC __declspec( dllexport ) +#else +#define DLLSPEC __declspec( dllimport ) +#endif + +#else +#define DLLSPEC +#endif + #endif diff --git a/Extras/COLLADA_DOM/include/dae/domAny.h b/Extras/COLLADA_DOM/include/dae/domAny.h index a301a6427..6e3be7ec3 100644 --- a/Extras/COLLADA_DOM/include/dae/domAny.h +++ b/Extras/COLLADA_DOM/include/dae/domAny.h @@ -113,7 +113,7 @@ public: //METHODS * @param attrValue String-based value to apply to the attribute. * @return Returns true if the attribute was created and the value was set, false otherwise. */ - virtual daeBool setAttribute(daeString attrName, daeString attrValue); + virtual DLLSPEC daeBool setAttribute(daeString attrName, daeString attrValue); public: // STATIC METHODS /** @@ -121,14 +121,14 @@ public: // STATIC METHODS * @param bytes The size allocated for this instance. * @return a daeElementRef referencing an instance of this object. */ - static daeElementRef create(daeInt bytes); + static DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * @return A daeMetaElement describing this COLLADA element. * @remarks Unlike other dom* elements, domAny will always create a new daeMetaElement when this * function is called. */ - static daeMetaElement* registerElement(); + static DLLSPEC daeMetaElement* registerElement(); }; diff --git a/Extras/COLLADA_DOM/include/modules/daeLIBXMLPlugin.h b/Extras/COLLADA_DOM/include/modules/daeLIBXMLPlugin.h index d6810f154..ea829a6cf 100644 --- a/Extras/COLLADA_DOM/include/modules/daeLIBXMLPlugin.h +++ b/Extras/COLLADA_DOM/include/modules/daeLIBXMLPlugin.h @@ -15,8 +15,6 @@ #define __DAE_LIBXMLPLUGIN__ #include -#include -#include #include #include #include @@ -26,6 +24,9 @@ class daeIntegrationObject; class daeMetaElement; class daeDocument; +struct _xmlTextReader; +struct _xmlTextWriter; + /** * The @c daeLIBXMLPlugin class derives from @c daeIOPlugin and implements an XML * input/output backend using libxml2 as a parser. When using this plugin, daeInterface::load() expects @@ -41,34 +42,33 @@ public: /** * Constructor. */ - daeLIBXMLPlugin(); + DLLSPEC daeLIBXMLPlugin(); /** * Destructor. */ - virtual ~daeLIBXMLPlugin(); - virtual daeInt setMeta(daeMetaElement *topMeta); + virtual DLLSPEC ~daeLIBXMLPlugin(); + virtual DLLSPEC daeInt setMeta(daeMetaElement *topMeta); // Database setup - virtual void setDatabase(daeDatabase* database); + virtual DLLSPEC void setDatabase(daeDatabase* database); // Operations - virtual daeInt read(daeURI& uri, daeString docBuffer); - virtual daeInt write(daeURI *name, daeDocument *document, daeBool replace); + virtual DLLSPEC daeInt read(daeURI& uri, daeString docBuffer); + virtual DLLSPEC daeInt write(daeURI *name, daeDocument *document, daeBool replace); - // Parsing support - - daeElementRef startParse(daeMetaElement* thisMetaElement, xmlTextReaderPtr reader); - daeElementRef nextElement(daeMetaElement* thisMetaElement, xmlTextReaderPtr reader); + // Parsing support + DLLSPEC daeElementRef startParse(daeMetaElement* thisMetaElement, _xmlTextReader *reader); + DLLSPEC daeElementRef nextElement(daeMetaElement* thisMetaElement, _xmlTextReader *reader); // Stats - virtual void getProgress(daeInt* bytesParsed, + virtual DLLSPEC void getProgress(daeInt* bytesParsed, daeInt* lineNumber, daeInt* totalBytes, daeBool reset = false ); private: // xmlTextReaderPtr reader; - xmlTextWriterPtr writer; + _xmlTextWriter *writer; typedef struct { @@ -85,8 +85,8 @@ private: void writeElement( daeElement* element ); void writeAttribute( daeMetaAttribute* attr, daeElement* element, daeInt attrNum = -1 ); - void readAttributes( daeElement *element, xmlTextReaderPtr reader ); - void readValue( daeElement *element, xmlTextReaderPtr reader ); + void readAttributes( daeElement *element, _xmlTextReader *reader ); + void readValue( daeElement *element, _xmlTextReader *reader ); }; #endif //__DAE_XMLPLUGIN__ diff --git a/Extras/COLLADA_DOM/include/modules/daeLIBXMLResolver.h b/Extras/COLLADA_DOM/include/modules/daeLIBXMLResolver.h index 005f11d18..c14733a4c 100644 --- a/Extras/COLLADA_DOM/include/modules/daeLIBXMLResolver.h +++ b/Extras/COLLADA_DOM/include/modules/daeLIBXMLResolver.h @@ -30,22 +30,22 @@ public: * @param database The @c daeDatabase used. * @param plugin The @c daeIOPlugin used. */ - daeLIBXMLResolver(daeDatabase* database, daeIOPlugin* plugin); + DLLSPEC daeLIBXMLResolver(daeDatabase* database, daeIOPlugin* plugin); /** * Destructor. */ - ~daeLIBXMLResolver(); + DLLSPEC ~daeLIBXMLResolver(); protected: daeDatabase* _database; daeIOPlugin* _plugin; -public: + public: // Abstract Interface - virtual daeBool resolveElement(daeURI& uri, daeString typeNameHint = NULL); - virtual daeBool resolveURI(daeURI& uri); - virtual daeString getName(); - virtual daeBool isProtocolSupported(daeString protocol); - virtual daeBool isExtensionSupported(daeString extension); + virtual DLLSPEC daeBool resolveElement(daeURI& uri, daeString typeNameHint = NULL); + virtual DLLSPEC daeBool resolveURI(daeURI& uri); + virtual DLLSPEC daeString getName(); + virtual DLLSPEC daeBool isProtocolSupported(daeString protocol); + virtual DLLSPEC daeBool isExtensionSupported(daeString extension); }; #endif //__DAE_XMLRESOLVER__ diff --git a/Extras/COLLADA_DOM/include/modules/daeSTLDatabase.h b/Extras/COLLADA_DOM/include/modules/daeSTLDatabase.h index 254b296cf..342252318 100644 --- a/Extras/COLLADA_DOM/include/modules/daeSTLDatabase.h +++ b/Extras/COLLADA_DOM/include/modules/daeSTLDatabase.h @@ -35,97 +35,59 @@ public: /** * Constructor */ - daeSTLDatabase(); + DLLSPEC daeSTLDatabase(); /** * Destructor */ - virtual ~daeSTLDatabase(); + virtual DLLSPEC ~daeSTLDatabase(); public: // Element Types of all Elements - virtual daeUInt getTypeCount(); - virtual daeString getTypeName(daeUInt index); - virtual daeInt setMeta(daeMetaElement *_topMeta); + virtual DLLSPEC daeUInt getTypeCount(); + virtual DLLSPEC daeString getTypeName(daeUInt index); + virtual DLLSPEC daeInt setMeta(daeMetaElement *_topMeta); // Documents - virtual daeInt insertDocument(const char *name, daeElement* dom, daeDocument** document = NULL); - virtual daeInt insertDocument(daeString name, daeDocument** document = NULL); - virtual daeInt createDocument(daeString name, daeElement* dom, daeDocument** document = NULL); - virtual daeInt createDocument(daeString name, daeDocument** document = NULL); - virtual daeInt insertDocument( daeDocument *c ); + virtual DLLSPEC daeInt insertDocument(const char *name, daeElement* dom, daeDocument** document = NULL); + virtual DLLSPEC daeInt insertDocument(daeString name, daeDocument** document = NULL); + virtual DLLSPEC daeInt createDocument(daeString name, daeElement* dom, daeDocument** document = NULL); + virtual DLLSPEC daeInt createDocument(daeString name, daeDocument** document = NULL); + virtual DLLSPEC daeInt insertDocument( daeDocument *c ); - virtual daeInt removeDocument(daeDocument* document); - virtual daeUInt getDocumentCount(); - virtual daeDocument* getDocument(daeUInt index); - virtual daeDocument* getDocument(daeString name); - virtual daeString getDocumentName(daeUInt index); - virtual daeBool isDocumentLoaded(daeString name); + virtual DLLSPEC daeInt removeDocument(daeDocument* document); + virtual DLLSPEC daeUInt getDocumentCount(); + virtual DLLSPEC daeDocument* getDocument(daeUInt index); + virtual DLLSPEC daeDocument* getDocument(daeString name); + virtual DLLSPEC daeString getDocumentName(daeUInt index); + virtual DLLSPEC daeBool isDocumentLoaded(daeString name); // Elements - virtual daeInt insertElement(daeDocument* document, daeElement* element); - virtual daeInt removeElement(daeDocument* document, daeElement* element); - virtual daeInt clear(); - virtual void validate(); - virtual daeUInt getElementCount(daeString name = NULL, - daeString type = NULL, - daeString file = NULL); - virtual daeInt getElement(daeElement** pElement, - daeInt index, - daeString name = NULL, - daeString type = NULL, - daeString file = NULL); + virtual DLLSPEC daeInt insertElement(daeDocument* document, daeElement* element); + virtual DLLSPEC daeInt removeElement(daeDocument* document, daeElement* element); + virtual DLLSPEC daeInt clear(); + virtual DLLSPEC void validate(); + virtual DLLSPEC daeUInt getElementCount(daeString name = NULL, + daeString type = NULL, + daeString file = NULL); + virtual DLLSPEC daeInt getElement(daeElement** pElement, + daeInt index, + daeString name = NULL, + daeString type = NULL, + daeString file = NULL); // Generic Query - virtual daeInt queryElement(daeElement** pElement, daeString genericQuery); + virtual DLLSPEC daeInt queryElement(daeElement** pElement, daeString genericQuery); private: - /** - * A struct to describe a cell in the STL run-time database. - */ - typedef struct - { - daeElement* element; - daeString name; - daeString type; - daeDocument *document; - } DAE_STL_DATABASE_CELL; - - /** - * Sorting structure. - */ - struct daeSTLDatabaseLess: public std::binary_function - { - bool operator() (const DAE_STL_DATABASE_CELL& x, const DAE_STL_DATABASE_CELL& y) const - { - int res = strcmp(x.type,y.type); - if (res != 0) - return res<0; - else - return strcmp(x.name,y.name)<0; - } - }; - - /** - * Sorting structure. - */ - struct daeSTLDatabaseTypeLess: public std::binary_function - { - bool operator() (const DAE_STL_DATABASE_CELL& x, const DAE_STL_DATABASE_CELL& y) const - { - int res = strcmp(x.type,y.type); - return res<0; - } - }; + std::map< std::string, std::vector< daeElement* > > elements; //map for all elements keyed on Type + std::multimap< std::string, daeElement* > elementsIDMap; //map for elements keyed on ID - std::vector elements; - std::multimap< std::string, DAE_STL_DATABASE_CELL> elementsIDMap; std::vector documents; daeMetaElement* topMeta; daeInt insertChildren( daeDocument *c, daeElement *element ); daeInt removeChildren( daeDocument *c, daeElement *element ); - }; #endif // __DAE_STLDATABASE__ diff --git a/Extras/COLLADA_DOM/include/modules/stdErrPlugin.h b/Extras/COLLADA_DOM/include/modules/stdErrPlugin.h index 770cc5ae2..a754384fa 100644 --- a/Extras/COLLADA_DOM/include/modules/stdErrPlugin.h +++ b/Extras/COLLADA_DOM/include/modules/stdErrPlugin.h @@ -20,7 +20,7 @@ * The @c stdErrPlugin class is the default implementation of daeErrorHandler. It routes the Error * and Warning messaged to stdout. */ -class stdErrPlugin : public daeErrorHandler { +class DLLSPEC stdErrPlugin : public daeErrorHandler { public: stdErrPlugin(); virtual ~stdErrPlugin(); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domAccessor.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domAccessor.cpp index 00151c902..47e0b626e 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domAccessor.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domAccessor.cpp @@ -36,7 +36,7 @@ domAccessor::registerElement() _Meta = new daeMetaElement; _Meta->setName( "accessor" ); - _Meta->registerConstructor(domAccessor::create); + _Meta->registerClass(domAccessor::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domAnimation.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domAnimation.cpp index 79a6f7df5..d2ca104aa 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domAnimation.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domAnimation.cpp @@ -35,7 +35,7 @@ domAnimation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "animation" ); - _Meta->registerConstructor(domAnimation::create); + _Meta->registerClass(domAnimation::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domAnimation_clip.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domAnimation_clip.cpp index 9bd566848..025f2faac 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domAnimation_clip.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domAnimation_clip.cpp @@ -35,7 +35,7 @@ domAnimation_clip::registerElement() _Meta = new daeMetaElement; _Meta->setName( "animation_clip" ); - _Meta->registerConstructor(domAnimation_clip::create); + _Meta->registerClass(domAnimation_clip::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domAsset.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domAsset.cpp index dbe28b7d8..b34123ff4 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domAsset.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domAsset.cpp @@ -35,7 +35,7 @@ domAsset::registerElement() _Meta = new daeMetaElement; _Meta->setName( "asset" ); - _Meta->registerConstructor(domAsset::create); + _Meta->registerClass(domAsset::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -120,7 +120,7 @@ domAsset::domContributor::registerElement() _Meta = new daeMetaElement; _Meta->setName( "contributor" ); - _Meta->registerConstructor(domAsset::domContributor::create); + _Meta->registerClass(domAsset::domContributor::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -182,7 +182,7 @@ domAsset::domContributor::domAuthor::registerElement() _Meta = new daeMetaElement; _Meta->setName( "author" ); - _Meta->registerConstructor(domAsset::domContributor::domAuthor::create); + _Meta->registerClass(domAsset::domContributor::domAuthor::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -217,7 +217,7 @@ domAsset::domContributor::domAuthoring_tool::registerElement() _Meta = new daeMetaElement; _Meta->setName( "authoring_tool" ); - _Meta->registerConstructor(domAsset::domContributor::domAuthoring_tool::create); + _Meta->registerClass(domAsset::domContributor::domAuthoring_tool::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -252,7 +252,7 @@ domAsset::domContributor::domComments::registerElement() _Meta = new daeMetaElement; _Meta->setName( "comments" ); - _Meta->registerConstructor(domAsset::domContributor::domComments::create); + _Meta->registerClass(domAsset::domContributor::domComments::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -287,7 +287,7 @@ domAsset::domContributor::domCopyright::registerElement() _Meta = new daeMetaElement; _Meta->setName( "copyright" ); - _Meta->registerConstructor(domAsset::domContributor::domCopyright::create); + _Meta->registerClass(domAsset::domContributor::domCopyright::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -323,7 +323,7 @@ domAsset::domContributor::domSource_data::registerElement() _Meta = new daeMetaElement; _Meta->setName( "source_data" ); - _Meta->registerConstructor(domAsset::domContributor::domSource_data::create); + _Meta->registerClass(domAsset::domContributor::domSource_data::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -358,7 +358,7 @@ domAsset::domCreated::registerElement() _Meta = new daeMetaElement; _Meta->setName( "created" ); - _Meta->registerConstructor(domAsset::domCreated::create); + _Meta->registerClass(domAsset::domCreated::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -393,7 +393,7 @@ domAsset::domKeywords::registerElement() _Meta = new daeMetaElement; _Meta->setName( "keywords" ); - _Meta->registerConstructor(domAsset::domKeywords::create); + _Meta->registerClass(domAsset::domKeywords::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -428,7 +428,7 @@ domAsset::domModified::registerElement() _Meta = new daeMetaElement; _Meta->setName( "modified" ); - _Meta->registerConstructor(domAsset::domModified::create); + _Meta->registerClass(domAsset::domModified::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -463,7 +463,7 @@ domAsset::domRevision::registerElement() _Meta = new daeMetaElement; _Meta->setName( "revision" ); - _Meta->registerConstructor(domAsset::domRevision::create); + _Meta->registerClass(domAsset::domRevision::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -498,7 +498,7 @@ domAsset::domSubject::registerElement() _Meta = new daeMetaElement; _Meta->setName( "subject" ); - _Meta->registerConstructor(domAsset::domSubject::create); + _Meta->registerClass(domAsset::domSubject::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -533,7 +533,7 @@ domAsset::domTitle::registerElement() _Meta = new daeMetaElement; _Meta->setName( "title" ); - _Meta->registerConstructor(domAsset::domTitle::create); + _Meta->registerClass(domAsset::domTitle::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -568,7 +568,7 @@ domAsset::domUnit::registerElement() _Meta = new daeMetaElement; _Meta->setName( "unit" ); - _Meta->registerConstructor(domAsset::domUnit::create); + _Meta->registerClass(domAsset::domUnit::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -618,7 +618,7 @@ domAsset::domUp_axis::registerElement() _Meta = new daeMetaElement; _Meta->setName( "up_axis" ); - _Meta->registerConstructor(domAsset::domUp_axis::create); + _Meta->registerClass(domAsset::domUp_axis::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domBind_material.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domBind_material.cpp index dd5b84f0b..baa8a565d 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domBind_material.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domBind_material.cpp @@ -35,7 +35,7 @@ domBind_material::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bind_material" ); - _Meta->registerConstructor(domBind_material::create); + _Meta->registerClass(domBind_material::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -90,7 +90,7 @@ domBind_material::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domBind_material::domTechnique_common::create); + _Meta->registerClass(domBind_material::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domBool_array.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domBool_array.cpp index 47abd6078..e462d731b 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domBool_array.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domBool_array.cpp @@ -35,7 +35,7 @@ domBool_array::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool_array" ); - _Meta->registerConstructor(domBool_array::create); + _Meta->registerClass(domBool_array::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domBox.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domBox.cpp index 50f6a2f7a..c371769e9 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domBox.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domBox.cpp @@ -35,7 +35,7 @@ domBox::registerElement() _Meta = new daeMetaElement; _Meta->setName( "box" ); - _Meta->registerConstructor(domBox::create); + _Meta->registerClass(domBox::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -78,7 +78,7 @@ domBox::domHalf_extents::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half_extents" ); - _Meta->registerConstructor(domBox::domHalf_extents::create); + _Meta->registerClass(domBox::domHalf_extents::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCOLLADA.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCOLLADA.cpp index 43ff6d406..9a35dc6be 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCOLLADA.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCOLLADA.cpp @@ -30,7 +30,6 @@ domCOLLADA::create(daeInt bytes) ref->attrXmlns.setContainer( (domCOLLADA*)ref ); ref->attrXml_base.setContainer( (domCOLLADA*)ref ); ref->_meta = _Meta; - ref->_validAttributeArray.setCount( ref->_meta->getMetaAttributes().getCount() ); ref->setAttribute("version", COLLADA_VERSION ); ref->setAttribute("xmlns", COLLADA_NAMESPACE ); ref->_meta = NULL; @@ -45,7 +44,7 @@ domCOLLADA::registerElement() _Meta = new daeMetaElement; _Meta->setName( "COLLADA" ); - _Meta->registerConstructor(domCOLLADA::create); + _Meta->registerClass(domCOLLADA::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -227,7 +226,7 @@ domCOLLADA::domScene::registerElement() _Meta = new daeMetaElement; _Meta->setName( "scene" ); - _Meta->registerConstructor(domCOLLADA::domScene::create); + _Meta->registerClass(domCOLLADA::domScene::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCamera.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCamera.cpp index a9b5bb902..8d49b9d3a 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCamera.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCamera.cpp @@ -35,7 +35,7 @@ domCamera::registerElement() _Meta = new daeMetaElement; _Meta->setName( "camera" ); - _Meta->registerConstructor(domCamera::create); + _Meta->registerClass(domCamera::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -112,7 +112,7 @@ domCamera::domOptics::registerElement() _Meta = new daeMetaElement; _Meta->setName( "optics" ); - _Meta->registerConstructor(domCamera::domOptics::create); + _Meta->registerClass(domCamera::domOptics::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -162,7 +162,7 @@ domCamera::domOptics::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domCamera::domOptics::domTechnique_common::create); + _Meta->registerClass(domCamera::domOptics::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -210,7 +210,7 @@ domCamera::domOptics::domTechnique_common::domOrthographic::registerElement() _Meta = new daeMetaElement; _Meta->setName( "orthographic" ); - _Meta->registerConstructor(domCamera::domOptics::domTechnique_common::domOrthographic::create); + _Meta->registerClass(domCamera::domOptics::domTechnique_common::domOrthographic::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -312,7 +312,7 @@ domCamera::domOptics::domTechnique_common::domPerspective::registerElement() _Meta = new daeMetaElement; _Meta->setName( "perspective" ); - _Meta->registerConstructor(domCamera::domOptics::domTechnique_common::domPerspective::create); + _Meta->registerClass(domCamera::domOptics::domTechnique_common::domPerspective::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -414,7 +414,7 @@ domCamera::domImager::registerElement() _Meta = new daeMetaElement; _Meta->setName( "imager" ); - _Meta->registerConstructor(domCamera::domImager::create); + _Meta->registerClass(domCamera::domImager::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCapsule.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCapsule.cpp index 32b27c335..b607e6de8 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCapsule.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCapsule.cpp @@ -35,7 +35,7 @@ domCapsule::registerElement() _Meta = new daeMetaElement; _Meta->setName( "capsule" ); - _Meta->registerConstructor(domCapsule::create); + _Meta->registerClass(domCapsule::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -84,7 +84,7 @@ domCapsule::domHeight::registerElement() _Meta = new daeMetaElement; _Meta->setName( "height" ); - _Meta->registerConstructor(domCapsule::domHeight::create); + _Meta->registerClass(domCapsule::domHeight::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -119,7 +119,7 @@ domCapsule::domRadius::registerElement() _Meta = new daeMetaElement; _Meta->setName( "radius" ); - _Meta->registerConstructor(domCapsule::domRadius::create); + _Meta->registerClass(domCapsule::domRadius::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_connect_param.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_connect_param.cpp index ef5b098e1..4e743d931 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_connect_param.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_connect_param.cpp @@ -35,7 +35,7 @@ domCg_connect_param::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_connect_param" ); - _Meta->registerConstructor(domCg_connect_param::create); + _Meta->registerClass(domCg_connect_param::create, &_Meta); // Add attribute: ref diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_newarray_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_newarray_type.cpp index 6668a3bb0..454932a5e 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_newarray_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_newarray_type.cpp @@ -35,7 +35,7 @@ domCg_newarray_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_newarray_type" ); - _Meta->registerConstructor(domCg_newarray_type::create); + _Meta->registerClass(domCg_newarray_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -65,7 +65,7 @@ domCg_newarray_type::registerElement() mea->setElementType( domCg_connect_param::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domCg_newarray_type,_contents)); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_newparam.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_newparam.cpp index dad3c2dbd..ba30c2d93 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_newparam.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_newparam.cpp @@ -35,7 +35,7 @@ domCg_newparam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_newparam" ); - _Meta->registerConstructor(domCg_newparam::create); + _Meta->registerClass(domCg_newparam::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -124,7 +124,7 @@ domCg_newparam::domSemantic::registerElement() _Meta = new daeMetaElement; _Meta->setName( "semantic" ); - _Meta->registerConstructor(domCg_newparam::domSemantic::create); + _Meta->registerClass(domCg_newparam::domSemantic::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -159,7 +159,7 @@ domCg_newparam::domModifier::registerElement() _Meta = new daeMetaElement; _Meta->setName( "modifier" ); - _Meta->registerConstructor(domCg_newparam::domModifier::create); + _Meta->registerClass(domCg_newparam::domModifier::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_param_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_param_type.cpp index e572f144e..d62bf7616 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_param_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_param_type.cpp @@ -35,7 +35,7 @@ domCg_param_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_param_type" ); - _Meta->registerConstructor(domCg_param_type::create); + _Meta->registerClass(domCg_param_type::create, &_Meta); _Meta->setIsTransparent( true ); daeMetaCMPolicy *cm = NULL; @@ -755,7 +755,7 @@ domCg_param_type::domBool::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool" ); - _Meta->registerConstructor(domCg_param_type::domBool::create); + _Meta->registerClass(domCg_param_type::domBool::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -790,7 +790,7 @@ domCg_param_type::domBool1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool1" ); - _Meta->registerConstructor(domCg_param_type::domBool1::create); + _Meta->registerClass(domCg_param_type::domBool1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -825,7 +825,7 @@ domCg_param_type::domBool2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2" ); - _Meta->registerConstructor(domCg_param_type::domBool2::create); + _Meta->registerClass(domCg_param_type::domBool2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -860,7 +860,7 @@ domCg_param_type::domBool3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3" ); - _Meta->registerConstructor(domCg_param_type::domBool3::create); + _Meta->registerClass(domCg_param_type::domBool3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -895,7 +895,7 @@ domCg_param_type::domBool4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4" ); - _Meta->registerConstructor(domCg_param_type::domBool4::create); + _Meta->registerClass(domCg_param_type::domBool4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -930,7 +930,7 @@ domCg_param_type::domBool1x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool1x1" ); - _Meta->registerConstructor(domCg_param_type::domBool1x1::create); + _Meta->registerClass(domCg_param_type::domBool1x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -965,7 +965,7 @@ domCg_param_type::domBool1x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool1x2" ); - _Meta->registerConstructor(domCg_param_type::domBool1x2::create); + _Meta->registerClass(domCg_param_type::domBool1x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1000,7 +1000,7 @@ domCg_param_type::domBool1x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool1x3" ); - _Meta->registerConstructor(domCg_param_type::domBool1x3::create); + _Meta->registerClass(domCg_param_type::domBool1x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1035,7 +1035,7 @@ domCg_param_type::domBool1x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool1x4" ); - _Meta->registerConstructor(domCg_param_type::domBool1x4::create); + _Meta->registerClass(domCg_param_type::domBool1x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1070,7 +1070,7 @@ domCg_param_type::domBool2x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2x1" ); - _Meta->registerConstructor(domCg_param_type::domBool2x1::create); + _Meta->registerClass(domCg_param_type::domBool2x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1105,7 +1105,7 @@ domCg_param_type::domBool2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2x2" ); - _Meta->registerConstructor(domCg_param_type::domBool2x2::create); + _Meta->registerClass(domCg_param_type::domBool2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1140,7 +1140,7 @@ domCg_param_type::domBool2x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2x3" ); - _Meta->registerConstructor(domCg_param_type::domBool2x3::create); + _Meta->registerClass(domCg_param_type::domBool2x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1175,7 +1175,7 @@ domCg_param_type::domBool2x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2x4" ); - _Meta->registerConstructor(domCg_param_type::domBool2x4::create); + _Meta->registerClass(domCg_param_type::domBool2x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1210,7 +1210,7 @@ domCg_param_type::domBool3x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3x1" ); - _Meta->registerConstructor(domCg_param_type::domBool3x1::create); + _Meta->registerClass(domCg_param_type::domBool3x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1245,7 +1245,7 @@ domCg_param_type::domBool3x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3x2" ); - _Meta->registerConstructor(domCg_param_type::domBool3x2::create); + _Meta->registerClass(domCg_param_type::domBool3x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1280,7 +1280,7 @@ domCg_param_type::domBool3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3x3" ); - _Meta->registerConstructor(domCg_param_type::domBool3x3::create); + _Meta->registerClass(domCg_param_type::domBool3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1315,7 +1315,7 @@ domCg_param_type::domBool3x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3x4" ); - _Meta->registerConstructor(domCg_param_type::domBool3x4::create); + _Meta->registerClass(domCg_param_type::domBool3x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1350,7 +1350,7 @@ domCg_param_type::domBool4x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4x1" ); - _Meta->registerConstructor(domCg_param_type::domBool4x1::create); + _Meta->registerClass(domCg_param_type::domBool4x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1385,7 +1385,7 @@ domCg_param_type::domBool4x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4x2" ); - _Meta->registerConstructor(domCg_param_type::domBool4x2::create); + _Meta->registerClass(domCg_param_type::domBool4x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1420,7 +1420,7 @@ domCg_param_type::domBool4x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4x3" ); - _Meta->registerConstructor(domCg_param_type::domBool4x3::create); + _Meta->registerClass(domCg_param_type::domBool4x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1455,7 +1455,7 @@ domCg_param_type::domBool4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4x4" ); - _Meta->registerConstructor(domCg_param_type::domBool4x4::create); + _Meta->registerClass(domCg_param_type::domBool4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1490,7 +1490,7 @@ domCg_param_type::domFloat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float" ); - _Meta->registerConstructor(domCg_param_type::domFloat::create); + _Meta->registerClass(domCg_param_type::domFloat::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1525,7 +1525,7 @@ domCg_param_type::domFloat1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1" ); - _Meta->registerConstructor(domCg_param_type::domFloat1::create); + _Meta->registerClass(domCg_param_type::domFloat1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1560,7 +1560,7 @@ domCg_param_type::domFloat2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2" ); - _Meta->registerConstructor(domCg_param_type::domFloat2::create); + _Meta->registerClass(domCg_param_type::domFloat2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1595,7 +1595,7 @@ domCg_param_type::domFloat3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3" ); - _Meta->registerConstructor(domCg_param_type::domFloat3::create); + _Meta->registerClass(domCg_param_type::domFloat3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1630,7 +1630,7 @@ domCg_param_type::domFloat4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4" ); - _Meta->registerConstructor(domCg_param_type::domFloat4::create); + _Meta->registerClass(domCg_param_type::domFloat4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1665,7 +1665,7 @@ domCg_param_type::domFloat1x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x1" ); - _Meta->registerConstructor(domCg_param_type::domFloat1x1::create); + _Meta->registerClass(domCg_param_type::domFloat1x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1700,7 +1700,7 @@ domCg_param_type::domFloat1x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x2" ); - _Meta->registerConstructor(domCg_param_type::domFloat1x2::create); + _Meta->registerClass(domCg_param_type::domFloat1x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1735,7 +1735,7 @@ domCg_param_type::domFloat1x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x3" ); - _Meta->registerConstructor(domCg_param_type::domFloat1x3::create); + _Meta->registerClass(domCg_param_type::domFloat1x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1770,7 +1770,7 @@ domCg_param_type::domFloat1x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x4" ); - _Meta->registerConstructor(domCg_param_type::domFloat1x4::create); + _Meta->registerClass(domCg_param_type::domFloat1x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1805,7 +1805,7 @@ domCg_param_type::domFloat2x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x1" ); - _Meta->registerConstructor(domCg_param_type::domFloat2x1::create); + _Meta->registerClass(domCg_param_type::domFloat2x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1840,7 +1840,7 @@ domCg_param_type::domFloat2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x2" ); - _Meta->registerConstructor(domCg_param_type::domFloat2x2::create); + _Meta->registerClass(domCg_param_type::domFloat2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1875,7 +1875,7 @@ domCg_param_type::domFloat2x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x3" ); - _Meta->registerConstructor(domCg_param_type::domFloat2x3::create); + _Meta->registerClass(domCg_param_type::domFloat2x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1910,7 +1910,7 @@ domCg_param_type::domFloat2x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x4" ); - _Meta->registerConstructor(domCg_param_type::domFloat2x4::create); + _Meta->registerClass(domCg_param_type::domFloat2x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1945,7 +1945,7 @@ domCg_param_type::domFloat3x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x1" ); - _Meta->registerConstructor(domCg_param_type::domFloat3x1::create); + _Meta->registerClass(domCg_param_type::domFloat3x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1980,7 +1980,7 @@ domCg_param_type::domFloat3x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x2" ); - _Meta->registerConstructor(domCg_param_type::domFloat3x2::create); + _Meta->registerClass(domCg_param_type::domFloat3x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2015,7 +2015,7 @@ domCg_param_type::domFloat3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x3" ); - _Meta->registerConstructor(domCg_param_type::domFloat3x3::create); + _Meta->registerClass(domCg_param_type::domFloat3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2050,7 +2050,7 @@ domCg_param_type::domFloat3x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x4" ); - _Meta->registerConstructor(domCg_param_type::domFloat3x4::create); + _Meta->registerClass(domCg_param_type::domFloat3x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2085,7 +2085,7 @@ domCg_param_type::domFloat4x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x1" ); - _Meta->registerConstructor(domCg_param_type::domFloat4x1::create); + _Meta->registerClass(domCg_param_type::domFloat4x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2120,7 +2120,7 @@ domCg_param_type::domFloat4x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x2" ); - _Meta->registerConstructor(domCg_param_type::domFloat4x2::create); + _Meta->registerClass(domCg_param_type::domFloat4x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2155,7 +2155,7 @@ domCg_param_type::domFloat4x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x3" ); - _Meta->registerConstructor(domCg_param_type::domFloat4x3::create); + _Meta->registerClass(domCg_param_type::domFloat4x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2190,7 +2190,7 @@ domCg_param_type::domFloat4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x4" ); - _Meta->registerConstructor(domCg_param_type::domFloat4x4::create); + _Meta->registerClass(domCg_param_type::domFloat4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2225,7 +2225,7 @@ domCg_param_type::domInt::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int" ); - _Meta->registerConstructor(domCg_param_type::domInt::create); + _Meta->registerClass(domCg_param_type::domInt::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2260,7 +2260,7 @@ domCg_param_type::domInt1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int1" ); - _Meta->registerConstructor(domCg_param_type::domInt1::create); + _Meta->registerClass(domCg_param_type::domInt1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2295,7 +2295,7 @@ domCg_param_type::domInt2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2" ); - _Meta->registerConstructor(domCg_param_type::domInt2::create); + _Meta->registerClass(domCg_param_type::domInt2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2330,7 +2330,7 @@ domCg_param_type::domInt3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3" ); - _Meta->registerConstructor(domCg_param_type::domInt3::create); + _Meta->registerClass(domCg_param_type::domInt3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2365,7 +2365,7 @@ domCg_param_type::domInt4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4" ); - _Meta->registerConstructor(domCg_param_type::domInt4::create); + _Meta->registerClass(domCg_param_type::domInt4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2400,7 +2400,7 @@ domCg_param_type::domInt1x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int1x1" ); - _Meta->registerConstructor(domCg_param_type::domInt1x1::create); + _Meta->registerClass(domCg_param_type::domInt1x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2435,7 +2435,7 @@ domCg_param_type::domInt1x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int1x2" ); - _Meta->registerConstructor(domCg_param_type::domInt1x2::create); + _Meta->registerClass(domCg_param_type::domInt1x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2470,7 +2470,7 @@ domCg_param_type::domInt1x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int1x3" ); - _Meta->registerConstructor(domCg_param_type::domInt1x3::create); + _Meta->registerClass(domCg_param_type::domInt1x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2505,7 +2505,7 @@ domCg_param_type::domInt1x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int1x4" ); - _Meta->registerConstructor(domCg_param_type::domInt1x4::create); + _Meta->registerClass(domCg_param_type::domInt1x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2540,7 +2540,7 @@ domCg_param_type::domInt2x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2x1" ); - _Meta->registerConstructor(domCg_param_type::domInt2x1::create); + _Meta->registerClass(domCg_param_type::domInt2x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2575,7 +2575,7 @@ domCg_param_type::domInt2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2x2" ); - _Meta->registerConstructor(domCg_param_type::domInt2x2::create); + _Meta->registerClass(domCg_param_type::domInt2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2610,7 +2610,7 @@ domCg_param_type::domInt2x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2x3" ); - _Meta->registerConstructor(domCg_param_type::domInt2x3::create); + _Meta->registerClass(domCg_param_type::domInt2x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2645,7 +2645,7 @@ domCg_param_type::domInt2x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2x4" ); - _Meta->registerConstructor(domCg_param_type::domInt2x4::create); + _Meta->registerClass(domCg_param_type::domInt2x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2680,7 +2680,7 @@ domCg_param_type::domInt3x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3x1" ); - _Meta->registerConstructor(domCg_param_type::domInt3x1::create); + _Meta->registerClass(domCg_param_type::domInt3x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2715,7 +2715,7 @@ domCg_param_type::domInt3x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3x2" ); - _Meta->registerConstructor(domCg_param_type::domInt3x2::create); + _Meta->registerClass(domCg_param_type::domInt3x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2750,7 +2750,7 @@ domCg_param_type::domInt3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3x3" ); - _Meta->registerConstructor(domCg_param_type::domInt3x3::create); + _Meta->registerClass(domCg_param_type::domInt3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2785,7 +2785,7 @@ domCg_param_type::domInt3x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3x4" ); - _Meta->registerConstructor(domCg_param_type::domInt3x4::create); + _Meta->registerClass(domCg_param_type::domInt3x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2820,7 +2820,7 @@ domCg_param_type::domInt4x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4x1" ); - _Meta->registerConstructor(domCg_param_type::domInt4x1::create); + _Meta->registerClass(domCg_param_type::domInt4x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2855,7 +2855,7 @@ domCg_param_type::domInt4x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4x2" ); - _Meta->registerConstructor(domCg_param_type::domInt4x2::create); + _Meta->registerClass(domCg_param_type::domInt4x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2890,7 +2890,7 @@ domCg_param_type::domInt4x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4x3" ); - _Meta->registerConstructor(domCg_param_type::domInt4x3::create); + _Meta->registerClass(domCg_param_type::domInt4x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2925,7 +2925,7 @@ domCg_param_type::domInt4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4x4" ); - _Meta->registerConstructor(domCg_param_type::domInt4x4::create); + _Meta->registerClass(domCg_param_type::domInt4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2960,7 +2960,7 @@ domCg_param_type::domHalf::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half" ); - _Meta->registerConstructor(domCg_param_type::domHalf::create); + _Meta->registerClass(domCg_param_type::domHalf::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -2995,7 +2995,7 @@ domCg_param_type::domHalf1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half1" ); - _Meta->registerConstructor(domCg_param_type::domHalf1::create); + _Meta->registerClass(domCg_param_type::domHalf1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3030,7 +3030,7 @@ domCg_param_type::domHalf2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half2" ); - _Meta->registerConstructor(domCg_param_type::domHalf2::create); + _Meta->registerClass(domCg_param_type::domHalf2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3065,7 +3065,7 @@ domCg_param_type::domHalf3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half3" ); - _Meta->registerConstructor(domCg_param_type::domHalf3::create); + _Meta->registerClass(domCg_param_type::domHalf3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3100,7 +3100,7 @@ domCg_param_type::domHalf4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half4" ); - _Meta->registerConstructor(domCg_param_type::domHalf4::create); + _Meta->registerClass(domCg_param_type::domHalf4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3135,7 +3135,7 @@ domCg_param_type::domHalf1x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half1x1" ); - _Meta->registerConstructor(domCg_param_type::domHalf1x1::create); + _Meta->registerClass(domCg_param_type::domHalf1x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3170,7 +3170,7 @@ domCg_param_type::domHalf1x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half1x2" ); - _Meta->registerConstructor(domCg_param_type::domHalf1x2::create); + _Meta->registerClass(domCg_param_type::domHalf1x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3205,7 +3205,7 @@ domCg_param_type::domHalf1x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half1x3" ); - _Meta->registerConstructor(domCg_param_type::domHalf1x3::create); + _Meta->registerClass(domCg_param_type::domHalf1x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3240,7 +3240,7 @@ domCg_param_type::domHalf1x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half1x4" ); - _Meta->registerConstructor(domCg_param_type::domHalf1x4::create); + _Meta->registerClass(domCg_param_type::domHalf1x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3275,7 +3275,7 @@ domCg_param_type::domHalf2x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half2x1" ); - _Meta->registerConstructor(domCg_param_type::domHalf2x1::create); + _Meta->registerClass(domCg_param_type::domHalf2x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3310,7 +3310,7 @@ domCg_param_type::domHalf2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half2x2" ); - _Meta->registerConstructor(domCg_param_type::domHalf2x2::create); + _Meta->registerClass(domCg_param_type::domHalf2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3345,7 +3345,7 @@ domCg_param_type::domHalf2x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half2x3" ); - _Meta->registerConstructor(domCg_param_type::domHalf2x3::create); + _Meta->registerClass(domCg_param_type::domHalf2x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3380,7 +3380,7 @@ domCg_param_type::domHalf2x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half2x4" ); - _Meta->registerConstructor(domCg_param_type::domHalf2x4::create); + _Meta->registerClass(domCg_param_type::domHalf2x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3415,7 +3415,7 @@ domCg_param_type::domHalf3x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half3x1" ); - _Meta->registerConstructor(domCg_param_type::domHalf3x1::create); + _Meta->registerClass(domCg_param_type::domHalf3x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3450,7 +3450,7 @@ domCg_param_type::domHalf3x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half3x2" ); - _Meta->registerConstructor(domCg_param_type::domHalf3x2::create); + _Meta->registerClass(domCg_param_type::domHalf3x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3485,7 +3485,7 @@ domCg_param_type::domHalf3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half3x3" ); - _Meta->registerConstructor(domCg_param_type::domHalf3x3::create); + _Meta->registerClass(domCg_param_type::domHalf3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3520,7 +3520,7 @@ domCg_param_type::domHalf3x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half3x4" ); - _Meta->registerConstructor(domCg_param_type::domHalf3x4::create); + _Meta->registerClass(domCg_param_type::domHalf3x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3555,7 +3555,7 @@ domCg_param_type::domHalf4x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half4x1" ); - _Meta->registerConstructor(domCg_param_type::domHalf4x1::create); + _Meta->registerClass(domCg_param_type::domHalf4x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3590,7 +3590,7 @@ domCg_param_type::domHalf4x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half4x2" ); - _Meta->registerConstructor(domCg_param_type::domHalf4x2::create); + _Meta->registerClass(domCg_param_type::domHalf4x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3625,7 +3625,7 @@ domCg_param_type::domHalf4x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half4x3" ); - _Meta->registerConstructor(domCg_param_type::domHalf4x3::create); + _Meta->registerClass(domCg_param_type::domHalf4x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3660,7 +3660,7 @@ domCg_param_type::domHalf4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "half4x4" ); - _Meta->registerConstructor(domCg_param_type::domHalf4x4::create); + _Meta->registerClass(domCg_param_type::domHalf4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3695,7 +3695,7 @@ domCg_param_type::domFixed::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed" ); - _Meta->registerConstructor(domCg_param_type::domFixed::create); + _Meta->registerClass(domCg_param_type::domFixed::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3730,7 +3730,7 @@ domCg_param_type::domFixed1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed1" ); - _Meta->registerConstructor(domCg_param_type::domFixed1::create); + _Meta->registerClass(domCg_param_type::domFixed1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3765,7 +3765,7 @@ domCg_param_type::domFixed2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed2" ); - _Meta->registerConstructor(domCg_param_type::domFixed2::create); + _Meta->registerClass(domCg_param_type::domFixed2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3800,7 +3800,7 @@ domCg_param_type::domFixed3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed3" ); - _Meta->registerConstructor(domCg_param_type::domFixed3::create); + _Meta->registerClass(domCg_param_type::domFixed3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3835,7 +3835,7 @@ domCg_param_type::domFixed4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed4" ); - _Meta->registerConstructor(domCg_param_type::domFixed4::create); + _Meta->registerClass(domCg_param_type::domFixed4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3870,7 +3870,7 @@ domCg_param_type::domFixed1x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed1x1" ); - _Meta->registerConstructor(domCg_param_type::domFixed1x1::create); + _Meta->registerClass(domCg_param_type::domFixed1x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3905,7 +3905,7 @@ domCg_param_type::domFixed1x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed1x2" ); - _Meta->registerConstructor(domCg_param_type::domFixed1x2::create); + _Meta->registerClass(domCg_param_type::domFixed1x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3940,7 +3940,7 @@ domCg_param_type::domFixed1x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed1x3" ); - _Meta->registerConstructor(domCg_param_type::domFixed1x3::create); + _Meta->registerClass(domCg_param_type::domFixed1x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -3975,7 +3975,7 @@ domCg_param_type::domFixed1x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed1x4" ); - _Meta->registerConstructor(domCg_param_type::domFixed1x4::create); + _Meta->registerClass(domCg_param_type::domFixed1x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4010,7 +4010,7 @@ domCg_param_type::domFixed2x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed2x1" ); - _Meta->registerConstructor(domCg_param_type::domFixed2x1::create); + _Meta->registerClass(domCg_param_type::domFixed2x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4045,7 +4045,7 @@ domCg_param_type::domFixed2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed2x2" ); - _Meta->registerConstructor(domCg_param_type::domFixed2x2::create); + _Meta->registerClass(domCg_param_type::domFixed2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4080,7 +4080,7 @@ domCg_param_type::domFixed2x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed2x3" ); - _Meta->registerConstructor(domCg_param_type::domFixed2x3::create); + _Meta->registerClass(domCg_param_type::domFixed2x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4115,7 +4115,7 @@ domCg_param_type::domFixed2x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed2x4" ); - _Meta->registerConstructor(domCg_param_type::domFixed2x4::create); + _Meta->registerClass(domCg_param_type::domFixed2x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4150,7 +4150,7 @@ domCg_param_type::domFixed3x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed3x1" ); - _Meta->registerConstructor(domCg_param_type::domFixed3x1::create); + _Meta->registerClass(domCg_param_type::domFixed3x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4185,7 +4185,7 @@ domCg_param_type::domFixed3x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed3x2" ); - _Meta->registerConstructor(domCg_param_type::domFixed3x2::create); + _Meta->registerClass(domCg_param_type::domFixed3x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4220,7 +4220,7 @@ domCg_param_type::domFixed3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed3x3" ); - _Meta->registerConstructor(domCg_param_type::domFixed3x3::create); + _Meta->registerClass(domCg_param_type::domFixed3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4255,7 +4255,7 @@ domCg_param_type::domFixed3x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed3x4" ); - _Meta->registerConstructor(domCg_param_type::domFixed3x4::create); + _Meta->registerClass(domCg_param_type::domFixed3x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4290,7 +4290,7 @@ domCg_param_type::domFixed4x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed4x1" ); - _Meta->registerConstructor(domCg_param_type::domFixed4x1::create); + _Meta->registerClass(domCg_param_type::domFixed4x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4325,7 +4325,7 @@ domCg_param_type::domFixed4x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed4x2" ); - _Meta->registerConstructor(domCg_param_type::domFixed4x2::create); + _Meta->registerClass(domCg_param_type::domFixed4x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4360,7 +4360,7 @@ domCg_param_type::domFixed4x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed4x3" ); - _Meta->registerConstructor(domCg_param_type::domFixed4x3::create); + _Meta->registerClass(domCg_param_type::domFixed4x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4395,7 +4395,7 @@ domCg_param_type::domFixed4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fixed4x4" ); - _Meta->registerConstructor(domCg_param_type::domFixed4x4::create); + _Meta->registerClass(domCg_param_type::domFixed4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4430,7 +4430,7 @@ domCg_param_type::domString::registerElement() _Meta = new daeMetaElement; _Meta->setName( "string" ); - _Meta->registerConstructor(domCg_param_type::domString::create); + _Meta->registerClass(domCg_param_type::domString::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4465,7 +4465,7 @@ domCg_param_type::domEnum::registerElement() _Meta = new daeMetaElement; _Meta->setName( "enum" ); - _Meta->registerConstructor(domCg_param_type::domEnum::create); + _Meta->registerClass(domCg_param_type::domEnum::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler1D.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler1D.cpp index eb4ec2208..0e48cfbd7 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler1D.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler1D.cpp @@ -35,7 +35,7 @@ domCg_sampler1D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_sampler1D" ); - _Meta->registerConstructor(domCg_sampler1D::create); + _Meta->registerClass(domCg_sampler1D::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler2D.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler2D.cpp index 43fba0f12..4540aa7d6 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler2D.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler2D.cpp @@ -35,7 +35,7 @@ domCg_sampler2D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_sampler2D" ); - _Meta->registerConstructor(domCg_sampler2D::create); + _Meta->registerClass(domCg_sampler2D::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler3D.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler3D.cpp index de8844553..fed172e5d 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler3D.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_sampler3D.cpp @@ -35,7 +35,7 @@ domCg_sampler3D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_sampler3D" ); - _Meta->registerConstructor(domCg_sampler3D::create); + _Meta->registerClass(domCg_sampler3D::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerCUBE.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerCUBE.cpp index 12f405fbb..3c052fab2 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerCUBE.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerCUBE.cpp @@ -35,7 +35,7 @@ domCg_samplerCUBE::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_samplerCUBE" ); - _Meta->registerConstructor(domCg_samplerCUBE::create); + _Meta->registerClass(domCg_samplerCUBE::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerDEPTH.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerDEPTH.cpp index 541907a57..694b7bf4b 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerDEPTH.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerDEPTH.cpp @@ -35,7 +35,7 @@ domCg_samplerDEPTH::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_samplerDEPTH" ); - _Meta->registerConstructor(domCg_samplerDEPTH::create); + _Meta->registerClass(domCg_samplerDEPTH::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerRECT.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerRECT.cpp index 7a29246e3..88f05c770 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerRECT.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_samplerRECT.cpp @@ -35,7 +35,7 @@ domCg_samplerRECT::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_samplerRECT" ); - _Meta->registerConstructor(domCg_samplerRECT::create); + _Meta->registerClass(domCg_samplerRECT::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_setarray_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_setarray_type.cpp index 136a4531d..e64ff0459 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_setarray_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_setarray_type.cpp @@ -35,7 +35,7 @@ domCg_setarray_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_setarray_type" ); - _Meta->registerConstructor(domCg_setarray_type::create); + _Meta->registerClass(domCg_setarray_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -59,7 +59,7 @@ domCg_setarray_type::registerElement() mea->setElementType( domCg_setuser_type::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domCg_setarray_type,_contents)); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_setparam.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_setparam.cpp index 76f694d2d..7ef0abfd3 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_setparam.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_setparam.cpp @@ -35,7 +35,7 @@ domCg_setparam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_setparam" ); - _Meta->registerConstructor(domCg_setparam::create); + _Meta->registerClass(domCg_setparam::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_setparam_simple.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_setparam_simple.cpp index 70796056f..0e08feb05 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_setparam_simple.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_setparam_simple.cpp @@ -35,7 +35,7 @@ domCg_setparam_simple::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_setparam_simple" ); - _Meta->registerConstructor(domCg_setparam_simple::create); + _Meta->registerClass(domCg_setparam_simple::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_setuser_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_setuser_type.cpp index 9998abdb7..6ac9b6f28 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_setuser_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_setuser_type.cpp @@ -35,7 +35,7 @@ domCg_setuser_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_setuser_type" ); - _Meta->registerConstructor(domCg_setuser_type::create); + _Meta->registerClass(domCg_setuser_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -77,7 +77,7 @@ domCg_setuser_type::registerElement() mea->setElementType( domCg_setparam::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 3000 ); + cm->setMaxOrdinal( 0 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domCg_setuser_type,_contents)); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCg_surface_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCg_surface_type.cpp index 90471d26e..315e18b50 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCg_surface_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCg_surface_type.cpp @@ -35,7 +35,7 @@ domCg_surface_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cg_surface_type" ); - _Meta->registerConstructor(domCg_surface_type::create); + _Meta->registerClass(domCg_surface_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -154,7 +154,7 @@ domCg_surface_type::domGenerator::registerElement() _Meta = new daeMetaElement; _Meta->setName( "generator" ); - _Meta->registerConstructor(domCg_surface_type::domGenerator::create); + _Meta->registerClass(domCg_surface_type::domGenerator::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -226,7 +226,7 @@ domCg_surface_type::domGenerator::domName::registerElement() _Meta = new daeMetaElement; _Meta->setName( "name" ); - _Meta->registerConstructor(domCg_surface_type::domGenerator::domName::create); + _Meta->registerClass(domCg_surface_type::domGenerator::domName::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domChannel.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domChannel.cpp index 0772b6cb5..ad55aa4ba 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domChannel.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domChannel.cpp @@ -36,7 +36,7 @@ domChannel::registerElement() _Meta = new daeMetaElement; _Meta->setName( "channel" ); - _Meta->registerConstructor(domChannel::create); + _Meta->registerClass(domChannel::create, &_Meta); // Add attribute: source diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCommon_color_or_texture_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCommon_color_or_texture_type.cpp index 929f7f2bf..18f31acb8 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCommon_color_or_texture_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCommon_color_or_texture_type.cpp @@ -35,7 +35,7 @@ domCommon_color_or_texture_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "common_color_or_texture_type" ); - _Meta->registerConstructor(domCommon_color_or_texture_type::create); + _Meta->registerClass(domCommon_color_or_texture_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -88,7 +88,7 @@ domCommon_color_or_texture_type::domColor::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color" ); - _Meta->registerConstructor(domCommon_color_or_texture_type::domColor::create); + _Meta->registerClass(domCommon_color_or_texture_type::domColor::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -134,7 +134,7 @@ domCommon_color_or_texture_type::domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domCommon_color_or_texture_type::domParam::create); + _Meta->registerClass(domCommon_color_or_texture_type::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -172,7 +172,7 @@ domCommon_color_or_texture_type::domTexture::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture" ); - _Meta->registerConstructor(domCommon_color_or_texture_type::domTexture::create); + _Meta->registerClass(domCommon_color_or_texture_type::domTexture::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCommon_float_or_param_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCommon_float_or_param_type.cpp index ef265bcad..8eb09dfee 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCommon_float_or_param_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCommon_float_or_param_type.cpp @@ -35,7 +35,7 @@ domCommon_float_or_param_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "common_float_or_param_type" ); - _Meta->registerConstructor(domCommon_float_or_param_type::create); + _Meta->registerClass(domCommon_float_or_param_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -82,7 +82,7 @@ domCommon_float_or_param_type::domFloat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float" ); - _Meta->registerConstructor(domCommon_float_or_param_type::domFloat::create); + _Meta->registerClass(domCommon_float_or_param_type::domFloat::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -128,7 +128,7 @@ domCommon_float_or_param_type::domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domCommon_float_or_param_type::domParam::create); + _Meta->registerClass(domCommon_float_or_param_type::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCommon_newparam_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCommon_newparam_type.cpp index aba2e0c76..89e0982ab 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCommon_newparam_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCommon_newparam_type.cpp @@ -35,7 +35,7 @@ domCommon_newparam_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "common_newparam_type" ); - _Meta->registerConstructor(domCommon_newparam_type::create); + _Meta->registerClass(domCommon_newparam_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -130,7 +130,7 @@ domCommon_newparam_type::domSemantic::registerElement() _Meta = new daeMetaElement; _Meta->setName( "semantic" ); - _Meta->registerConstructor(domCommon_newparam_type::domSemantic::create); + _Meta->registerClass(domCommon_newparam_type::domSemantic::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -165,7 +165,7 @@ domCommon_newparam_type::domFloat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float" ); - _Meta->registerConstructor(domCommon_newparam_type::domFloat::create); + _Meta->registerClass(domCommon_newparam_type::domFloat::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -200,7 +200,7 @@ domCommon_newparam_type::domFloat2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2" ); - _Meta->registerConstructor(domCommon_newparam_type::domFloat2::create); + _Meta->registerClass(domCommon_newparam_type::domFloat2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -235,7 +235,7 @@ domCommon_newparam_type::domFloat3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3" ); - _Meta->registerConstructor(domCommon_newparam_type::domFloat3::create); + _Meta->registerClass(domCommon_newparam_type::domFloat3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -270,7 +270,7 @@ domCommon_newparam_type::domFloat4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4" ); - _Meta->registerConstructor(domCommon_newparam_type::domFloat4::create); + _Meta->registerClass(domCommon_newparam_type::domFloat4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCommon_transparent_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCommon_transparent_type.cpp index af071263c..641c4e229 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCommon_transparent_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCommon_transparent_type.cpp @@ -35,7 +35,7 @@ domCommon_transparent_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "common_transparent_type" ); - _Meta->registerConstructor(domCommon_transparent_type::create); + _Meta->registerClass(domCommon_transparent_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domConstants.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domConstants.cpp index 9b57ca1d2..fa23d70e5 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domConstants.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domConstants.cpp @@ -13,566 +13,1076 @@ #include -daeString COLLADA_VERSION = "1.4.1"; -daeString COLLADA_NAMESPACE = "http://www.collada.org/2005/11/COLLADASchema"; +DLLSPEC daeString COLLADA_VERSION = "1.4.1"; +DLLSPEC daeString COLLADA_NAMESPACE = "http://www.collada.org/2005/11/COLLADASchema"; -daeString COMMON_PROFILE_INPUT_BINORMAL = "BINORMAL"; -daeString COMMON_PROFILE_INPUT_COLOR = "COLOR"; -daeString COMMON_PROFILE_INPUT_CONTINUITY = "CONTINUITY"; -daeString COMMON_PROFILE_INPUT_IMAGE = "IMAGE"; -daeString COMMON_PROFILE_INPUT_IN_TANGENT = "IN_TANGENT"; -daeString COMMON_PROFILE_INPUT_INPUT = "INPUT"; -daeString COMMON_PROFILE_INPUT_INTERPOLATION = "INTERPOLATION"; -daeString COMMON_PROFILE_INPUT_INV_BIND_MATRIX = "INV_BIND_MATRIX"; -daeString COMMON_PROFILE_INPUT_JOINT = "JOINT"; -daeString COMMON_PROFILE_INPUT_LINEAR_STEPS = "LINEAR_STEPS"; -daeString COMMON_PROFILE_INPUT_MORPH_TARGET = "MORPH_TARGET"; -daeString COMMON_PROFILE_INPUT_MORPH_WEIGHT = "MORPH_WEIGHT"; -daeString COMMON_PROFILE_INPUT_NORMAL = "NORMAL"; -daeString COMMON_PROFILE_INPUT_OUTPUT = "OUTPUT"; -daeString COMMON_PROFILE_INPUT_OUT_TANGENT = "OUT_TANGENT"; -daeString COMMON_PROFILE_INPUT_POSITION = "POSITION"; -daeString COMMON_PROFILE_INPUT_TANGENT = "TANGENT"; -daeString COMMON_PROFILE_INPUT_TEXBINORMAL = "TEXBINORMAL"; -daeString COMMON_PROFILE_INPUT_TEXCOORD = "TEXCOORD"; -daeString COMMON_PROFILE_INPUT_TEXTANGENT = "TEXTANGENT"; -daeString COMMON_PROFILE_INPUT_UV = "UV"; -daeString COMMON_PROFILE_INPUT_VERTEX = "VERTEX"; -daeString COMMON_PROFILE_INPUT_WEIGHT = "WEIGHT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_BINORMAL = "BINORMAL"; +DLLSPEC daeString COMMON_PROFILE_INPUT_COLOR = "COLOR"; +DLLSPEC daeString COMMON_PROFILE_INPUT_CONTINUITY = "CONTINUITY"; +DLLSPEC daeString COMMON_PROFILE_INPUT_IMAGE = "IMAGE"; +DLLSPEC daeString COMMON_PROFILE_INPUT_IN_TANGENT = "IN_TANGENT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_INPUT = "INPUT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_INTERPOLATION = "INTERPOLATION"; +DLLSPEC daeString COMMON_PROFILE_INPUT_INV_BIND_MATRIX = "INV_BIND_MATRIX"; +DLLSPEC daeString COMMON_PROFILE_INPUT_JOINT = "JOINT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_LINEAR_STEPS = "LINEAR_STEPS"; +DLLSPEC daeString COMMON_PROFILE_INPUT_MORPH_TARGET = "MORPH_TARGET"; +DLLSPEC daeString COMMON_PROFILE_INPUT_MORPH_WEIGHT = "MORPH_WEIGHT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_NORMAL = "NORMAL"; +DLLSPEC daeString COMMON_PROFILE_INPUT_OUTPUT = "OUTPUT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_OUT_TANGENT = "OUT_TANGENT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_POSITION = "POSITION"; +DLLSPEC daeString COMMON_PROFILE_INPUT_TANGENT = "TANGENT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_TEXBINORMAL = "TEXBINORMAL"; +DLLSPEC daeString COMMON_PROFILE_INPUT_TEXCOORD = "TEXCOORD"; +DLLSPEC daeString COMMON_PROFILE_INPUT_TEXTANGENT = "TEXTANGENT"; +DLLSPEC daeString COMMON_PROFILE_INPUT_UV = "UV"; +DLLSPEC daeString COMMON_PROFILE_INPUT_VERTEX = "VERTEX"; +DLLSPEC daeString COMMON_PROFILE_INPUT_WEIGHT = "WEIGHT"; -daeString COMMON_PROFILE_PARAM_A = "A"; -daeString COMMON_PROFILE_PARAM_ANGLE = "ANGLE"; -daeString COMMON_PROFILE_PARAM_B = "B"; -daeString COMMON_PROFILE_PARAM_DOUBLE_SIDED = "DOUBLE_SIDED"; -daeString COMMON_PROFILE_PARAM_G = "G"; -daeString COMMON_PROFILE_PARAM_P = "P"; -daeString COMMON_PROFILE_PARAM_Q = "Q"; -daeString COMMON_PROFILE_PARAM_R = "R"; -daeString COMMON_PROFILE_PARAM_S = "S"; -daeString COMMON_PROFILE_PARAM_T = "T"; -daeString COMMON_PROFILE_PARAM_TIME = "TIME"; -daeString COMMON_PROFILE_PARAM_U = "U"; -daeString COMMON_PROFILE_PARAM_V = "V"; -daeString COMMON_PROFILE_PARAM_W = "W"; -daeString COMMON_PROFILE_PARAM_X = "X"; -daeString COMMON_PROFILE_PARAM_Y = "Y"; -daeString COMMON_PROFILE_PARAM_Z = "Z"; +DLLSPEC daeString COMMON_PROFILE_PARAM_A = "A"; +DLLSPEC daeString COMMON_PROFILE_PARAM_ANGLE = "ANGLE"; +DLLSPEC daeString COMMON_PROFILE_PARAM_B = "B"; +DLLSPEC daeString COMMON_PROFILE_PARAM_DOUBLE_SIDED = "DOUBLE_SIDED"; +DLLSPEC daeString COMMON_PROFILE_PARAM_G = "G"; +DLLSPEC daeString COMMON_PROFILE_PARAM_P = "P"; +DLLSPEC daeString COMMON_PROFILE_PARAM_Q = "Q"; +DLLSPEC daeString COMMON_PROFILE_PARAM_R = "R"; +DLLSPEC daeString COMMON_PROFILE_PARAM_S = "S"; +DLLSPEC daeString COMMON_PROFILE_PARAM_T = "T"; +DLLSPEC daeString COMMON_PROFILE_PARAM_TIME = "TIME"; +DLLSPEC daeString COMMON_PROFILE_PARAM_U = "U"; +DLLSPEC daeString COMMON_PROFILE_PARAM_V = "V"; +DLLSPEC daeString COMMON_PROFILE_PARAM_W = "W"; +DLLSPEC daeString COMMON_PROFILE_PARAM_X = "X"; +DLLSPEC daeString COMMON_PROFILE_PARAM_Y = "Y"; +DLLSPEC daeString COMMON_PROFILE_PARAM_Z = "Z"; -daeString COLLADA_ELEMENT_INPUTGLOBAL = "InputGlobal"; -daeString COLLADA_ELEMENT_INPUTLOCAL = "InputLocal"; -daeString COLLADA_ELEMENT_INPUTLOCALOFFSET = "InputLocalOffset"; -daeString COLLADA_ELEMENT_INSTANCEWITHEXTRA = "InstanceWithExtra"; -daeString COLLADA_ELEMENT_TARGETABLEFLOAT = "TargetableFloat"; -daeString COLLADA_ELEMENT_TARGETABLEFLOAT3 = "TargetableFloat3"; -daeString COLLADA_ELEMENT_FX_SURFACE_FORMAT_HINT_COMMON = "fx_surface_format_hint_common"; -daeString COLLADA_ELEMENT_CHANNELS = "channels"; -daeString COLLADA_ELEMENT_RANGE = "range"; -daeString COLLADA_ELEMENT_PRECISION = "precision"; -daeString COLLADA_ELEMENT_OPTION = "option"; -daeString COLLADA_ELEMENT_FX_SURFACE_INIT_PLANAR_COMMON = "fx_surface_init_planar_common"; -daeString COLLADA_ELEMENT_ALL = "all"; -daeString COLLADA_ELEMENT_FX_SURFACE_INIT_VOLUME_COMMON = "fx_surface_init_volume_common"; -daeString COLLADA_ELEMENT_PRIMARY = "primary"; -daeString COLLADA_ELEMENT_FX_SURFACE_INIT_CUBE_COMMON = "fx_surface_init_cube_common"; -daeString COLLADA_ELEMENT_ORDER = "order"; -daeString COLLADA_ELEMENT_FACE = "face"; -daeString COLLADA_ELEMENT_FX_SURFACE_INIT_FROM_COMMON = "fx_surface_init_from_common"; -daeString COLLADA_ELEMENT_FX_SURFACE_COMMON = "fx_surface_common"; -daeString COLLADA_ELEMENT_FORMAT = "format"; -daeString COLLADA_ELEMENT_SIZE = "size"; -daeString COLLADA_ELEMENT_VIEWPORT_RATIO = "viewport_ratio"; -daeString COLLADA_ELEMENT_MIP_LEVELS = "mip_levels"; -daeString COLLADA_ELEMENT_MIPMAP_GENERATE = "mipmap_generate"; -daeString COLLADA_ELEMENT_FX_SAMPLER1D_COMMON = "fx_sampler1D_common"; -daeString COLLADA_ELEMENT_SOURCE = "source"; -daeString COLLADA_ELEMENT_WRAP_S = "wrap_s"; -daeString COLLADA_ELEMENT_MINFILTER = "minfilter"; -daeString COLLADA_ELEMENT_MAGFILTER = "magfilter"; -daeString COLLADA_ELEMENT_MIPFILTER = "mipfilter"; -daeString COLLADA_ELEMENT_BORDER_COLOR = "border_color"; -daeString COLLADA_ELEMENT_MIPMAP_MAXLEVEL = "mipmap_maxlevel"; -daeString COLLADA_ELEMENT_MIPMAP_BIAS = "mipmap_bias"; -daeString COLLADA_ELEMENT_FX_SAMPLER2D_COMMON = "fx_sampler2D_common"; -daeString COLLADA_ELEMENT_WRAP_T = "wrap_t"; -daeString COLLADA_ELEMENT_FX_SAMPLER3D_COMMON = "fx_sampler3D_common"; -daeString COLLADA_ELEMENT_WRAP_P = "wrap_p"; -daeString COLLADA_ELEMENT_FX_SAMPLERCUBE_COMMON = "fx_samplerCUBE_common"; -daeString COLLADA_ELEMENT_FX_SAMPLERRECT_COMMON = "fx_samplerRECT_common"; -daeString COLLADA_ELEMENT_FX_SAMPLERDEPTH_COMMON = "fx_samplerDEPTH_common"; -daeString COLLADA_ELEMENT_FX_COLORTARGET_COMMON = "fx_colortarget_common"; -daeString COLLADA_ELEMENT_FX_DEPTHTARGET_COMMON = "fx_depthtarget_common"; -daeString COLLADA_ELEMENT_FX_STENCILTARGET_COMMON = "fx_stenciltarget_common"; -daeString COLLADA_ELEMENT_FX_CLEARCOLOR_COMMON = "fx_clearcolor_common"; -daeString COLLADA_ELEMENT_FX_CLEARDEPTH_COMMON = "fx_cleardepth_common"; -daeString COLLADA_ELEMENT_FX_CLEARSTENCIL_COMMON = "fx_clearstencil_common"; -daeString COLLADA_ELEMENT_FX_ANNOTATE_COMMON = "fx_annotate_common"; -daeString COLLADA_ELEMENT_FX_INCLUDE_COMMON = "fx_include_common"; -daeString COLLADA_ELEMENT_FX_NEWPARAM_COMMON = "fx_newparam_common"; -daeString COLLADA_ELEMENT_SEMANTIC = "semantic"; -daeString COLLADA_ELEMENT_MODIFIER = "modifier"; -daeString COLLADA_ELEMENT_FX_CODE_PROFILE = "fx_code_profile"; -daeString COLLADA_ELEMENT_GL_SAMPLER1D = "gl_sampler1D"; -daeString COLLADA_ELEMENT_GL_SAMPLER2D = "gl_sampler2D"; -daeString COLLADA_ELEMENT_GL_SAMPLER3D = "gl_sampler3D"; -daeString COLLADA_ELEMENT_GL_SAMPLERCUBE = "gl_samplerCUBE"; -daeString COLLADA_ELEMENT_GL_SAMPLERRECT = "gl_samplerRECT"; -daeString COLLADA_ELEMENT_GL_SAMPLERDEPTH = "gl_samplerDEPTH"; -daeString COLLADA_ELEMENT_GLSL_NEWARRAY_TYPE = "glsl_newarray_type"; -daeString COLLADA_ELEMENT_GLSL_SETARRAY_TYPE = "glsl_setarray_type"; -daeString COLLADA_ELEMENT_GLSL_SURFACE_TYPE = "glsl_surface_type"; -daeString COLLADA_ELEMENT_GENERATOR = "generator"; -daeString COLLADA_ELEMENT_NAME = "name"; -daeString COLLADA_ELEMENT_GLSL_NEWPARAM = "glsl_newparam"; -daeString COLLADA_ELEMENT_GLSL_SETPARAM_SIMPLE = "glsl_setparam_simple"; -daeString COLLADA_ELEMENT_GLSL_SETPARAM = "glsl_setparam"; -daeString COLLADA_ELEMENT_COMMON_FLOAT_OR_PARAM_TYPE = "common_float_or_param_type"; -daeString COLLADA_ELEMENT_FLOAT = "float"; -daeString COLLADA_ELEMENT_PARAM = "param"; -daeString COLLADA_ELEMENT_COMMON_COLOR_OR_TEXTURE_TYPE = "common_color_or_texture_type"; -daeString COLLADA_ELEMENT_COLOR = "color"; -daeString COLLADA_ELEMENT_TEXTURE = "texture"; -daeString COLLADA_ELEMENT_COMMON_TRANSPARENT_TYPE = "common_transparent_type"; -daeString COLLADA_ELEMENT_COMMON_NEWPARAM_TYPE = "common_newparam_type"; -daeString COLLADA_ELEMENT_FLOAT2 = "float2"; -daeString COLLADA_ELEMENT_FLOAT3 = "float3"; -daeString COLLADA_ELEMENT_FLOAT4 = "float4"; -daeString COLLADA_ELEMENT_CG_SAMPLER1D = "cg_sampler1D"; -daeString COLLADA_ELEMENT_CG_SAMPLER2D = "cg_sampler2D"; -daeString COLLADA_ELEMENT_CG_SAMPLER3D = "cg_sampler3D"; -daeString COLLADA_ELEMENT_CG_SAMPLERCUBE = "cg_samplerCUBE"; -daeString COLLADA_ELEMENT_CG_SAMPLERRECT = "cg_samplerRECT"; -daeString COLLADA_ELEMENT_CG_SAMPLERDEPTH = "cg_samplerDEPTH"; -daeString COLLADA_ELEMENT_CG_CONNECT_PARAM = "cg_connect_param"; -daeString COLLADA_ELEMENT_CG_NEWARRAY_TYPE = "cg_newarray_type"; -daeString COLLADA_ELEMENT_CG_SETARRAY_TYPE = "cg_setarray_type"; -daeString COLLADA_ELEMENT_CG_SETUSER_TYPE = "cg_setuser_type"; -daeString COLLADA_ELEMENT_CG_SURFACE_TYPE = "cg_surface_type"; -daeString COLLADA_ELEMENT_CG_NEWPARAM = "cg_newparam"; -daeString COLLADA_ELEMENT_CG_SETPARAM_SIMPLE = "cg_setparam_simple"; -daeString COLLADA_ELEMENT_CG_SETPARAM = "cg_setparam"; -daeString COLLADA_ELEMENT_GLES_TEXTURE_CONSTANT_TYPE = "gles_texture_constant_type"; -daeString COLLADA_ELEMENT_GLES_TEXENV_COMMAND_TYPE = "gles_texenv_command_type"; -daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_ARGUMENTRGB_TYPE = "gles_texcombiner_argumentRGB_type"; -daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_ARGUMENTALPHA_TYPE = "gles_texcombiner_argumentAlpha_type"; -daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMANDRGB_TYPE = "gles_texcombiner_commandRGB_type"; -daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMANDALPHA_TYPE = "gles_texcombiner_commandAlpha_type"; -daeString COLLADA_ELEMENT_GLES_TEXCOMBINER_COMMAND_TYPE = "gles_texcombiner_command_type"; -daeString COLLADA_ELEMENT_GLES_TEXTURE_PIPELINE = "gles_texture_pipeline"; -daeString COLLADA_ELEMENT_GLES_TEXTURE_UNIT = "gles_texture_unit"; -daeString COLLADA_ELEMENT_SURFACE = "surface"; -daeString COLLADA_ELEMENT_SAMPLER_STATE = "sampler_state"; -daeString COLLADA_ELEMENT_TEXCOORD = "texcoord"; -daeString COLLADA_ELEMENT_GLES_SAMPLER_STATE = "gles_sampler_state"; -daeString COLLADA_ELEMENT_GLES_NEWPARAM = "gles_newparam"; -daeString COLLADA_ELEMENT_FX_SURFACE_INIT_COMMON = "fx_surface_init_common"; -daeString COLLADA_ELEMENT_INIT_AS_NULL = "init_as_null"; -daeString COLLADA_ELEMENT_INIT_AS_TARGET = "init_as_target"; -daeString COLLADA_ELEMENT_FX_ANNOTATE_TYPE_COMMON = "fx_annotate_type_common"; -daeString COLLADA_ELEMENT_BOOL = "bool"; -daeString COLLADA_ELEMENT_BOOL2 = "bool2"; -daeString COLLADA_ELEMENT_BOOL3 = "bool3"; -daeString COLLADA_ELEMENT_BOOL4 = "bool4"; -daeString COLLADA_ELEMENT_INT = "int"; -daeString COLLADA_ELEMENT_INT2 = "int2"; -daeString COLLADA_ELEMENT_INT3 = "int3"; -daeString COLLADA_ELEMENT_INT4 = "int4"; -daeString COLLADA_ELEMENT_FLOAT2X2 = "float2x2"; -daeString COLLADA_ELEMENT_FLOAT3X3 = "float3x3"; -daeString COLLADA_ELEMENT_FLOAT4X4 = "float4x4"; -daeString COLLADA_ELEMENT_STRING = "string"; -daeString COLLADA_ELEMENT_FX_BASIC_TYPE_COMMON = "fx_basic_type_common"; -daeString COLLADA_ELEMENT_FLOAT1X1 = "float1x1"; -daeString COLLADA_ELEMENT_FLOAT1X2 = "float1x2"; -daeString COLLADA_ELEMENT_FLOAT1X3 = "float1x3"; -daeString COLLADA_ELEMENT_FLOAT1X4 = "float1x4"; -daeString COLLADA_ELEMENT_FLOAT2X1 = "float2x1"; -daeString COLLADA_ELEMENT_FLOAT2X3 = "float2x3"; -daeString COLLADA_ELEMENT_FLOAT2X4 = "float2x4"; -daeString COLLADA_ELEMENT_FLOAT3X1 = "float3x1"; -daeString COLLADA_ELEMENT_FLOAT3X2 = "float3x2"; -daeString COLLADA_ELEMENT_FLOAT3X4 = "float3x4"; -daeString COLLADA_ELEMENT_FLOAT4X1 = "float4x1"; -daeString COLLADA_ELEMENT_FLOAT4X2 = "float4x2"; -daeString COLLADA_ELEMENT_FLOAT4X3 = "float4x3"; -daeString COLLADA_ELEMENT_ENUM = "enum"; -daeString COLLADA_ELEMENT_GL_PIPELINE_SETTINGS = "gl_pipeline_settings"; -daeString COLLADA_ELEMENT_ALPHA_FUNC = "alpha_func"; -daeString COLLADA_ELEMENT_FUNC = "func"; -daeString COLLADA_ELEMENT_VALUE = "value"; -daeString COLLADA_ELEMENT_BLEND_FUNC = "blend_func"; -daeString COLLADA_ELEMENT_SRC = "src"; -daeString COLLADA_ELEMENT_DEST = "dest"; -daeString COLLADA_ELEMENT_BLEND_FUNC_SEPARATE = "blend_func_separate"; -daeString COLLADA_ELEMENT_SRC_RGB = "src_rgb"; -daeString COLLADA_ELEMENT_DEST_RGB = "dest_rgb"; -daeString COLLADA_ELEMENT_SRC_ALPHA = "src_alpha"; -daeString COLLADA_ELEMENT_DEST_ALPHA = "dest_alpha"; -daeString COLLADA_ELEMENT_BLEND_EQUATION = "blend_equation"; -daeString COLLADA_ELEMENT_BLEND_EQUATION_SEPARATE = "blend_equation_separate"; -daeString COLLADA_ELEMENT_RGB = "rgb"; -daeString COLLADA_ELEMENT_ALPHA = "alpha"; -daeString COLLADA_ELEMENT_COLOR_MATERIAL = "color_material"; -daeString COLLADA_ELEMENT_MODE = "mode"; -daeString COLLADA_ELEMENT_CULL_FACE = "cull_face"; -daeString COLLADA_ELEMENT_DEPTH_FUNC = "depth_func"; -daeString COLLADA_ELEMENT_FOG_MODE = "fog_mode"; -daeString COLLADA_ELEMENT_FOG_COORD_SRC = "fog_coord_src"; -daeString COLLADA_ELEMENT_FRONT_FACE = "front_face"; -daeString COLLADA_ELEMENT_LIGHT_MODEL_COLOR_CONTROL = "light_model_color_control"; -daeString COLLADA_ELEMENT_LOGIC_OP = "logic_op"; -daeString COLLADA_ELEMENT_POLYGON_MODE = "polygon_mode"; -daeString COLLADA_ELEMENT_SHADE_MODEL = "shade_model"; -daeString COLLADA_ELEMENT_STENCIL_FUNC = "stencil_func"; -daeString COLLADA_ELEMENT_REF = "ref"; -daeString COLLADA_ELEMENT_MASK = "mask"; -daeString COLLADA_ELEMENT_STENCIL_OP = "stencil_op"; -daeString COLLADA_ELEMENT_FAIL = "fail"; -daeString COLLADA_ELEMENT_ZFAIL = "zfail"; -daeString COLLADA_ELEMENT_ZPASS = "zpass"; -daeString COLLADA_ELEMENT_STENCIL_FUNC_SEPARATE = "stencil_func_separate"; -daeString COLLADA_ELEMENT_FRONT = "front"; -daeString COLLADA_ELEMENT_BACK = "back"; -daeString COLLADA_ELEMENT_STENCIL_OP_SEPARATE = "stencil_op_separate"; -daeString COLLADA_ELEMENT_STENCIL_MASK_SEPARATE = "stencil_mask_separate"; -daeString COLLADA_ELEMENT_LIGHT_ENABLE = "light_enable"; -daeString COLLADA_ELEMENT_LIGHT_AMBIENT = "light_ambient"; -daeString COLLADA_ELEMENT_LIGHT_DIFFUSE = "light_diffuse"; -daeString COLLADA_ELEMENT_LIGHT_SPECULAR = "light_specular"; -daeString COLLADA_ELEMENT_LIGHT_POSITION = "light_position"; -daeString COLLADA_ELEMENT_LIGHT_CONSTANT_ATTENUATION = "light_constant_attenuation"; -daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUATION = "light_linear_attenuation"; -daeString COLLADA_ELEMENT_LIGHT_QUADRATIC_ATTENUATION = "light_quadratic_attenuation"; -daeString COLLADA_ELEMENT_LIGHT_SPOT_CUTOFF = "light_spot_cutoff"; -daeString COLLADA_ELEMENT_LIGHT_SPOT_DIRECTION = "light_spot_direction"; -daeString COLLADA_ELEMENT_LIGHT_SPOT_EXPONENT = "light_spot_exponent"; -daeString COLLADA_ELEMENT_TEXTURE1D = "texture1D"; -daeString COLLADA_ELEMENT_TEXTURE2D = "texture2D"; -daeString COLLADA_ELEMENT_TEXTURE3D = "texture3D"; -daeString COLLADA_ELEMENT_TEXTURECUBE = "textureCUBE"; -daeString COLLADA_ELEMENT_TEXTURERECT = "textureRECT"; -daeString COLLADA_ELEMENT_TEXTUREDEPTH = "textureDEPTH"; -daeString COLLADA_ELEMENT_TEXTURE1D_ENABLE = "texture1D_enable"; -daeString COLLADA_ELEMENT_TEXTURE2D_ENABLE = "texture2D_enable"; -daeString COLLADA_ELEMENT_TEXTURE3D_ENABLE = "texture3D_enable"; -daeString COLLADA_ELEMENT_TEXTURECUBE_ENABLE = "textureCUBE_enable"; -daeString COLLADA_ELEMENT_TEXTURERECT_ENABLE = "textureRECT_enable"; -daeString COLLADA_ELEMENT_TEXTUREDEPTH_ENABLE = "textureDEPTH_enable"; -daeString COLLADA_ELEMENT_TEXTURE_ENV_COLOR = "texture_env_color"; -daeString COLLADA_ELEMENT_TEXTURE_ENV_MODE = "texture_env_mode"; -daeString COLLADA_ELEMENT_CLIP_PLANE = "clip_plane"; -daeString COLLADA_ELEMENT_CLIP_PLANE_ENABLE = "clip_plane_enable"; -daeString COLLADA_ELEMENT_BLEND_COLOR = "blend_color"; -daeString COLLADA_ELEMENT_CLEAR_COLOR = "clear_color"; -daeString COLLADA_ELEMENT_CLEAR_STENCIL = "clear_stencil"; -daeString COLLADA_ELEMENT_CLEAR_DEPTH = "clear_depth"; -daeString COLLADA_ELEMENT_COLOR_MASK = "color_mask"; -daeString COLLADA_ELEMENT_DEPTH_BOUNDS = "depth_bounds"; -daeString COLLADA_ELEMENT_DEPTH_MASK = "depth_mask"; -daeString COLLADA_ELEMENT_DEPTH_RANGE = "depth_range"; -daeString COLLADA_ELEMENT_FOG_DENSITY = "fog_density"; -daeString COLLADA_ELEMENT_FOG_START = "fog_start"; -daeString COLLADA_ELEMENT_FOG_END = "fog_end"; -daeString COLLADA_ELEMENT_FOG_COLOR = "fog_color"; -daeString COLLADA_ELEMENT_LIGHT_MODEL_AMBIENT = "light_model_ambient"; -daeString COLLADA_ELEMENT_LIGHTING_ENABLE = "lighting_enable"; -daeString COLLADA_ELEMENT_LINE_STIPPLE = "line_stipple"; -daeString COLLADA_ELEMENT_LINE_WIDTH = "line_width"; -daeString COLLADA_ELEMENT_MATERIAL_AMBIENT = "material_ambient"; -daeString COLLADA_ELEMENT_MATERIAL_DIFFUSE = "material_diffuse"; -daeString COLLADA_ELEMENT_MATERIAL_EMISSION = "material_emission"; -daeString COLLADA_ELEMENT_MATERIAL_SHININESS = "material_shininess"; -daeString COLLADA_ELEMENT_MATERIAL_SPECULAR = "material_specular"; -daeString COLLADA_ELEMENT_MODEL_VIEW_MATRIX = "model_view_matrix"; -daeString COLLADA_ELEMENT_POINT_DISTANCE_ATTENUATION = "point_distance_attenuation"; -daeString COLLADA_ELEMENT_POINT_FADE_THRESHOLD_SIZE = "point_fade_threshold_size"; -daeString COLLADA_ELEMENT_POINT_SIZE = "point_size"; -daeString COLLADA_ELEMENT_POINT_SIZE_MIN = "point_size_min"; -daeString COLLADA_ELEMENT_POINT_SIZE_MAX = "point_size_max"; -daeString COLLADA_ELEMENT_POLYGON_OFFSET = "polygon_offset"; -daeString COLLADA_ELEMENT_PROJECTION_MATRIX = "projection_matrix"; -daeString COLLADA_ELEMENT_SCISSOR = "scissor"; -daeString COLLADA_ELEMENT_STENCIL_MASK = "stencil_mask"; -daeString COLLADA_ELEMENT_ALPHA_TEST_ENABLE = "alpha_test_enable"; -daeString COLLADA_ELEMENT_AUTO_NORMAL_ENABLE = "auto_normal_enable"; -daeString COLLADA_ELEMENT_BLEND_ENABLE = "blend_enable"; -daeString COLLADA_ELEMENT_COLOR_LOGIC_OP_ENABLE = "color_logic_op_enable"; -daeString COLLADA_ELEMENT_COLOR_MATERIAL_ENABLE = "color_material_enable"; -daeString COLLADA_ELEMENT_CULL_FACE_ENABLE = "cull_face_enable"; -daeString COLLADA_ELEMENT_DEPTH_BOUNDS_ENABLE = "depth_bounds_enable"; -daeString COLLADA_ELEMENT_DEPTH_CLAMP_ENABLE = "depth_clamp_enable"; -daeString COLLADA_ELEMENT_DEPTH_TEST_ENABLE = "depth_test_enable"; -daeString COLLADA_ELEMENT_DITHER_ENABLE = "dither_enable"; -daeString COLLADA_ELEMENT_FOG_ENABLE = "fog_enable"; -daeString COLLADA_ELEMENT_LIGHT_MODEL_LOCAL_VIEWER_ENABLE = "light_model_local_viewer_enable"; -daeString COLLADA_ELEMENT_LIGHT_MODEL_TWO_SIDE_ENABLE = "light_model_two_side_enable"; -daeString COLLADA_ELEMENT_LINE_SMOOTH_ENABLE = "line_smooth_enable"; -daeString COLLADA_ELEMENT_LINE_STIPPLE_ENABLE = "line_stipple_enable"; -daeString COLLADA_ELEMENT_LOGIC_OP_ENABLE = "logic_op_enable"; -daeString COLLADA_ELEMENT_MULTISAMPLE_ENABLE = "multisample_enable"; -daeString COLLADA_ELEMENT_NORMALIZE_ENABLE = "normalize_enable"; -daeString COLLADA_ELEMENT_POINT_SMOOTH_ENABLE = "point_smooth_enable"; -daeString COLLADA_ELEMENT_POLYGON_OFFSET_FILL_ENABLE = "polygon_offset_fill_enable"; -daeString COLLADA_ELEMENT_POLYGON_OFFSET_LINE_ENABLE = "polygon_offset_line_enable"; -daeString COLLADA_ELEMENT_POLYGON_OFFSET_POINT_ENABLE = "polygon_offset_point_enable"; -daeString COLLADA_ELEMENT_POLYGON_SMOOTH_ENABLE = "polygon_smooth_enable"; -daeString COLLADA_ELEMENT_POLYGON_STIPPLE_ENABLE = "polygon_stipple_enable"; -daeString COLLADA_ELEMENT_RESCALE_NORMAL_ENABLE = "rescale_normal_enable"; -daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_COVERAGE_ENABLE = "sample_alpha_to_coverage_enable"; -daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_ONE_ENABLE = "sample_alpha_to_one_enable"; -daeString COLLADA_ELEMENT_SAMPLE_COVERAGE_ENABLE = "sample_coverage_enable"; -daeString COLLADA_ELEMENT_SCISSOR_TEST_ENABLE = "scissor_test_enable"; -daeString COLLADA_ELEMENT_STENCIL_TEST_ENABLE = "stencil_test_enable"; -daeString COLLADA_ELEMENT_GLSL_PARAM_TYPE = "glsl_param_type"; -daeString COLLADA_ELEMENT_CG_PARAM_TYPE = "cg_param_type"; -daeString COLLADA_ELEMENT_BOOL1 = "bool1"; -daeString COLLADA_ELEMENT_BOOL1X1 = "bool1x1"; -daeString COLLADA_ELEMENT_BOOL1X2 = "bool1x2"; -daeString COLLADA_ELEMENT_BOOL1X3 = "bool1x3"; -daeString COLLADA_ELEMENT_BOOL1X4 = "bool1x4"; -daeString COLLADA_ELEMENT_BOOL2X1 = "bool2x1"; -daeString COLLADA_ELEMENT_BOOL2X2 = "bool2x2"; -daeString COLLADA_ELEMENT_BOOL2X3 = "bool2x3"; -daeString COLLADA_ELEMENT_BOOL2X4 = "bool2x4"; -daeString COLLADA_ELEMENT_BOOL3X1 = "bool3x1"; -daeString COLLADA_ELEMENT_BOOL3X2 = "bool3x2"; -daeString COLLADA_ELEMENT_BOOL3X3 = "bool3x3"; -daeString COLLADA_ELEMENT_BOOL3X4 = "bool3x4"; -daeString COLLADA_ELEMENT_BOOL4X1 = "bool4x1"; -daeString COLLADA_ELEMENT_BOOL4X2 = "bool4x2"; -daeString COLLADA_ELEMENT_BOOL4X3 = "bool4x3"; -daeString COLLADA_ELEMENT_BOOL4X4 = "bool4x4"; -daeString COLLADA_ELEMENT_FLOAT1 = "float1"; -daeString COLLADA_ELEMENT_INT1 = "int1"; -daeString COLLADA_ELEMENT_INT1X1 = "int1x1"; -daeString COLLADA_ELEMENT_INT1X2 = "int1x2"; -daeString COLLADA_ELEMENT_INT1X3 = "int1x3"; -daeString COLLADA_ELEMENT_INT1X4 = "int1x4"; -daeString COLLADA_ELEMENT_INT2X1 = "int2x1"; -daeString COLLADA_ELEMENT_INT2X2 = "int2x2"; -daeString COLLADA_ELEMENT_INT2X3 = "int2x3"; -daeString COLLADA_ELEMENT_INT2X4 = "int2x4"; -daeString COLLADA_ELEMENT_INT3X1 = "int3x1"; -daeString COLLADA_ELEMENT_INT3X2 = "int3x2"; -daeString COLLADA_ELEMENT_INT3X3 = "int3x3"; -daeString COLLADA_ELEMENT_INT3X4 = "int3x4"; -daeString COLLADA_ELEMENT_INT4X1 = "int4x1"; -daeString COLLADA_ELEMENT_INT4X2 = "int4x2"; -daeString COLLADA_ELEMENT_INT4X3 = "int4x3"; -daeString COLLADA_ELEMENT_INT4X4 = "int4x4"; -daeString COLLADA_ELEMENT_HALF = "half"; -daeString COLLADA_ELEMENT_HALF1 = "half1"; -daeString COLLADA_ELEMENT_HALF2 = "half2"; -daeString COLLADA_ELEMENT_HALF3 = "half3"; -daeString COLLADA_ELEMENT_HALF4 = "half4"; -daeString COLLADA_ELEMENT_HALF1X1 = "half1x1"; -daeString COLLADA_ELEMENT_HALF1X2 = "half1x2"; -daeString COLLADA_ELEMENT_HALF1X3 = "half1x3"; -daeString COLLADA_ELEMENT_HALF1X4 = "half1x4"; -daeString COLLADA_ELEMENT_HALF2X1 = "half2x1"; -daeString COLLADA_ELEMENT_HALF2X2 = "half2x2"; -daeString COLLADA_ELEMENT_HALF2X3 = "half2x3"; -daeString COLLADA_ELEMENT_HALF2X4 = "half2x4"; -daeString COLLADA_ELEMENT_HALF3X1 = "half3x1"; -daeString COLLADA_ELEMENT_HALF3X2 = "half3x2"; -daeString COLLADA_ELEMENT_HALF3X3 = "half3x3"; -daeString COLLADA_ELEMENT_HALF3X4 = "half3x4"; -daeString COLLADA_ELEMENT_HALF4X1 = "half4x1"; -daeString COLLADA_ELEMENT_HALF4X2 = "half4x2"; -daeString COLLADA_ELEMENT_HALF4X3 = "half4x3"; -daeString COLLADA_ELEMENT_HALF4X4 = "half4x4"; -daeString COLLADA_ELEMENT_FIXED = "fixed"; -daeString COLLADA_ELEMENT_FIXED1 = "fixed1"; -daeString COLLADA_ELEMENT_FIXED2 = "fixed2"; -daeString COLLADA_ELEMENT_FIXED3 = "fixed3"; -daeString COLLADA_ELEMENT_FIXED4 = "fixed4"; -daeString COLLADA_ELEMENT_FIXED1X1 = "fixed1x1"; -daeString COLLADA_ELEMENT_FIXED1X2 = "fixed1x2"; -daeString COLLADA_ELEMENT_FIXED1X3 = "fixed1x3"; -daeString COLLADA_ELEMENT_FIXED1X4 = "fixed1x4"; -daeString COLLADA_ELEMENT_FIXED2X1 = "fixed2x1"; -daeString COLLADA_ELEMENT_FIXED2X2 = "fixed2x2"; -daeString COLLADA_ELEMENT_FIXED2X3 = "fixed2x3"; -daeString COLLADA_ELEMENT_FIXED2X4 = "fixed2x4"; -daeString COLLADA_ELEMENT_FIXED3X1 = "fixed3x1"; -daeString COLLADA_ELEMENT_FIXED3X2 = "fixed3x2"; -daeString COLLADA_ELEMENT_FIXED3X3 = "fixed3x3"; -daeString COLLADA_ELEMENT_FIXED3X4 = "fixed3x4"; -daeString COLLADA_ELEMENT_FIXED4X1 = "fixed4x1"; -daeString COLLADA_ELEMENT_FIXED4X2 = "fixed4x2"; -daeString COLLADA_ELEMENT_FIXED4X3 = "fixed4x3"; -daeString COLLADA_ELEMENT_FIXED4X4 = "fixed4x4"; -daeString COLLADA_ELEMENT_GLES_PIPELINE_SETTINGS = "gles_pipeline_settings"; -daeString COLLADA_ELEMENT_TEXTURE_PIPELINE = "texture_pipeline"; -daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUTATION = "light_linear_attenutation"; -daeString COLLADA_ELEMENT_TEXTURE_PIPELINE_ENABLE = "texture_pipeline_enable"; -daeString COLLADA_ELEMENT_GLES_BASIC_TYPE_COMMON = "gles_basic_type_common"; -daeString COLLADA_ELEMENT_COLLADA = "COLLADA"; -daeString COLLADA_ELEMENT_SCENE = "scene"; -daeString COLLADA_ELEMENT_IDREF_ARRAY = "IDREF_array"; -daeString COLLADA_ELEMENT_NAME_ARRAY = "Name_array"; -daeString COLLADA_ELEMENT_BOOL_ARRAY = "bool_array"; -daeString COLLADA_ELEMENT_FLOAT_ARRAY = "float_array"; -daeString COLLADA_ELEMENT_INT_ARRAY = "int_array"; -daeString COLLADA_ELEMENT_ACCESSOR = "accessor"; -daeString COLLADA_ELEMENT_TECHNIQUE_COMMON = "technique_common"; -daeString COLLADA_ELEMENT_GEOMETRY = "geometry"; -daeString COLLADA_ELEMENT_MESH = "mesh"; -daeString COLLADA_ELEMENT_SPLINE = "spline"; -daeString COLLADA_ELEMENT_CONTROL_VERTICES = "control_vertices"; -daeString COLLADA_ELEMENT_P = "p"; -daeString COLLADA_ELEMENT_LINES = "lines"; -daeString COLLADA_ELEMENT_LINESTRIPS = "linestrips"; -daeString COLLADA_ELEMENT_POLYGONS = "polygons"; -daeString COLLADA_ELEMENT_PH = "ph"; -daeString COLLADA_ELEMENT_H = "h"; -daeString COLLADA_ELEMENT_POLYLIST = "polylist"; -daeString COLLADA_ELEMENT_VCOUNT = "vcount"; -daeString COLLADA_ELEMENT_TRIANGLES = "triangles"; -daeString COLLADA_ELEMENT_TRIFANS = "trifans"; -daeString COLLADA_ELEMENT_TRISTRIPS = "tristrips"; -daeString COLLADA_ELEMENT_VERTICES = "vertices"; -daeString COLLADA_ELEMENT_LOOKAT = "lookat"; -daeString COLLADA_ELEMENT_MATRIX = "matrix"; -daeString COLLADA_ELEMENT_ROTATE = "rotate"; -daeString COLLADA_ELEMENT_SCALE = "scale"; -daeString COLLADA_ELEMENT_SKEW = "skew"; -daeString COLLADA_ELEMENT_TRANSLATE = "translate"; -daeString COLLADA_ELEMENT_IMAGE = "image"; -daeString COLLADA_ELEMENT_DATA = "data"; -daeString COLLADA_ELEMENT_INIT_FROM = "init_from"; -daeString COLLADA_ELEMENT_LIGHT = "light"; -daeString COLLADA_ELEMENT_AMBIENT = "ambient"; -daeString COLLADA_ELEMENT_DIRECTIONAL = "directional"; -daeString COLLADA_ELEMENT_POINT = "point"; -daeString COLLADA_ELEMENT_SPOT = "spot"; -daeString COLLADA_ELEMENT_MATERIAL = "material"; -daeString COLLADA_ELEMENT_CAMERA = "camera"; -daeString COLLADA_ELEMENT_OPTICS = "optics"; -daeString COLLADA_ELEMENT_ORTHOGRAPHIC = "orthographic"; -daeString COLLADA_ELEMENT_PERSPECTIVE = "perspective"; -daeString COLLADA_ELEMENT_IMAGER = "imager"; -daeString COLLADA_ELEMENT_ANIMATION = "animation"; -daeString COLLADA_ELEMENT_ANIMATION_CLIP = "animation_clip"; -daeString COLLADA_ELEMENT_CHANNEL = "channel"; -daeString COLLADA_ELEMENT_SAMPLER = "sampler"; -daeString COLLADA_ELEMENT_CONTROLLER = "controller"; -daeString COLLADA_ELEMENT_SKIN = "skin"; -daeString COLLADA_ELEMENT_BIND_SHAPE_MATRIX = "bind_shape_matrix"; -daeString COLLADA_ELEMENT_JOINTS = "joints"; -daeString COLLADA_ELEMENT_VERTEX_WEIGHTS = "vertex_weights"; -daeString COLLADA_ELEMENT_V = "v"; -daeString COLLADA_ELEMENT_MORPH = "morph"; -daeString COLLADA_ELEMENT_TARGETS = "targets"; -daeString COLLADA_ELEMENT_ASSET = "asset"; -daeString COLLADA_ELEMENT_CONTRIBUTOR = "contributor"; -daeString COLLADA_ELEMENT_AUTHOR = "author"; -daeString COLLADA_ELEMENT_AUTHORING_TOOL = "authoring_tool"; -daeString COLLADA_ELEMENT_COMMENTS = "comments"; -daeString COLLADA_ELEMENT_COPYRIGHT = "copyright"; -daeString COLLADA_ELEMENT_SOURCE_DATA = "source_data"; -daeString COLLADA_ELEMENT_CREATED = "created"; -daeString COLLADA_ELEMENT_KEYWORDS = "keywords"; -daeString COLLADA_ELEMENT_MODIFIED = "modified"; -daeString COLLADA_ELEMENT_REVISION = "revision"; -daeString COLLADA_ELEMENT_SUBJECT = "subject"; -daeString COLLADA_ELEMENT_TITLE = "title"; -daeString COLLADA_ELEMENT_UNIT = "unit"; -daeString COLLADA_ELEMENT_UP_AXIS = "up_axis"; -daeString COLLADA_ELEMENT_EXTRA = "extra"; -daeString COLLADA_ELEMENT_TECHNIQUE = "technique"; -daeString COLLADA_ELEMENT_NODE = "node"; -daeString COLLADA_ELEMENT_VISUAL_SCENE = "visual_scene"; -daeString COLLADA_ELEMENT_EVALUATE_SCENE = "evaluate_scene"; -daeString COLLADA_ELEMENT_RENDER = "render"; -daeString COLLADA_ELEMENT_LAYER = "layer"; -daeString COLLADA_ELEMENT_BIND_MATERIAL = "bind_material"; -daeString COLLADA_ELEMENT_INSTANCE_CAMERA = "instance_camera"; -daeString COLLADA_ELEMENT_INSTANCE_CONTROLLER = "instance_controller"; -daeString COLLADA_ELEMENT_SKELETON = "skeleton"; -daeString COLLADA_ELEMENT_INSTANCE_EFFECT = "instance_effect"; -daeString COLLADA_ELEMENT_TECHNIQUE_HINT = "technique_hint"; -daeString COLLADA_ELEMENT_SETPARAM = "setparam"; -daeString COLLADA_ELEMENT_INSTANCE_FORCE_FIELD = "instance_force_field"; -daeString COLLADA_ELEMENT_INSTANCE_GEOMETRY = "instance_geometry"; -daeString COLLADA_ELEMENT_INSTANCE_LIGHT = "instance_light"; -daeString COLLADA_ELEMENT_INSTANCE_MATERIAL = "instance_material"; -daeString COLLADA_ELEMENT_BIND = "bind"; -daeString COLLADA_ELEMENT_BIND_VERTEX_INPUT = "bind_vertex_input"; -daeString COLLADA_ELEMENT_INSTANCE_NODE = "instance_node"; -daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MATERIAL = "instance_physics_material"; -daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MODEL = "instance_physics_model"; -daeString COLLADA_ELEMENT_INSTANCE_RIGID_BODY = "instance_rigid_body"; -daeString COLLADA_ELEMENT_ANGULAR_VELOCITY = "angular_velocity"; -daeString COLLADA_ELEMENT_VELOCITY = "velocity"; -daeString COLLADA_ELEMENT_DYNAMIC = "dynamic"; -daeString COLLADA_ELEMENT_MASS_FRAME = "mass_frame"; -daeString COLLADA_ELEMENT_SHAPE = "shape"; -daeString COLLADA_ELEMENT_HOLLOW = "hollow"; -daeString COLLADA_ELEMENT_INSTANCE_RIGID_CONSTRAINT = "instance_rigid_constraint"; -daeString COLLADA_ELEMENT_LIBRARY_ANIMATIONS = "library_animations"; -daeString COLLADA_ELEMENT_LIBRARY_ANIMATION_CLIPS = "library_animation_clips"; -daeString COLLADA_ELEMENT_LIBRARY_CAMERAS = "library_cameras"; -daeString COLLADA_ELEMENT_LIBRARY_CONTROLLERS = "library_controllers"; -daeString COLLADA_ELEMENT_LIBRARY_GEOMETRIES = "library_geometries"; -daeString COLLADA_ELEMENT_LIBRARY_EFFECTS = "library_effects"; -daeString COLLADA_ELEMENT_LIBRARY_FORCE_FIELDS = "library_force_fields"; -daeString COLLADA_ELEMENT_LIBRARY_IMAGES = "library_images"; -daeString COLLADA_ELEMENT_LIBRARY_LIGHTS = "library_lights"; -daeString COLLADA_ELEMENT_LIBRARY_MATERIALS = "library_materials"; -daeString COLLADA_ELEMENT_LIBRARY_NODES = "library_nodes"; -daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MATERIALS = "library_physics_materials"; -daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MODELS = "library_physics_models"; -daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_SCENES = "library_physics_scenes"; -daeString COLLADA_ELEMENT_LIBRARY_VISUAL_SCENES = "library_visual_scenes"; -daeString COLLADA_ELEMENT_FX_PROFILE_ABSTRACT = "fx_profile_abstract"; -daeString COLLADA_ELEMENT_EFFECT = "effect"; -daeString COLLADA_ELEMENT_GL_HOOK_ABSTRACT = "gl_hook_abstract"; -daeString COLLADA_ELEMENT_PROFILE_GLSL = "profile_GLSL"; -daeString COLLADA_ELEMENT_PASS = "pass"; -daeString COLLADA_ELEMENT_DRAW = "draw"; -daeString COLLADA_ELEMENT_SHADER = "shader"; -daeString COLLADA_ELEMENT_COMPILER_TARGET = "compiler_target"; -daeString COLLADA_ELEMENT_COMPILER_OPTIONS = "compiler_options"; -daeString COLLADA_ELEMENT_PROFILE_COMMON = "profile_COMMON"; -daeString COLLADA_ELEMENT_CONSTANT = "constant"; -daeString COLLADA_ELEMENT_LAMBERT = "lambert"; -daeString COLLADA_ELEMENT_PHONG = "phong"; -daeString COLLADA_ELEMENT_BLINN = "blinn"; -daeString COLLADA_ELEMENT_PROFILE_CG = "profile_CG"; -daeString COLLADA_ELEMENT_PROFILE_GLES = "profile_GLES"; -daeString COLLADA_ELEMENT_COLOR_TARGET = "color_target"; -daeString COLLADA_ELEMENT_DEPTH_TARGET = "depth_target"; -daeString COLLADA_ELEMENT_STENCIL_TARGET = "stencil_target"; -daeString COLLADA_ELEMENT_COLOR_CLEAR = "color_clear"; -daeString COLLADA_ELEMENT_DEPTH_CLEAR = "depth_clear"; -daeString COLLADA_ELEMENT_STENCIL_CLEAR = "stencil_clear"; -daeString COLLADA_ELEMENT_BOX = "box"; -daeString COLLADA_ELEMENT_HALF_EXTENTS = "half_extents"; -daeString COLLADA_ELEMENT_PLANE = "plane"; -daeString COLLADA_ELEMENT_EQUATION = "equation"; -daeString COLLADA_ELEMENT_SPHERE = "sphere"; -daeString COLLADA_ELEMENT_RADIUS = "radius"; -daeString COLLADA_ELEMENT_ELLIPSOID = "ellipsoid"; -daeString COLLADA_ELEMENT_CYLINDER = "cylinder"; -daeString COLLADA_ELEMENT_HEIGHT = "height"; -daeString COLLADA_ELEMENT_TAPERED_CYLINDER = "tapered_cylinder"; -daeString COLLADA_ELEMENT_RADIUS1 = "radius1"; -daeString COLLADA_ELEMENT_RADIUS2 = "radius2"; -daeString COLLADA_ELEMENT_CAPSULE = "capsule"; -daeString COLLADA_ELEMENT_TAPERED_CAPSULE = "tapered_capsule"; -daeString COLLADA_ELEMENT_CONVEX_MESH = "convex_mesh"; -daeString COLLADA_ELEMENT_FORCE_FIELD = "force_field"; -daeString COLLADA_ELEMENT_PHYSICS_MATERIAL = "physics_material"; -daeString COLLADA_ELEMENT_PHYSICS_SCENE = "physics_scene"; -daeString COLLADA_ELEMENT_RIGID_BODY = "rigid_body"; -daeString COLLADA_ELEMENT_RIGID_CONSTRAINT = "rigid_constraint"; -daeString COLLADA_ELEMENT_REF_ATTACHMENT = "ref_attachment"; -daeString COLLADA_ELEMENT_ATTACHMENT = "attachment"; -daeString COLLADA_ELEMENT_ENABLED = "enabled"; -daeString COLLADA_ELEMENT_INTERPENETRATE = "interpenetrate"; -daeString COLLADA_ELEMENT_LIMITS = "limits"; -daeString COLLADA_ELEMENT_SWING_CONE_AND_TWIST = "swing_cone_and_twist"; -daeString COLLADA_ELEMENT_LINEAR = "linear"; -daeString COLLADA_ELEMENT_SPRING = "spring"; -daeString COLLADA_ELEMENT_ANGULAR = "angular"; -daeString COLLADA_ELEMENT_PHYSICS_MODEL = "physics_model"; + +DLLSPEC daeString COLLADA_TYPE_INPUTGLOBAL = "InputGlobal"; +DLLSPEC daeString COLLADA_TYPE_INPUTLOCAL = "InputLocal"; +DLLSPEC daeString COLLADA_TYPE_INPUTLOCALOFFSET = "InputLocalOffset"; +DLLSPEC daeString COLLADA_TYPE_INSTANCEWITHEXTRA = "InstanceWithExtra"; +DLLSPEC daeString COLLADA_TYPE_TARGETABLEFLOAT = "TargetableFloat"; +DLLSPEC daeString COLLADA_TYPE_TARGETABLEFLOAT3 = "TargetableFloat3"; +DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_FORMAT_HINT_COMMON = "fx_surface_format_hint_common"; +DLLSPEC daeString COLLADA_TYPE_CHANNELS = "channels"; +DLLSPEC daeString COLLADA_TYPE_RANGE = "range"; +DLLSPEC daeString COLLADA_TYPE_PRECISION = "precision"; +DLLSPEC daeString COLLADA_TYPE_OPTION = "option"; +DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_PLANAR_COMMON = "fx_surface_init_planar_common"; +DLLSPEC daeString COLLADA_TYPE_ALL = "all"; +DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_VOLUME_COMMON = "fx_surface_init_volume_common"; +DLLSPEC daeString COLLADA_TYPE_PRIMARY = "primary"; +DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_CUBE_COMMON = "fx_surface_init_cube_common"; +DLLSPEC daeString COLLADA_TYPE_ORDER = "order"; +DLLSPEC daeString COLLADA_TYPE_FACE = "face"; +DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_FROM_COMMON = "fx_surface_init_from_common"; +DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_COMMON = "fx_surface_common"; +DLLSPEC daeString COLLADA_TYPE_FORMAT = "format"; +DLLSPEC daeString COLLADA_TYPE_SIZE = "size"; +DLLSPEC daeString COLLADA_TYPE_VIEWPORT_RATIO = "viewport_ratio"; +DLLSPEC daeString COLLADA_TYPE_MIP_LEVELS = "mip_levels"; +DLLSPEC daeString COLLADA_TYPE_MIPMAP_GENERATE = "mipmap_generate"; +DLLSPEC daeString COLLADA_TYPE_FX_SAMPLER1D_COMMON = "fx_sampler1D_common"; +DLLSPEC daeString COLLADA_TYPE_SOURCE = "source"; +DLLSPEC daeString COLLADA_TYPE_WRAP_S = "wrap_s"; +DLLSPEC daeString COLLADA_TYPE_MINFILTER = "minfilter"; +DLLSPEC daeString COLLADA_TYPE_MAGFILTER = "magfilter"; +DLLSPEC daeString COLLADA_TYPE_MIPFILTER = "mipfilter"; +DLLSPEC daeString COLLADA_TYPE_BORDER_COLOR = "border_color"; +DLLSPEC daeString COLLADA_TYPE_MIPMAP_MAXLEVEL = "mipmap_maxlevel"; +DLLSPEC daeString COLLADA_TYPE_MIPMAP_BIAS = "mipmap_bias"; +DLLSPEC daeString COLLADA_TYPE_FX_SAMPLER2D_COMMON = "fx_sampler2D_common"; +DLLSPEC daeString COLLADA_TYPE_WRAP_T = "wrap_t"; +DLLSPEC daeString COLLADA_TYPE_FX_SAMPLER3D_COMMON = "fx_sampler3D_common"; +DLLSPEC daeString COLLADA_TYPE_WRAP_P = "wrap_p"; +DLLSPEC daeString COLLADA_TYPE_FX_SAMPLERCUBE_COMMON = "fx_samplerCUBE_common"; +DLLSPEC daeString COLLADA_TYPE_FX_SAMPLERRECT_COMMON = "fx_samplerRECT_common"; +DLLSPEC daeString COLLADA_TYPE_FX_SAMPLERDEPTH_COMMON = "fx_samplerDEPTH_common"; +DLLSPEC daeString COLLADA_TYPE_FX_COLORTARGET_COMMON = "fx_colortarget_common"; +DLLSPEC daeString COLLADA_TYPE_FX_DEPTHTARGET_COMMON = "fx_depthtarget_common"; +DLLSPEC daeString COLLADA_TYPE_FX_STENCILTARGET_COMMON = "fx_stenciltarget_common"; +DLLSPEC daeString COLLADA_TYPE_FX_CLEARCOLOR_COMMON = "fx_clearcolor_common"; +DLLSPEC daeString COLLADA_TYPE_FX_CLEARDEPTH_COMMON = "fx_cleardepth_common"; +DLLSPEC daeString COLLADA_TYPE_FX_CLEARSTENCIL_COMMON = "fx_clearstencil_common"; +DLLSPEC daeString COLLADA_TYPE_FX_ANNOTATE_COMMON = "fx_annotate_common"; +DLLSPEC daeString COLLADA_TYPE_FX_INCLUDE_COMMON = "fx_include_common"; +DLLSPEC daeString COLLADA_TYPE_FX_NEWPARAM_COMMON = "fx_newparam_common"; +DLLSPEC daeString COLLADA_TYPE_SEMANTIC = "semantic"; +DLLSPEC daeString COLLADA_TYPE_MODIFIER = "modifier"; +DLLSPEC daeString COLLADA_TYPE_FX_CODE_PROFILE = "fx_code_profile"; +DLLSPEC daeString COLLADA_TYPE_GL_SAMPLER1D = "gl_sampler1D"; +DLLSPEC daeString COLLADA_TYPE_GL_SAMPLER2D = "gl_sampler2D"; +DLLSPEC daeString COLLADA_TYPE_GL_SAMPLER3D = "gl_sampler3D"; +DLLSPEC daeString COLLADA_TYPE_GL_SAMPLERCUBE = "gl_samplerCUBE"; +DLLSPEC daeString COLLADA_TYPE_GL_SAMPLERRECT = "gl_samplerRECT"; +DLLSPEC daeString COLLADA_TYPE_GL_SAMPLERDEPTH = "gl_samplerDEPTH"; +DLLSPEC daeString COLLADA_TYPE_GLSL_NEWARRAY_TYPE = "glsl_newarray_type"; +DLLSPEC daeString COLLADA_TYPE_GLSL_SETARRAY_TYPE = "glsl_setarray_type"; +DLLSPEC daeString COLLADA_TYPE_GLSL_SURFACE_TYPE = "glsl_surface_type"; +DLLSPEC daeString COLLADA_TYPE_GENERATOR = "generator"; +DLLSPEC daeString COLLADA_TYPE_NAME = "name"; +DLLSPEC daeString COLLADA_TYPE_GLSL_NEWPARAM = "glsl_newparam"; +DLLSPEC daeString COLLADA_TYPE_GLSL_SETPARAM_SIMPLE = "glsl_setparam_simple"; +DLLSPEC daeString COLLADA_TYPE_GLSL_SETPARAM = "glsl_setparam"; +DLLSPEC daeString COLLADA_TYPE_COMMON_FLOAT_OR_PARAM_TYPE = "common_float_or_param_type"; +DLLSPEC daeString COLLADA_TYPE_FLOAT = "float"; +DLLSPEC daeString COLLADA_TYPE_PARAM = "param"; +DLLSPEC daeString COLLADA_TYPE_COMMON_COLOR_OR_TEXTURE_TYPE = "common_color_or_texture_type"; +DLLSPEC daeString COLLADA_TYPE_COLOR = "color"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE = "texture"; +DLLSPEC daeString COLLADA_TYPE_COMMON_TRANSPARENT_TYPE = "common_transparent_type"; +DLLSPEC daeString COLLADA_TYPE_COMMON_NEWPARAM_TYPE = "common_newparam_type"; +DLLSPEC daeString COLLADA_TYPE_FLOAT2 = "float2"; +DLLSPEC daeString COLLADA_TYPE_FLOAT3 = "float3"; +DLLSPEC daeString COLLADA_TYPE_FLOAT4 = "float4"; +DLLSPEC daeString COLLADA_TYPE_CG_SAMPLER1D = "cg_sampler1D"; +DLLSPEC daeString COLLADA_TYPE_CG_SAMPLER2D = "cg_sampler2D"; +DLLSPEC daeString COLLADA_TYPE_CG_SAMPLER3D = "cg_sampler3D"; +DLLSPEC daeString COLLADA_TYPE_CG_SAMPLERCUBE = "cg_samplerCUBE"; +DLLSPEC daeString COLLADA_TYPE_CG_SAMPLERRECT = "cg_samplerRECT"; +DLLSPEC daeString COLLADA_TYPE_CG_SAMPLERDEPTH = "cg_samplerDEPTH"; +DLLSPEC daeString COLLADA_TYPE_CG_CONNECT_PARAM = "cg_connect_param"; +DLLSPEC daeString COLLADA_TYPE_CG_NEWARRAY_TYPE = "cg_newarray_type"; +DLLSPEC daeString COLLADA_TYPE_CG_SETARRAY_TYPE = "cg_setarray_type"; +DLLSPEC daeString COLLADA_TYPE_CG_SETUSER_TYPE = "cg_setuser_type"; +DLLSPEC daeString COLLADA_TYPE_CG_SURFACE_TYPE = "cg_surface_type"; +DLLSPEC daeString COLLADA_TYPE_CG_NEWPARAM = "cg_newparam"; +DLLSPEC daeString COLLADA_TYPE_CG_SETPARAM_SIMPLE = "cg_setparam_simple"; +DLLSPEC daeString COLLADA_TYPE_CG_SETPARAM = "cg_setparam"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXTURE_CONSTANT_TYPE = "gles_texture_constant_type"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXENV_COMMAND_TYPE = "gles_texenv_command_type"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_ARGUMENTRGB_TYPE = "gles_texcombiner_argumentRGB_type"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_ARGUMENTALPHA_TYPE = "gles_texcombiner_argumentAlpha_type"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_COMMANDRGB_TYPE = "gles_texcombiner_commandRGB_type"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_COMMANDALPHA_TYPE = "gles_texcombiner_commandAlpha_type"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXCOMBINER_COMMAND_TYPE = "gles_texcombiner_command_type"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXTURE_PIPELINE = "gles_texture_pipeline"; +DLLSPEC daeString COLLADA_TYPE_GLES_TEXTURE_UNIT = "gles_texture_unit"; +DLLSPEC daeString COLLADA_TYPE_SURFACE = "surface"; +DLLSPEC daeString COLLADA_TYPE_SAMPLER_STATE = "sampler_state"; +DLLSPEC daeString COLLADA_TYPE_TEXCOORD = "texcoord"; +DLLSPEC daeString COLLADA_TYPE_GLES_SAMPLER_STATE = "gles_sampler_state"; +DLLSPEC daeString COLLADA_TYPE_GLES_NEWPARAM = "gles_newparam"; +DLLSPEC daeString COLLADA_TYPE_FX_SURFACE_INIT_COMMON = "fx_surface_init_common"; +DLLSPEC daeString COLLADA_TYPE_INIT_AS_NULL = "init_as_null"; +DLLSPEC daeString COLLADA_TYPE_INIT_AS_TARGET = "init_as_target"; +DLLSPEC daeString COLLADA_TYPE_FX_ANNOTATE_TYPE_COMMON = "fx_annotate_type_common"; +DLLSPEC daeString COLLADA_TYPE_BOOL = "bool"; +DLLSPEC daeString COLLADA_TYPE_BOOL2 = "bool2"; +DLLSPEC daeString COLLADA_TYPE_BOOL3 = "bool3"; +DLLSPEC daeString COLLADA_TYPE_BOOL4 = "bool4"; +DLLSPEC daeString COLLADA_TYPE_INT = "int"; +DLLSPEC daeString COLLADA_TYPE_INT2 = "int2"; +DLLSPEC daeString COLLADA_TYPE_INT3 = "int3"; +DLLSPEC daeString COLLADA_TYPE_INT4 = "int4"; +DLLSPEC daeString COLLADA_TYPE_FLOAT2X2 = "float2x2"; +DLLSPEC daeString COLLADA_TYPE_FLOAT3X3 = "float3x3"; +DLLSPEC daeString COLLADA_TYPE_FLOAT4X4 = "float4x4"; +DLLSPEC daeString COLLADA_TYPE_STRING = "string"; +DLLSPEC daeString COLLADA_TYPE_FX_BASIC_TYPE_COMMON = "fx_basic_type_common"; +DLLSPEC daeString COLLADA_TYPE_FLOAT1X1 = "float1x1"; +DLLSPEC daeString COLLADA_TYPE_FLOAT1X2 = "float1x2"; +DLLSPEC daeString COLLADA_TYPE_FLOAT1X3 = "float1x3"; +DLLSPEC daeString COLLADA_TYPE_FLOAT1X4 = "float1x4"; +DLLSPEC daeString COLLADA_TYPE_FLOAT2X1 = "float2x1"; +DLLSPEC daeString COLLADA_TYPE_FLOAT2X3 = "float2x3"; +DLLSPEC daeString COLLADA_TYPE_FLOAT2X4 = "float2x4"; +DLLSPEC daeString COLLADA_TYPE_FLOAT3X1 = "float3x1"; +DLLSPEC daeString COLLADA_TYPE_FLOAT3X2 = "float3x2"; +DLLSPEC daeString COLLADA_TYPE_FLOAT3X4 = "float3x4"; +DLLSPEC daeString COLLADA_TYPE_FLOAT4X1 = "float4x1"; +DLLSPEC daeString COLLADA_TYPE_FLOAT4X2 = "float4x2"; +DLLSPEC daeString COLLADA_TYPE_FLOAT4X3 = "float4x3"; +DLLSPEC daeString COLLADA_TYPE_ENUM = "enum"; +DLLSPEC daeString COLLADA_TYPE_GL_PIPELINE_SETTINGS = "gl_pipeline_settings"; +DLLSPEC daeString COLLADA_TYPE_ALPHA_FUNC = "alpha_func"; +DLLSPEC daeString COLLADA_TYPE_FUNC = "func"; +DLLSPEC daeString COLLADA_TYPE_VALUE = "value"; +DLLSPEC daeString COLLADA_TYPE_BLEND_FUNC = "blend_func"; +DLLSPEC daeString COLLADA_TYPE_SRC = "src"; +DLLSPEC daeString COLLADA_TYPE_DEST = "dest"; +DLLSPEC daeString COLLADA_TYPE_BLEND_FUNC_SEPARATE = "blend_func_separate"; +DLLSPEC daeString COLLADA_TYPE_SRC_RGB = "src_rgb"; +DLLSPEC daeString COLLADA_TYPE_DEST_RGB = "dest_rgb"; +DLLSPEC daeString COLLADA_TYPE_SRC_ALPHA = "src_alpha"; +DLLSPEC daeString COLLADA_TYPE_DEST_ALPHA = "dest_alpha"; +DLLSPEC daeString COLLADA_TYPE_BLEND_EQUATION = "blend_equation"; +DLLSPEC daeString COLLADA_TYPE_BLEND_EQUATION_SEPARATE = "blend_equation_separate"; +DLLSPEC daeString COLLADA_TYPE_RGB = "rgb"; +DLLSPEC daeString COLLADA_TYPE_ALPHA = "alpha"; +DLLSPEC daeString COLLADA_TYPE_COLOR_MATERIAL = "color_material"; +DLLSPEC daeString COLLADA_TYPE_MODE = "mode"; +DLLSPEC daeString COLLADA_TYPE_CULL_FACE = "cull_face"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_FUNC = "depth_func"; +DLLSPEC daeString COLLADA_TYPE_FOG_MODE = "fog_mode"; +DLLSPEC daeString COLLADA_TYPE_FOG_COORD_SRC = "fog_coord_src"; +DLLSPEC daeString COLLADA_TYPE_FRONT_FACE = "front_face"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_MODEL_COLOR_CONTROL = "light_model_color_control"; +DLLSPEC daeString COLLADA_TYPE_LOGIC_OP = "logic_op"; +DLLSPEC daeString COLLADA_TYPE_POLYGON_MODE = "polygon_mode"; +DLLSPEC daeString COLLADA_TYPE_SHADE_MODEL = "shade_model"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_FUNC = "stencil_func"; +DLLSPEC daeString COLLADA_TYPE_REF = "ref"; +DLLSPEC daeString COLLADA_TYPE_MASK = "mask"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_OP = "stencil_op"; +DLLSPEC daeString COLLADA_TYPE_FAIL = "fail"; +DLLSPEC daeString COLLADA_TYPE_ZFAIL = "zfail"; +DLLSPEC daeString COLLADA_TYPE_ZPASS = "zpass"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_FUNC_SEPARATE = "stencil_func_separate"; +DLLSPEC daeString COLLADA_TYPE_FRONT = "front"; +DLLSPEC daeString COLLADA_TYPE_BACK = "back"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_OP_SEPARATE = "stencil_op_separate"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_MASK_SEPARATE = "stencil_mask_separate"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_ENABLE = "light_enable"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_AMBIENT = "light_ambient"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_DIFFUSE = "light_diffuse"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_SPECULAR = "light_specular"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_POSITION = "light_position"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_CONSTANT_ATTENUATION = "light_constant_attenuation"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_LINEAR_ATTENUATION = "light_linear_attenuation"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_QUADRATIC_ATTENUATION = "light_quadratic_attenuation"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_SPOT_CUTOFF = "light_spot_cutoff"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_SPOT_DIRECTION = "light_spot_direction"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_SPOT_EXPONENT = "light_spot_exponent"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE1D = "texture1D"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE2D = "texture2D"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE3D = "texture3D"; +DLLSPEC daeString COLLADA_TYPE_TEXTURECUBE = "textureCUBE"; +DLLSPEC daeString COLLADA_TYPE_TEXTURERECT = "textureRECT"; +DLLSPEC daeString COLLADA_TYPE_TEXTUREDEPTH = "textureDEPTH"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE1D_ENABLE = "texture1D_enable"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE2D_ENABLE = "texture2D_enable"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE3D_ENABLE = "texture3D_enable"; +DLLSPEC daeString COLLADA_TYPE_TEXTURECUBE_ENABLE = "textureCUBE_enable"; +DLLSPEC daeString COLLADA_TYPE_TEXTURERECT_ENABLE = "textureRECT_enable"; +DLLSPEC daeString COLLADA_TYPE_TEXTUREDEPTH_ENABLE = "textureDEPTH_enable"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE_ENV_COLOR = "texture_env_color"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE_ENV_MODE = "texture_env_mode"; +DLLSPEC daeString COLLADA_TYPE_CLIP_PLANE = "clip_plane"; +DLLSPEC daeString COLLADA_TYPE_CLIP_PLANE_ENABLE = "clip_plane_enable"; +DLLSPEC daeString COLLADA_TYPE_BLEND_COLOR = "blend_color"; +DLLSPEC daeString COLLADA_TYPE_CLEAR_COLOR = "clear_color"; +DLLSPEC daeString COLLADA_TYPE_CLEAR_STENCIL = "clear_stencil"; +DLLSPEC daeString COLLADA_TYPE_CLEAR_DEPTH = "clear_depth"; +DLLSPEC daeString COLLADA_TYPE_COLOR_MASK = "color_mask"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_BOUNDS = "depth_bounds"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_MASK = "depth_mask"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_RANGE = "depth_range"; +DLLSPEC daeString COLLADA_TYPE_FOG_DENSITY = "fog_density"; +DLLSPEC daeString COLLADA_TYPE_FOG_START = "fog_start"; +DLLSPEC daeString COLLADA_TYPE_FOG_END = "fog_end"; +DLLSPEC daeString COLLADA_TYPE_FOG_COLOR = "fog_color"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_MODEL_AMBIENT = "light_model_ambient"; +DLLSPEC daeString COLLADA_TYPE_LIGHTING_ENABLE = "lighting_enable"; +DLLSPEC daeString COLLADA_TYPE_LINE_STIPPLE = "line_stipple"; +DLLSPEC daeString COLLADA_TYPE_LINE_WIDTH = "line_width"; +DLLSPEC daeString COLLADA_TYPE_MATERIAL_AMBIENT = "material_ambient"; +DLLSPEC daeString COLLADA_TYPE_MATERIAL_DIFFUSE = "material_diffuse"; +DLLSPEC daeString COLLADA_TYPE_MATERIAL_EMISSION = "material_emission"; +DLLSPEC daeString COLLADA_TYPE_MATERIAL_SHININESS = "material_shininess"; +DLLSPEC daeString COLLADA_TYPE_MATERIAL_SPECULAR = "material_specular"; +DLLSPEC daeString COLLADA_TYPE_MODEL_VIEW_MATRIX = "model_view_matrix"; +DLLSPEC daeString COLLADA_TYPE_POINT_DISTANCE_ATTENUATION = "point_distance_attenuation"; +DLLSPEC daeString COLLADA_TYPE_POINT_FADE_THRESHOLD_SIZE = "point_fade_threshold_size"; +DLLSPEC daeString COLLADA_TYPE_POINT_SIZE = "point_size"; +DLLSPEC daeString COLLADA_TYPE_POINT_SIZE_MIN = "point_size_min"; +DLLSPEC daeString COLLADA_TYPE_POINT_SIZE_MAX = "point_size_max"; +DLLSPEC daeString COLLADA_TYPE_POLYGON_OFFSET = "polygon_offset"; +DLLSPEC daeString COLLADA_TYPE_PROJECTION_MATRIX = "projection_matrix"; +DLLSPEC daeString COLLADA_TYPE_SCISSOR = "scissor"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_MASK = "stencil_mask"; +DLLSPEC daeString COLLADA_TYPE_ALPHA_TEST_ENABLE = "alpha_test_enable"; +DLLSPEC daeString COLLADA_TYPE_AUTO_NORMAL_ENABLE = "auto_normal_enable"; +DLLSPEC daeString COLLADA_TYPE_BLEND_ENABLE = "blend_enable"; +DLLSPEC daeString COLLADA_TYPE_COLOR_LOGIC_OP_ENABLE = "color_logic_op_enable"; +DLLSPEC daeString COLLADA_TYPE_COLOR_MATERIAL_ENABLE = "color_material_enable"; +DLLSPEC daeString COLLADA_TYPE_CULL_FACE_ENABLE = "cull_face_enable"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_BOUNDS_ENABLE = "depth_bounds_enable"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_CLAMP_ENABLE = "depth_clamp_enable"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_TEST_ENABLE = "depth_test_enable"; +DLLSPEC daeString COLLADA_TYPE_DITHER_ENABLE = "dither_enable"; +DLLSPEC daeString COLLADA_TYPE_FOG_ENABLE = "fog_enable"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_MODEL_LOCAL_VIEWER_ENABLE = "light_model_local_viewer_enable"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_MODEL_TWO_SIDE_ENABLE = "light_model_two_side_enable"; +DLLSPEC daeString COLLADA_TYPE_LINE_SMOOTH_ENABLE = "line_smooth_enable"; +DLLSPEC daeString COLLADA_TYPE_LINE_STIPPLE_ENABLE = "line_stipple_enable"; +DLLSPEC daeString COLLADA_TYPE_LOGIC_OP_ENABLE = "logic_op_enable"; +DLLSPEC daeString COLLADA_TYPE_MULTISAMPLE_ENABLE = "multisample_enable"; +DLLSPEC daeString COLLADA_TYPE_NORMALIZE_ENABLE = "normalize_enable"; +DLLSPEC daeString COLLADA_TYPE_POINT_SMOOTH_ENABLE = "point_smooth_enable"; +DLLSPEC daeString COLLADA_TYPE_POLYGON_OFFSET_FILL_ENABLE = "polygon_offset_fill_enable"; +DLLSPEC daeString COLLADA_TYPE_POLYGON_OFFSET_LINE_ENABLE = "polygon_offset_line_enable"; +DLLSPEC daeString COLLADA_TYPE_POLYGON_OFFSET_POINT_ENABLE = "polygon_offset_point_enable"; +DLLSPEC daeString COLLADA_TYPE_POLYGON_SMOOTH_ENABLE = "polygon_smooth_enable"; +DLLSPEC daeString COLLADA_TYPE_POLYGON_STIPPLE_ENABLE = "polygon_stipple_enable"; +DLLSPEC daeString COLLADA_TYPE_RESCALE_NORMAL_ENABLE = "rescale_normal_enable"; +DLLSPEC daeString COLLADA_TYPE_SAMPLE_ALPHA_TO_COVERAGE_ENABLE = "sample_alpha_to_coverage_enable"; +DLLSPEC daeString COLLADA_TYPE_SAMPLE_ALPHA_TO_ONE_ENABLE = "sample_alpha_to_one_enable"; +DLLSPEC daeString COLLADA_TYPE_SAMPLE_COVERAGE_ENABLE = "sample_coverage_enable"; +DLLSPEC daeString COLLADA_TYPE_SCISSOR_TEST_ENABLE = "scissor_test_enable"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_TEST_ENABLE = "stencil_test_enable"; +DLLSPEC daeString COLLADA_TYPE_GLSL_PARAM_TYPE = "glsl_param_type"; +DLLSPEC daeString COLLADA_TYPE_CG_PARAM_TYPE = "cg_param_type"; +DLLSPEC daeString COLLADA_TYPE_BOOL1 = "bool1"; +DLLSPEC daeString COLLADA_TYPE_BOOL1X1 = "bool1x1"; +DLLSPEC daeString COLLADA_TYPE_BOOL1X2 = "bool1x2"; +DLLSPEC daeString COLLADA_TYPE_BOOL1X3 = "bool1x3"; +DLLSPEC daeString COLLADA_TYPE_BOOL1X4 = "bool1x4"; +DLLSPEC daeString COLLADA_TYPE_BOOL2X1 = "bool2x1"; +DLLSPEC daeString COLLADA_TYPE_BOOL2X2 = "bool2x2"; +DLLSPEC daeString COLLADA_TYPE_BOOL2X3 = "bool2x3"; +DLLSPEC daeString COLLADA_TYPE_BOOL2X4 = "bool2x4"; +DLLSPEC daeString COLLADA_TYPE_BOOL3X1 = "bool3x1"; +DLLSPEC daeString COLLADA_TYPE_BOOL3X2 = "bool3x2"; +DLLSPEC daeString COLLADA_TYPE_BOOL3X3 = "bool3x3"; +DLLSPEC daeString COLLADA_TYPE_BOOL3X4 = "bool3x4"; +DLLSPEC daeString COLLADA_TYPE_BOOL4X1 = "bool4x1"; +DLLSPEC daeString COLLADA_TYPE_BOOL4X2 = "bool4x2"; +DLLSPEC daeString COLLADA_TYPE_BOOL4X3 = "bool4x3"; +DLLSPEC daeString COLLADA_TYPE_BOOL4X4 = "bool4x4"; +DLLSPEC daeString COLLADA_TYPE_FLOAT1 = "float1"; +DLLSPEC daeString COLLADA_TYPE_INT1 = "int1"; +DLLSPEC daeString COLLADA_TYPE_INT1X1 = "int1x1"; +DLLSPEC daeString COLLADA_TYPE_INT1X2 = "int1x2"; +DLLSPEC daeString COLLADA_TYPE_INT1X3 = "int1x3"; +DLLSPEC daeString COLLADA_TYPE_INT1X4 = "int1x4"; +DLLSPEC daeString COLLADA_TYPE_INT2X1 = "int2x1"; +DLLSPEC daeString COLLADA_TYPE_INT2X2 = "int2x2"; +DLLSPEC daeString COLLADA_TYPE_INT2X3 = "int2x3"; +DLLSPEC daeString COLLADA_TYPE_INT2X4 = "int2x4"; +DLLSPEC daeString COLLADA_TYPE_INT3X1 = "int3x1"; +DLLSPEC daeString COLLADA_TYPE_INT3X2 = "int3x2"; +DLLSPEC daeString COLLADA_TYPE_INT3X3 = "int3x3"; +DLLSPEC daeString COLLADA_TYPE_INT3X4 = "int3x4"; +DLLSPEC daeString COLLADA_TYPE_INT4X1 = "int4x1"; +DLLSPEC daeString COLLADA_TYPE_INT4X2 = "int4x2"; +DLLSPEC daeString COLLADA_TYPE_INT4X3 = "int4x3"; +DLLSPEC daeString COLLADA_TYPE_INT4X4 = "int4x4"; +DLLSPEC daeString COLLADA_TYPE_HALF = "half"; +DLLSPEC daeString COLLADA_TYPE_HALF1 = "half1"; +DLLSPEC daeString COLLADA_TYPE_HALF2 = "half2"; +DLLSPEC daeString COLLADA_TYPE_HALF3 = "half3"; +DLLSPEC daeString COLLADA_TYPE_HALF4 = "half4"; +DLLSPEC daeString COLLADA_TYPE_HALF1X1 = "half1x1"; +DLLSPEC daeString COLLADA_TYPE_HALF1X2 = "half1x2"; +DLLSPEC daeString COLLADA_TYPE_HALF1X3 = "half1x3"; +DLLSPEC daeString COLLADA_TYPE_HALF1X4 = "half1x4"; +DLLSPEC daeString COLLADA_TYPE_HALF2X1 = "half2x1"; +DLLSPEC daeString COLLADA_TYPE_HALF2X2 = "half2x2"; +DLLSPEC daeString COLLADA_TYPE_HALF2X3 = "half2x3"; +DLLSPEC daeString COLLADA_TYPE_HALF2X4 = "half2x4"; +DLLSPEC daeString COLLADA_TYPE_HALF3X1 = "half3x1"; +DLLSPEC daeString COLLADA_TYPE_HALF3X2 = "half3x2"; +DLLSPEC daeString COLLADA_TYPE_HALF3X3 = "half3x3"; +DLLSPEC daeString COLLADA_TYPE_HALF3X4 = "half3x4"; +DLLSPEC daeString COLLADA_TYPE_HALF4X1 = "half4x1"; +DLLSPEC daeString COLLADA_TYPE_HALF4X2 = "half4x2"; +DLLSPEC daeString COLLADA_TYPE_HALF4X3 = "half4x3"; +DLLSPEC daeString COLLADA_TYPE_HALF4X4 = "half4x4"; +DLLSPEC daeString COLLADA_TYPE_FIXED = "fixed"; +DLLSPEC daeString COLLADA_TYPE_FIXED1 = "fixed1"; +DLLSPEC daeString COLLADA_TYPE_FIXED2 = "fixed2"; +DLLSPEC daeString COLLADA_TYPE_FIXED3 = "fixed3"; +DLLSPEC daeString COLLADA_TYPE_FIXED4 = "fixed4"; +DLLSPEC daeString COLLADA_TYPE_FIXED1X1 = "fixed1x1"; +DLLSPEC daeString COLLADA_TYPE_FIXED1X2 = "fixed1x2"; +DLLSPEC daeString COLLADA_TYPE_FIXED1X3 = "fixed1x3"; +DLLSPEC daeString COLLADA_TYPE_FIXED1X4 = "fixed1x4"; +DLLSPEC daeString COLLADA_TYPE_FIXED2X1 = "fixed2x1"; +DLLSPEC daeString COLLADA_TYPE_FIXED2X2 = "fixed2x2"; +DLLSPEC daeString COLLADA_TYPE_FIXED2X3 = "fixed2x3"; +DLLSPEC daeString COLLADA_TYPE_FIXED2X4 = "fixed2x4"; +DLLSPEC daeString COLLADA_TYPE_FIXED3X1 = "fixed3x1"; +DLLSPEC daeString COLLADA_TYPE_FIXED3X2 = "fixed3x2"; +DLLSPEC daeString COLLADA_TYPE_FIXED3X3 = "fixed3x3"; +DLLSPEC daeString COLLADA_TYPE_FIXED3X4 = "fixed3x4"; +DLLSPEC daeString COLLADA_TYPE_FIXED4X1 = "fixed4x1"; +DLLSPEC daeString COLLADA_TYPE_FIXED4X2 = "fixed4x2"; +DLLSPEC daeString COLLADA_TYPE_FIXED4X3 = "fixed4x3"; +DLLSPEC daeString COLLADA_TYPE_FIXED4X4 = "fixed4x4"; +DLLSPEC daeString COLLADA_TYPE_GLES_PIPELINE_SETTINGS = "gles_pipeline_settings"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE_PIPELINE = "texture_pipeline"; +DLLSPEC daeString COLLADA_TYPE_LIGHT_LINEAR_ATTENUTATION = "light_linear_attenutation"; +DLLSPEC daeString COLLADA_TYPE_TEXTURE_PIPELINE_ENABLE = "texture_pipeline_enable"; +DLLSPEC daeString COLLADA_TYPE_GLES_BASIC_TYPE_COMMON = "gles_basic_type_common"; +DLLSPEC daeString COLLADA_TYPE_COLLADA = "COLLADA"; +DLLSPEC daeString COLLADA_TYPE_SCENE = "scene"; +DLLSPEC daeString COLLADA_TYPE_IDREF_ARRAY = "IDREF_array"; +DLLSPEC daeString COLLADA_TYPE_NAME_ARRAY = "Name_array"; +DLLSPEC daeString COLLADA_TYPE_BOOL_ARRAY = "bool_array"; +DLLSPEC daeString COLLADA_TYPE_FLOAT_ARRAY = "float_array"; +DLLSPEC daeString COLLADA_TYPE_INT_ARRAY = "int_array"; +DLLSPEC daeString COLLADA_TYPE_ACCESSOR = "accessor"; +DLLSPEC daeString COLLADA_TYPE_TECHNIQUE_COMMON = "technique_common"; +DLLSPEC daeString COLLADA_TYPE_GEOMETRY = "geometry"; +DLLSPEC daeString COLLADA_TYPE_MESH = "mesh"; +DLLSPEC daeString COLLADA_TYPE_SPLINE = "spline"; +DLLSPEC daeString COLLADA_TYPE_CONTROL_VERTICES = "control_vertices"; +DLLSPEC daeString COLLADA_TYPE_P = "p"; +DLLSPEC daeString COLLADA_TYPE_LINES = "lines"; +DLLSPEC daeString COLLADA_TYPE_LINESTRIPS = "linestrips"; +DLLSPEC daeString COLLADA_TYPE_POLYGONS = "polygons"; +DLLSPEC daeString COLLADA_TYPE_PH = "ph"; +DLLSPEC daeString COLLADA_TYPE_H = "h"; +DLLSPEC daeString COLLADA_TYPE_POLYLIST = "polylist"; +DLLSPEC daeString COLLADA_TYPE_VCOUNT = "vcount"; +DLLSPEC daeString COLLADA_TYPE_TRIANGLES = "triangles"; +DLLSPEC daeString COLLADA_TYPE_TRIFANS = "trifans"; +DLLSPEC daeString COLLADA_TYPE_TRISTRIPS = "tristrips"; +DLLSPEC daeString COLLADA_TYPE_VERTICES = "vertices"; +DLLSPEC daeString COLLADA_TYPE_LOOKAT = "lookat"; +DLLSPEC daeString COLLADA_TYPE_MATRIX = "matrix"; +DLLSPEC daeString COLLADA_TYPE_ROTATE = "rotate"; +DLLSPEC daeString COLLADA_TYPE_SCALE = "scale"; +DLLSPEC daeString COLLADA_TYPE_SKEW = "skew"; +DLLSPEC daeString COLLADA_TYPE_TRANSLATE = "translate"; +DLLSPEC daeString COLLADA_TYPE_IMAGE = "image"; +DLLSPEC daeString COLLADA_TYPE_DATA = "data"; +DLLSPEC daeString COLLADA_TYPE_INIT_FROM = "init_from"; +DLLSPEC daeString COLLADA_TYPE_LIGHT = "light"; +DLLSPEC daeString COLLADA_TYPE_AMBIENT = "ambient"; +DLLSPEC daeString COLLADA_TYPE_DIRECTIONAL = "directional"; +DLLSPEC daeString COLLADA_TYPE_POINT = "point"; +DLLSPEC daeString COLLADA_TYPE_SPOT = "spot"; +DLLSPEC daeString COLLADA_TYPE_MATERIAL = "material"; +DLLSPEC daeString COLLADA_TYPE_CAMERA = "camera"; +DLLSPEC daeString COLLADA_TYPE_OPTICS = "optics"; +DLLSPEC daeString COLLADA_TYPE_ORTHOGRAPHIC = "orthographic"; +DLLSPEC daeString COLLADA_TYPE_PERSPECTIVE = "perspective"; +DLLSPEC daeString COLLADA_TYPE_IMAGER = "imager"; +DLLSPEC daeString COLLADA_TYPE_ANIMATION = "animation"; +DLLSPEC daeString COLLADA_TYPE_ANIMATION_CLIP = "animation_clip"; +DLLSPEC daeString COLLADA_TYPE_CHANNEL = "channel"; +DLLSPEC daeString COLLADA_TYPE_SAMPLER = "sampler"; +DLLSPEC daeString COLLADA_TYPE_CONTROLLER = "controller"; +DLLSPEC daeString COLLADA_TYPE_SKIN = "skin"; +DLLSPEC daeString COLLADA_TYPE_BIND_SHAPE_MATRIX = "bind_shape_matrix"; +DLLSPEC daeString COLLADA_TYPE_JOINTS = "joints"; +DLLSPEC daeString COLLADA_TYPE_VERTEX_WEIGHTS = "vertex_weights"; +DLLSPEC daeString COLLADA_TYPE_V = "v"; +DLLSPEC daeString COLLADA_TYPE_MORPH = "morph"; +DLLSPEC daeString COLLADA_TYPE_TARGETS = "targets"; +DLLSPEC daeString COLLADA_TYPE_ASSET = "asset"; +DLLSPEC daeString COLLADA_TYPE_CONTRIBUTOR = "contributor"; +DLLSPEC daeString COLLADA_TYPE_AUTHOR = "author"; +DLLSPEC daeString COLLADA_TYPE_AUTHORING_TOOL = "authoring_tool"; +DLLSPEC daeString COLLADA_TYPE_COMMENTS = "comments"; +DLLSPEC daeString COLLADA_TYPE_COPYRIGHT = "copyright"; +DLLSPEC daeString COLLADA_TYPE_SOURCE_DATA = "source_data"; +DLLSPEC daeString COLLADA_TYPE_CREATED = "created"; +DLLSPEC daeString COLLADA_TYPE_KEYWORDS = "keywords"; +DLLSPEC daeString COLLADA_TYPE_MODIFIED = "modified"; +DLLSPEC daeString COLLADA_TYPE_REVISION = "revision"; +DLLSPEC daeString COLLADA_TYPE_SUBJECT = "subject"; +DLLSPEC daeString COLLADA_TYPE_TITLE = "title"; +DLLSPEC daeString COLLADA_TYPE_UNIT = "unit"; +DLLSPEC daeString COLLADA_TYPE_UP_AXIS = "up_axis"; +DLLSPEC daeString COLLADA_TYPE_EXTRA = "extra"; +DLLSPEC daeString COLLADA_TYPE_TECHNIQUE = "technique"; +DLLSPEC daeString COLLADA_TYPE_NODE = "node"; +DLLSPEC daeString COLLADA_TYPE_VISUAL_SCENE = "visual_scene"; +DLLSPEC daeString COLLADA_TYPE_EVALUATE_SCENE = "evaluate_scene"; +DLLSPEC daeString COLLADA_TYPE_RENDER = "render"; +DLLSPEC daeString COLLADA_TYPE_LAYER = "layer"; +DLLSPEC daeString COLLADA_TYPE_BIND_MATERIAL = "bind_material"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_CAMERA = "instance_camera"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_CONTROLLER = "instance_controller"; +DLLSPEC daeString COLLADA_TYPE_SKELETON = "skeleton"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_EFFECT = "instance_effect"; +DLLSPEC daeString COLLADA_TYPE_TECHNIQUE_HINT = "technique_hint"; +DLLSPEC daeString COLLADA_TYPE_SETPARAM = "setparam"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_FORCE_FIELD = "instance_force_field"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_GEOMETRY = "instance_geometry"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_LIGHT = "instance_light"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_MATERIAL = "instance_material"; +DLLSPEC daeString COLLADA_TYPE_BIND = "bind"; +DLLSPEC daeString COLLADA_TYPE_BIND_VERTEX_INPUT = "bind_vertex_input"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_NODE = "instance_node"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_PHYSICS_MATERIAL = "instance_physics_material"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_PHYSICS_MODEL = "instance_physics_model"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_RIGID_BODY = "instance_rigid_body"; +DLLSPEC daeString COLLADA_TYPE_ANGULAR_VELOCITY = "angular_velocity"; +DLLSPEC daeString COLLADA_TYPE_VELOCITY = "velocity"; +DLLSPEC daeString COLLADA_TYPE_DYNAMIC = "dynamic"; +DLLSPEC daeString COLLADA_TYPE_MASS_FRAME = "mass_frame"; +DLLSPEC daeString COLLADA_TYPE_SHAPE = "shape"; +DLLSPEC daeString COLLADA_TYPE_HOLLOW = "hollow"; +DLLSPEC daeString COLLADA_TYPE_INSTANCE_RIGID_CONSTRAINT = "instance_rigid_constraint"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_ANIMATIONS = "library_animations"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_ANIMATION_CLIPS = "library_animation_clips"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_CAMERAS = "library_cameras"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_CONTROLLERS = "library_controllers"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_GEOMETRIES = "library_geometries"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_EFFECTS = "library_effects"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_FORCE_FIELDS = "library_force_fields"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_IMAGES = "library_images"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_LIGHTS = "library_lights"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_MATERIALS = "library_materials"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_NODES = "library_nodes"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_PHYSICS_MATERIALS = "library_physics_materials"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_PHYSICS_MODELS = "library_physics_models"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_PHYSICS_SCENES = "library_physics_scenes"; +DLLSPEC daeString COLLADA_TYPE_LIBRARY_VISUAL_SCENES = "library_visual_scenes"; +DLLSPEC daeString COLLADA_TYPE_FX_PROFILE_ABSTRACT = "fx_profile_abstract"; +DLLSPEC daeString COLLADA_TYPE_EFFECT = "effect"; +DLLSPEC daeString COLLADA_TYPE_GL_HOOK_ABSTRACT = "gl_hook_abstract"; +DLLSPEC daeString COLLADA_TYPE_PROFILE_GLSL = "profile_GLSL"; +DLLSPEC daeString COLLADA_TYPE_PASS = "pass"; +DLLSPEC daeString COLLADA_TYPE_DRAW = "draw"; +DLLSPEC daeString COLLADA_TYPE_SHADER = "shader"; +DLLSPEC daeString COLLADA_TYPE_COMPILER_TARGET = "compiler_target"; +DLLSPEC daeString COLLADA_TYPE_COMPILER_OPTIONS = "compiler_options"; +DLLSPEC daeString COLLADA_TYPE_PROFILE_COMMON = "profile_COMMON"; +DLLSPEC daeString COLLADA_TYPE_CONSTANT = "constant"; +DLLSPEC daeString COLLADA_TYPE_LAMBERT = "lambert"; +DLLSPEC daeString COLLADA_TYPE_PHONG = "phong"; +DLLSPEC daeString COLLADA_TYPE_BLINN = "blinn"; +DLLSPEC daeString COLLADA_TYPE_PROFILE_CG = "profile_CG"; +DLLSPEC daeString COLLADA_TYPE_PROFILE_GLES = "profile_GLES"; +DLLSPEC daeString COLLADA_TYPE_COLOR_TARGET = "color_target"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_TARGET = "depth_target"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_TARGET = "stencil_target"; +DLLSPEC daeString COLLADA_TYPE_COLOR_CLEAR = "color_clear"; +DLLSPEC daeString COLLADA_TYPE_DEPTH_CLEAR = "depth_clear"; +DLLSPEC daeString COLLADA_TYPE_STENCIL_CLEAR = "stencil_clear"; +DLLSPEC daeString COLLADA_TYPE_BOX = "box"; +DLLSPEC daeString COLLADA_TYPE_HALF_EXTENTS = "half_extents"; +DLLSPEC daeString COLLADA_TYPE_PLANE = "plane"; +DLLSPEC daeString COLLADA_TYPE_EQUATION = "equation"; +DLLSPEC daeString COLLADA_TYPE_SPHERE = "sphere"; +DLLSPEC daeString COLLADA_TYPE_RADIUS = "radius"; +DLLSPEC daeString COLLADA_TYPE_ELLIPSOID = "ellipsoid"; +DLLSPEC daeString COLLADA_TYPE_CYLINDER = "cylinder"; +DLLSPEC daeString COLLADA_TYPE_HEIGHT = "height"; +DLLSPEC daeString COLLADA_TYPE_TAPERED_CYLINDER = "tapered_cylinder"; +DLLSPEC daeString COLLADA_TYPE_RADIUS1 = "radius1"; +DLLSPEC daeString COLLADA_TYPE_RADIUS2 = "radius2"; +DLLSPEC daeString COLLADA_TYPE_CAPSULE = "capsule"; +DLLSPEC daeString COLLADA_TYPE_TAPERED_CAPSULE = "tapered_capsule"; +DLLSPEC daeString COLLADA_TYPE_CONVEX_MESH = "convex_mesh"; +DLLSPEC daeString COLLADA_TYPE_FORCE_FIELD = "force_field"; +DLLSPEC daeString COLLADA_TYPE_PHYSICS_MATERIAL = "physics_material"; +DLLSPEC daeString COLLADA_TYPE_PHYSICS_SCENE = "physics_scene"; +DLLSPEC daeString COLLADA_TYPE_RIGID_BODY = "rigid_body"; +DLLSPEC daeString COLLADA_TYPE_RIGID_CONSTRAINT = "rigid_constraint"; +DLLSPEC daeString COLLADA_TYPE_REF_ATTACHMENT = "ref_attachment"; +DLLSPEC daeString COLLADA_TYPE_ATTACHMENT = "attachment"; +DLLSPEC daeString COLLADA_TYPE_ENABLED = "enabled"; +DLLSPEC daeString COLLADA_TYPE_INTERPENETRATE = "interpenetrate"; +DLLSPEC daeString COLLADA_TYPE_LIMITS = "limits"; +DLLSPEC daeString COLLADA_TYPE_SWING_CONE_AND_TWIST = "swing_cone_and_twist"; +DLLSPEC daeString COLLADA_TYPE_LINEAR = "linear"; +DLLSPEC daeString COLLADA_TYPE_SPRING = "spring"; +DLLSPEC daeString COLLADA_TYPE_ANGULAR = "angular"; +DLLSPEC daeString COLLADA_TYPE_PHYSICS_MODEL = "physics_model"; + +DLLSPEC daeString COLLADA_ELEMENT_COLLADA = "COLLADA"; +DLLSPEC daeString COLLADA_ELEMENT_EXTRA = "extra"; +DLLSPEC daeString COLLADA_ELEMENT_CHANNELS = "channels"; +DLLSPEC daeString COLLADA_ELEMENT_RANGE = "range"; +DLLSPEC daeString COLLADA_ELEMENT_PRECISION = "precision"; +DLLSPEC daeString COLLADA_ELEMENT_OPTION = "option"; +DLLSPEC daeString COLLADA_ELEMENT_ALL = "all"; +DLLSPEC daeString COLLADA_ELEMENT_PRIMARY = "primary"; +DLLSPEC daeString COLLADA_ELEMENT_FACE = "face"; +DLLSPEC daeString COLLADA_ELEMENT_ORDER = "order"; +DLLSPEC daeString COLLADA_ELEMENT_FX_SURFACE_INIT_COMMON = "fx_surface_init_common"; +DLLSPEC daeString COLLADA_ELEMENT_FORMAT = "format"; +DLLSPEC daeString COLLADA_ELEMENT_FORMAT_HINT = "format_hint"; +DLLSPEC daeString COLLADA_ELEMENT_SIZE = "size"; +DLLSPEC daeString COLLADA_ELEMENT_VIEWPORT_RATIO = "viewport_ratio"; +DLLSPEC daeString COLLADA_ELEMENT_MIP_LEVELS = "mip_levels"; +DLLSPEC daeString COLLADA_ELEMENT_MIPMAP_GENERATE = "mipmap_generate"; +DLLSPEC daeString COLLADA_ELEMENT_SOURCE = "source"; +DLLSPEC daeString COLLADA_ELEMENT_WRAP_S = "wrap_s"; +DLLSPEC daeString COLLADA_ELEMENT_MINFILTER = "minfilter"; +DLLSPEC daeString COLLADA_ELEMENT_MAGFILTER = "magfilter"; +DLLSPEC daeString COLLADA_ELEMENT_MIPFILTER = "mipfilter"; +DLLSPEC daeString COLLADA_ELEMENT_BORDER_COLOR = "border_color"; +DLLSPEC daeString COLLADA_ELEMENT_MIPMAP_MAXLEVEL = "mipmap_maxlevel"; +DLLSPEC daeString COLLADA_ELEMENT_MIPMAP_BIAS = "mipmap_bias"; +DLLSPEC daeString COLLADA_ELEMENT_WRAP_T = "wrap_t"; +DLLSPEC daeString COLLADA_ELEMENT_WRAP_P = "wrap_p"; +DLLSPEC daeString COLLADA_ELEMENT_FX_ANNOTATE_TYPE_COMMON = "fx_annotate_type_common"; +DLLSPEC daeString COLLADA_ELEMENT_ANNOTATE = "annotate"; +DLLSPEC daeString COLLADA_ELEMENT_SEMANTIC = "semantic"; +DLLSPEC daeString COLLADA_ELEMENT_MODIFIER = "modifier"; +DLLSPEC daeString COLLADA_ELEMENT_FX_BASIC_TYPE_COMMON = "fx_basic_type_common"; +DLLSPEC daeString COLLADA_ELEMENT_GLSL_PARAM_TYPE = "glsl_param_type"; +DLLSPEC daeString COLLADA_ELEMENT_ARRAY = "array"; +DLLSPEC daeString COLLADA_ELEMENT_GENERATOR = "generator"; +DLLSPEC daeString COLLADA_ELEMENT_CODE = "code"; +DLLSPEC daeString COLLADA_ELEMENT_INCLUDE = "include"; +DLLSPEC daeString COLLADA_ELEMENT_NAME = "name"; +DLLSPEC daeString COLLADA_ELEMENT_SETPARAM = "setparam"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT = "float"; +DLLSPEC daeString COLLADA_ELEMENT_PARAM = "param"; +DLLSPEC daeString COLLADA_ELEMENT_COLOR = "color"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE = "texture"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT2 = "float2"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT3 = "float3"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT4 = "float4"; +DLLSPEC daeString COLLADA_ELEMENT_SURFACE = "surface"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLER2D = "sampler2D"; +DLLSPEC daeString COLLADA_ELEMENT_CG_PARAM_TYPE = "cg_param_type"; +DLLSPEC daeString COLLADA_ELEMENT_USERTYPE = "usertype"; +DLLSPEC daeString COLLADA_ELEMENT_CONNECT_PARAM = "connect_param"; +DLLSPEC daeString COLLADA_ELEMENT_CONSTANT = "constant"; +DLLSPEC daeString COLLADA_ELEMENT_ARGUMENT = "argument"; +DLLSPEC daeString COLLADA_ELEMENT_RGB = "RGB"; +DLLSPEC daeString COLLADA_ELEMENT_ALPHA = "alpha"; +DLLSPEC daeString COLLADA_ELEMENT_TEXCOMBINER = "texcombiner"; +DLLSPEC daeString COLLADA_ELEMENT_TEXENV = "texenv"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLER_STATE = "sampler_state"; +DLLSPEC daeString COLLADA_ELEMENT_TEXCOORD = "texcoord"; +DLLSPEC daeString COLLADA_ELEMENT_GLES_BASIC_TYPE_COMMON = "gles_basic_type_common"; +DLLSPEC daeString COLLADA_ELEMENT_INIT_AS_NULL = "init_as_null"; +DLLSPEC daeString COLLADA_ELEMENT_INIT_AS_TARGET = "init_as_target"; +DLLSPEC daeString COLLADA_ELEMENT_INIT_CUBE = "init_cube"; +DLLSPEC daeString COLLADA_ELEMENT_INIT_VOLUME = "init_volume"; +DLLSPEC daeString COLLADA_ELEMENT_INIT_PLANAR = "init_planar"; +DLLSPEC daeString COLLADA_ELEMENT_INIT_FROM = "init_from"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL = "bool"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL2 = "bool2"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL3 = "bool3"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL4 = "bool4"; +DLLSPEC daeString COLLADA_ELEMENT_INT = "int"; +DLLSPEC daeString COLLADA_ELEMENT_INT2 = "int2"; +DLLSPEC daeString COLLADA_ELEMENT_INT3 = "int3"; +DLLSPEC daeString COLLADA_ELEMENT_INT4 = "int4"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT2X2 = "float2x2"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT3X3 = "float3x3"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT4X4 = "float4x4"; +DLLSPEC daeString COLLADA_ELEMENT_STRING = "string"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT1X1 = "float1x1"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT1X2 = "float1x2"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT1X3 = "float1x3"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT1X4 = "float1x4"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT2X1 = "float2x1"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT2X3 = "float2x3"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT2X4 = "float2x4"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT3X1 = "float3x1"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT3X2 = "float3x2"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT3X4 = "float3x4"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT4X1 = "float4x1"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT4X2 = "float4x2"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT4X3 = "float4x3"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLER1D = "sampler1D"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLER3D = "sampler3D"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLERCUBE = "samplerCUBE"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLERRECT = "samplerRECT"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLERDEPTH = "samplerDEPTH"; +DLLSPEC daeString COLLADA_ELEMENT_ENUM = "enum"; +DLLSPEC daeString COLLADA_ELEMENT_ALPHA_FUNC = "alpha_func"; +DLLSPEC daeString COLLADA_ELEMENT_BLEND_FUNC = "blend_func"; +DLLSPEC daeString COLLADA_ELEMENT_BLEND_FUNC_SEPARATE = "blend_func_separate"; +DLLSPEC daeString COLLADA_ELEMENT_BLEND_EQUATION = "blend_equation"; +DLLSPEC daeString COLLADA_ELEMENT_BLEND_EQUATION_SEPARATE = "blend_equation_separate"; +DLLSPEC daeString COLLADA_ELEMENT_COLOR_MATERIAL = "color_material"; +DLLSPEC daeString COLLADA_ELEMENT_CULL_FACE = "cull_face"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_FUNC = "depth_func"; +DLLSPEC daeString COLLADA_ELEMENT_FOG_MODE = "fog_mode"; +DLLSPEC daeString COLLADA_ELEMENT_FOG_COORD_SRC = "fog_coord_src"; +DLLSPEC daeString COLLADA_ELEMENT_FRONT_FACE = "front_face"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_MODEL_COLOR_CONTROL = "light_model_color_control"; +DLLSPEC daeString COLLADA_ELEMENT_LOGIC_OP = "logic_op"; +DLLSPEC daeString COLLADA_ELEMENT_POLYGON_MODE = "polygon_mode"; +DLLSPEC daeString COLLADA_ELEMENT_SHADE_MODEL = "shade_model"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_FUNC = "stencil_func"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_OP = "stencil_op"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_FUNC_SEPARATE = "stencil_func_separate"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_OP_SEPARATE = "stencil_op_separate"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_MASK_SEPARATE = "stencil_mask_separate"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_ENABLE = "light_enable"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_AMBIENT = "light_ambient"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_DIFFUSE = "light_diffuse"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_SPECULAR = "light_specular"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_POSITION = "light_position"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_CONSTANT_ATTENUATION = "light_constant_attenuation"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUATION = "light_linear_attenuation"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_QUADRATIC_ATTENUATION = "light_quadratic_attenuation"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_SPOT_CUTOFF = "light_spot_cutoff"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_SPOT_DIRECTION = "light_spot_direction"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_SPOT_EXPONENT = "light_spot_exponent"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE1D = "texture1D"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE2D = "texture2D"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE3D = "texture3D"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURECUBE = "textureCUBE"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURERECT = "textureRECT"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTUREDEPTH = "textureDEPTH"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE1D_ENABLE = "texture1D_enable"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE2D_ENABLE = "texture2D_enable"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE3D_ENABLE = "texture3D_enable"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURECUBE_ENABLE = "textureCUBE_enable"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURERECT_ENABLE = "textureRECT_enable"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTUREDEPTH_ENABLE = "textureDEPTH_enable"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_ENV_COLOR = "texture_env_color"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_ENV_MODE = "texture_env_mode"; +DLLSPEC daeString COLLADA_ELEMENT_CLIP_PLANE = "clip_plane"; +DLLSPEC daeString COLLADA_ELEMENT_CLIP_PLANE_ENABLE = "clip_plane_enable"; +DLLSPEC daeString COLLADA_ELEMENT_BLEND_COLOR = "blend_color"; +DLLSPEC daeString COLLADA_ELEMENT_CLEAR_COLOR = "clear_color"; +DLLSPEC daeString COLLADA_ELEMENT_CLEAR_STENCIL = "clear_stencil"; +DLLSPEC daeString COLLADA_ELEMENT_CLEAR_DEPTH = "clear_depth"; +DLLSPEC daeString COLLADA_ELEMENT_COLOR_MASK = "color_mask"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_BOUNDS = "depth_bounds"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_MASK = "depth_mask"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_RANGE = "depth_range"; +DLLSPEC daeString COLLADA_ELEMENT_FOG_DENSITY = "fog_density"; +DLLSPEC daeString COLLADA_ELEMENT_FOG_START = "fog_start"; +DLLSPEC daeString COLLADA_ELEMENT_FOG_END = "fog_end"; +DLLSPEC daeString COLLADA_ELEMENT_FOG_COLOR = "fog_color"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_MODEL_AMBIENT = "light_model_ambient"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHTING_ENABLE = "lighting_enable"; +DLLSPEC daeString COLLADA_ELEMENT_LINE_STIPPLE = "line_stipple"; +DLLSPEC daeString COLLADA_ELEMENT_LINE_WIDTH = "line_width"; +DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_AMBIENT = "material_ambient"; +DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_DIFFUSE = "material_diffuse"; +DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_EMISSION = "material_emission"; +DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_SHININESS = "material_shininess"; +DLLSPEC daeString COLLADA_ELEMENT_MATERIAL_SPECULAR = "material_specular"; +DLLSPEC daeString COLLADA_ELEMENT_MODEL_VIEW_MATRIX = "model_view_matrix"; +DLLSPEC daeString COLLADA_ELEMENT_POINT_DISTANCE_ATTENUATION = "point_distance_attenuation"; +DLLSPEC daeString COLLADA_ELEMENT_POINT_FADE_THRESHOLD_SIZE = "point_fade_threshold_size"; +DLLSPEC daeString COLLADA_ELEMENT_POINT_SIZE = "point_size"; +DLLSPEC daeString COLLADA_ELEMENT_POINT_SIZE_MIN = "point_size_min"; +DLLSPEC daeString COLLADA_ELEMENT_POINT_SIZE_MAX = "point_size_max"; +DLLSPEC daeString COLLADA_ELEMENT_POLYGON_OFFSET = "polygon_offset"; +DLLSPEC daeString COLLADA_ELEMENT_PROJECTION_MATRIX = "projection_matrix"; +DLLSPEC daeString COLLADA_ELEMENT_SCISSOR = "scissor"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_MASK = "stencil_mask"; +DLLSPEC daeString COLLADA_ELEMENT_ALPHA_TEST_ENABLE = "alpha_test_enable"; +DLLSPEC daeString COLLADA_ELEMENT_AUTO_NORMAL_ENABLE = "auto_normal_enable"; +DLLSPEC daeString COLLADA_ELEMENT_BLEND_ENABLE = "blend_enable"; +DLLSPEC daeString COLLADA_ELEMENT_COLOR_LOGIC_OP_ENABLE = "color_logic_op_enable"; +DLLSPEC daeString COLLADA_ELEMENT_COLOR_MATERIAL_ENABLE = "color_material_enable"; +DLLSPEC daeString COLLADA_ELEMENT_CULL_FACE_ENABLE = "cull_face_enable"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_BOUNDS_ENABLE = "depth_bounds_enable"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_CLAMP_ENABLE = "depth_clamp_enable"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_TEST_ENABLE = "depth_test_enable"; +DLLSPEC daeString COLLADA_ELEMENT_DITHER_ENABLE = "dither_enable"; +DLLSPEC daeString COLLADA_ELEMENT_FOG_ENABLE = "fog_enable"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_MODEL_LOCAL_VIEWER_ENABLE = "light_model_local_viewer_enable"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_MODEL_TWO_SIDE_ENABLE = "light_model_two_side_enable"; +DLLSPEC daeString COLLADA_ELEMENT_LINE_SMOOTH_ENABLE = "line_smooth_enable"; +DLLSPEC daeString COLLADA_ELEMENT_LINE_STIPPLE_ENABLE = "line_stipple_enable"; +DLLSPEC daeString COLLADA_ELEMENT_LOGIC_OP_ENABLE = "logic_op_enable"; +DLLSPEC daeString COLLADA_ELEMENT_MULTISAMPLE_ENABLE = "multisample_enable"; +DLLSPEC daeString COLLADA_ELEMENT_NORMALIZE_ENABLE = "normalize_enable"; +DLLSPEC daeString COLLADA_ELEMENT_POINT_SMOOTH_ENABLE = "point_smooth_enable"; +DLLSPEC daeString COLLADA_ELEMENT_POLYGON_OFFSET_FILL_ENABLE = "polygon_offset_fill_enable"; +DLLSPEC daeString COLLADA_ELEMENT_POLYGON_OFFSET_LINE_ENABLE = "polygon_offset_line_enable"; +DLLSPEC daeString COLLADA_ELEMENT_POLYGON_OFFSET_POINT_ENABLE = "polygon_offset_point_enable"; +DLLSPEC daeString COLLADA_ELEMENT_POLYGON_SMOOTH_ENABLE = "polygon_smooth_enable"; +DLLSPEC daeString COLLADA_ELEMENT_POLYGON_STIPPLE_ENABLE = "polygon_stipple_enable"; +DLLSPEC daeString COLLADA_ELEMENT_RESCALE_NORMAL_ENABLE = "rescale_normal_enable"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_COVERAGE_ENABLE = "sample_alpha_to_coverage_enable"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLE_ALPHA_TO_ONE_ENABLE = "sample_alpha_to_one_enable"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLE_COVERAGE_ENABLE = "sample_coverage_enable"; +DLLSPEC daeString COLLADA_ELEMENT_SCISSOR_TEST_ENABLE = "scissor_test_enable"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_TEST_ENABLE = "stencil_test_enable"; +DLLSPEC daeString COLLADA_ELEMENT_GL_HOOK_ABSTRACT = "gl_hook_abstract"; +DLLSPEC daeString COLLADA_ELEMENT_FUNC = "func"; +DLLSPEC daeString COLLADA_ELEMENT_VALUE = "value"; +DLLSPEC daeString COLLADA_ELEMENT_SRC = "src"; +DLLSPEC daeString COLLADA_ELEMENT_DEST = "dest"; +DLLSPEC daeString COLLADA_ELEMENT_SRC_RGB = "src_rgb"; +DLLSPEC daeString COLLADA_ELEMENT_DEST_RGB = "dest_rgb"; +DLLSPEC daeString COLLADA_ELEMENT_SRC_ALPHA = "src_alpha"; +DLLSPEC daeString COLLADA_ELEMENT_DEST_ALPHA = "dest_alpha"; +DLLSPEC daeString COLLADA_ELEMENT_rgb = "rgb"; +DLLSPEC daeString COLLADA_ELEMENT_MODE = "mode"; +DLLSPEC daeString COLLADA_ELEMENT_REF = "ref"; +DLLSPEC daeString COLLADA_ELEMENT_MASK = "mask"; +DLLSPEC daeString COLLADA_ELEMENT_FAIL = "fail"; +DLLSPEC daeString COLLADA_ELEMENT_ZFAIL = "zfail"; +DLLSPEC daeString COLLADA_ELEMENT_ZPASS = "zpass"; +DLLSPEC daeString COLLADA_ELEMENT_FRONT = "front"; +DLLSPEC daeString COLLADA_ELEMENT_BACK = "back"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL1 = "bool1"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL1X1 = "bool1x1"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL1X2 = "bool1x2"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL1X3 = "bool1x3"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL1X4 = "bool1x4"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL2X1 = "bool2x1"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL2X2 = "bool2x2"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL2X3 = "bool2x3"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL2X4 = "bool2x4"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL3X1 = "bool3x1"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL3X2 = "bool3x2"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL3X3 = "bool3x3"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL3X4 = "bool3x4"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL4X1 = "bool4x1"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL4X2 = "bool4x2"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL4X3 = "bool4x3"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL4X4 = "bool4x4"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT1 = "float1"; +DLLSPEC daeString COLLADA_ELEMENT_INT1 = "int1"; +DLLSPEC daeString COLLADA_ELEMENT_INT1X1 = "int1x1"; +DLLSPEC daeString COLLADA_ELEMENT_INT1X2 = "int1x2"; +DLLSPEC daeString COLLADA_ELEMENT_INT1X3 = "int1x3"; +DLLSPEC daeString COLLADA_ELEMENT_INT1X4 = "int1x4"; +DLLSPEC daeString COLLADA_ELEMENT_INT2X1 = "int2x1"; +DLLSPEC daeString COLLADA_ELEMENT_INT2X2 = "int2x2"; +DLLSPEC daeString COLLADA_ELEMENT_INT2X3 = "int2x3"; +DLLSPEC daeString COLLADA_ELEMENT_INT2X4 = "int2x4"; +DLLSPEC daeString COLLADA_ELEMENT_INT3X1 = "int3x1"; +DLLSPEC daeString COLLADA_ELEMENT_INT3X2 = "int3x2"; +DLLSPEC daeString COLLADA_ELEMENT_INT3X3 = "int3x3"; +DLLSPEC daeString COLLADA_ELEMENT_INT3X4 = "int3x4"; +DLLSPEC daeString COLLADA_ELEMENT_INT4X1 = "int4x1"; +DLLSPEC daeString COLLADA_ELEMENT_INT4X2 = "int4x2"; +DLLSPEC daeString COLLADA_ELEMENT_INT4X3 = "int4x3"; +DLLSPEC daeString COLLADA_ELEMENT_INT4X4 = "int4x4"; +DLLSPEC daeString COLLADA_ELEMENT_HALF = "half"; +DLLSPEC daeString COLLADA_ELEMENT_HALF1 = "half1"; +DLLSPEC daeString COLLADA_ELEMENT_HALF2 = "half2"; +DLLSPEC daeString COLLADA_ELEMENT_HALF3 = "half3"; +DLLSPEC daeString COLLADA_ELEMENT_HALF4 = "half4"; +DLLSPEC daeString COLLADA_ELEMENT_HALF1X1 = "half1x1"; +DLLSPEC daeString COLLADA_ELEMENT_HALF1X2 = "half1x2"; +DLLSPEC daeString COLLADA_ELEMENT_HALF1X3 = "half1x3"; +DLLSPEC daeString COLLADA_ELEMENT_HALF1X4 = "half1x4"; +DLLSPEC daeString COLLADA_ELEMENT_HALF2X1 = "half2x1"; +DLLSPEC daeString COLLADA_ELEMENT_HALF2X2 = "half2x2"; +DLLSPEC daeString COLLADA_ELEMENT_HALF2X3 = "half2x3"; +DLLSPEC daeString COLLADA_ELEMENT_HALF2X4 = "half2x4"; +DLLSPEC daeString COLLADA_ELEMENT_HALF3X1 = "half3x1"; +DLLSPEC daeString COLLADA_ELEMENT_HALF3X2 = "half3x2"; +DLLSPEC daeString COLLADA_ELEMENT_HALF3X3 = "half3x3"; +DLLSPEC daeString COLLADA_ELEMENT_HALF3X4 = "half3x4"; +DLLSPEC daeString COLLADA_ELEMENT_HALF4X1 = "half4x1"; +DLLSPEC daeString COLLADA_ELEMENT_HALF4X2 = "half4x2"; +DLLSPEC daeString COLLADA_ELEMENT_HALF4X3 = "half4x3"; +DLLSPEC daeString COLLADA_ELEMENT_HALF4X4 = "half4x4"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED = "fixed"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED1 = "fixed1"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED2 = "fixed2"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED3 = "fixed3"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED4 = "fixed4"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED1X1 = "fixed1x1"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED1X2 = "fixed1x2"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED1X3 = "fixed1x3"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED1X4 = "fixed1x4"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED2X1 = "fixed2x1"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED2X2 = "fixed2x2"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED2X3 = "fixed2x3"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED2X4 = "fixed2x4"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED3X1 = "fixed3x1"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED3X2 = "fixed3x2"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED3X3 = "fixed3x3"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED3X4 = "fixed3x4"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED4X1 = "fixed4x1"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED4X2 = "fixed4x2"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED4X3 = "fixed4x3"; +DLLSPEC daeString COLLADA_ELEMENT_FIXED4X4 = "fixed4x4"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_PIPELINE = "texture_pipeline"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT_LINEAR_ATTENUTATION = "light_linear_attenutation"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_PIPELINE_ENABLE = "texture_pipeline_enable"; +DLLSPEC daeString COLLADA_ELEMENT_TEXTURE_UNIT = "texture_unit"; +DLLSPEC daeString COLLADA_ELEMENT_ASSET = "asset"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_ANIMATIONS = "library_animations"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_ANIMATION_CLIPS = "library_animation_clips"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_CAMERAS = "library_cameras"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_CONTROLLERS = "library_controllers"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_GEOMETRIES = "library_geometries"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_EFFECTS = "library_effects"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_FORCE_FIELDS = "library_force_fields"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_IMAGES = "library_images"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_LIGHTS = "library_lights"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_MATERIALS = "library_materials"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_NODES = "library_nodes"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MATERIALS = "library_physics_materials"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_MODELS = "library_physics_models"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_PHYSICS_SCENES = "library_physics_scenes"; +DLLSPEC daeString COLLADA_ELEMENT_LIBRARY_VISUAL_SCENES = "library_visual_scenes"; +DLLSPEC daeString COLLADA_ELEMENT_SCENE = "scene"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_SCENE = "instance_physics_scene"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_VISUAL_SCENE = "instance_visual_scene"; +DLLSPEC daeString COLLADA_ELEMENT_IDREF_ARRAY = "IDREF_array"; +DLLSPEC daeString COLLADA_ELEMENT_NAME_ARRAY = "Name_array"; +DLLSPEC daeString COLLADA_ELEMENT_BOOL_ARRAY = "bool_array"; +DLLSPEC daeString COLLADA_ELEMENT_FLOAT_ARRAY = "float_array"; +DLLSPEC daeString COLLADA_ELEMENT_INT_ARRAY = "int_array"; +DLLSPEC daeString COLLADA_ELEMENT_TECHNIQUE_COMMON = "technique_common"; +DLLSPEC daeString COLLADA_ELEMENT_TECHNIQUE = "technique"; +DLLSPEC daeString COLLADA_ELEMENT_ACCESSOR = "accessor"; +DLLSPEC daeString COLLADA_ELEMENT_CONVEX_MESH = "convex_mesh"; +DLLSPEC daeString COLLADA_ELEMENT_MESH = "mesh"; +DLLSPEC daeString COLLADA_ELEMENT_SPLINE = "spline"; +DLLSPEC daeString COLLADA_ELEMENT_VERTICES = "vertices"; +DLLSPEC daeString COLLADA_ELEMENT_LINES = "lines"; +DLLSPEC daeString COLLADA_ELEMENT_LINESTRIPS = "linestrips"; +DLLSPEC daeString COLLADA_ELEMENT_POLYGONS = "polygons"; +DLLSPEC daeString COLLADA_ELEMENT_POLYLIST = "polylist"; +DLLSPEC daeString COLLADA_ELEMENT_TRIANGLES = "triangles"; +DLLSPEC daeString COLLADA_ELEMENT_TRIFANS = "trifans"; +DLLSPEC daeString COLLADA_ELEMENT_TRISTRIPS = "tristrips"; +DLLSPEC daeString COLLADA_ELEMENT_CONTROL_VERTICES = "control_vertices"; +DLLSPEC daeString COLLADA_ELEMENT_INPUT = "input"; +DLLSPEC daeString COLLADA_ELEMENT_P = "p"; +DLLSPEC daeString COLLADA_ELEMENT_PH = "ph"; +DLLSPEC daeString COLLADA_ELEMENT_H = "h"; +DLLSPEC daeString COLLADA_ELEMENT_VCOUNT = "vcount"; +DLLSPEC daeString COLLADA_ELEMENT_DATA = "data"; +DLLSPEC daeString COLLADA_ELEMENT_AMBIENT = "ambient"; +DLLSPEC daeString COLLADA_ELEMENT_DIRECTIONAL = "directional"; +DLLSPEC daeString COLLADA_ELEMENT_POINT = "point"; +DLLSPEC daeString COLLADA_ELEMENT_SPOT = "spot"; +DLLSPEC daeString COLLADA_ELEMENT_CONSTANT_ATTENUATION = "constant_attenuation"; +DLLSPEC daeString COLLADA_ELEMENT_LINEAR_ATTENUATION = "linear_attenuation"; +DLLSPEC daeString COLLADA_ELEMENT_QUADRATIC_ATTENUATION = "quadratic_attenuation"; +DLLSPEC daeString COLLADA_ELEMENT_FALLOFF_ANGLE = "falloff_angle"; +DLLSPEC daeString COLLADA_ELEMENT_FALLOFF_EXPONENT = "falloff_exponent"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_EFFECT = "instance_effect"; +DLLSPEC daeString COLLADA_ELEMENT_OPTICS = "optics"; +DLLSPEC daeString COLLADA_ELEMENT_IMAGER = "imager"; +DLLSPEC daeString COLLADA_ELEMENT_ORTHOGRAPHIC = "orthographic"; +DLLSPEC daeString COLLADA_ELEMENT_PERSPECTIVE = "perspective"; +DLLSPEC daeString COLLADA_ELEMENT_XMAG = "xmag"; +DLLSPEC daeString COLLADA_ELEMENT_YMAG = "ymag"; +DLLSPEC daeString COLLADA_ELEMENT_ASPECT_RATIO = "aspect_ratio"; +DLLSPEC daeString COLLADA_ELEMENT_ZNEAR = "znear"; +DLLSPEC daeString COLLADA_ELEMENT_ZFAR = "zfar"; +DLLSPEC daeString COLLADA_ELEMENT_XFOV = "xfov"; +DLLSPEC daeString COLLADA_ELEMENT_YFOV = "yfov"; +DLLSPEC daeString COLLADA_ELEMENT_SAMPLER = "sampler"; +DLLSPEC daeString COLLADA_ELEMENT_CHANNEL = "channel"; +DLLSPEC daeString COLLADA_ELEMENT_ANIMATION = "animation"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_ANIMATION = "instance_animation"; +DLLSPEC daeString COLLADA_ELEMENT_SKIN = "skin"; +DLLSPEC daeString COLLADA_ELEMENT_MORPH = "morph"; +DLLSPEC daeString COLLADA_ELEMENT_BIND_SHAPE_MATRIX = "bind_shape_matrix"; +DLLSPEC daeString COLLADA_ELEMENT_JOINTS = "joints"; +DLLSPEC daeString COLLADA_ELEMENT_VERTEX_WEIGHTS = "vertex_weights"; +DLLSPEC daeString COLLADA_ELEMENT_V = "v"; +DLLSPEC daeString COLLADA_ELEMENT_TARGETS = "targets"; +DLLSPEC daeString COLLADA_ELEMENT_CONTRIBUTOR = "contributor"; +DLLSPEC daeString COLLADA_ELEMENT_CREATED = "created"; +DLLSPEC daeString COLLADA_ELEMENT_KEYWORDS = "keywords"; +DLLSPEC daeString COLLADA_ELEMENT_MODIFIED = "modified"; +DLLSPEC daeString COLLADA_ELEMENT_REVISION = "revision"; +DLLSPEC daeString COLLADA_ELEMENT_SUBJECT = "subject"; +DLLSPEC daeString COLLADA_ELEMENT_TITLE = "title"; +DLLSPEC daeString COLLADA_ELEMENT_UNIT = "unit"; +DLLSPEC daeString COLLADA_ELEMENT_UP_AXIS = "up_axis"; +DLLSPEC daeString COLLADA_ELEMENT_AUTHOR = "author"; +DLLSPEC daeString COLLADA_ELEMENT_AUTHORING_TOOL = "authoring_tool"; +DLLSPEC daeString COLLADA_ELEMENT_COMMENTS = "comments"; +DLLSPEC daeString COLLADA_ELEMENT_COPYRIGHT = "copyright"; +DLLSPEC daeString COLLADA_ELEMENT_SOURCE_DATA = "source_data"; +DLLSPEC daeString COLLADA_ELEMENT_LOOKAT = "lookat"; +DLLSPEC daeString COLLADA_ELEMENT_MATRIX = "matrix"; +DLLSPEC daeString COLLADA_ELEMENT_ROTATE = "rotate"; +DLLSPEC daeString COLLADA_ELEMENT_SCALE = "scale"; +DLLSPEC daeString COLLADA_ELEMENT_SKEW = "skew"; +DLLSPEC daeString COLLADA_ELEMENT_TRANSLATE = "translate"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_CAMERA = "instance_camera"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_CONTROLLER = "instance_controller"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_GEOMETRY = "instance_geometry"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_LIGHT = "instance_light"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_NODE = "instance_node"; +DLLSPEC daeString COLLADA_ELEMENT_NODE = "node"; +DLLSPEC daeString COLLADA_ELEMENT_EVALUATE_SCENE = "evaluate_scene"; +DLLSPEC daeString COLLADA_ELEMENT_RENDER = "render"; +DLLSPEC daeString COLLADA_ELEMENT_LAYER = "layer"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_MATERIAL = "instance_material"; +DLLSPEC daeString COLLADA_ELEMENT_SKELETON = "skeleton"; +DLLSPEC daeString COLLADA_ELEMENT_BIND_MATERIAL = "bind_material"; +DLLSPEC daeString COLLADA_ELEMENT_TECHNIQUE_HINT = "technique_hint"; +DLLSPEC daeString COLLADA_ELEMENT_BIND = "bind"; +DLLSPEC daeString COLLADA_ELEMENT_BIND_VERTEX_INPUT = "bind_vertex_input"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_FORCE_FIELD = "instance_force_field"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_RIGID_BODY = "instance_rigid_body"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_RIGID_CONSTRAINT = "instance_rigid_constraint"; +DLLSPEC daeString COLLADA_ELEMENT_ANGULAR_VELOCITY = "angular_velocity"; +DLLSPEC daeString COLLADA_ELEMENT_VELOCITY = "velocity"; +DLLSPEC daeString COLLADA_ELEMENT_DYNAMIC = "dynamic"; +DLLSPEC daeString COLLADA_ELEMENT_MASS = "mass"; +DLLSPEC daeString COLLADA_ELEMENT_MASS_FRAME = "mass_frame"; +DLLSPEC daeString COLLADA_ELEMENT_INERTIA = "inertia"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MATERIAL = "instance_physics_material"; +DLLSPEC daeString COLLADA_ELEMENT_PHYSICS_MATERIAL = "physics_material"; +DLLSPEC daeString COLLADA_ELEMENT_SHAPE = "shape"; +DLLSPEC daeString COLLADA_ELEMENT_HOLLOW = "hollow"; +DLLSPEC daeString COLLADA_ELEMENT_DENSITY = "density"; +DLLSPEC daeString COLLADA_ELEMENT_PLANE = "plane"; +DLLSPEC daeString COLLADA_ELEMENT_BOX = "box"; +DLLSPEC daeString COLLADA_ELEMENT_SPHERE = "sphere"; +DLLSPEC daeString COLLADA_ELEMENT_CYLINDER = "cylinder"; +DLLSPEC daeString COLLADA_ELEMENT_TAPERED_CYLINDER = "tapered_cylinder"; +DLLSPEC daeString COLLADA_ELEMENT_CAPSULE = "capsule"; +DLLSPEC daeString COLLADA_ELEMENT_TAPERED_CAPSULE = "tapered_capsule"; +DLLSPEC daeString COLLADA_ELEMENT_ANIMATION_CLIP = "animation_clip"; +DLLSPEC daeString COLLADA_ELEMENT_CAMERA = "camera"; +DLLSPEC daeString COLLADA_ELEMENT_CONTROLLER = "controller"; +DLLSPEC daeString COLLADA_ELEMENT_GEOMETRY = "geometry"; +DLLSPEC daeString COLLADA_ELEMENT_EFFECT = "effect"; +DLLSPEC daeString COLLADA_ELEMENT_FORCE_FIELD = "force_field"; +DLLSPEC daeString COLLADA_ELEMENT_IMAGE = "image"; +DLLSPEC daeString COLLADA_ELEMENT_LIGHT = "light"; +DLLSPEC daeString COLLADA_ELEMENT_MATERIAL = "material"; +DLLSPEC daeString COLLADA_ELEMENT_PHYSICS_MODEL = "physics_model"; +DLLSPEC daeString COLLADA_ELEMENT_PHYSICS_SCENE = "physics_scene"; +DLLSPEC daeString COLLADA_ELEMENT_VISUAL_SCENE = "visual_scene"; +DLLSPEC daeString COLLADA_ELEMENT_NEWPARAM = "newparam"; +DLLSPEC daeString COLLADA_ELEMENT_FX_PROFILE_ABSTRACT = "fx_profile_abstract"; +DLLSPEC daeString COLLADA_ELEMENT_PROFILE_GLSL = "profile_GLSL"; +DLLSPEC daeString COLLADA_ELEMENT_PASS = "pass"; +DLLSPEC daeString COLLADA_ELEMENT_COLOR_TARGET = "color_target"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_TARGET = "depth_target"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_TARGET = "stencil_target"; +DLLSPEC daeString COLLADA_ELEMENT_COLOR_CLEAR = "color_clear"; +DLLSPEC daeString COLLADA_ELEMENT_DEPTH_CLEAR = "depth_clear"; +DLLSPEC daeString COLLADA_ELEMENT_STENCIL_CLEAR = "stencil_clear"; +DLLSPEC daeString COLLADA_ELEMENT_DRAW = "draw"; +DLLSPEC daeString COLLADA_ELEMENT_GL_PIPELINE_SETTINGS = "gl_pipeline_settings"; +DLLSPEC daeString COLLADA_ELEMENT_SHADER = "shader"; +DLLSPEC daeString COLLADA_ELEMENT_COMPILER_TARGET = "compiler_target"; +DLLSPEC daeString COLLADA_ELEMENT_COMPILER_OPTIONS = "compiler_options"; +DLLSPEC daeString COLLADA_ELEMENT_PROFILE_COMMON = "profile_COMMON"; +DLLSPEC daeString COLLADA_ELEMENT_LAMBERT = "lambert"; +DLLSPEC daeString COLLADA_ELEMENT_PHONG = "phong"; +DLLSPEC daeString COLLADA_ELEMENT_BLINN = "blinn"; +DLLSPEC daeString COLLADA_ELEMENT_EMISSION = "emission"; +DLLSPEC daeString COLLADA_ELEMENT_REFLECTIVE = "reflective"; +DLLSPEC daeString COLLADA_ELEMENT_REFLECTIVITY = "reflectivity"; +DLLSPEC daeString COLLADA_ELEMENT_TRANSPARENT = "transparent"; +DLLSPEC daeString COLLADA_ELEMENT_TRANSPARENCY = "transparency"; +DLLSPEC daeString COLLADA_ELEMENT_INDEX_OF_REFRACTION = "index_of_refraction"; +DLLSPEC daeString COLLADA_ELEMENT_DIFFUSE = "diffuse"; +DLLSPEC daeString COLLADA_ELEMENT_SPECULAR = "specular"; +DLLSPEC daeString COLLADA_ELEMENT_SHININESS = "shininess"; +DLLSPEC daeString COLLADA_ELEMENT_PROFILE_CG = "profile_CG"; +DLLSPEC daeString COLLADA_ELEMENT_PROFILE_GLES = "profile_GLES"; +DLLSPEC daeString COLLADA_ELEMENT_GLES_PIPELINE_SETTINGS = "gles_pipeline_settings"; +DLLSPEC daeString COLLADA_ELEMENT_HALF_EXTENTS = "half_extents"; +DLLSPEC daeString COLLADA_ELEMENT_EQUATION = "equation"; +DLLSPEC daeString COLLADA_ELEMENT_RADIUS = "radius"; +DLLSPEC daeString COLLADA_ELEMENT_HEIGHT = "height"; +DLLSPEC daeString COLLADA_ELEMENT_RADIUS1 = "radius1"; +DLLSPEC daeString COLLADA_ELEMENT_RADIUS2 = "radius2"; +DLLSPEC daeString COLLADA_ELEMENT_DYNAMIC_FRICTION = "dynamic_friction"; +DLLSPEC daeString COLLADA_ELEMENT_RESTITUTION = "restitution"; +DLLSPEC daeString COLLADA_ELEMENT_STATIC_FRICTION = "static_friction"; +DLLSPEC daeString COLLADA_ELEMENT_INSTANCE_PHYSICS_MODEL = "instance_physics_model"; +DLLSPEC daeString COLLADA_ELEMENT_GRAVITY = "gravity"; +DLLSPEC daeString COLLADA_ELEMENT_TIME_STEP = "time_step"; +DLLSPEC daeString COLLADA_ELEMENT_REF_ATTACHMENT = "ref_attachment"; +DLLSPEC daeString COLLADA_ELEMENT_ATTACHMENT = "attachment"; +DLLSPEC daeString COLLADA_ELEMENT_ENABLED = "enabled"; +DLLSPEC daeString COLLADA_ELEMENT_INTERPENETRATE = "interpenetrate"; +DLLSPEC daeString COLLADA_ELEMENT_LIMITS = "limits"; +DLLSPEC daeString COLLADA_ELEMENT_SPRING = "spring"; +DLLSPEC daeString COLLADA_ELEMENT_SWING_CONE_AND_TWIST = "swing_cone_and_twist"; +DLLSPEC daeString COLLADA_ELEMENT_LINEAR = "linear"; +DLLSPEC daeString COLLADA_ELEMENT_MIN = "min"; +DLLSPEC daeString COLLADA_ELEMENT_MAX = "max"; +DLLSPEC daeString COLLADA_ELEMENT_ANGULAR = "angular"; +DLLSPEC daeString COLLADA_ELEMENT_STIFFNESS = "stiffness"; +DLLSPEC daeString COLLADA_ELEMENT_DAMPING = "damping"; +DLLSPEC daeString COLLADA_ELEMENT_TARGET_VALUE = "target_value"; +DLLSPEC daeString COLLADA_ELEMENT_RIGID_BODY = "rigid_body"; +DLLSPEC daeString COLLADA_ELEMENT_RIGID_CONSTRAINT = "rigid_constraint"; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domController.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domController.cpp index 0c81ca463..a8dcd23d3 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domController.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domController.cpp @@ -35,7 +35,7 @@ domController::registerElement() _Meta = new daeMetaElement; _Meta->setName( "controller" ); - _Meta->registerConstructor(domController::create); + _Meta->registerClass(domController::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domConvex_mesh.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domConvex_mesh.cpp index e3baefd85..27f640fcc 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domConvex_mesh.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domConvex_mesh.cpp @@ -36,7 +36,7 @@ domConvex_mesh::registerElement() _Meta = new daeMetaElement; _Meta->setName( "convex_mesh" ); - _Meta->registerConstructor(domConvex_mesh::create); + _Meta->registerClass(domConvex_mesh::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domCylinder.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domCylinder.cpp index 4eca40d62..c58c34899 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domCylinder.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domCylinder.cpp @@ -35,7 +35,7 @@ domCylinder::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cylinder" ); - _Meta->registerConstructor(domCylinder::create); + _Meta->registerClass(domCylinder::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -84,7 +84,7 @@ domCylinder::domHeight::registerElement() _Meta = new daeMetaElement; _Meta->setName( "height" ); - _Meta->registerConstructor(domCylinder::domHeight::create); + _Meta->registerClass(domCylinder::domHeight::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -119,7 +119,7 @@ domCylinder::domRadius::registerElement() _Meta = new daeMetaElement; _Meta->setName( "radius" ); - _Meta->registerConstructor(domCylinder::domRadius::create); + _Meta->registerClass(domCylinder::domRadius::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domEffect.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domEffect.cpp index 884617c3c..87fa06f86 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domEffect.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domEffect.cpp @@ -39,7 +39,7 @@ domEffect::registerElement() _Meta = new daeMetaElement; _Meta->setName( "effect" ); - _Meta->registerConstructor(domEffect::create); + _Meta->registerClass(domEffect::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domEllipsoid.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domEllipsoid.cpp index 63adb455a..da6cfc1e9 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domEllipsoid.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domEllipsoid.cpp @@ -35,7 +35,7 @@ domEllipsoid::registerElement() _Meta = new daeMetaElement; _Meta->setName( "ellipsoid" ); - _Meta->registerConstructor(domEllipsoid::create); + _Meta->registerClass(domEllipsoid::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -72,7 +72,7 @@ domEllipsoid::domSize::registerElement() _Meta = new daeMetaElement; _Meta->setName( "size" ); - _Meta->registerConstructor(domEllipsoid::domSize::create); + _Meta->registerClass(domEllipsoid::domSize::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domExtra.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domExtra.cpp index 295de3817..fddd82dbd 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domExtra.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domExtra.cpp @@ -35,7 +35,7 @@ domExtra::registerElement() _Meta = new daeMetaElement; _Meta->setName( "extra" ); - _Meta->registerConstructor(domExtra::create); + _Meta->registerClass(domExtra::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFloat_array.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFloat_array.cpp index 2875e29ab..c1b8079f2 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFloat_array.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFloat_array.cpp @@ -35,7 +35,7 @@ domFloat_array::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float_array" ); - _Meta->registerConstructor(domFloat_array::create); + _Meta->registerClass(domFloat_array::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domForce_field.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domForce_field.cpp index e5f1485c7..1d04374f0 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domForce_field.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domForce_field.cpp @@ -35,7 +35,7 @@ domForce_field::registerElement() _Meta = new daeMetaElement; _Meta->setName( "force_field" ); - _Meta->registerConstructor(domForce_field::create); + _Meta->registerClass(domForce_field::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_annotate_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_annotate_common.cpp index 84aa69845..e9cbb6726 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_annotate_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_annotate_common.cpp @@ -35,7 +35,7 @@ domFx_annotate_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_annotate_common" ); - _Meta->registerConstructor(domFx_annotate_common::create); + _Meta->registerClass(domFx_annotate_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_annotate_type_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_annotate_type_common.cpp index 2533c986d..1fc62e5f9 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_annotate_type_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_annotate_type_common.cpp @@ -35,7 +35,7 @@ domFx_annotate_type_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_annotate_type_common" ); - _Meta->registerConstructor(domFx_annotate_type_common::create); + _Meta->registerClass(domFx_annotate_type_common::create, &_Meta); _Meta->setIsTransparent( true ); daeMetaCMPolicy *cm = NULL; @@ -167,7 +167,7 @@ domFx_annotate_type_common::domBool::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool" ); - _Meta->registerConstructor(domFx_annotate_type_common::domBool::create); + _Meta->registerClass(domFx_annotate_type_common::domBool::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -202,7 +202,7 @@ domFx_annotate_type_common::domBool2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2" ); - _Meta->registerConstructor(domFx_annotate_type_common::domBool2::create); + _Meta->registerClass(domFx_annotate_type_common::domBool2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -237,7 +237,7 @@ domFx_annotate_type_common::domBool3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3" ); - _Meta->registerConstructor(domFx_annotate_type_common::domBool3::create); + _Meta->registerClass(domFx_annotate_type_common::domBool3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -272,7 +272,7 @@ domFx_annotate_type_common::domBool4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4" ); - _Meta->registerConstructor(domFx_annotate_type_common::domBool4::create); + _Meta->registerClass(domFx_annotate_type_common::domBool4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -307,7 +307,7 @@ domFx_annotate_type_common::domInt::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int" ); - _Meta->registerConstructor(domFx_annotate_type_common::domInt::create); + _Meta->registerClass(domFx_annotate_type_common::domInt::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -342,7 +342,7 @@ domFx_annotate_type_common::domInt2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2" ); - _Meta->registerConstructor(domFx_annotate_type_common::domInt2::create); + _Meta->registerClass(domFx_annotate_type_common::domInt2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -377,7 +377,7 @@ domFx_annotate_type_common::domInt3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3" ); - _Meta->registerConstructor(domFx_annotate_type_common::domInt3::create); + _Meta->registerClass(domFx_annotate_type_common::domInt3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -412,7 +412,7 @@ domFx_annotate_type_common::domInt4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4" ); - _Meta->registerConstructor(domFx_annotate_type_common::domInt4::create); + _Meta->registerClass(domFx_annotate_type_common::domInt4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -447,7 +447,7 @@ domFx_annotate_type_common::domFloat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float" ); - _Meta->registerConstructor(domFx_annotate_type_common::domFloat::create); + _Meta->registerClass(domFx_annotate_type_common::domFloat::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -482,7 +482,7 @@ domFx_annotate_type_common::domFloat2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2" ); - _Meta->registerConstructor(domFx_annotate_type_common::domFloat2::create); + _Meta->registerClass(domFx_annotate_type_common::domFloat2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -517,7 +517,7 @@ domFx_annotate_type_common::domFloat3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3" ); - _Meta->registerConstructor(domFx_annotate_type_common::domFloat3::create); + _Meta->registerClass(domFx_annotate_type_common::domFloat3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -552,7 +552,7 @@ domFx_annotate_type_common::domFloat4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4" ); - _Meta->registerConstructor(domFx_annotate_type_common::domFloat4::create); + _Meta->registerClass(domFx_annotate_type_common::domFloat4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -587,7 +587,7 @@ domFx_annotate_type_common::domFloat2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x2" ); - _Meta->registerConstructor(domFx_annotate_type_common::domFloat2x2::create); + _Meta->registerClass(domFx_annotate_type_common::domFloat2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -622,7 +622,7 @@ domFx_annotate_type_common::domFloat3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x3" ); - _Meta->registerConstructor(domFx_annotate_type_common::domFloat3x3::create); + _Meta->registerClass(domFx_annotate_type_common::domFloat3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -657,7 +657,7 @@ domFx_annotate_type_common::domFloat4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x4" ); - _Meta->registerConstructor(domFx_annotate_type_common::domFloat4x4::create); + _Meta->registerClass(domFx_annotate_type_common::domFloat4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -692,7 +692,7 @@ domFx_annotate_type_common::domString::registerElement() _Meta = new daeMetaElement; _Meta->setName( "string" ); - _Meta->registerConstructor(domFx_annotate_type_common::domString::create); + _Meta->registerClass(domFx_annotate_type_common::domString::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_basic_type_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_basic_type_common.cpp index b73156a4c..b769e1d22 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_basic_type_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_basic_type_common.cpp @@ -35,7 +35,7 @@ domFx_basic_type_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_basic_type_common" ); - _Meta->registerConstructor(domFx_basic_type_common::create); + _Meta->registerClass(domFx_basic_type_common::create, &_Meta); _Meta->setIsTransparent( true ); daeMetaCMPolicy *cm = NULL; @@ -287,7 +287,7 @@ domFx_basic_type_common::domBool::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool" ); - _Meta->registerConstructor(domFx_basic_type_common::domBool::create); + _Meta->registerClass(domFx_basic_type_common::domBool::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -322,7 +322,7 @@ domFx_basic_type_common::domBool2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2" ); - _Meta->registerConstructor(domFx_basic_type_common::domBool2::create); + _Meta->registerClass(domFx_basic_type_common::domBool2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -357,7 +357,7 @@ domFx_basic_type_common::domBool3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3" ); - _Meta->registerConstructor(domFx_basic_type_common::domBool3::create); + _Meta->registerClass(domFx_basic_type_common::domBool3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -392,7 +392,7 @@ domFx_basic_type_common::domBool4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4" ); - _Meta->registerConstructor(domFx_basic_type_common::domBool4::create); + _Meta->registerClass(domFx_basic_type_common::domBool4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -427,7 +427,7 @@ domFx_basic_type_common::domInt::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int" ); - _Meta->registerConstructor(domFx_basic_type_common::domInt::create); + _Meta->registerClass(domFx_basic_type_common::domInt::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -462,7 +462,7 @@ domFx_basic_type_common::domInt2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2" ); - _Meta->registerConstructor(domFx_basic_type_common::domInt2::create); + _Meta->registerClass(domFx_basic_type_common::domInt2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -497,7 +497,7 @@ domFx_basic_type_common::domInt3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3" ); - _Meta->registerConstructor(domFx_basic_type_common::domInt3::create); + _Meta->registerClass(domFx_basic_type_common::domInt3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -532,7 +532,7 @@ domFx_basic_type_common::domInt4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4" ); - _Meta->registerConstructor(domFx_basic_type_common::domInt4::create); + _Meta->registerClass(domFx_basic_type_common::domInt4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -567,7 +567,7 @@ domFx_basic_type_common::domFloat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat::create); + _Meta->registerClass(domFx_basic_type_common::domFloat::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -602,7 +602,7 @@ domFx_basic_type_common::domFloat2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat2::create); + _Meta->registerClass(domFx_basic_type_common::domFloat2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -637,7 +637,7 @@ domFx_basic_type_common::domFloat3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat3::create); + _Meta->registerClass(domFx_basic_type_common::domFloat3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -672,7 +672,7 @@ domFx_basic_type_common::domFloat4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat4::create); + _Meta->registerClass(domFx_basic_type_common::domFloat4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -707,7 +707,7 @@ domFx_basic_type_common::domFloat1x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x1" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat1x1::create); + _Meta->registerClass(domFx_basic_type_common::domFloat1x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -742,7 +742,7 @@ domFx_basic_type_common::domFloat1x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x2" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat1x2::create); + _Meta->registerClass(domFx_basic_type_common::domFloat1x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -777,7 +777,7 @@ domFx_basic_type_common::domFloat1x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x3" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat1x3::create); + _Meta->registerClass(domFx_basic_type_common::domFloat1x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -812,7 +812,7 @@ domFx_basic_type_common::domFloat1x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x4" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat1x4::create); + _Meta->registerClass(domFx_basic_type_common::domFloat1x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -847,7 +847,7 @@ domFx_basic_type_common::domFloat2x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x1" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat2x1::create); + _Meta->registerClass(domFx_basic_type_common::domFloat2x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -882,7 +882,7 @@ domFx_basic_type_common::domFloat2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x2" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat2x2::create); + _Meta->registerClass(domFx_basic_type_common::domFloat2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -917,7 +917,7 @@ domFx_basic_type_common::domFloat2x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x3" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat2x3::create); + _Meta->registerClass(domFx_basic_type_common::domFloat2x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -952,7 +952,7 @@ domFx_basic_type_common::domFloat2x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x4" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat2x4::create); + _Meta->registerClass(domFx_basic_type_common::domFloat2x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -987,7 +987,7 @@ domFx_basic_type_common::domFloat3x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x1" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat3x1::create); + _Meta->registerClass(domFx_basic_type_common::domFloat3x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1022,7 +1022,7 @@ domFx_basic_type_common::domFloat3x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x2" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat3x2::create); + _Meta->registerClass(domFx_basic_type_common::domFloat3x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1057,7 +1057,7 @@ domFx_basic_type_common::domFloat3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x3" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat3x3::create); + _Meta->registerClass(domFx_basic_type_common::domFloat3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1092,7 +1092,7 @@ domFx_basic_type_common::domFloat3x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x4" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat3x4::create); + _Meta->registerClass(domFx_basic_type_common::domFloat3x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1127,7 +1127,7 @@ domFx_basic_type_common::domFloat4x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x1" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat4x1::create); + _Meta->registerClass(domFx_basic_type_common::domFloat4x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1162,7 +1162,7 @@ domFx_basic_type_common::domFloat4x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x2" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat4x2::create); + _Meta->registerClass(domFx_basic_type_common::domFloat4x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1197,7 +1197,7 @@ domFx_basic_type_common::domFloat4x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x3" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat4x3::create); + _Meta->registerClass(domFx_basic_type_common::domFloat4x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1232,7 +1232,7 @@ domFx_basic_type_common::domFloat4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x4" ); - _Meta->registerConstructor(domFx_basic_type_common::domFloat4x4::create); + _Meta->registerClass(domFx_basic_type_common::domFloat4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1267,7 +1267,7 @@ domFx_basic_type_common::domEnum::registerElement() _Meta = new daeMetaElement; _Meta->setName( "enum" ); - _Meta->registerConstructor(domFx_basic_type_common::domEnum::create); + _Meta->registerClass(domFx_basic_type_common::domEnum::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_clearcolor_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_clearcolor_common.cpp index 5fd9698c2..916a5bf60 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_clearcolor_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_clearcolor_common.cpp @@ -35,7 +35,7 @@ domFx_clearcolor_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_clearcolor_common" ); - _Meta->registerConstructor(domFx_clearcolor_common::create); + _Meta->registerClass(domFx_clearcolor_common::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_cleardepth_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_cleardepth_common.cpp index e6880377c..61e8dd58f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_cleardepth_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_cleardepth_common.cpp @@ -35,7 +35,7 @@ domFx_cleardepth_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_cleardepth_common" ); - _Meta->registerConstructor(domFx_cleardepth_common::create); + _Meta->registerClass(domFx_cleardepth_common::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_clearstencil_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_clearstencil_common.cpp index 055c2e8f4..3dcd90622 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_clearstencil_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_clearstencil_common.cpp @@ -35,7 +35,7 @@ domFx_clearstencil_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_clearstencil_common" ); - _Meta->registerConstructor(domFx_clearstencil_common::create); + _Meta->registerClass(domFx_clearstencil_common::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_code_profile.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_code_profile.cpp index 8c2fcf4f9..f89a36810 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_code_profile.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_code_profile.cpp @@ -35,7 +35,7 @@ domFx_code_profile::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_code_profile" ); - _Meta->registerConstructor(domFx_code_profile::create); + _Meta->registerClass(domFx_code_profile::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_colortarget_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_colortarget_common.cpp index 0d5e63edc..78e4ae7e3 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_colortarget_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_colortarget_common.cpp @@ -35,7 +35,7 @@ domFx_colortarget_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_colortarget_common" ); - _Meta->registerConstructor(domFx_colortarget_common::create); + _Meta->registerClass(domFx_colortarget_common::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_depthtarget_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_depthtarget_common.cpp index dc6ce70ec..79384d64a 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_depthtarget_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_depthtarget_common.cpp @@ -35,7 +35,7 @@ domFx_depthtarget_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_depthtarget_common" ); - _Meta->registerConstructor(domFx_depthtarget_common::create); + _Meta->registerClass(domFx_depthtarget_common::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_include_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_include_common.cpp index a0df4fd0a..294226037 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_include_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_include_common.cpp @@ -36,7 +36,7 @@ domFx_include_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_include_common" ); - _Meta->registerConstructor(domFx_include_common::create); + _Meta->registerClass(domFx_include_common::create, &_Meta); // Add attribute: sid diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_newparam_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_newparam_common.cpp index 370920014..d7643a9d9 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_newparam_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_newparam_common.cpp @@ -35,7 +35,7 @@ domFx_newparam_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_newparam_common" ); - _Meta->registerConstructor(domFx_newparam_common::create); + _Meta->registerClass(domFx_newparam_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -102,7 +102,7 @@ domFx_newparam_common::domSemantic::registerElement() _Meta = new daeMetaElement; _Meta->setName( "semantic" ); - _Meta->registerConstructor(domFx_newparam_common::domSemantic::create); + _Meta->registerClass(domFx_newparam_common::domSemantic::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -137,7 +137,7 @@ domFx_newparam_common::domModifier::registerElement() _Meta = new daeMetaElement; _Meta->setName( "modifier" ); - _Meta->registerConstructor(domFx_newparam_common::domModifier::create); + _Meta->registerClass(domFx_newparam_common::domModifier::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_profile_abstract.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_profile_abstract.cpp index 86bb54f0e..1f2158c4a 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_profile_abstract.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_profile_abstract.cpp @@ -35,7 +35,7 @@ domFx_profile_abstract::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_profile_abstract" ); - _Meta->registerConstructor(domFx_profile_abstract::create); + _Meta->registerClass(domFx_profile_abstract::create, &_Meta); _Meta->setIsAbstract( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler1D_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler1D_common.cpp index 134f19e68..e2eab0736 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler1D_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler1D_common.cpp @@ -35,7 +35,7 @@ domFx_sampler1D_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_sampler1D_common" ); - _Meta->registerConstructor(domFx_sampler1D_common::create); + _Meta->registerClass(domFx_sampler1D_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -120,7 +120,7 @@ domFx_sampler1D_common::domSource::registerElement() _Meta = new daeMetaElement; _Meta->setName( "source" ); - _Meta->registerConstructor(domFx_sampler1D_common::domSource::create); + _Meta->registerClass(domFx_sampler1D_common::domSource::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -155,7 +155,7 @@ domFx_sampler1D_common::domWrap_s::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_s" ); - _Meta->registerConstructor(domFx_sampler1D_common::domWrap_s::create); + _Meta->registerClass(domFx_sampler1D_common::domWrap_s::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -190,7 +190,7 @@ domFx_sampler1D_common::domMinfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "minfilter" ); - _Meta->registerConstructor(domFx_sampler1D_common::domMinfilter::create); + _Meta->registerClass(domFx_sampler1D_common::domMinfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -225,7 +225,7 @@ domFx_sampler1D_common::domMagfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "magfilter" ); - _Meta->registerConstructor(domFx_sampler1D_common::domMagfilter::create); + _Meta->registerClass(domFx_sampler1D_common::domMagfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -260,7 +260,7 @@ domFx_sampler1D_common::domMipfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipfilter" ); - _Meta->registerConstructor(domFx_sampler1D_common::domMipfilter::create); + _Meta->registerClass(domFx_sampler1D_common::domMipfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -295,7 +295,7 @@ domFx_sampler1D_common::domBorder_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "border_color" ); - _Meta->registerConstructor(domFx_sampler1D_common::domBorder_color::create); + _Meta->registerClass(domFx_sampler1D_common::domBorder_color::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -330,7 +330,7 @@ domFx_sampler1D_common::domMipmap_maxlevel::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_maxlevel" ); - _Meta->registerConstructor(domFx_sampler1D_common::domMipmap_maxlevel::create); + _Meta->registerClass(domFx_sampler1D_common::domMipmap_maxlevel::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -365,7 +365,7 @@ domFx_sampler1D_common::domMipmap_bias::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_bias" ); - _Meta->registerConstructor(domFx_sampler1D_common::domMipmap_bias::create); + _Meta->registerClass(domFx_sampler1D_common::domMipmap_bias::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler2D_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler2D_common.cpp index 455443890..cd4620533 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler2D_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler2D_common.cpp @@ -35,7 +35,7 @@ domFx_sampler2D_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_sampler2D_common" ); - _Meta->registerConstructor(domFx_sampler2D_common::create); + _Meta->registerClass(domFx_sampler2D_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -126,7 +126,7 @@ domFx_sampler2D_common::domSource::registerElement() _Meta = new daeMetaElement; _Meta->setName( "source" ); - _Meta->registerConstructor(domFx_sampler2D_common::domSource::create); + _Meta->registerClass(domFx_sampler2D_common::domSource::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -161,7 +161,7 @@ domFx_sampler2D_common::domWrap_s::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_s" ); - _Meta->registerConstructor(domFx_sampler2D_common::domWrap_s::create); + _Meta->registerClass(domFx_sampler2D_common::domWrap_s::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -196,7 +196,7 @@ domFx_sampler2D_common::domWrap_t::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_t" ); - _Meta->registerConstructor(domFx_sampler2D_common::domWrap_t::create); + _Meta->registerClass(domFx_sampler2D_common::domWrap_t::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -231,7 +231,7 @@ domFx_sampler2D_common::domMinfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "minfilter" ); - _Meta->registerConstructor(domFx_sampler2D_common::domMinfilter::create); + _Meta->registerClass(domFx_sampler2D_common::domMinfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -266,7 +266,7 @@ domFx_sampler2D_common::domMagfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "magfilter" ); - _Meta->registerConstructor(domFx_sampler2D_common::domMagfilter::create); + _Meta->registerClass(domFx_sampler2D_common::domMagfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -301,7 +301,7 @@ domFx_sampler2D_common::domMipfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipfilter" ); - _Meta->registerConstructor(domFx_sampler2D_common::domMipfilter::create); + _Meta->registerClass(domFx_sampler2D_common::domMipfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -336,7 +336,7 @@ domFx_sampler2D_common::domBorder_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "border_color" ); - _Meta->registerConstructor(domFx_sampler2D_common::domBorder_color::create); + _Meta->registerClass(domFx_sampler2D_common::domBorder_color::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -371,7 +371,7 @@ domFx_sampler2D_common::domMipmap_maxlevel::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_maxlevel" ); - _Meta->registerConstructor(domFx_sampler2D_common::domMipmap_maxlevel::create); + _Meta->registerClass(domFx_sampler2D_common::domMipmap_maxlevel::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -406,7 +406,7 @@ domFx_sampler2D_common::domMipmap_bias::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_bias" ); - _Meta->registerConstructor(domFx_sampler2D_common::domMipmap_bias::create); + _Meta->registerClass(domFx_sampler2D_common::domMipmap_bias::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler3D_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler3D_common.cpp index b2fa1e92c..bd439ad75 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler3D_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_sampler3D_common.cpp @@ -35,7 +35,7 @@ domFx_sampler3D_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_sampler3D_common" ); - _Meta->registerConstructor(domFx_sampler3D_common::create); + _Meta->registerClass(domFx_sampler3D_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -132,7 +132,7 @@ domFx_sampler3D_common::domSource::registerElement() _Meta = new daeMetaElement; _Meta->setName( "source" ); - _Meta->registerConstructor(domFx_sampler3D_common::domSource::create); + _Meta->registerClass(domFx_sampler3D_common::domSource::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -167,7 +167,7 @@ domFx_sampler3D_common::domWrap_s::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_s" ); - _Meta->registerConstructor(domFx_sampler3D_common::domWrap_s::create); + _Meta->registerClass(domFx_sampler3D_common::domWrap_s::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -202,7 +202,7 @@ domFx_sampler3D_common::domWrap_t::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_t" ); - _Meta->registerConstructor(domFx_sampler3D_common::domWrap_t::create); + _Meta->registerClass(domFx_sampler3D_common::domWrap_t::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -237,7 +237,7 @@ domFx_sampler3D_common::domWrap_p::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_p" ); - _Meta->registerConstructor(domFx_sampler3D_common::domWrap_p::create); + _Meta->registerClass(domFx_sampler3D_common::domWrap_p::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -272,7 +272,7 @@ domFx_sampler3D_common::domMinfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "minfilter" ); - _Meta->registerConstructor(domFx_sampler3D_common::domMinfilter::create); + _Meta->registerClass(domFx_sampler3D_common::domMinfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -307,7 +307,7 @@ domFx_sampler3D_common::domMagfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "magfilter" ); - _Meta->registerConstructor(domFx_sampler3D_common::domMagfilter::create); + _Meta->registerClass(domFx_sampler3D_common::domMagfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -342,7 +342,7 @@ domFx_sampler3D_common::domMipfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipfilter" ); - _Meta->registerConstructor(domFx_sampler3D_common::domMipfilter::create); + _Meta->registerClass(domFx_sampler3D_common::domMipfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -377,7 +377,7 @@ domFx_sampler3D_common::domBorder_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "border_color" ); - _Meta->registerConstructor(domFx_sampler3D_common::domBorder_color::create); + _Meta->registerClass(domFx_sampler3D_common::domBorder_color::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -412,7 +412,7 @@ domFx_sampler3D_common::domMipmap_maxlevel::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_maxlevel" ); - _Meta->registerConstructor(domFx_sampler3D_common::domMipmap_maxlevel::create); + _Meta->registerClass(domFx_sampler3D_common::domMipmap_maxlevel::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -447,7 +447,7 @@ domFx_sampler3D_common::domMipmap_bias::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_bias" ); - _Meta->registerConstructor(domFx_sampler3D_common::domMipmap_bias::create); + _Meta->registerClass(domFx_sampler3D_common::domMipmap_bias::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerCUBE_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerCUBE_common.cpp index 454bbbb99..42dc0197c 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerCUBE_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerCUBE_common.cpp @@ -35,7 +35,7 @@ domFx_samplerCUBE_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_samplerCUBE_common" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::create); + _Meta->registerClass(domFx_samplerCUBE_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -132,7 +132,7 @@ domFx_samplerCUBE_common::domSource::registerElement() _Meta = new daeMetaElement; _Meta->setName( "source" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domSource::create); + _Meta->registerClass(domFx_samplerCUBE_common::domSource::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -167,7 +167,7 @@ domFx_samplerCUBE_common::domWrap_s::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_s" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domWrap_s::create); + _Meta->registerClass(domFx_samplerCUBE_common::domWrap_s::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -202,7 +202,7 @@ domFx_samplerCUBE_common::domWrap_t::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_t" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domWrap_t::create); + _Meta->registerClass(domFx_samplerCUBE_common::domWrap_t::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -237,7 +237,7 @@ domFx_samplerCUBE_common::domWrap_p::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_p" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domWrap_p::create); + _Meta->registerClass(domFx_samplerCUBE_common::domWrap_p::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -272,7 +272,7 @@ domFx_samplerCUBE_common::domMinfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "minfilter" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domMinfilter::create); + _Meta->registerClass(domFx_samplerCUBE_common::domMinfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -307,7 +307,7 @@ domFx_samplerCUBE_common::domMagfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "magfilter" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domMagfilter::create); + _Meta->registerClass(domFx_samplerCUBE_common::domMagfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -342,7 +342,7 @@ domFx_samplerCUBE_common::domMipfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipfilter" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domMipfilter::create); + _Meta->registerClass(domFx_samplerCUBE_common::domMipfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -377,7 +377,7 @@ domFx_samplerCUBE_common::domBorder_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "border_color" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domBorder_color::create); + _Meta->registerClass(domFx_samplerCUBE_common::domBorder_color::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -412,7 +412,7 @@ domFx_samplerCUBE_common::domMipmap_maxlevel::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_maxlevel" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domMipmap_maxlevel::create); + _Meta->registerClass(domFx_samplerCUBE_common::domMipmap_maxlevel::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -447,7 +447,7 @@ domFx_samplerCUBE_common::domMipmap_bias::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_bias" ); - _Meta->registerConstructor(domFx_samplerCUBE_common::domMipmap_bias::create); + _Meta->registerClass(domFx_samplerCUBE_common::domMipmap_bias::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerDEPTH_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerDEPTH_common.cpp index b36247ca6..5b9e65a41 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerDEPTH_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerDEPTH_common.cpp @@ -35,7 +35,7 @@ domFx_samplerDEPTH_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_samplerDEPTH_common" ); - _Meta->registerConstructor(domFx_samplerDEPTH_common::create); + _Meta->registerClass(domFx_samplerDEPTH_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -102,7 +102,7 @@ domFx_samplerDEPTH_common::domSource::registerElement() _Meta = new daeMetaElement; _Meta->setName( "source" ); - _Meta->registerConstructor(domFx_samplerDEPTH_common::domSource::create); + _Meta->registerClass(domFx_samplerDEPTH_common::domSource::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -137,7 +137,7 @@ domFx_samplerDEPTH_common::domWrap_s::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_s" ); - _Meta->registerConstructor(domFx_samplerDEPTH_common::domWrap_s::create); + _Meta->registerClass(domFx_samplerDEPTH_common::domWrap_s::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -172,7 +172,7 @@ domFx_samplerDEPTH_common::domWrap_t::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_t" ); - _Meta->registerConstructor(domFx_samplerDEPTH_common::domWrap_t::create); + _Meta->registerClass(domFx_samplerDEPTH_common::domWrap_t::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -207,7 +207,7 @@ domFx_samplerDEPTH_common::domMinfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "minfilter" ); - _Meta->registerConstructor(domFx_samplerDEPTH_common::domMinfilter::create); + _Meta->registerClass(domFx_samplerDEPTH_common::domMinfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -242,7 +242,7 @@ domFx_samplerDEPTH_common::domMagfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "magfilter" ); - _Meta->registerConstructor(domFx_samplerDEPTH_common::domMagfilter::create); + _Meta->registerClass(domFx_samplerDEPTH_common::domMagfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerRECT_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerRECT_common.cpp index ce2821c78..04140933f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerRECT_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_samplerRECT_common.cpp @@ -35,7 +35,7 @@ domFx_samplerRECT_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_samplerRECT_common" ); - _Meta->registerConstructor(domFx_samplerRECT_common::create); + _Meta->registerClass(domFx_samplerRECT_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -126,7 +126,7 @@ domFx_samplerRECT_common::domSource::registerElement() _Meta = new daeMetaElement; _Meta->setName( "source" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domSource::create); + _Meta->registerClass(domFx_samplerRECT_common::domSource::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -161,7 +161,7 @@ domFx_samplerRECT_common::domWrap_s::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_s" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domWrap_s::create); + _Meta->registerClass(domFx_samplerRECT_common::domWrap_s::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -196,7 +196,7 @@ domFx_samplerRECT_common::domWrap_t::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_t" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domWrap_t::create); + _Meta->registerClass(domFx_samplerRECT_common::domWrap_t::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -231,7 +231,7 @@ domFx_samplerRECT_common::domMinfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "minfilter" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domMinfilter::create); + _Meta->registerClass(domFx_samplerRECT_common::domMinfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -266,7 +266,7 @@ domFx_samplerRECT_common::domMagfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "magfilter" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domMagfilter::create); + _Meta->registerClass(domFx_samplerRECT_common::domMagfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -301,7 +301,7 @@ domFx_samplerRECT_common::domMipfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipfilter" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domMipfilter::create); + _Meta->registerClass(domFx_samplerRECT_common::domMipfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -336,7 +336,7 @@ domFx_samplerRECT_common::domBorder_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "border_color" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domBorder_color::create); + _Meta->registerClass(domFx_samplerRECT_common::domBorder_color::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -371,7 +371,7 @@ domFx_samplerRECT_common::domMipmap_maxlevel::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_maxlevel" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domMipmap_maxlevel::create); + _Meta->registerClass(domFx_samplerRECT_common::domMipmap_maxlevel::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -406,7 +406,7 @@ domFx_samplerRECT_common::domMipmap_bias::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_bias" ); - _Meta->registerConstructor(domFx_samplerRECT_common::domMipmap_bias::create); + _Meta->registerClass(domFx_samplerRECT_common::domMipmap_bias::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_stenciltarget_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_stenciltarget_common.cpp index f5d25d354..2c376ee75 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_stenciltarget_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_stenciltarget_common.cpp @@ -35,7 +35,7 @@ domFx_stenciltarget_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_stenciltarget_common" ); - _Meta->registerConstructor(domFx_stenciltarget_common::create); + _Meta->registerClass(domFx_stenciltarget_common::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_common.cpp index 047a431a5..b2fd47847 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_common.cpp @@ -35,7 +35,7 @@ domFx_surface_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_surface_common" ); - _Meta->registerConstructor(domFx_surface_common::create); + _Meta->registerClass(domFx_surface_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -136,7 +136,7 @@ domFx_surface_common::domFormat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "format" ); - _Meta->registerConstructor(domFx_surface_common::domFormat::create); + _Meta->registerClass(domFx_surface_common::domFormat::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -171,7 +171,7 @@ domFx_surface_common::domSize::registerElement() _Meta = new daeMetaElement; _Meta->setName( "size" ); - _Meta->registerConstructor(domFx_surface_common::domSize::create); + _Meta->registerClass(domFx_surface_common::domSize::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -206,7 +206,7 @@ domFx_surface_common::domViewport_ratio::registerElement() _Meta = new daeMetaElement; _Meta->setName( "viewport_ratio" ); - _Meta->registerConstructor(domFx_surface_common::domViewport_ratio::create); + _Meta->registerClass(domFx_surface_common::domViewport_ratio::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -241,7 +241,7 @@ domFx_surface_common::domMip_levels::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mip_levels" ); - _Meta->registerConstructor(domFx_surface_common::domMip_levels::create); + _Meta->registerClass(domFx_surface_common::domMip_levels::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -276,7 +276,7 @@ domFx_surface_common::domMipmap_generate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_generate" ); - _Meta->registerConstructor(domFx_surface_common::domMipmap_generate::create); + _Meta->registerClass(domFx_surface_common::domMipmap_generate::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_format_hint_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_format_hint_common.cpp index bdb49c3d0..15417168f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_format_hint_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_format_hint_common.cpp @@ -35,7 +35,7 @@ domFx_surface_format_hint_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_surface_format_hint_common" ); - _Meta->registerConstructor(domFx_surface_format_hint_common::create); + _Meta->registerClass(domFx_surface_format_hint_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -96,7 +96,7 @@ domFx_surface_format_hint_common::domChannels::registerElement() _Meta = new daeMetaElement; _Meta->setName( "channels" ); - _Meta->registerConstructor(domFx_surface_format_hint_common::domChannels::create); + _Meta->registerClass(domFx_surface_format_hint_common::domChannels::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -131,7 +131,7 @@ domFx_surface_format_hint_common::domRange::registerElement() _Meta = new daeMetaElement; _Meta->setName( "range" ); - _Meta->registerConstructor(domFx_surface_format_hint_common::domRange::create); + _Meta->registerClass(domFx_surface_format_hint_common::domRange::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -166,7 +166,7 @@ domFx_surface_format_hint_common::domPrecision::registerElement() _Meta = new daeMetaElement; _Meta->setName( "precision" ); - _Meta->registerConstructor(domFx_surface_format_hint_common::domPrecision::create); + _Meta->registerClass(domFx_surface_format_hint_common::domPrecision::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -201,7 +201,7 @@ domFx_surface_format_hint_common::domOption::registerElement() _Meta = new daeMetaElement; _Meta->setName( "option" ); - _Meta->registerConstructor(domFx_surface_format_hint_common::domOption::create); + _Meta->registerClass(domFx_surface_format_hint_common::domOption::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_common.cpp index 322636aa1..47499ec82 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_common.cpp @@ -35,7 +35,7 @@ domFx_surface_init_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_surface_init_common" ); - _Meta->registerConstructor(domFx_surface_init_common::create); + _Meta->registerClass(domFx_surface_init_common::create, &_Meta); _Meta->setIsTransparent( true ); daeMetaCMPolicy *cm = NULL; @@ -107,7 +107,7 @@ domFx_surface_init_common::domInit_as_null::registerElement() _Meta = new daeMetaElement; _Meta->setName( "init_as_null" ); - _Meta->registerConstructor(domFx_surface_init_common::domInit_as_null::create); + _Meta->registerClass(domFx_surface_init_common::domInit_as_null::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -133,7 +133,7 @@ domFx_surface_init_common::domInit_as_target::registerElement() _Meta = new daeMetaElement; _Meta->setName( "init_as_target" ); - _Meta->registerConstructor(domFx_surface_init_common::domInit_as_target::create); + _Meta->registerClass(domFx_surface_init_common::domInit_as_target::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_cube_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_cube_common.cpp index 5fcfdbee8..81ea80a38 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_cube_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_cube_common.cpp @@ -35,7 +35,7 @@ domFx_surface_init_cube_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_surface_init_cube_common" ); - _Meta->registerConstructor(domFx_surface_init_cube_common::create); + _Meta->registerClass(domFx_surface_init_cube_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -88,7 +88,7 @@ domFx_surface_init_cube_common::domAll::registerElement() _Meta = new daeMetaElement; _Meta->setName( "all" ); - _Meta->registerConstructor(domFx_surface_init_cube_common::domAll::create); + _Meta->registerClass(domFx_surface_init_cube_common::domAll::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -126,7 +126,7 @@ domFx_surface_init_cube_common::domPrimary::registerElement() _Meta = new daeMetaElement; _Meta->setName( "primary" ); - _Meta->registerConstructor(domFx_surface_init_cube_common::domPrimary::create); + _Meta->registerClass(domFx_surface_init_cube_common::domPrimary::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -176,7 +176,7 @@ domFx_surface_init_cube_common::domPrimary::domOrder::registerElement() _Meta = new daeMetaElement; _Meta->setName( "order" ); - _Meta->registerConstructor(domFx_surface_init_cube_common::domPrimary::domOrder::create); + _Meta->registerClass(domFx_surface_init_cube_common::domPrimary::domOrder::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -211,7 +211,7 @@ domFx_surface_init_cube_common::domFace::registerElement() _Meta = new daeMetaElement; _Meta->setName( "face" ); - _Meta->registerConstructor(domFx_surface_init_cube_common::domFace::create); + _Meta->registerClass(domFx_surface_init_cube_common::domFace::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_from_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_from_common.cpp index 611808cba..5e8981ead 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_from_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_from_common.cpp @@ -35,7 +35,7 @@ domFx_surface_init_from_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_surface_init_from_common" ); - _Meta->registerConstructor(domFx_surface_init_from_common::create); + _Meta->registerClass(domFx_surface_init_from_common::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_planar_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_planar_common.cpp index 2216d10bd..4a6da0006 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_planar_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_planar_common.cpp @@ -35,7 +35,7 @@ domFx_surface_init_planar_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_surface_init_planar_common" ); - _Meta->registerConstructor(domFx_surface_init_planar_common::create); + _Meta->registerClass(domFx_surface_init_planar_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -71,7 +71,7 @@ domFx_surface_init_planar_common::domAll::registerElement() _Meta = new daeMetaElement; _Meta->setName( "all" ); - _Meta->registerConstructor(domFx_surface_init_planar_common::domAll::create); + _Meta->registerClass(domFx_surface_init_planar_common::domAll::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_volume_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_volume_common.cpp index 07d1a7811..24450b422 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_volume_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domFx_surface_init_volume_common.cpp @@ -35,7 +35,7 @@ domFx_surface_init_volume_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fx_surface_init_volume_common" ); - _Meta->registerConstructor(domFx_surface_init_volume_common::create); + _Meta->registerClass(domFx_surface_init_volume_common::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -82,7 +82,7 @@ domFx_surface_init_volume_common::domAll::registerElement() _Meta = new daeMetaElement; _Meta->setName( "all" ); - _Meta->registerConstructor(domFx_surface_init_volume_common::domAll::create); + _Meta->registerClass(domFx_surface_init_volume_common::domAll::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -120,7 +120,7 @@ domFx_surface_init_volume_common::domPrimary::registerElement() _Meta = new daeMetaElement; _Meta->setName( "primary" ); - _Meta->registerConstructor(domFx_surface_init_volume_common::domPrimary::create); + _Meta->registerClass(domFx_surface_init_volume_common::domPrimary::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGeometry.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGeometry.cpp index 79680ac49..52a5f397a 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGeometry.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGeometry.cpp @@ -35,7 +35,7 @@ domGeometry::registerElement() _Meta = new daeMetaElement; _Meta->setName( "geometry" ); - _Meta->registerConstructor(domGeometry::create); + _Meta->registerClass(domGeometry::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGl_hook_abstract.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGl_hook_abstract.cpp index 0653ff429..d0d127415 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGl_hook_abstract.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGl_hook_abstract.cpp @@ -35,7 +35,7 @@ domGl_hook_abstract::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gl_hook_abstract" ); - _Meta->registerConstructor(domGl_hook_abstract::create); + _Meta->registerClass(domGl_hook_abstract::create, &_Meta); _Meta->setIsAbstract( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGl_pipeline_settings.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGl_pipeline_settings.cpp index c5a940062..2872a85e7 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGl_pipeline_settings.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGl_pipeline_settings.cpp @@ -35,7 +35,7 @@ domGl_pipeline_settings::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gl_pipeline_settings" ); - _Meta->registerConstructor(domGl_pipeline_settings::create); + _Meta->registerClass(domGl_pipeline_settings::create, &_Meta); _Meta->setIsTransparent( true ); daeMetaCMPolicy *cm = NULL; @@ -725,7 +725,7 @@ domGl_pipeline_settings::domAlpha_func::registerElement() _Meta = new daeMetaElement; _Meta->setName( "alpha_func" ); - _Meta->registerConstructor(domGl_pipeline_settings::domAlpha_func::create); + _Meta->registerClass(domGl_pipeline_settings::domAlpha_func::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -769,7 +769,7 @@ domGl_pipeline_settings::domAlpha_func::domFunc::registerElement() _Meta = new daeMetaElement; _Meta->setName( "func" ); - _Meta->registerConstructor(domGl_pipeline_settings::domAlpha_func::domFunc::create); + _Meta->registerClass(domGl_pipeline_settings::domAlpha_func::domFunc::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -820,7 +820,7 @@ domGl_pipeline_settings::domAlpha_func::domValue::registerElement() _Meta = new daeMetaElement; _Meta->setName( "value" ); - _Meta->registerConstructor(domGl_pipeline_settings::domAlpha_func::domValue::create); + _Meta->registerClass(domGl_pipeline_settings::domAlpha_func::domValue::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -871,7 +871,7 @@ domGl_pipeline_settings::domBlend_func::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blend_func" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_func::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_func::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -915,7 +915,7 @@ domGl_pipeline_settings::domBlend_func::domSrc::registerElement() _Meta = new daeMetaElement; _Meta->setName( "src" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_func::domSrc::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_func::domSrc::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -966,7 +966,7 @@ domGl_pipeline_settings::domBlend_func::domDest::registerElement() _Meta = new daeMetaElement; _Meta->setName( "dest" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_func::domDest::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_func::domDest::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1017,7 +1017,7 @@ domGl_pipeline_settings::domBlend_func_separate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blend_func_separate" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_func_separate::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -1073,7 +1073,7 @@ domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb::registerElement() _Meta = new daeMetaElement; _Meta->setName( "src_rgb" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1124,7 +1124,7 @@ domGl_pipeline_settings::domBlend_func_separate::domDest_rgb::registerElement() _Meta = new daeMetaElement; _Meta->setName( "dest_rgb" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_func_separate::domDest_rgb::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::domDest_rgb::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1175,7 +1175,7 @@ domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha::registerElement() _Meta = new daeMetaElement; _Meta->setName( "src_alpha" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1226,7 +1226,7 @@ domGl_pipeline_settings::domBlend_func_separate::domDest_alpha::registerElement( _Meta = new daeMetaElement; _Meta->setName( "dest_alpha" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_func_separate::domDest_alpha::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::domDest_alpha::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1277,7 +1277,7 @@ domGl_pipeline_settings::domBlend_equation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blend_equation" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_equation::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_equation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1328,7 +1328,7 @@ domGl_pipeline_settings::domBlend_equation_separate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blend_equation_separate" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_equation_separate::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_equation_separate::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -1372,7 +1372,7 @@ domGl_pipeline_settings::domBlend_equation_separate::domRgb::registerElement() _Meta = new daeMetaElement; _Meta->setName( "rgb" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_equation_separate::domRgb::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_equation_separate::domRgb::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1423,7 +1423,7 @@ domGl_pipeline_settings::domBlend_equation_separate::domAlpha::registerElement() _Meta = new daeMetaElement; _Meta->setName( "alpha" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_equation_separate::domAlpha::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_equation_separate::domAlpha::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1474,7 +1474,7 @@ domGl_pipeline_settings::domColor_material::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_material" ); - _Meta->registerConstructor(domGl_pipeline_settings::domColor_material::create); + _Meta->registerClass(domGl_pipeline_settings::domColor_material::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -1518,7 +1518,7 @@ domGl_pipeline_settings::domColor_material::domFace::registerElement() _Meta = new daeMetaElement; _Meta->setName( "face" ); - _Meta->registerConstructor(domGl_pipeline_settings::domColor_material::domFace::create); + _Meta->registerClass(domGl_pipeline_settings::domColor_material::domFace::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1569,7 +1569,7 @@ domGl_pipeline_settings::domColor_material::domMode::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mode" ); - _Meta->registerConstructor(domGl_pipeline_settings::domColor_material::domMode::create); + _Meta->registerClass(domGl_pipeline_settings::domColor_material::domMode::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1620,7 +1620,7 @@ domGl_pipeline_settings::domCull_face::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cull_face" ); - _Meta->registerConstructor(domGl_pipeline_settings::domCull_face::create); + _Meta->registerClass(domGl_pipeline_settings::domCull_face::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1671,7 +1671,7 @@ domGl_pipeline_settings::domDepth_func::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_func" ); - _Meta->registerConstructor(domGl_pipeline_settings::domDepth_func::create); + _Meta->registerClass(domGl_pipeline_settings::domDepth_func::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1722,7 +1722,7 @@ domGl_pipeline_settings::domFog_mode::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_mode" ); - _Meta->registerConstructor(domGl_pipeline_settings::domFog_mode::create); + _Meta->registerClass(domGl_pipeline_settings::domFog_mode::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1773,7 +1773,7 @@ domGl_pipeline_settings::domFog_coord_src::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_coord_src" ); - _Meta->registerConstructor(domGl_pipeline_settings::domFog_coord_src::create); + _Meta->registerClass(domGl_pipeline_settings::domFog_coord_src::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1824,7 +1824,7 @@ domGl_pipeline_settings::domFront_face::registerElement() _Meta = new daeMetaElement; _Meta->setName( "front_face" ); - _Meta->registerConstructor(domGl_pipeline_settings::domFront_face::create); + _Meta->registerClass(domGl_pipeline_settings::domFront_face::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1875,7 +1875,7 @@ domGl_pipeline_settings::domLight_model_color_control::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_model_color_control" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_model_color_control::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_model_color_control::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1926,7 +1926,7 @@ domGl_pipeline_settings::domLogic_op::registerElement() _Meta = new daeMetaElement; _Meta->setName( "logic_op" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLogic_op::create); + _Meta->registerClass(domGl_pipeline_settings::domLogic_op::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1977,7 +1977,7 @@ domGl_pipeline_settings::domPolygon_mode::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_mode" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_mode::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_mode::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -2021,7 +2021,7 @@ domGl_pipeline_settings::domPolygon_mode::domFace::registerElement() _Meta = new daeMetaElement; _Meta->setName( "face" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_mode::domFace::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_mode::domFace::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2072,7 +2072,7 @@ domGl_pipeline_settings::domPolygon_mode::domMode::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mode" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_mode::domMode::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_mode::domMode::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2123,7 +2123,7 @@ domGl_pipeline_settings::domShade_model::registerElement() _Meta = new daeMetaElement; _Meta->setName( "shade_model" ); - _Meta->registerConstructor(domGl_pipeline_settings::domShade_model::create); + _Meta->registerClass(domGl_pipeline_settings::domShade_model::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2174,7 +2174,7 @@ domGl_pipeline_settings::domStencil_func::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_func" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -2224,7 +2224,7 @@ domGl_pipeline_settings::domStencil_func::domFunc::registerElement() _Meta = new daeMetaElement; _Meta->setName( "func" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func::domFunc::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func::domFunc::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2275,7 +2275,7 @@ domGl_pipeline_settings::domStencil_func::domRef::registerElement() _Meta = new daeMetaElement; _Meta->setName( "ref" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func::domRef::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func::domRef::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2326,7 +2326,7 @@ domGl_pipeline_settings::domStencil_func::domMask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mask" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func::domMask::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func::domMask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2377,7 +2377,7 @@ domGl_pipeline_settings::domStencil_op::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_op" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -2427,7 +2427,7 @@ domGl_pipeline_settings::domStencil_op::domFail::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fail" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op::domFail::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op::domFail::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2478,7 +2478,7 @@ domGl_pipeline_settings::domStencil_op::domZfail::registerElement() _Meta = new daeMetaElement; _Meta->setName( "zfail" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op::domZfail::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op::domZfail::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2529,7 +2529,7 @@ domGl_pipeline_settings::domStencil_op::domZpass::registerElement() _Meta = new daeMetaElement; _Meta->setName( "zpass" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op::domZpass::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op::domZpass::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2580,7 +2580,7 @@ domGl_pipeline_settings::domStencil_func_separate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_func_separate" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func_separate::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -2636,7 +2636,7 @@ domGl_pipeline_settings::domStencil_func_separate::domFront::registerElement() _Meta = new daeMetaElement; _Meta->setName( "front" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func_separate::domFront::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::domFront::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2687,7 +2687,7 @@ domGl_pipeline_settings::domStencil_func_separate::domBack::registerElement() _Meta = new daeMetaElement; _Meta->setName( "back" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func_separate::domBack::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::domBack::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2738,7 +2738,7 @@ domGl_pipeline_settings::domStencil_func_separate::domRef::registerElement() _Meta = new daeMetaElement; _Meta->setName( "ref" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func_separate::domRef::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::domRef::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2789,7 +2789,7 @@ domGl_pipeline_settings::domStencil_func_separate::domMask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mask" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_func_separate::domMask::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::domMask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2840,7 +2840,7 @@ domGl_pipeline_settings::domStencil_op_separate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_op_separate" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op_separate::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -2896,7 +2896,7 @@ domGl_pipeline_settings::domStencil_op_separate::domFace::registerElement() _Meta = new daeMetaElement; _Meta->setName( "face" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op_separate::domFace::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::domFace::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2947,7 +2947,7 @@ domGl_pipeline_settings::domStencil_op_separate::domFail::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fail" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op_separate::domFail::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::domFail::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2998,7 +2998,7 @@ domGl_pipeline_settings::domStencil_op_separate::domZfail::registerElement() _Meta = new daeMetaElement; _Meta->setName( "zfail" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op_separate::domZfail::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::domZfail::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3049,7 +3049,7 @@ domGl_pipeline_settings::domStencil_op_separate::domZpass::registerElement() _Meta = new daeMetaElement; _Meta->setName( "zpass" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_op_separate::domZpass::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::domZpass::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3100,7 +3100,7 @@ domGl_pipeline_settings::domStencil_mask_separate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_mask_separate" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_mask_separate::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_mask_separate::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -3144,7 +3144,7 @@ domGl_pipeline_settings::domStencil_mask_separate::domFace::registerElement() _Meta = new daeMetaElement; _Meta->setName( "face" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_mask_separate::domFace::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_mask_separate::domFace::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3195,7 +3195,7 @@ domGl_pipeline_settings::domStencil_mask_separate::domMask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mask" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_mask_separate::domMask::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_mask_separate::domMask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3246,7 +3246,7 @@ domGl_pipeline_settings::domLight_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3309,7 +3309,7 @@ domGl_pipeline_settings::domLight_ambient::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_ambient" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_ambient::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_ambient::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3372,7 +3372,7 @@ domGl_pipeline_settings::domLight_diffuse::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_diffuse" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_diffuse::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_diffuse::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3435,7 +3435,7 @@ domGl_pipeline_settings::domLight_specular::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_specular" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_specular::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_specular::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3498,7 +3498,7 @@ domGl_pipeline_settings::domLight_position::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_position" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_position::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_position::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3561,7 +3561,7 @@ domGl_pipeline_settings::domLight_constant_attenuation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_constant_attenuation" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_constant_attenuation::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_constant_attenuation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3624,7 +3624,7 @@ domGl_pipeline_settings::domLight_linear_attenuation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_linear_attenuation" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_linear_attenuation::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_linear_attenuation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3687,7 +3687,7 @@ domGl_pipeline_settings::domLight_quadratic_attenuation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_quadratic_attenuation" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_quadratic_attenuation::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_quadratic_attenuation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3750,7 +3750,7 @@ domGl_pipeline_settings::domLight_spot_cutoff::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_spot_cutoff" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_spot_cutoff::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_spot_cutoff::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3813,7 +3813,7 @@ domGl_pipeline_settings::domLight_spot_direction::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_spot_direction" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_spot_direction::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_spot_direction::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3876,7 +3876,7 @@ domGl_pipeline_settings::domLight_spot_exponent::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_spot_exponent" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_spot_exponent::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_spot_exponent::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3939,7 +3939,7 @@ domGl_pipeline_settings::domTexture1D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture1D" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture1D::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture1D::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -3999,7 +3999,7 @@ domGl_pipeline_settings::domTexture1D::domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture1D::domParam::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture1D::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4034,7 +4034,7 @@ domGl_pipeline_settings::domTexture2D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture2D" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture2D::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture2D::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -4094,7 +4094,7 @@ domGl_pipeline_settings::domTexture2D::domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture2D::domParam::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture2D::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4129,7 +4129,7 @@ domGl_pipeline_settings::domTexture3D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture3D" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture3D::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture3D::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -4189,7 +4189,7 @@ domGl_pipeline_settings::domTexture3D::domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture3D::domParam::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture3D::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4224,7 +4224,7 @@ domGl_pipeline_settings::domTextureCUBE::registerElement() _Meta = new daeMetaElement; _Meta->setName( "textureCUBE" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureCUBE::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureCUBE::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -4284,7 +4284,7 @@ domGl_pipeline_settings::domTextureCUBE::domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureCUBE::domParam::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureCUBE::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4319,7 +4319,7 @@ domGl_pipeline_settings::domTextureRECT::registerElement() _Meta = new daeMetaElement; _Meta->setName( "textureRECT" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureRECT::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureRECT::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -4379,7 +4379,7 @@ domGl_pipeline_settings::domTextureRECT::domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureRECT::domParam::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureRECT::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4414,7 +4414,7 @@ domGl_pipeline_settings::domTextureDEPTH::registerElement() _Meta = new daeMetaElement; _Meta->setName( "textureDEPTH" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureDEPTH::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureDEPTH::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -4474,7 +4474,7 @@ domGl_pipeline_settings::domTextureDEPTH::domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureDEPTH::domParam::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureDEPTH::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -4509,7 +4509,7 @@ domGl_pipeline_settings::domTexture1D_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture1D_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture1D_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture1D_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4571,7 +4571,7 @@ domGl_pipeline_settings::domTexture2D_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture2D_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture2D_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture2D_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4633,7 +4633,7 @@ domGl_pipeline_settings::domTexture3D_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture3D_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture3D_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture3D_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4695,7 +4695,7 @@ domGl_pipeline_settings::domTextureCUBE_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "textureCUBE_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureCUBE_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureCUBE_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4757,7 +4757,7 @@ domGl_pipeline_settings::domTextureRECT_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "textureRECT_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureRECT_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureRECT_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4819,7 +4819,7 @@ domGl_pipeline_settings::domTextureDEPTH_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "textureDEPTH_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTextureDEPTH_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domTextureDEPTH_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4881,7 +4881,7 @@ domGl_pipeline_settings::domTexture_env_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture_env_color" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture_env_color::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture_env_color::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4942,7 +4942,7 @@ domGl_pipeline_settings::domTexture_env_mode::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture_env_mode" ); - _Meta->registerConstructor(domGl_pipeline_settings::domTexture_env_mode::create); + _Meta->registerClass(domGl_pipeline_settings::domTexture_env_mode::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5003,7 +5003,7 @@ domGl_pipeline_settings::domClip_plane::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clip_plane" ); - _Meta->registerConstructor(domGl_pipeline_settings::domClip_plane::create); + _Meta->registerClass(domGl_pipeline_settings::domClip_plane::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5065,7 +5065,7 @@ domGl_pipeline_settings::domClip_plane_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clip_plane_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domClip_plane_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domClip_plane_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5127,7 +5127,7 @@ domGl_pipeline_settings::domBlend_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blend_color" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_color::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_color::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5178,7 +5178,7 @@ domGl_pipeline_settings::domClear_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clear_color" ); - _Meta->registerConstructor(domGl_pipeline_settings::domClear_color::create); + _Meta->registerClass(domGl_pipeline_settings::domClear_color::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5229,7 +5229,7 @@ domGl_pipeline_settings::domClear_stencil::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clear_stencil" ); - _Meta->registerConstructor(domGl_pipeline_settings::domClear_stencil::create); + _Meta->registerClass(domGl_pipeline_settings::domClear_stencil::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5280,7 +5280,7 @@ domGl_pipeline_settings::domClear_depth::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clear_depth" ); - _Meta->registerConstructor(domGl_pipeline_settings::domClear_depth::create); + _Meta->registerClass(domGl_pipeline_settings::domClear_depth::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5331,7 +5331,7 @@ domGl_pipeline_settings::domColor_mask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_mask" ); - _Meta->registerConstructor(domGl_pipeline_settings::domColor_mask::create); + _Meta->registerClass(domGl_pipeline_settings::domColor_mask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5382,7 +5382,7 @@ domGl_pipeline_settings::domDepth_bounds::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_bounds" ); - _Meta->registerConstructor(domGl_pipeline_settings::domDepth_bounds::create); + _Meta->registerClass(domGl_pipeline_settings::domDepth_bounds::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5432,7 +5432,7 @@ domGl_pipeline_settings::domDepth_mask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_mask" ); - _Meta->registerConstructor(domGl_pipeline_settings::domDepth_mask::create); + _Meta->registerClass(domGl_pipeline_settings::domDepth_mask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5483,7 +5483,7 @@ domGl_pipeline_settings::domDepth_range::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_range" ); - _Meta->registerConstructor(domGl_pipeline_settings::domDepth_range::create); + _Meta->registerClass(domGl_pipeline_settings::domDepth_range::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5534,7 +5534,7 @@ domGl_pipeline_settings::domFog_density::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_density" ); - _Meta->registerConstructor(domGl_pipeline_settings::domFog_density::create); + _Meta->registerClass(domGl_pipeline_settings::domFog_density::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5585,7 +5585,7 @@ domGl_pipeline_settings::domFog_start::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_start" ); - _Meta->registerConstructor(domGl_pipeline_settings::domFog_start::create); + _Meta->registerClass(domGl_pipeline_settings::domFog_start::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5636,7 +5636,7 @@ domGl_pipeline_settings::domFog_end::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_end" ); - _Meta->registerConstructor(domGl_pipeline_settings::domFog_end::create); + _Meta->registerClass(domGl_pipeline_settings::domFog_end::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5687,7 +5687,7 @@ domGl_pipeline_settings::domFog_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_color" ); - _Meta->registerConstructor(domGl_pipeline_settings::domFog_color::create); + _Meta->registerClass(domGl_pipeline_settings::domFog_color::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5738,7 +5738,7 @@ domGl_pipeline_settings::domLight_model_ambient::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_model_ambient" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_model_ambient::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_model_ambient::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5789,7 +5789,7 @@ domGl_pipeline_settings::domLighting_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "lighting_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLighting_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domLighting_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5840,7 +5840,7 @@ domGl_pipeline_settings::domLine_stipple::registerElement() _Meta = new daeMetaElement; _Meta->setName( "line_stipple" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLine_stipple::create); + _Meta->registerClass(domGl_pipeline_settings::domLine_stipple::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5891,7 +5891,7 @@ domGl_pipeline_settings::domLine_width::registerElement() _Meta = new daeMetaElement; _Meta->setName( "line_width" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLine_width::create); + _Meta->registerClass(domGl_pipeline_settings::domLine_width::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5942,7 +5942,7 @@ domGl_pipeline_settings::domMaterial_ambient::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_ambient" ); - _Meta->registerConstructor(domGl_pipeline_settings::domMaterial_ambient::create); + _Meta->registerClass(domGl_pipeline_settings::domMaterial_ambient::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -5993,7 +5993,7 @@ domGl_pipeline_settings::domMaterial_diffuse::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_diffuse" ); - _Meta->registerConstructor(domGl_pipeline_settings::domMaterial_diffuse::create); + _Meta->registerClass(domGl_pipeline_settings::domMaterial_diffuse::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6044,7 +6044,7 @@ domGl_pipeline_settings::domMaterial_emission::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_emission" ); - _Meta->registerConstructor(domGl_pipeline_settings::domMaterial_emission::create); + _Meta->registerClass(domGl_pipeline_settings::domMaterial_emission::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6095,7 +6095,7 @@ domGl_pipeline_settings::domMaterial_shininess::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_shininess" ); - _Meta->registerConstructor(domGl_pipeline_settings::domMaterial_shininess::create); + _Meta->registerClass(domGl_pipeline_settings::domMaterial_shininess::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6146,7 +6146,7 @@ domGl_pipeline_settings::domMaterial_specular::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_specular" ); - _Meta->registerConstructor(domGl_pipeline_settings::domMaterial_specular::create); + _Meta->registerClass(domGl_pipeline_settings::domMaterial_specular::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6197,7 +6197,7 @@ domGl_pipeline_settings::domModel_view_matrix::registerElement() _Meta = new daeMetaElement; _Meta->setName( "model_view_matrix" ); - _Meta->registerConstructor(domGl_pipeline_settings::domModel_view_matrix::create); + _Meta->registerClass(domGl_pipeline_settings::domModel_view_matrix::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6248,7 +6248,7 @@ domGl_pipeline_settings::domPoint_distance_attenuation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_distance_attenuation" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPoint_distance_attenuation::create); + _Meta->registerClass(domGl_pipeline_settings::domPoint_distance_attenuation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6299,7 +6299,7 @@ domGl_pipeline_settings::domPoint_fade_threshold_size::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_fade_threshold_size" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPoint_fade_threshold_size::create); + _Meta->registerClass(domGl_pipeline_settings::domPoint_fade_threshold_size::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6350,7 +6350,7 @@ domGl_pipeline_settings::domPoint_size::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_size" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPoint_size::create); + _Meta->registerClass(domGl_pipeline_settings::domPoint_size::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6401,7 +6401,7 @@ domGl_pipeline_settings::domPoint_size_min::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_size_min" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPoint_size_min::create); + _Meta->registerClass(domGl_pipeline_settings::domPoint_size_min::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6452,7 +6452,7 @@ domGl_pipeline_settings::domPoint_size_max::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_size_max" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPoint_size_max::create); + _Meta->registerClass(domGl_pipeline_settings::domPoint_size_max::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6503,7 +6503,7 @@ domGl_pipeline_settings::domPolygon_offset::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_offset" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_offset::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_offset::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6554,7 +6554,7 @@ domGl_pipeline_settings::domProjection_matrix::registerElement() _Meta = new daeMetaElement; _Meta->setName( "projection_matrix" ); - _Meta->registerConstructor(domGl_pipeline_settings::domProjection_matrix::create); + _Meta->registerClass(domGl_pipeline_settings::domProjection_matrix::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6605,7 +6605,7 @@ domGl_pipeline_settings::domScissor::registerElement() _Meta = new daeMetaElement; _Meta->setName( "scissor" ); - _Meta->registerConstructor(domGl_pipeline_settings::domScissor::create); + _Meta->registerClass(domGl_pipeline_settings::domScissor::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6655,7 +6655,7 @@ domGl_pipeline_settings::domStencil_mask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_mask" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_mask::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_mask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6706,7 +6706,7 @@ domGl_pipeline_settings::domAlpha_test_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "alpha_test_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domAlpha_test_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domAlpha_test_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6757,7 +6757,7 @@ domGl_pipeline_settings::domAuto_normal_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "auto_normal_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domAuto_normal_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domAuto_normal_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6808,7 +6808,7 @@ domGl_pipeline_settings::domBlend_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blend_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domBlend_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domBlend_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6859,7 +6859,7 @@ domGl_pipeline_settings::domColor_logic_op_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_logic_op_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domColor_logic_op_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domColor_logic_op_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6910,7 +6910,7 @@ domGl_pipeline_settings::domColor_material_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_material_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domColor_material_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domColor_material_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -6961,7 +6961,7 @@ domGl_pipeline_settings::domCull_face_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cull_face_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domCull_face_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domCull_face_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7012,7 +7012,7 @@ domGl_pipeline_settings::domDepth_bounds_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_bounds_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domDepth_bounds_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domDepth_bounds_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7063,7 +7063,7 @@ domGl_pipeline_settings::domDepth_clamp_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_clamp_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domDepth_clamp_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domDepth_clamp_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7114,7 +7114,7 @@ domGl_pipeline_settings::domDepth_test_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_test_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domDepth_test_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domDepth_test_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7165,7 +7165,7 @@ domGl_pipeline_settings::domDither_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "dither_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domDither_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domDither_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7216,7 +7216,7 @@ domGl_pipeline_settings::domFog_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domFog_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domFog_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7267,7 +7267,7 @@ domGl_pipeline_settings::domLight_model_local_viewer_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_model_local_viewer_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_model_local_viewer_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_model_local_viewer_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7318,7 +7318,7 @@ domGl_pipeline_settings::domLight_model_two_side_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_model_two_side_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLight_model_two_side_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domLight_model_two_side_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7369,7 +7369,7 @@ domGl_pipeline_settings::domLine_smooth_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "line_smooth_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLine_smooth_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domLine_smooth_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7420,7 +7420,7 @@ domGl_pipeline_settings::domLine_stipple_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "line_stipple_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLine_stipple_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domLine_stipple_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7471,7 +7471,7 @@ domGl_pipeline_settings::domLogic_op_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "logic_op_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domLogic_op_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domLogic_op_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7522,7 +7522,7 @@ domGl_pipeline_settings::domMultisample_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "multisample_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domMultisample_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domMultisample_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7573,7 +7573,7 @@ domGl_pipeline_settings::domNormalize_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "normalize_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domNormalize_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domNormalize_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7624,7 +7624,7 @@ domGl_pipeline_settings::domPoint_smooth_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_smooth_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPoint_smooth_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domPoint_smooth_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7675,7 +7675,7 @@ domGl_pipeline_settings::domPolygon_offset_fill_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_offset_fill_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_offset_fill_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_offset_fill_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7726,7 +7726,7 @@ domGl_pipeline_settings::domPolygon_offset_line_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_offset_line_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_offset_line_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_offset_line_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7777,7 +7777,7 @@ domGl_pipeline_settings::domPolygon_offset_point_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_offset_point_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_offset_point_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_offset_point_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7828,7 +7828,7 @@ domGl_pipeline_settings::domPolygon_smooth_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_smooth_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_smooth_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_smooth_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7879,7 +7879,7 @@ domGl_pipeline_settings::domPolygon_stipple_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_stipple_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domPolygon_stipple_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domPolygon_stipple_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7930,7 +7930,7 @@ domGl_pipeline_settings::domRescale_normal_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "rescale_normal_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domRescale_normal_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domRescale_normal_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -7981,7 +7981,7 @@ domGl_pipeline_settings::domSample_alpha_to_coverage_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sample_alpha_to_coverage_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domSample_alpha_to_coverage_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domSample_alpha_to_coverage_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -8032,7 +8032,7 @@ domGl_pipeline_settings::domSample_alpha_to_one_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sample_alpha_to_one_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domSample_alpha_to_one_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domSample_alpha_to_one_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -8083,7 +8083,7 @@ domGl_pipeline_settings::domSample_coverage_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sample_coverage_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domSample_coverage_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domSample_coverage_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -8134,7 +8134,7 @@ domGl_pipeline_settings::domScissor_test_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "scissor_test_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domScissor_test_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domScissor_test_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -8185,7 +8185,7 @@ domGl_pipeline_settings::domStencil_test_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_test_enable" ); - _Meta->registerConstructor(domGl_pipeline_settings::domStencil_test_enable::create); + _Meta->registerClass(domGl_pipeline_settings::domStencil_test_enable::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler1D.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler1D.cpp index f8de442d4..3751a6b69 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler1D.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler1D.cpp @@ -35,7 +35,7 @@ domGl_sampler1D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gl_sampler1D" ); - _Meta->registerConstructor(domGl_sampler1D::create); + _Meta->registerClass(domGl_sampler1D::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler2D.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler2D.cpp index 08ed3ea06..b622403b1 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler2D.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler2D.cpp @@ -35,7 +35,7 @@ domGl_sampler2D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gl_sampler2D" ); - _Meta->registerConstructor(domGl_sampler2D::create); + _Meta->registerClass(domGl_sampler2D::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler3D.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler3D.cpp index 3d1bb1e3b..47b98f0a7 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler3D.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGl_sampler3D.cpp @@ -35,7 +35,7 @@ domGl_sampler3D::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gl_sampler3D" ); - _Meta->registerConstructor(domGl_sampler3D::create); + _Meta->registerClass(domGl_sampler3D::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerCUBE.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerCUBE.cpp index 6978a3299..dc0bf3590 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerCUBE.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerCUBE.cpp @@ -35,7 +35,7 @@ domGl_samplerCUBE::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gl_samplerCUBE" ); - _Meta->registerConstructor(domGl_samplerCUBE::create); + _Meta->registerClass(domGl_samplerCUBE::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerDEPTH.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerDEPTH.cpp index 3c1e1ff71..92d65d892 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerDEPTH.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerDEPTH.cpp @@ -35,7 +35,7 @@ domGl_samplerDEPTH::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gl_samplerDEPTH" ); - _Meta->registerConstructor(domGl_samplerDEPTH::create); + _Meta->registerClass(domGl_samplerDEPTH::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerRECT.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerRECT.cpp index eac415e8b..2c25201e6 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerRECT.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGl_samplerRECT.cpp @@ -35,7 +35,7 @@ domGl_samplerRECT::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gl_samplerRECT" ); - _Meta->registerConstructor(domGl_samplerRECT::create); + _Meta->registerClass(domGl_samplerRECT::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_basic_type_common.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_basic_type_common.cpp index 8ff468f70..1f84688a8 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_basic_type_common.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_basic_type_common.cpp @@ -35,7 +35,7 @@ domGles_basic_type_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_basic_type_common" ); - _Meta->registerConstructor(domGles_basic_type_common::create); + _Meta->registerClass(domGles_basic_type_common::create, &_Meta); _Meta->setIsTransparent( true ); daeMetaCMPolicy *cm = NULL; @@ -269,7 +269,7 @@ domGles_basic_type_common::domBool::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool" ); - _Meta->registerConstructor(domGles_basic_type_common::domBool::create); + _Meta->registerClass(domGles_basic_type_common::domBool::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -304,7 +304,7 @@ domGles_basic_type_common::domBool2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2" ); - _Meta->registerConstructor(domGles_basic_type_common::domBool2::create); + _Meta->registerClass(domGles_basic_type_common::domBool2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -339,7 +339,7 @@ domGles_basic_type_common::domBool3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3" ); - _Meta->registerConstructor(domGles_basic_type_common::domBool3::create); + _Meta->registerClass(domGles_basic_type_common::domBool3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -374,7 +374,7 @@ domGles_basic_type_common::domBool4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4" ); - _Meta->registerConstructor(domGles_basic_type_common::domBool4::create); + _Meta->registerClass(domGles_basic_type_common::domBool4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -409,7 +409,7 @@ domGles_basic_type_common::domInt::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int" ); - _Meta->registerConstructor(domGles_basic_type_common::domInt::create); + _Meta->registerClass(domGles_basic_type_common::domInt::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -444,7 +444,7 @@ domGles_basic_type_common::domInt2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2" ); - _Meta->registerConstructor(domGles_basic_type_common::domInt2::create); + _Meta->registerClass(domGles_basic_type_common::domInt2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -479,7 +479,7 @@ domGles_basic_type_common::domInt3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3" ); - _Meta->registerConstructor(domGles_basic_type_common::domInt3::create); + _Meta->registerClass(domGles_basic_type_common::domInt3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -514,7 +514,7 @@ domGles_basic_type_common::domInt4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4" ); - _Meta->registerConstructor(domGles_basic_type_common::domInt4::create); + _Meta->registerClass(domGles_basic_type_common::domInt4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -549,7 +549,7 @@ domGles_basic_type_common::domFloat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat::create); + _Meta->registerClass(domGles_basic_type_common::domFloat::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -584,7 +584,7 @@ domGles_basic_type_common::domFloat2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat2::create); + _Meta->registerClass(domGles_basic_type_common::domFloat2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -619,7 +619,7 @@ domGles_basic_type_common::domFloat3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat3::create); + _Meta->registerClass(domGles_basic_type_common::domFloat3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -654,7 +654,7 @@ domGles_basic_type_common::domFloat4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat4::create); + _Meta->registerClass(domGles_basic_type_common::domFloat4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -689,7 +689,7 @@ domGles_basic_type_common::domFloat1x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x1" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat1x1::create); + _Meta->registerClass(domGles_basic_type_common::domFloat1x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -724,7 +724,7 @@ domGles_basic_type_common::domFloat1x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x2" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat1x2::create); + _Meta->registerClass(domGles_basic_type_common::domFloat1x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -759,7 +759,7 @@ domGles_basic_type_common::domFloat1x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x3" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat1x3::create); + _Meta->registerClass(domGles_basic_type_common::domFloat1x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -794,7 +794,7 @@ domGles_basic_type_common::domFloat1x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float1x4" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat1x4::create); + _Meta->registerClass(domGles_basic_type_common::domFloat1x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -829,7 +829,7 @@ domGles_basic_type_common::domFloat2x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x1" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat2x1::create); + _Meta->registerClass(domGles_basic_type_common::domFloat2x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -864,7 +864,7 @@ domGles_basic_type_common::domFloat2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x2" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat2x2::create); + _Meta->registerClass(domGles_basic_type_common::domFloat2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -899,7 +899,7 @@ domGles_basic_type_common::domFloat2x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x3" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat2x3::create); + _Meta->registerClass(domGles_basic_type_common::domFloat2x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -934,7 +934,7 @@ domGles_basic_type_common::domFloat2x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x4" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat2x4::create); + _Meta->registerClass(domGles_basic_type_common::domFloat2x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -969,7 +969,7 @@ domGles_basic_type_common::domFloat3x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x1" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat3x1::create); + _Meta->registerClass(domGles_basic_type_common::domFloat3x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1004,7 +1004,7 @@ domGles_basic_type_common::domFloat3x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x2" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat3x2::create); + _Meta->registerClass(domGles_basic_type_common::domFloat3x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1039,7 +1039,7 @@ domGles_basic_type_common::domFloat3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x3" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat3x3::create); + _Meta->registerClass(domGles_basic_type_common::domFloat3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1074,7 +1074,7 @@ domGles_basic_type_common::domFloat3x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x4" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat3x4::create); + _Meta->registerClass(domGles_basic_type_common::domFloat3x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1109,7 +1109,7 @@ domGles_basic_type_common::domFloat4x1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x1" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat4x1::create); + _Meta->registerClass(domGles_basic_type_common::domFloat4x1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1144,7 +1144,7 @@ domGles_basic_type_common::domFloat4x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x2" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat4x2::create); + _Meta->registerClass(domGles_basic_type_common::domFloat4x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1179,7 +1179,7 @@ domGles_basic_type_common::domFloat4x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x3" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat4x3::create); + _Meta->registerClass(domGles_basic_type_common::domFloat4x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1214,7 +1214,7 @@ domGles_basic_type_common::domFloat4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x4" ); - _Meta->registerConstructor(domGles_basic_type_common::domFloat4x4::create); + _Meta->registerClass(domGles_basic_type_common::domFloat4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -1249,7 +1249,7 @@ domGles_basic_type_common::domEnum::registerElement() _Meta = new daeMetaElement; _Meta->setName( "enum" ); - _Meta->registerConstructor(domGles_basic_type_common::domEnum::create); + _Meta->registerClass(domGles_basic_type_common::domEnum::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_newparam.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_newparam.cpp index 1dd4385b5..7381d69bf 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_newparam.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_newparam.cpp @@ -35,7 +35,7 @@ domGles_newparam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_newparam" ); - _Meta->registerConstructor(domGles_newparam::create); + _Meta->registerClass(domGles_newparam::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -102,7 +102,7 @@ domGles_newparam::domSemantic::registerElement() _Meta = new daeMetaElement; _Meta->setName( "semantic" ); - _Meta->registerConstructor(domGles_newparam::domSemantic::create); + _Meta->registerClass(domGles_newparam::domSemantic::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -137,7 +137,7 @@ domGles_newparam::domModifier::registerElement() _Meta = new daeMetaElement; _Meta->setName( "modifier" ); - _Meta->registerConstructor(domGles_newparam::domModifier::create); + _Meta->registerClass(domGles_newparam::domModifier::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_pipeline_settings.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_pipeline_settings.cpp index 245535abd..2e2c3c93a 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_pipeline_settings.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_pipeline_settings.cpp @@ -35,7 +35,7 @@ domGles_pipeline_settings::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_pipeline_settings" ); - _Meta->registerConstructor(domGles_pipeline_settings::create); + _Meta->registerClass(domGles_pipeline_settings::create, &_Meta); _Meta->setIsTransparent( true ); daeMetaCMPolicy *cm = NULL; @@ -509,7 +509,7 @@ domGles_pipeline_settings::domAlpha_func::registerElement() _Meta = new daeMetaElement; _Meta->setName( "alpha_func" ); - _Meta->registerConstructor(domGles_pipeline_settings::domAlpha_func::create); + _Meta->registerClass(domGles_pipeline_settings::domAlpha_func::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -553,7 +553,7 @@ domGles_pipeline_settings::domAlpha_func::domFunc::registerElement() _Meta = new daeMetaElement; _Meta->setName( "func" ); - _Meta->registerConstructor(domGles_pipeline_settings::domAlpha_func::domFunc::create); + _Meta->registerClass(domGles_pipeline_settings::domAlpha_func::domFunc::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -604,7 +604,7 @@ domGles_pipeline_settings::domAlpha_func::domValue::registerElement() _Meta = new daeMetaElement; _Meta->setName( "value" ); - _Meta->registerConstructor(domGles_pipeline_settings::domAlpha_func::domValue::create); + _Meta->registerClass(domGles_pipeline_settings::domAlpha_func::domValue::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -655,7 +655,7 @@ domGles_pipeline_settings::domBlend_func::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blend_func" ); - _Meta->registerConstructor(domGles_pipeline_settings::domBlend_func::create); + _Meta->registerClass(domGles_pipeline_settings::domBlend_func::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -699,7 +699,7 @@ domGles_pipeline_settings::domBlend_func::domSrc::registerElement() _Meta = new daeMetaElement; _Meta->setName( "src" ); - _Meta->registerConstructor(domGles_pipeline_settings::domBlend_func::domSrc::create); + _Meta->registerClass(domGles_pipeline_settings::domBlend_func::domSrc::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -750,7 +750,7 @@ domGles_pipeline_settings::domBlend_func::domDest::registerElement() _Meta = new daeMetaElement; _Meta->setName( "dest" ); - _Meta->registerConstructor(domGles_pipeline_settings::domBlend_func::domDest::create); + _Meta->registerClass(domGles_pipeline_settings::domBlend_func::domDest::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -801,7 +801,7 @@ domGles_pipeline_settings::domClear_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clear_color" ); - _Meta->registerConstructor(domGles_pipeline_settings::domClear_color::create); + _Meta->registerClass(domGles_pipeline_settings::domClear_color::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -851,7 +851,7 @@ domGles_pipeline_settings::domClear_stencil::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clear_stencil" ); - _Meta->registerConstructor(domGles_pipeline_settings::domClear_stencil::create); + _Meta->registerClass(domGles_pipeline_settings::domClear_stencil::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -901,7 +901,7 @@ domGles_pipeline_settings::domClear_depth::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clear_depth" ); - _Meta->registerConstructor(domGles_pipeline_settings::domClear_depth::create); + _Meta->registerClass(domGles_pipeline_settings::domClear_depth::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -951,7 +951,7 @@ domGles_pipeline_settings::domClip_plane::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clip_plane" ); - _Meta->registerConstructor(domGles_pipeline_settings::domClip_plane::create); + _Meta->registerClass(domGles_pipeline_settings::domClip_plane::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1013,7 +1013,7 @@ domGles_pipeline_settings::domColor_mask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_mask" ); - _Meta->registerConstructor(domGles_pipeline_settings::domColor_mask::create); + _Meta->registerClass(domGles_pipeline_settings::domColor_mask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1063,7 +1063,7 @@ domGles_pipeline_settings::domCull_face::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cull_face" ); - _Meta->registerConstructor(domGles_pipeline_settings::domCull_face::create); + _Meta->registerClass(domGles_pipeline_settings::domCull_face::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1114,7 +1114,7 @@ domGles_pipeline_settings::domDepth_func::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_func" ); - _Meta->registerConstructor(domGles_pipeline_settings::domDepth_func::create); + _Meta->registerClass(domGles_pipeline_settings::domDepth_func::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1165,7 +1165,7 @@ domGles_pipeline_settings::domDepth_mask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_mask" ); - _Meta->registerConstructor(domGles_pipeline_settings::domDepth_mask::create); + _Meta->registerClass(domGles_pipeline_settings::domDepth_mask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1216,7 +1216,7 @@ domGles_pipeline_settings::domDepth_range::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_range" ); - _Meta->registerConstructor(domGles_pipeline_settings::domDepth_range::create); + _Meta->registerClass(domGles_pipeline_settings::domDepth_range::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1267,7 +1267,7 @@ domGles_pipeline_settings::domFog_color::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_color" ); - _Meta->registerConstructor(domGles_pipeline_settings::domFog_color::create); + _Meta->registerClass(domGles_pipeline_settings::domFog_color::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1318,7 +1318,7 @@ domGles_pipeline_settings::domFog_density::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_density" ); - _Meta->registerConstructor(domGles_pipeline_settings::domFog_density::create); + _Meta->registerClass(domGles_pipeline_settings::domFog_density::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1369,7 +1369,7 @@ domGles_pipeline_settings::domFog_mode::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_mode" ); - _Meta->registerConstructor(domGles_pipeline_settings::domFog_mode::create); + _Meta->registerClass(domGles_pipeline_settings::domFog_mode::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1420,7 +1420,7 @@ domGles_pipeline_settings::domFog_start::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_start" ); - _Meta->registerConstructor(domGles_pipeline_settings::domFog_start::create); + _Meta->registerClass(domGles_pipeline_settings::domFog_start::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1471,7 +1471,7 @@ domGles_pipeline_settings::domFog_end::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_end" ); - _Meta->registerConstructor(domGles_pipeline_settings::domFog_end::create); + _Meta->registerClass(domGles_pipeline_settings::domFog_end::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1522,7 +1522,7 @@ domGles_pipeline_settings::domFront_face::registerElement() _Meta = new daeMetaElement; _Meta->setName( "front_face" ); - _Meta->registerConstructor(domGles_pipeline_settings::domFront_face::create); + _Meta->registerClass(domGles_pipeline_settings::domFront_face::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1573,7 +1573,7 @@ domGles_pipeline_settings::domTexture_pipeline::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture_pipeline" ); - _Meta->registerConstructor(domGles_pipeline_settings::domTexture_pipeline::create); + _Meta->registerClass(domGles_pipeline_settings::domTexture_pipeline::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -1623,7 +1623,7 @@ domGles_pipeline_settings::domLogic_op::registerElement() _Meta = new daeMetaElement; _Meta->setName( "logic_op" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLogic_op::create); + _Meta->registerClass(domGles_pipeline_settings::domLogic_op::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1674,7 +1674,7 @@ domGles_pipeline_settings::domLight_ambient::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_ambient" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_ambient::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_ambient::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1737,7 +1737,7 @@ domGles_pipeline_settings::domLight_diffuse::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_diffuse" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_diffuse::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_diffuse::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1800,7 +1800,7 @@ domGles_pipeline_settings::domLight_specular::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_specular" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_specular::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_specular::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1863,7 +1863,7 @@ domGles_pipeline_settings::domLight_position::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_position" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_position::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_position::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1926,7 +1926,7 @@ domGles_pipeline_settings::domLight_constant_attenuation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_constant_attenuation" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_constant_attenuation::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_constant_attenuation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -1989,7 +1989,7 @@ domGles_pipeline_settings::domLight_linear_attenutation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_linear_attenutation" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_linear_attenutation::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_linear_attenutation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2052,7 +2052,7 @@ domGles_pipeline_settings::domLight_quadratic_attenuation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_quadratic_attenuation" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_quadratic_attenuation::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_quadratic_attenuation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2115,7 +2115,7 @@ domGles_pipeline_settings::domLight_spot_cutoff::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_spot_cutoff" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_spot_cutoff::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_spot_cutoff::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2178,7 +2178,7 @@ domGles_pipeline_settings::domLight_spot_direction::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_spot_direction" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_spot_direction::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_spot_direction::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2241,7 +2241,7 @@ domGles_pipeline_settings::domLight_spot_exponent::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_spot_exponent" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_spot_exponent::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_spot_exponent::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2304,7 +2304,7 @@ domGles_pipeline_settings::domLight_model_ambient::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_model_ambient" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_model_ambient::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_model_ambient::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2355,7 +2355,7 @@ domGles_pipeline_settings::domLine_width::registerElement() _Meta = new daeMetaElement; _Meta->setName( "line_width" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLine_width::create); + _Meta->registerClass(domGles_pipeline_settings::domLine_width::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2406,7 +2406,7 @@ domGles_pipeline_settings::domMaterial_ambient::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_ambient" ); - _Meta->registerConstructor(domGles_pipeline_settings::domMaterial_ambient::create); + _Meta->registerClass(domGles_pipeline_settings::domMaterial_ambient::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2457,7 +2457,7 @@ domGles_pipeline_settings::domMaterial_diffuse::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_diffuse" ); - _Meta->registerConstructor(domGles_pipeline_settings::domMaterial_diffuse::create); + _Meta->registerClass(domGles_pipeline_settings::domMaterial_diffuse::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2508,7 +2508,7 @@ domGles_pipeline_settings::domMaterial_emission::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_emission" ); - _Meta->registerConstructor(domGles_pipeline_settings::domMaterial_emission::create); + _Meta->registerClass(domGles_pipeline_settings::domMaterial_emission::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2559,7 +2559,7 @@ domGles_pipeline_settings::domMaterial_shininess::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_shininess" ); - _Meta->registerConstructor(domGles_pipeline_settings::domMaterial_shininess::create); + _Meta->registerClass(domGles_pipeline_settings::domMaterial_shininess::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2610,7 +2610,7 @@ domGles_pipeline_settings::domMaterial_specular::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material_specular" ); - _Meta->registerConstructor(domGles_pipeline_settings::domMaterial_specular::create); + _Meta->registerClass(domGles_pipeline_settings::domMaterial_specular::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2661,7 +2661,7 @@ domGles_pipeline_settings::domModel_view_matrix::registerElement() _Meta = new daeMetaElement; _Meta->setName( "model_view_matrix" ); - _Meta->registerConstructor(domGles_pipeline_settings::domModel_view_matrix::create); + _Meta->registerClass(domGles_pipeline_settings::domModel_view_matrix::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2712,7 +2712,7 @@ domGles_pipeline_settings::domPoint_distance_attenuation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_distance_attenuation" ); - _Meta->registerConstructor(domGles_pipeline_settings::domPoint_distance_attenuation::create); + _Meta->registerClass(domGles_pipeline_settings::domPoint_distance_attenuation::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2763,7 +2763,7 @@ domGles_pipeline_settings::domPoint_fade_threshold_size::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_fade_threshold_size" ); - _Meta->registerConstructor(domGles_pipeline_settings::domPoint_fade_threshold_size::create); + _Meta->registerClass(domGles_pipeline_settings::domPoint_fade_threshold_size::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2814,7 +2814,7 @@ domGles_pipeline_settings::domPoint_size::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_size" ); - _Meta->registerConstructor(domGles_pipeline_settings::domPoint_size::create); + _Meta->registerClass(domGles_pipeline_settings::domPoint_size::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2865,7 +2865,7 @@ domGles_pipeline_settings::domPoint_size_min::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_size_min" ); - _Meta->registerConstructor(domGles_pipeline_settings::domPoint_size_min::create); + _Meta->registerClass(domGles_pipeline_settings::domPoint_size_min::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2916,7 +2916,7 @@ domGles_pipeline_settings::domPoint_size_max::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_size_max" ); - _Meta->registerConstructor(domGles_pipeline_settings::domPoint_size_max::create); + _Meta->registerClass(domGles_pipeline_settings::domPoint_size_max::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -2967,7 +2967,7 @@ domGles_pipeline_settings::domPolygon_offset::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_offset" ); - _Meta->registerConstructor(domGles_pipeline_settings::domPolygon_offset::create); + _Meta->registerClass(domGles_pipeline_settings::domPolygon_offset::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3018,7 +3018,7 @@ domGles_pipeline_settings::domProjection_matrix::registerElement() _Meta = new daeMetaElement; _Meta->setName( "projection_matrix" ); - _Meta->registerConstructor(domGles_pipeline_settings::domProjection_matrix::create); + _Meta->registerClass(domGles_pipeline_settings::domProjection_matrix::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3069,7 +3069,7 @@ domGles_pipeline_settings::domScissor::registerElement() _Meta = new daeMetaElement; _Meta->setName( "scissor" ); - _Meta->registerConstructor(domGles_pipeline_settings::domScissor::create); + _Meta->registerClass(domGles_pipeline_settings::domScissor::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3119,7 +3119,7 @@ domGles_pipeline_settings::domShade_model::registerElement() _Meta = new daeMetaElement; _Meta->setName( "shade_model" ); - _Meta->registerConstructor(domGles_pipeline_settings::domShade_model::create); + _Meta->registerClass(domGles_pipeline_settings::domShade_model::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3170,7 +3170,7 @@ domGles_pipeline_settings::domStencil_func::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_func" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_func::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_func::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -3220,7 +3220,7 @@ domGles_pipeline_settings::domStencil_func::domFunc::registerElement() _Meta = new daeMetaElement; _Meta->setName( "func" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_func::domFunc::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_func::domFunc::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3271,7 +3271,7 @@ domGles_pipeline_settings::domStencil_func::domRef::registerElement() _Meta = new daeMetaElement; _Meta->setName( "ref" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_func::domRef::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_func::domRef::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3322,7 +3322,7 @@ domGles_pipeline_settings::domStencil_func::domMask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mask" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_func::domMask::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_func::domMask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3373,7 +3373,7 @@ domGles_pipeline_settings::domStencil_mask::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_mask" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_mask::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_mask::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3424,7 +3424,7 @@ domGles_pipeline_settings::domStencil_op::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_op" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_op::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_op::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -3474,7 +3474,7 @@ domGles_pipeline_settings::domStencil_op::domFail::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fail" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_op::domFail::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_op::domFail::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3525,7 +3525,7 @@ domGles_pipeline_settings::domStencil_op::domZfail::registerElement() _Meta = new daeMetaElement; _Meta->setName( "zfail" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_op::domZfail::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_op::domZfail::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3576,7 +3576,7 @@ domGles_pipeline_settings::domStencil_op::domZpass::registerElement() _Meta = new daeMetaElement; _Meta->setName( "zpass" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_op::domZpass::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_op::domZpass::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3627,7 +3627,7 @@ domGles_pipeline_settings::domAlpha_test_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "alpha_test_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domAlpha_test_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domAlpha_test_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3678,7 +3678,7 @@ domGles_pipeline_settings::domBlend_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blend_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domBlend_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domBlend_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3729,7 +3729,7 @@ domGles_pipeline_settings::domClip_plane_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "clip_plane_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domClip_plane_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domClip_plane_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3791,7 +3791,7 @@ domGles_pipeline_settings::domColor_logic_op_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_logic_op_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domColor_logic_op_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domColor_logic_op_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3842,7 +3842,7 @@ domGles_pipeline_settings::domColor_material_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_material_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domColor_material_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domColor_material_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3893,7 +3893,7 @@ domGles_pipeline_settings::domCull_face_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "cull_face_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domCull_face_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domCull_face_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3944,7 +3944,7 @@ domGles_pipeline_settings::domDepth_test_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_test_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domDepth_test_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domDepth_test_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -3995,7 +3995,7 @@ domGles_pipeline_settings::domDither_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "dither_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domDither_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domDither_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4046,7 +4046,7 @@ domGles_pipeline_settings::domFog_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "fog_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domFog_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domFog_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4097,7 +4097,7 @@ domGles_pipeline_settings::domTexture_pipeline_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texture_pipeline_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domTexture_pipeline_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domTexture_pipeline_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4148,7 +4148,7 @@ domGles_pipeline_settings::domLight_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4211,7 +4211,7 @@ domGles_pipeline_settings::domLighting_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "lighting_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLighting_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domLighting_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4262,7 +4262,7 @@ domGles_pipeline_settings::domLight_model_two_side_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light_model_two_side_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLight_model_two_side_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domLight_model_two_side_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4313,7 +4313,7 @@ domGles_pipeline_settings::domLine_smooth_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "line_smooth_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domLine_smooth_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domLine_smooth_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4364,7 +4364,7 @@ domGles_pipeline_settings::domMultisample_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "multisample_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domMultisample_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domMultisample_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4415,7 +4415,7 @@ domGles_pipeline_settings::domNormalize_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "normalize_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domNormalize_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domNormalize_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4466,7 +4466,7 @@ domGles_pipeline_settings::domPoint_smooth_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point_smooth_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domPoint_smooth_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domPoint_smooth_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4517,7 +4517,7 @@ domGles_pipeline_settings::domPolygon_offset_fill_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygon_offset_fill_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domPolygon_offset_fill_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domPolygon_offset_fill_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4568,7 +4568,7 @@ domGles_pipeline_settings::domRescale_normal_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "rescale_normal_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domRescale_normal_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domRescale_normal_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4619,7 +4619,7 @@ domGles_pipeline_settings::domSample_alpha_to_coverage_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sample_alpha_to_coverage_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domSample_alpha_to_coverage_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domSample_alpha_to_coverage_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4670,7 +4670,7 @@ domGles_pipeline_settings::domSample_alpha_to_one_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sample_alpha_to_one_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domSample_alpha_to_one_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domSample_alpha_to_one_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4721,7 +4721,7 @@ domGles_pipeline_settings::domSample_coverage_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sample_coverage_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domSample_coverage_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domSample_coverage_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4772,7 +4772,7 @@ domGles_pipeline_settings::domScissor_test_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "scissor_test_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domScissor_test_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domScissor_test_enable::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -4823,7 +4823,7 @@ domGles_pipeline_settings::domStencil_test_enable::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_test_enable" ); - _Meta->registerConstructor(domGles_pipeline_settings::domStencil_test_enable::create); + _Meta->registerClass(domGles_pipeline_settings::domStencil_test_enable::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_sampler_state.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_sampler_state.cpp index 998f12823..c0e1888a9 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_sampler_state.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_sampler_state.cpp @@ -35,7 +35,7 @@ domGles_sampler_state::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_sampler_state" ); - _Meta->registerConstructor(domGles_sampler_state::create); + _Meta->registerClass(domGles_sampler_state::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -125,7 +125,7 @@ domGles_sampler_state::domWrap_s::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_s" ); - _Meta->registerConstructor(domGles_sampler_state::domWrap_s::create); + _Meta->registerClass(domGles_sampler_state::domWrap_s::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -160,7 +160,7 @@ domGles_sampler_state::domWrap_t::registerElement() _Meta = new daeMetaElement; _Meta->setName( "wrap_t" ); - _Meta->registerConstructor(domGles_sampler_state::domWrap_t::create); + _Meta->registerClass(domGles_sampler_state::domWrap_t::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -195,7 +195,7 @@ domGles_sampler_state::domMinfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "minfilter" ); - _Meta->registerConstructor(domGles_sampler_state::domMinfilter::create); + _Meta->registerClass(domGles_sampler_state::domMinfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -230,7 +230,7 @@ domGles_sampler_state::domMagfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "magfilter" ); - _Meta->registerConstructor(domGles_sampler_state::domMagfilter::create); + _Meta->registerClass(domGles_sampler_state::domMagfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -265,7 +265,7 @@ domGles_sampler_state::domMipfilter::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipfilter" ); - _Meta->registerConstructor(domGles_sampler_state::domMipfilter::create); + _Meta->registerClass(domGles_sampler_state::domMipfilter::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -300,7 +300,7 @@ domGles_sampler_state::domMipmap_maxlevel::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_maxlevel" ); - _Meta->registerConstructor(domGles_sampler_state::domMipmap_maxlevel::create); + _Meta->registerClass(domGles_sampler_state::domMipmap_maxlevel::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -335,7 +335,7 @@ domGles_sampler_state::domMipmap_bias::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mipmap_bias" ); - _Meta->registerConstructor(domGles_sampler_state::domMipmap_bias::create); + _Meta->registerClass(domGles_sampler_state::domMipmap_bias::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_argumentAlpha_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_argumentAlpha_type.cpp index e46262f66..d72b09cad 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_argumentAlpha_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_argumentAlpha_type.cpp @@ -35,7 +35,7 @@ domGles_texcombiner_argumentAlpha_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texcombiner_argumentAlpha_type" ); - _Meta->registerConstructor(domGles_texcombiner_argumentAlpha_type::create); + _Meta->registerClass(domGles_texcombiner_argumentAlpha_type::create, &_Meta); // Add attribute: source diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_argumentRGB_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_argumentRGB_type.cpp index 544d18888..ac0774ad5 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_argumentRGB_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_argumentRGB_type.cpp @@ -35,7 +35,7 @@ domGles_texcombiner_argumentRGB_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texcombiner_argumentRGB_type" ); - _Meta->registerConstructor(domGles_texcombiner_argumentRGB_type::create); + _Meta->registerClass(domGles_texcombiner_argumentRGB_type::create, &_Meta); // Add attribute: source diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_commandAlpha_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_commandAlpha_type.cpp index 6df949b5f..89a966f24 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_commandAlpha_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_commandAlpha_type.cpp @@ -35,7 +35,7 @@ domGles_texcombiner_commandAlpha_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texcombiner_commandAlpha_type" ); - _Meta->registerConstructor(domGles_texcombiner_commandAlpha_type::create); + _Meta->registerClass(domGles_texcombiner_commandAlpha_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_commandRGB_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_commandRGB_type.cpp index aa4c15bdb..599014c1f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_commandRGB_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_commandRGB_type.cpp @@ -35,7 +35,7 @@ domGles_texcombiner_commandRGB_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texcombiner_commandRGB_type" ); - _Meta->registerConstructor(domGles_texcombiner_commandRGB_type::create); + _Meta->registerClass(domGles_texcombiner_commandRGB_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_command_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_command_type.cpp index 37e2390a5..1c3f73d95 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_command_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texcombiner_command_type.cpp @@ -35,7 +35,7 @@ domGles_texcombiner_command_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texcombiner_command_type" ); - _Meta->registerConstructor(domGles_texcombiner_command_type::create); + _Meta->registerClass(domGles_texcombiner_command_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texenv_command_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texenv_command_type.cpp index ef42b5e9d..3c5600baf 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texenv_command_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texenv_command_type.cpp @@ -35,7 +35,7 @@ domGles_texenv_command_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texenv_command_type" ); - _Meta->registerConstructor(domGles_texenv_command_type::create); + _Meta->registerClass(domGles_texenv_command_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_constant_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_constant_type.cpp index 8f0f3783c..d36de1790 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_constant_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_constant_type.cpp @@ -35,7 +35,7 @@ domGles_texture_constant_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texture_constant_type" ); - _Meta->registerConstructor(domGles_texture_constant_type::create); + _Meta->registerClass(domGles_texture_constant_type::create, &_Meta); // Add attribute: value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_pipeline.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_pipeline.cpp index 1b9542301..be73c5a21 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_pipeline.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_pipeline.cpp @@ -35,7 +35,7 @@ domGles_texture_pipeline::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texture_pipeline" ); - _Meta->registerConstructor(domGles_texture_pipeline::create); + _Meta->registerClass(domGles_texture_pipeline::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -59,7 +59,7 @@ domGles_texture_pipeline::registerElement() mea->setElementType( domExtra::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domGles_texture_pipeline,_contents)); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_unit.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_unit.cpp index 458e504d5..b6e77306f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_unit.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGles_texture_unit.cpp @@ -35,7 +35,7 @@ domGles_texture_unit::registerElement() _Meta = new daeMetaElement; _Meta->setName( "gles_texture_unit" ); - _Meta->registerConstructor(domGles_texture_unit::create); + _Meta->registerClass(domGles_texture_unit::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -101,7 +101,7 @@ domGles_texture_unit::domSurface::registerElement() _Meta = new daeMetaElement; _Meta->setName( "surface" ); - _Meta->registerConstructor(domGles_texture_unit::domSurface::create); + _Meta->registerClass(domGles_texture_unit::domSurface::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -136,7 +136,7 @@ domGles_texture_unit::domSampler_state::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sampler_state" ); - _Meta->registerConstructor(domGles_texture_unit::domSampler_state::create); + _Meta->registerClass(domGles_texture_unit::domSampler_state::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -171,7 +171,7 @@ domGles_texture_unit::domTexcoord::registerElement() _Meta = new daeMetaElement; _Meta->setName( "texcoord" ); - _Meta->registerConstructor(domGles_texture_unit::domTexcoord::create); + _Meta->registerClass(domGles_texture_unit::domTexcoord::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_newarray_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_newarray_type.cpp index 511d1e646..586c8d230 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_newarray_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_newarray_type.cpp @@ -35,7 +35,7 @@ domGlsl_newarray_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "glsl_newarray_type" ); - _Meta->registerConstructor(domGlsl_newarray_type::create); + _Meta->registerClass(domGlsl_newarray_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -53,7 +53,7 @@ domGlsl_newarray_type::registerElement() mea->setElementType( domGlsl_newarray_type::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domGlsl_newarray_type,_contents)); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_newparam.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_newparam.cpp index 22bf884c9..0dd072d96 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_newparam.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_newparam.cpp @@ -35,7 +35,7 @@ domGlsl_newparam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "glsl_newparam" ); - _Meta->registerConstructor(domGlsl_newparam::create); + _Meta->registerClass(domGlsl_newparam::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -118,7 +118,7 @@ domGlsl_newparam::domSemantic::registerElement() _Meta = new daeMetaElement; _Meta->setName( "semantic" ); - _Meta->registerConstructor(domGlsl_newparam::domSemantic::create); + _Meta->registerClass(domGlsl_newparam::domSemantic::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -153,7 +153,7 @@ domGlsl_newparam::domModifier::registerElement() _Meta = new daeMetaElement; _Meta->setName( "modifier" ); - _Meta->registerConstructor(domGlsl_newparam::domModifier::create); + _Meta->registerClass(domGlsl_newparam::domModifier::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_param_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_param_type.cpp index 4c5b2acbc..5a2ec31a2 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_param_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_param_type.cpp @@ -35,7 +35,7 @@ domGlsl_param_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "glsl_param_type" ); - _Meta->registerConstructor(domGlsl_param_type::create); + _Meta->registerClass(domGlsl_param_type::create, &_Meta); _Meta->setIsTransparent( true ); daeMetaCMPolicy *cm = NULL; @@ -209,7 +209,7 @@ domGlsl_param_type::domBool::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool" ); - _Meta->registerConstructor(domGlsl_param_type::domBool::create); + _Meta->registerClass(domGlsl_param_type::domBool::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -244,7 +244,7 @@ domGlsl_param_type::domBool2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool2" ); - _Meta->registerConstructor(domGlsl_param_type::domBool2::create); + _Meta->registerClass(domGlsl_param_type::domBool2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -279,7 +279,7 @@ domGlsl_param_type::domBool3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool3" ); - _Meta->registerConstructor(domGlsl_param_type::domBool3::create); + _Meta->registerClass(domGlsl_param_type::domBool3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -314,7 +314,7 @@ domGlsl_param_type::domBool4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bool4" ); - _Meta->registerConstructor(domGlsl_param_type::domBool4::create); + _Meta->registerClass(domGlsl_param_type::domBool4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -349,7 +349,7 @@ domGlsl_param_type::domFloat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float" ); - _Meta->registerConstructor(domGlsl_param_type::domFloat::create); + _Meta->registerClass(domGlsl_param_type::domFloat::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -384,7 +384,7 @@ domGlsl_param_type::domFloat2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2" ); - _Meta->registerConstructor(domGlsl_param_type::domFloat2::create); + _Meta->registerClass(domGlsl_param_type::domFloat2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -419,7 +419,7 @@ domGlsl_param_type::domFloat3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3" ); - _Meta->registerConstructor(domGlsl_param_type::domFloat3::create); + _Meta->registerClass(domGlsl_param_type::domFloat3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -454,7 +454,7 @@ domGlsl_param_type::domFloat4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4" ); - _Meta->registerConstructor(domGlsl_param_type::domFloat4::create); + _Meta->registerClass(domGlsl_param_type::domFloat4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -489,7 +489,7 @@ domGlsl_param_type::domFloat2x2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float2x2" ); - _Meta->registerConstructor(domGlsl_param_type::domFloat2x2::create); + _Meta->registerClass(domGlsl_param_type::domFloat2x2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -524,7 +524,7 @@ domGlsl_param_type::domFloat3x3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float3x3" ); - _Meta->registerConstructor(domGlsl_param_type::domFloat3x3::create); + _Meta->registerClass(domGlsl_param_type::domFloat3x3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -559,7 +559,7 @@ domGlsl_param_type::domFloat4x4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "float4x4" ); - _Meta->registerConstructor(domGlsl_param_type::domFloat4x4::create); + _Meta->registerClass(domGlsl_param_type::domFloat4x4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -594,7 +594,7 @@ domGlsl_param_type::domInt::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int" ); - _Meta->registerConstructor(domGlsl_param_type::domInt::create); + _Meta->registerClass(domGlsl_param_type::domInt::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -629,7 +629,7 @@ domGlsl_param_type::domInt2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int2" ); - _Meta->registerConstructor(domGlsl_param_type::domInt2::create); + _Meta->registerClass(domGlsl_param_type::domInt2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -664,7 +664,7 @@ domGlsl_param_type::domInt3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int3" ); - _Meta->registerConstructor(domGlsl_param_type::domInt3::create); + _Meta->registerClass(domGlsl_param_type::domInt3::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -699,7 +699,7 @@ domGlsl_param_type::domInt4::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int4" ); - _Meta->registerConstructor(domGlsl_param_type::domInt4::create); + _Meta->registerClass(domGlsl_param_type::domInt4::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -734,7 +734,7 @@ domGlsl_param_type::domEnum::registerElement() _Meta = new daeMetaElement; _Meta->setName( "enum" ); - _Meta->registerConstructor(domGlsl_param_type::domEnum::create); + _Meta->registerClass(domGlsl_param_type::domEnum::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setarray_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setarray_type.cpp index 982e36813..2eefe1f1e 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setarray_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setarray_type.cpp @@ -35,7 +35,7 @@ domGlsl_setarray_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "glsl_setarray_type" ); - _Meta->registerConstructor(domGlsl_setarray_type::create); + _Meta->registerClass(domGlsl_setarray_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -53,7 +53,7 @@ domGlsl_setarray_type::registerElement() mea->setElementType( domGlsl_setarray_type::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domGlsl_setarray_type,_contents)); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setparam.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setparam.cpp index 0ffe385b9..20ec4b71e 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setparam.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setparam.cpp @@ -35,7 +35,7 @@ domGlsl_setparam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "glsl_setparam" ); - _Meta->registerConstructor(domGlsl_setparam::create); + _Meta->registerClass(domGlsl_setparam::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setparam_simple.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setparam_simple.cpp index 475c08814..59fee2d1b 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setparam_simple.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_setparam_simple.cpp @@ -35,7 +35,7 @@ domGlsl_setparam_simple::registerElement() _Meta = new daeMetaElement; _Meta->setName( "glsl_setparam_simple" ); - _Meta->registerConstructor(domGlsl_setparam_simple::create); + _Meta->registerClass(domGlsl_setparam_simple::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_surface_type.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_surface_type.cpp index 18bbecb65..956e38c1b 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_surface_type.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domGlsl_surface_type.cpp @@ -35,7 +35,7 @@ domGlsl_surface_type::registerElement() _Meta = new daeMetaElement; _Meta->setName( "glsl_surface_type" ); - _Meta->registerConstructor(domGlsl_surface_type::create); + _Meta->registerClass(domGlsl_surface_type::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -154,7 +154,7 @@ domGlsl_surface_type::domGenerator::registerElement() _Meta = new daeMetaElement; _Meta->setName( "generator" ); - _Meta->registerConstructor(domGlsl_surface_type::domGenerator::create); + _Meta->registerClass(domGlsl_surface_type::domGenerator::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -226,7 +226,7 @@ domGlsl_surface_type::domGenerator::domName::registerElement() _Meta = new daeMetaElement; _Meta->setName( "name" ); - _Meta->registerConstructor(domGlsl_surface_type::domGenerator::domName::create); + _Meta->registerClass(domGlsl_surface_type::domGenerator::domName::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domIDREF_array.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domIDREF_array.cpp index 51be2758d..e2d61d0b4 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domIDREF_array.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domIDREF_array.cpp @@ -35,7 +35,7 @@ domIDREF_array::registerElement() _Meta = new daeMetaElement; _Meta->setName( "IDREF_array" ); - _Meta->registerConstructor(domIDREF_array::create); + _Meta->registerClass(domIDREF_array::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domImage.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domImage.cpp index 9031becdd..04c5c3e7e 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domImage.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domImage.cpp @@ -35,7 +35,7 @@ domImage::registerElement() _Meta = new daeMetaElement; _Meta->setName( "image" ); - _Meta->registerConstructor(domImage::create); + _Meta->registerClass(domImage::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -167,7 +167,7 @@ domImage::domData::registerElement() _Meta = new daeMetaElement; _Meta->setName( "data" ); - _Meta->registerConstructor(domImage::domData::create); + _Meta->registerClass(domImage::domData::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -203,7 +203,7 @@ domImage::domInit_from::registerElement() _Meta = new daeMetaElement; _Meta->setName( "init_from" ); - _Meta->registerConstructor(domImage::domInit_from::create); + _Meta->registerClass(domImage::domInit_from::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInputGlobal.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInputGlobal.cpp index 3abdd0265..183acb511 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInputGlobal.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInputGlobal.cpp @@ -36,7 +36,7 @@ domInputGlobal::registerElement() _Meta = new daeMetaElement; _Meta->setName( "InputGlobal" ); - _Meta->registerConstructor(domInputGlobal::create); + _Meta->registerClass(domInputGlobal::create, &_Meta); // Add attribute: semantic diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInputLocal.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInputLocal.cpp index cff16ac97..b65f06311 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInputLocal.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInputLocal.cpp @@ -36,7 +36,7 @@ domInputLocal::registerElement() _Meta = new daeMetaElement; _Meta->setName( "InputLocal" ); - _Meta->registerConstructor(domInputLocal::create); + _Meta->registerClass(domInputLocal::create, &_Meta); // Add attribute: semantic diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInputLocalOffset.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInputLocalOffset.cpp index f94ce07b0..c77878e00 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInputLocalOffset.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInputLocalOffset.cpp @@ -36,7 +36,7 @@ domInputLocalOffset::registerElement() _Meta = new daeMetaElement; _Meta->setName( "InputLocalOffset" ); - _Meta->registerConstructor(domInputLocalOffset::create); + _Meta->registerClass(domInputLocalOffset::create, &_Meta); // Add attribute: offset diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstanceWithExtra.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstanceWithExtra.cpp index a7cd8c7a6..0dac4fbd5 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstanceWithExtra.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstanceWithExtra.cpp @@ -36,7 +36,7 @@ domInstanceWithExtra::registerElement() _Meta = new daeMetaElement; _Meta->setName( "InstanceWithExtra" ); - _Meta->registerConstructor(domInstanceWithExtra::create); + _Meta->registerClass(domInstanceWithExtra::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_camera.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_camera.cpp index 16c31b38d..dd01eac1f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_camera.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_camera.cpp @@ -35,7 +35,7 @@ domInstance_camera::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_camera" ); - _Meta->registerConstructor(domInstance_camera::create); + _Meta->registerClass(domInstance_camera::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -47,6 +47,8 @@ domInstance_camera::registerElement() mea->setElementType( domExtra::registerElement() ); cm->appendChild( mea ); + cm->setMaxOrdinal( 0 ); + _Meta->setCMRoot( cm ); // Add attribute: url { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_controller.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_controller.cpp index 9ef42beab..13baee87d 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_controller.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_controller.cpp @@ -36,7 +36,7 @@ domInstance_controller::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_controller" ); - _Meta->registerConstructor(domInstance_controller::create); + _Meta->registerClass(domInstance_controller::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -120,7 +120,7 @@ domInstance_controller::domSkeleton::registerElement() _Meta = new daeMetaElement; _Meta->setName( "skeleton" ); - _Meta->registerConstructor(domInstance_controller::domSkeleton::create); + _Meta->registerClass(domInstance_controller::domSkeleton::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_effect.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_effect.cpp index cf1d789b2..f1beb62bc 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_effect.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_effect.cpp @@ -36,7 +36,7 @@ domInstance_effect::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_effect" ); - _Meta->registerConstructor(domInstance_effect::create); + _Meta->registerClass(domInstance_effect::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -119,7 +119,7 @@ domInstance_effect::domTechnique_hint::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_hint" ); - _Meta->registerConstructor(domInstance_effect::domTechnique_hint::create); + _Meta->registerClass(domInstance_effect::domTechnique_hint::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -181,7 +181,7 @@ domInstance_effect::domSetparam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "setparam" ); - _Meta->registerConstructor(domInstance_effect::domSetparam::create); + _Meta->registerClass(domInstance_effect::domSetparam::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_force_field.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_force_field.cpp index 0bb4ce571..3dda2fa87 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_force_field.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_force_field.cpp @@ -35,7 +35,7 @@ domInstance_force_field::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_force_field" ); - _Meta->registerConstructor(domInstance_force_field::create); + _Meta->registerClass(domInstance_force_field::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -47,6 +47,8 @@ domInstance_force_field::registerElement() mea->setElementType( domExtra::registerElement() ); cm->appendChild( mea ); + cm->setMaxOrdinal( 0 ); + _Meta->setCMRoot( cm ); // Add attribute: url { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_geometry.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_geometry.cpp index b564c9bd7..3369b4a39 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_geometry.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_geometry.cpp @@ -36,7 +36,7 @@ domInstance_geometry::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_geometry" ); - _Meta->registerConstructor(domInstance_geometry::create); + _Meta->registerClass(domInstance_geometry::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_light.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_light.cpp index 95845e1bb..4139d0deb 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_light.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_light.cpp @@ -35,7 +35,7 @@ domInstance_light::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_light" ); - _Meta->registerConstructor(domInstance_light::create); + _Meta->registerClass(domInstance_light::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -47,6 +47,8 @@ domInstance_light::registerElement() mea->setElementType( domExtra::registerElement() ); cm->appendChild( mea ); + cm->setMaxOrdinal( 0 ); + _Meta->setCMRoot( cm ); // Add attribute: url { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_material.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_material.cpp index 1c10df560..4de460cd1 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_material.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_material.cpp @@ -36,7 +36,7 @@ domInstance_material::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_material" ); - _Meta->registerConstructor(domInstance_material::create); + _Meta->registerClass(domInstance_material::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -131,7 +131,7 @@ domInstance_material::domBind::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bind" ); - _Meta->registerConstructor(domInstance_material::domBind::create); + _Meta->registerClass(domInstance_material::domBind::create, &_Meta); _Meta->setIsInnerClass( true ); @@ -181,7 +181,7 @@ domInstance_material::domBind_vertex_input::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bind_vertex_input" ); - _Meta->registerConstructor(domInstance_material::domBind_vertex_input::create); + _Meta->registerClass(domInstance_material::domBind_vertex_input::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_node.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_node.cpp index a61babe11..af1452878 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_node.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_node.cpp @@ -35,7 +35,7 @@ domInstance_node::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_node" ); - _Meta->registerConstructor(domInstance_node::create); + _Meta->registerClass(domInstance_node::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -47,6 +47,8 @@ domInstance_node::registerElement() mea->setElementType( domExtra::registerElement() ); cm->appendChild( mea ); + cm->setMaxOrdinal( 0 ); + _Meta->setCMRoot( cm ); // Add attribute: url { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_physics_material.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_physics_material.cpp index 2602b742f..6063c48dd 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_physics_material.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_physics_material.cpp @@ -35,7 +35,7 @@ domInstance_physics_material::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_physics_material" ); - _Meta->registerConstructor(domInstance_physics_material::create); + _Meta->registerClass(domInstance_physics_material::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -47,6 +47,8 @@ domInstance_physics_material::registerElement() mea->setElementType( domExtra::registerElement() ); cm->appendChild( mea ); + cm->setMaxOrdinal( 0 ); + _Meta->setCMRoot( cm ); // Add attribute: url { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_physics_model.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_physics_model.cpp index 561caa652..4b9ed324c 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_physics_model.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_physics_model.cpp @@ -37,7 +37,7 @@ domInstance_physics_model::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_physics_model" ); - _Meta->registerConstructor(domInstance_physics_model::create); + _Meta->registerClass(domInstance_physics_model::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_rigid_body.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_rigid_body.cpp index d1bf0c5a2..832e12b53 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_rigid_body.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_rigid_body.cpp @@ -36,7 +36,7 @@ domInstance_rigid_body::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_rigid_body" ); - _Meta->registerConstructor(domInstance_rigid_body::create); + _Meta->registerClass(domInstance_rigid_body::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -131,7 +131,7 @@ domInstance_rigid_body::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domInstance_rigid_body::domTechnique_common::create); + _Meta->registerClass(domInstance_rigid_body::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -227,7 +227,7 @@ domInstance_rigid_body::domTechnique_common::domAngular_velocity::registerElemen _Meta = new daeMetaElement; _Meta->setName( "angular_velocity" ); - _Meta->registerConstructor(domInstance_rigid_body::domTechnique_common::domAngular_velocity::create); + _Meta->registerClass(domInstance_rigid_body::domTechnique_common::domAngular_velocity::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -262,7 +262,7 @@ domInstance_rigid_body::domTechnique_common::domVelocity::registerElement() _Meta = new daeMetaElement; _Meta->setName( "velocity" ); - _Meta->registerConstructor(domInstance_rigid_body::domTechnique_common::domVelocity::create); + _Meta->registerClass(domInstance_rigid_body::domTechnique_common::domVelocity::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -297,7 +297,7 @@ domInstance_rigid_body::domTechnique_common::domDynamic::registerElement() _Meta = new daeMetaElement; _Meta->setName( "dynamic" ); - _Meta->registerConstructor(domInstance_rigid_body::domTechnique_common::domDynamic::create); + _Meta->registerClass(domInstance_rigid_body::domTechnique_common::domDynamic::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -343,7 +343,7 @@ domInstance_rigid_body::domTechnique_common::domMass_frame::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mass_frame" ); - _Meta->registerConstructor(domInstance_rigid_body::domTechnique_common::domMass_frame::create); + _Meta->registerClass(domInstance_rigid_body::domTechnique_common::domMass_frame::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -362,7 +362,7 @@ domInstance_rigid_body::domTechnique_common::domMass_frame::registerElement() mea->setElementType( domRotate::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domInstance_rigid_body::domTechnique_common::domMass_frame,_contents)); @@ -391,7 +391,7 @@ domInstance_rigid_body::domTechnique_common::domShape::registerElement() _Meta = new daeMetaElement; _Meta->setName( "shape" ); - _Meta->registerConstructor(domInstance_rigid_body::domTechnique_common::domShape::create); + _Meta->registerClass(domInstance_rigid_body::domTechnique_common::domShape::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -541,7 +541,7 @@ domInstance_rigid_body::domTechnique_common::domShape::domHollow::registerElemen _Meta = new daeMetaElement; _Meta->setName( "hollow" ); - _Meta->registerConstructor(domInstance_rigid_body::domTechnique_common::domShape::domHollow::create); + _Meta->registerClass(domInstance_rigid_body::domTechnique_common::domShape::domHollow::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_rigid_constraint.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_rigid_constraint.cpp index 6e451c5c6..a612cee15 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInstance_rigid_constraint.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInstance_rigid_constraint.cpp @@ -35,7 +35,7 @@ domInstance_rigid_constraint::registerElement() _Meta = new daeMetaElement; _Meta->setName( "instance_rigid_constraint" ); - _Meta->registerConstructor(domInstance_rigid_constraint::create); + _Meta->registerClass(domInstance_rigid_constraint::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domInt_array.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domInt_array.cpp index 421efd982..33b7d753a 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domInt_array.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domInt_array.cpp @@ -35,7 +35,7 @@ domInt_array::registerElement() _Meta = new daeMetaElement; _Meta->setName( "int_array" ); - _Meta->registerConstructor(domInt_array::create); + _Meta->registerClass(domInt_array::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_animation_clips.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_animation_clips.cpp index 99790a758..f0025b49f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_animation_clips.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_animation_clips.cpp @@ -35,7 +35,7 @@ domLibrary_animation_clips::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_animation_clips" ); - _Meta->registerConstructor(domLibrary_animation_clips::create); + _Meta->registerClass(domLibrary_animation_clips::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_animations.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_animations.cpp index d2c5485f3..d3519df3a 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_animations.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_animations.cpp @@ -35,7 +35,7 @@ domLibrary_animations::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_animations" ); - _Meta->registerConstructor(domLibrary_animations::create); + _Meta->registerClass(domLibrary_animations::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_cameras.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_cameras.cpp index 10ae1ea6a..a3e495d93 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_cameras.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_cameras.cpp @@ -35,7 +35,7 @@ domLibrary_cameras::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_cameras" ); - _Meta->registerConstructor(domLibrary_cameras::create); + _Meta->registerClass(domLibrary_cameras::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_controllers.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_controllers.cpp index 2eb5668a4..fa0c90f49 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_controllers.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_controllers.cpp @@ -35,7 +35,7 @@ domLibrary_controllers::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_controllers" ); - _Meta->registerConstructor(domLibrary_controllers::create); + _Meta->registerClass(domLibrary_controllers::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_effects.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_effects.cpp index 5937c5dd6..0c9eafb58 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_effects.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_effects.cpp @@ -35,7 +35,7 @@ domLibrary_effects::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_effects" ); - _Meta->registerConstructor(domLibrary_effects::create); + _Meta->registerClass(domLibrary_effects::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_force_fields.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_force_fields.cpp index ccbde8a6a..9fd6438d0 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_force_fields.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_force_fields.cpp @@ -35,7 +35,7 @@ domLibrary_force_fields::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_force_fields" ); - _Meta->registerConstructor(domLibrary_force_fields::create); + _Meta->registerClass(domLibrary_force_fields::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_geometries.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_geometries.cpp index e2567d7aa..53c312645 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_geometries.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_geometries.cpp @@ -35,7 +35,7 @@ domLibrary_geometries::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_geometries" ); - _Meta->registerConstructor(domLibrary_geometries::create); + _Meta->registerClass(domLibrary_geometries::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_images.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_images.cpp index fca7e6625..9384c08c2 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_images.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_images.cpp @@ -35,7 +35,7 @@ domLibrary_images::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_images" ); - _Meta->registerConstructor(domLibrary_images::create); + _Meta->registerClass(domLibrary_images::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_lights.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_lights.cpp index 2fb1586b3..276eb3a02 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_lights.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_lights.cpp @@ -35,7 +35,7 @@ domLibrary_lights::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_lights" ); - _Meta->registerConstructor(domLibrary_lights::create); + _Meta->registerClass(domLibrary_lights::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_materials.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_materials.cpp index 4494618d6..62406b392 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_materials.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_materials.cpp @@ -35,7 +35,7 @@ domLibrary_materials::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_materials" ); - _Meta->registerConstructor(domLibrary_materials::create); + _Meta->registerClass(domLibrary_materials::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_nodes.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_nodes.cpp index 6e115d140..117f9fde0 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_nodes.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_nodes.cpp @@ -35,7 +35,7 @@ domLibrary_nodes::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_nodes" ); - _Meta->registerConstructor(domLibrary_nodes::create); + _Meta->registerClass(domLibrary_nodes::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_materials.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_materials.cpp index 3767283b5..0c1c987b3 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_materials.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_materials.cpp @@ -35,7 +35,7 @@ domLibrary_physics_materials::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_physics_materials" ); - _Meta->registerConstructor(domLibrary_physics_materials::create); + _Meta->registerClass(domLibrary_physics_materials::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_models.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_models.cpp index 7748ec7aa..b685ca0c9 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_models.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_models.cpp @@ -35,7 +35,7 @@ domLibrary_physics_models::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_physics_models" ); - _Meta->registerConstructor(domLibrary_physics_models::create); + _Meta->registerClass(domLibrary_physics_models::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_scenes.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_scenes.cpp index 205e42d49..55a2fbf89 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_scenes.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_physics_scenes.cpp @@ -35,7 +35,7 @@ domLibrary_physics_scenes::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_physics_scenes" ); - _Meta->registerConstructor(domLibrary_physics_scenes::create); + _Meta->registerClass(domLibrary_physics_scenes::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_visual_scenes.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_visual_scenes.cpp index aeea9152c..891165d97 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_visual_scenes.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLibrary_visual_scenes.cpp @@ -35,7 +35,7 @@ domLibrary_visual_scenes::registerElement() _Meta = new daeMetaElement; _Meta->setName( "library_visual_scenes" ); - _Meta->registerConstructor(domLibrary_visual_scenes::create); + _Meta->registerClass(domLibrary_visual_scenes::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLight.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLight.cpp index e3356afb5..aaa4e692c 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLight.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLight.cpp @@ -35,7 +35,7 @@ domLight::registerElement() _Meta = new daeMetaElement; _Meta->setName( "light" ); - _Meta->registerConstructor(domLight::create); + _Meta->registerClass(domLight::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -112,7 +112,7 @@ domLight::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domLight::domTechnique_common::create); + _Meta->registerClass(domLight::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -172,7 +172,7 @@ domLight::domTechnique_common::domAmbient::registerElement() _Meta = new daeMetaElement; _Meta->setName( "ambient" ); - _Meta->registerConstructor(domLight::domTechnique_common::domAmbient::create); + _Meta->registerClass(domLight::domTechnique_common::domAmbient::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -210,7 +210,7 @@ domLight::domTechnique_common::domDirectional::registerElement() _Meta = new daeMetaElement; _Meta->setName( "directional" ); - _Meta->registerConstructor(domLight::domTechnique_common::domDirectional::create); + _Meta->registerClass(domLight::domTechnique_common::domDirectional::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -248,7 +248,7 @@ domLight::domTechnique_common::domPoint::registerElement() _Meta = new daeMetaElement; _Meta->setName( "point" ); - _Meta->registerConstructor(domLight::domTechnique_common::domPoint::create); + _Meta->registerClass(domLight::domTechnique_common::domPoint::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -304,7 +304,7 @@ domLight::domTechnique_common::domSpot::registerElement() _Meta = new daeMetaElement; _Meta->setName( "spot" ); - _Meta->registerConstructor(domLight::domTechnique_common::domSpot::create); + _Meta->registerClass(domLight::domTechnique_common::domSpot::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLines.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLines.cpp index a24a11f40..27f2dae26 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLines.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLines.cpp @@ -35,7 +35,7 @@ domLines::registerElement() _Meta = new daeMetaElement; _Meta->setName( "lines" ); - _Meta->registerConstructor(domLines::create); + _Meta->registerClass(domLines::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLinestrips.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLinestrips.cpp index de40f0b58..6533f20c5 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLinestrips.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLinestrips.cpp @@ -35,7 +35,7 @@ domLinestrips::registerElement() _Meta = new daeMetaElement; _Meta->setName( "linestrips" ); - _Meta->registerConstructor(domLinestrips::create); + _Meta->registerClass(domLinestrips::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domLookat.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domLookat.cpp index 69048d315..b65135929 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domLookat.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domLookat.cpp @@ -35,7 +35,7 @@ domLookat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "lookat" ); - _Meta->registerConstructor(domLookat::create); + _Meta->registerClass(domLookat::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domMaterial.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domMaterial.cpp index d1bbaf10e..9b3b3ca9c 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domMaterial.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domMaterial.cpp @@ -35,7 +35,7 @@ domMaterial::registerElement() _Meta = new daeMetaElement; _Meta->setName( "material" ); - _Meta->registerConstructor(domMaterial::create); + _Meta->registerClass(domMaterial::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domMatrix.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domMatrix.cpp index 5cc293326..4b919ec15 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domMatrix.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domMatrix.cpp @@ -35,7 +35,7 @@ domMatrix::registerElement() _Meta = new daeMetaElement; _Meta->setName( "matrix" ); - _Meta->registerConstructor(domMatrix::create); + _Meta->registerClass(domMatrix::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domMesh.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domMesh.cpp index 44bebfe77..2b3250616 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domMesh.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domMesh.cpp @@ -35,7 +35,7 @@ domMesh::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mesh" ); - _Meta->registerConstructor(domMesh::create); + _Meta->registerClass(domMesh::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domMorph.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domMorph.cpp index 2933be4a5..0cfe5e1ae 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domMorph.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domMorph.cpp @@ -36,7 +36,7 @@ domMorph::registerElement() _Meta = new daeMetaElement; _Meta->setName( "morph" ); - _Meta->registerConstructor(domMorph::create); + _Meta->registerClass(domMorph::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -109,7 +109,7 @@ domMorph::domTargets::registerElement() _Meta = new daeMetaElement; _Meta->setName( "targets" ); - _Meta->registerConstructor(domMorph::domTargets::create); + _Meta->registerClass(domMorph::domTargets::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domName_array.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domName_array.cpp index 2cd28f97e..ada335aee 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domName_array.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domName_array.cpp @@ -35,7 +35,7 @@ domName_array::registerElement() _Meta = new daeMetaElement; _Meta->setName( "Name_array" ); - _Meta->registerConstructor(domName_array::create); + _Meta->registerClass(domName_array::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domNode.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domNode.cpp index 7b161921e..77f9f9b30 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domNode.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domNode.cpp @@ -35,7 +35,7 @@ domNode::registerElement() _Meta = new daeMetaElement; _Meta->setName( "node" ); - _Meta->registerConstructor(domNode::create); + _Meta->registerClass(domNode::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domP.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domP.cpp index 5ff01caa4..152e036fe 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domP.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domP.cpp @@ -35,7 +35,7 @@ domP::registerElement() _Meta = new daeMetaElement; _Meta->setName( "p" ); - _Meta->registerConstructor(domP::create); + _Meta->registerClass(domP::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domParam.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domParam.cpp index a895721c5..e1221a9f1 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domParam.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domParam.cpp @@ -35,7 +35,7 @@ domParam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domParam::create); + _Meta->registerClass(domParam::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_material.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_material.cpp index 6246b0983..d1c88f530 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_material.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_material.cpp @@ -35,7 +35,7 @@ domPhysics_material::registerElement() _Meta = new daeMetaElement; _Meta->setName( "physics_material" ); - _Meta->registerConstructor(domPhysics_material::create); + _Meta->registerClass(domPhysics_material::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -112,7 +112,7 @@ domPhysics_material::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domPhysics_material::domTechnique_common::create); + _Meta->registerClass(domPhysics_material::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_model.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_model.cpp index c08a91586..d321efb14 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_model.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_model.cpp @@ -35,7 +35,7 @@ domPhysics_model::registerElement() _Meta = new daeMetaElement; _Meta->setName( "physics_model" ); - _Meta->registerConstructor(domPhysics_model::create); + _Meta->registerClass(domPhysics_model::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_scene.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_scene.cpp index 9dba800a1..ff945171d 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_scene.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domPhysics_scene.cpp @@ -35,7 +35,7 @@ domPhysics_scene::registerElement() _Meta = new daeMetaElement; _Meta->setName( "physics_scene" ); - _Meta->registerConstructor(domPhysics_scene::create); + _Meta->registerClass(domPhysics_scene::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -124,7 +124,7 @@ domPhysics_scene::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domPhysics_scene::domTechnique_common::create); + _Meta->registerClass(domPhysics_scene::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domPlane.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domPlane.cpp index 8ae3bd17b..ecc3e11b4 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domPlane.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domPlane.cpp @@ -35,7 +35,7 @@ domPlane::registerElement() _Meta = new daeMetaElement; _Meta->setName( "plane" ); - _Meta->registerConstructor(domPlane::create); + _Meta->registerClass(domPlane::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -78,7 +78,7 @@ domPlane::domEquation::registerElement() _Meta = new daeMetaElement; _Meta->setName( "equation" ); - _Meta->registerConstructor(domPlane::domEquation::create); + _Meta->registerClass(domPlane::domEquation::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domPolygons.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domPolygons.cpp index 7e80c5195..90967aee4 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domPolygons.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domPolygons.cpp @@ -35,7 +35,7 @@ domPolygons::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polygons" ); - _Meta->registerConstructor(domPolygons::create); + _Meta->registerClass(domPolygons::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -134,7 +134,7 @@ domPolygons::domPh::registerElement() _Meta = new daeMetaElement; _Meta->setName( "ph" ); - _Meta->registerConstructor(domPolygons::domPh::create); + _Meta->registerClass(domPolygons::domPh::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -178,7 +178,7 @@ domPolygons::domPh::domH::registerElement() _Meta = new daeMetaElement; _Meta->setName( "h" ); - _Meta->registerConstructor(domPolygons::domPh::domH::create); + _Meta->registerClass(domPolygons::domPh::domH::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domPolylist.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domPolylist.cpp index 7c8a52577..1b7d0607f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domPolylist.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domPolylist.cpp @@ -35,7 +35,7 @@ domPolylist::registerElement() _Meta = new daeMetaElement; _Meta->setName( "polylist" ); - _Meta->registerConstructor(domPolylist::create); + _Meta->registerClass(domPolylist::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -124,7 +124,7 @@ domPolylist::domVcount::registerElement() _Meta = new daeMetaElement; _Meta->setName( "vcount" ); - _Meta->registerConstructor(domPolylist::domVcount::create); + _Meta->registerClass(domPolylist::domVcount::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domProfile_CG.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domProfile_CG.cpp index 4988294c1..ad5b980e4 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domProfile_CG.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domProfile_CG.cpp @@ -35,7 +35,7 @@ domProfile_CG::registerElement() _Meta = new daeMetaElement; _Meta->setName( "profile_CG" ); - _Meta->registerConstructor(domProfile_CG::create); + _Meta->registerClass(domProfile_CG::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -149,7 +149,7 @@ domProfile_CG::domTechnique::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::create); + _Meta->registerClass(domProfile_CG::domTechnique::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -274,7 +274,7 @@ domProfile_CG::domTechnique::domPass::registerElement() _Meta = new daeMetaElement; _Meta->setName( "pass" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::domPass::create); + _Meta->registerClass(domProfile_CG::domTechnique::domPass::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -394,7 +394,7 @@ domProfile_CG::domTechnique::domPass::domDraw::registerElement() _Meta = new daeMetaElement; _Meta->setName( "draw" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::domPass::domDraw::create); + _Meta->registerClass(domProfile_CG::domTechnique::domPass::domDraw::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -429,7 +429,7 @@ domProfile_CG::domTechnique::domPass::domShader::registerElement() _Meta = new daeMetaElement; _Meta->setName( "shader" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::domPass::domShader::create); + _Meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -508,7 +508,7 @@ domProfile_CG::domTechnique::domPass::domShader::domCompiler_target::registerEle _Meta = new daeMetaElement; _Meta->setName( "compiler_target" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::domPass::domShader::domCompiler_target::create); + _Meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domCompiler_target::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -543,7 +543,7 @@ domProfile_CG::domTechnique::domPass::domShader::domCompiler_options::registerEl _Meta = new daeMetaElement; _Meta->setName( "compiler_options" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::domPass::domShader::domCompiler_options::create); + _Meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domCompiler_options::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -578,7 +578,7 @@ domProfile_CG::domTechnique::domPass::domShader::domName::registerElement() _Meta = new daeMetaElement; _Meta->setName( "name" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::domPass::domShader::domName::create); + _Meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domName::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -625,7 +625,7 @@ domProfile_CG::domTechnique::domPass::domShader::domBind::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bind" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::domPass::domShader::domBind::create); + _Meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domBind::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -685,7 +685,7 @@ domProfile_CG::domTechnique::domPass::domShader::domBind::domParam::registerElem _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domProfile_CG::domTechnique::domPass::domShader::domBind::domParam::create); + _Meta->registerClass(domProfile_CG::domTechnique::domPass::domShader::domBind::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domProfile_COMMON.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domProfile_COMMON.cpp index 0b1fd77b5..6ade95620 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domProfile_COMMON.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domProfile_COMMON.cpp @@ -35,7 +35,7 @@ domProfile_COMMON::registerElement() _Meta = new daeMetaElement; _Meta->setName( "profile_COMMON" ); - _Meta->registerConstructor(domProfile_COMMON::create); + _Meta->registerClass(domProfile_COMMON::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -118,7 +118,7 @@ domProfile_COMMON::domTechnique::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique" ); - _Meta->registerConstructor(domProfile_COMMON::domTechnique::create); + _Meta->registerClass(domProfile_COMMON::domTechnique::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -237,7 +237,7 @@ domProfile_COMMON::domTechnique::domConstant::registerElement() _Meta = new daeMetaElement; _Meta->setName( "constant" ); - _Meta->registerConstructor(domProfile_COMMON::domTechnique::domConstant::create); + _Meta->registerClass(domProfile_COMMON::domTechnique::domConstant::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -305,7 +305,7 @@ domProfile_COMMON::domTechnique::domLambert::registerElement() _Meta = new daeMetaElement; _Meta->setName( "lambert" ); - _Meta->registerConstructor(domProfile_COMMON::domTechnique::domLambert::create); + _Meta->registerClass(domProfile_COMMON::domTechnique::domLambert::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -385,7 +385,7 @@ domProfile_COMMON::domTechnique::domPhong::registerElement() _Meta = new daeMetaElement; _Meta->setName( "phong" ); - _Meta->registerConstructor(domProfile_COMMON::domTechnique::domPhong::create); + _Meta->registerClass(domProfile_COMMON::domTechnique::domPhong::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -477,7 +477,7 @@ domProfile_COMMON::domTechnique::domBlinn::registerElement() _Meta = new daeMetaElement; _Meta->setName( "blinn" ); - _Meta->registerConstructor(domProfile_COMMON::domTechnique::domBlinn::create); + _Meta->registerClass(domProfile_COMMON::domTechnique::domBlinn::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -554,6 +554,7 @@ domProfile_COMMON::domTechnique::domBlinn::registerElement() return _Meta; } + daeMetaElement * domProfile_COMMON::_Meta = NULL; daeMetaElement * domProfile_COMMON::domTechnique::_Meta = NULL; daeMetaElement * domProfile_COMMON::domTechnique::domConstant::_Meta = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domProfile_GLES.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domProfile_GLES.cpp index 590a76f16..e8e01a06d 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domProfile_GLES.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domProfile_GLES.cpp @@ -35,7 +35,7 @@ domProfile_GLES::registerElement() _Meta = new daeMetaElement; _Meta->setName( "profile_GLES" ); - _Meta->registerConstructor(domProfile_GLES::create); + _Meta->registerClass(domProfile_GLES::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -131,7 +131,7 @@ domProfile_GLES::domTechnique::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::create); + _Meta->registerClass(domProfile_GLES::domTechnique::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -238,7 +238,7 @@ domProfile_GLES::domTechnique::domSetparam::registerElement() _Meta = new daeMetaElement; _Meta->setName( "setparam" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domSetparam::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domSetparam::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -294,7 +294,7 @@ domProfile_GLES::domTechnique::domPass::registerElement() _Meta = new daeMetaElement; _Meta->setName( "pass" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domPass::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domPass::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -408,7 +408,7 @@ domProfile_GLES::domTechnique::domPass::domColor_target::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_target" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domPass::domColor_target::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domPass::domColor_target::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -443,7 +443,7 @@ domProfile_GLES::domTechnique::domPass::domDepth_target::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_target" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domPass::domDepth_target::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domPass::domDepth_target::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -478,7 +478,7 @@ domProfile_GLES::domTechnique::domPass::domStencil_target::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_target" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domPass::domStencil_target::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domPass::domStencil_target::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -513,7 +513,7 @@ domProfile_GLES::domTechnique::domPass::domColor_clear::registerElement() _Meta = new daeMetaElement; _Meta->setName( "color_clear" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domPass::domColor_clear::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domPass::domColor_clear::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -548,7 +548,7 @@ domProfile_GLES::domTechnique::domPass::domDepth_clear::registerElement() _Meta = new daeMetaElement; _Meta->setName( "depth_clear" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domPass::domDepth_clear::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domPass::domDepth_clear::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -583,7 +583,7 @@ domProfile_GLES::domTechnique::domPass::domStencil_clear::registerElement() _Meta = new daeMetaElement; _Meta->setName( "stencil_clear" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domPass::domStencil_clear::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domPass::domStencil_clear::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -618,7 +618,7 @@ domProfile_GLES::domTechnique::domPass::domDraw::registerElement() _Meta = new daeMetaElement; _Meta->setName( "draw" ); - _Meta->registerConstructor(domProfile_GLES::domTechnique::domPass::domDraw::create); + _Meta->registerClass(domProfile_GLES::domTechnique::domPass::domDraw::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domProfile_GLSL.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domProfile_GLSL.cpp index 8eebbaa88..94bed2e37 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domProfile_GLSL.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domProfile_GLSL.cpp @@ -35,7 +35,7 @@ domProfile_GLSL::registerElement() _Meta = new daeMetaElement; _Meta->setName( "profile_GLSL" ); - _Meta->registerConstructor(domProfile_GLSL::create); + _Meta->registerClass(domProfile_GLSL::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -136,7 +136,7 @@ domProfile_GLSL::domTechnique::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -255,7 +255,7 @@ domProfile_GLSL::domTechnique::domPass::registerElement() _Meta = new daeMetaElement; _Meta->setName( "pass" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::domPass::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::domPass::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -375,7 +375,7 @@ domProfile_GLSL::domTechnique::domPass::domDraw::registerElement() _Meta = new daeMetaElement; _Meta->setName( "draw" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::domPass::domDraw::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::domPass::domDraw::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -410,7 +410,7 @@ domProfile_GLSL::domTechnique::domPass::domShader::registerElement() _Meta = new daeMetaElement; _Meta->setName( "shader" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::domPass::domShader::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::domPass::domShader::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -489,7 +489,7 @@ domProfile_GLSL::domTechnique::domPass::domShader::domCompiler_target::registerE _Meta = new daeMetaElement; _Meta->setName( "compiler_target" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::domPass::domShader::domCompiler_target::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::domPass::domShader::domCompiler_target::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -524,7 +524,7 @@ domProfile_GLSL::domTechnique::domPass::domShader::domCompiler_options::register _Meta = new daeMetaElement; _Meta->setName( "compiler_options" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::domPass::domShader::domCompiler_options::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::domPass::domShader::domCompiler_options::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -559,7 +559,7 @@ domProfile_GLSL::domTechnique::domPass::domShader::domName::registerElement() _Meta = new daeMetaElement; _Meta->setName( "name" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::domPass::domShader::domName::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::domPass::domShader::domName::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -606,7 +606,7 @@ domProfile_GLSL::domTechnique::domPass::domShader::domBind::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bind" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::domPass::domShader::domBind::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::domPass::domShader::domBind::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -666,7 +666,7 @@ domProfile_GLSL::domTechnique::domPass::domShader::domBind::domParam::registerEl _Meta = new daeMetaElement; _Meta->setName( "param" ); - _Meta->registerConstructor(domProfile_GLSL::domTechnique::domPass::domShader::domBind::domParam::create); + _Meta->registerClass(domProfile_GLSL::domTechnique::domPass::domShader::domBind::domParam::create, &_Meta); _Meta->setIsInnerClass( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domRigid_body.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domRigid_body.cpp index 7dc23975e..22caad88a 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domRigid_body.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domRigid_body.cpp @@ -35,7 +35,7 @@ domRigid_body::registerElement() _Meta = new daeMetaElement; _Meta->setName( "rigid_body" ); - _Meta->registerConstructor(domRigid_body::create); + _Meta->registerClass(domRigid_body::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -107,7 +107,7 @@ domRigid_body::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domRigid_body::domTechnique_common::create); + _Meta->registerClass(domRigid_body::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -191,7 +191,7 @@ domRigid_body::domTechnique_common::domDynamic::registerElement() _Meta = new daeMetaElement; _Meta->setName( "dynamic" ); - _Meta->registerConstructor(domRigid_body::domTechnique_common::domDynamic::create); + _Meta->registerClass(domRigid_body::domTechnique_common::domDynamic::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -237,7 +237,7 @@ domRigid_body::domTechnique_common::domMass_frame::registerElement() _Meta = new daeMetaElement; _Meta->setName( "mass_frame" ); - _Meta->registerConstructor(domRigid_body::domTechnique_common::domMass_frame::create); + _Meta->registerClass(domRigid_body::domTechnique_common::domMass_frame::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -256,7 +256,7 @@ domRigid_body::domTechnique_common::domMass_frame::registerElement() mea->setElementType( domRotate::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domRigid_body::domTechnique_common::domMass_frame,_contents)); @@ -285,7 +285,7 @@ domRigid_body::domTechnique_common::domShape::registerElement() _Meta = new daeMetaElement; _Meta->setName( "shape" ); - _Meta->registerConstructor(domRigid_body::domTechnique_common::domShape::create); + _Meta->registerClass(domRigid_body::domTechnique_common::domShape::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -435,7 +435,7 @@ domRigid_body::domTechnique_common::domShape::domHollow::registerElement() _Meta = new daeMetaElement; _Meta->setName( "hollow" ); - _Meta->registerConstructor(domRigid_body::domTechnique_common::domShape::domHollow::create); + _Meta->registerClass(domRigid_body::domTechnique_common::domShape::domHollow::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domRigid_constraint.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domRigid_constraint.cpp index 530ce806e..5d54a1544 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domRigid_constraint.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domRigid_constraint.cpp @@ -35,7 +35,7 @@ domRigid_constraint::registerElement() _Meta = new daeMetaElement; _Meta->setName( "rigid_constraint" ); - _Meta->registerConstructor(domRigid_constraint::create); + _Meta->registerClass(domRigid_constraint::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -120,7 +120,7 @@ domRigid_constraint::domRef_attachment::registerElement() _Meta = new daeMetaElement; _Meta->setName( "ref_attachment" ); - _Meta->registerConstructor(domRigid_constraint::domRef_attachment::create); + _Meta->registerClass(domRigid_constraint::domRef_attachment::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -145,7 +145,7 @@ domRigid_constraint::domRef_attachment::registerElement() mea->setElementType( domExtra::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domRigid_constraint::domRef_attachment,_contents)); @@ -186,7 +186,7 @@ domRigid_constraint::domAttachment::registerElement() _Meta = new daeMetaElement; _Meta->setName( "attachment" ); - _Meta->registerConstructor(domRigid_constraint::domAttachment::create); + _Meta->registerClass(domRigid_constraint::domAttachment::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -211,7 +211,7 @@ domRigid_constraint::domAttachment::registerElement() mea->setElementType( domExtra::registerElement() ); cm->appendChild( mea ); - cm->setMaxOrdinal( 0 ); + cm->setMaxOrdinal( 3000 ); _Meta->setCMRoot( cm ); // Ordered list of sub-elements _Meta->addContents(daeOffsetOf(domRigid_constraint::domAttachment,_contents)); @@ -251,7 +251,7 @@ domRigid_constraint::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -307,7 +307,7 @@ domRigid_constraint::domTechnique_common::domEnabled::registerElement() _Meta = new daeMetaElement; _Meta->setName( "enabled" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::domEnabled::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::domEnabled::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -353,7 +353,7 @@ domRigid_constraint::domTechnique_common::domInterpenetrate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "interpenetrate" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::domInterpenetrate::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::domInterpenetrate::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -399,7 +399,7 @@ domRigid_constraint::domTechnique_common::domLimits::registerElement() _Meta = new daeMetaElement; _Meta->setName( "limits" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::domLimits::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::domLimits::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -443,7 +443,7 @@ domRigid_constraint::domTechnique_common::domLimits::domSwing_cone_and_twist::re _Meta = new daeMetaElement; _Meta->setName( "swing_cone_and_twist" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::domLimits::domSwing_cone_and_twist::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::domLimits::domSwing_cone_and_twist::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -487,7 +487,7 @@ domRigid_constraint::domTechnique_common::domLimits::domLinear::registerElement( _Meta = new daeMetaElement; _Meta->setName( "linear" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::domLimits::domLinear::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::domLimits::domLinear::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -531,7 +531,7 @@ domRigid_constraint::domTechnique_common::domSpring::registerElement() _Meta = new daeMetaElement; _Meta->setName( "spring" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::domSpring::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::domSpring::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -575,7 +575,7 @@ domRigid_constraint::domTechnique_common::domSpring::domAngular::registerElement _Meta = new daeMetaElement; _Meta->setName( "angular" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::domSpring::domAngular::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::domSpring::domAngular::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -625,7 +625,7 @@ domRigid_constraint::domTechnique_common::domSpring::domLinear::registerElement( _Meta = new daeMetaElement; _Meta->setName( "linear" ); - _Meta->registerConstructor(domRigid_constraint::domTechnique_common::domSpring::domLinear::create); + _Meta->registerClass(domRigid_constraint::domTechnique_common::domSpring::domLinear::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domRotate.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domRotate.cpp index fb835ea62..a5d9a4f86 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domRotate.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domRotate.cpp @@ -35,7 +35,7 @@ domRotate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "rotate" ); - _Meta->registerConstructor(domRotate::create); + _Meta->registerClass(domRotate::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domSampler.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domSampler.cpp index cbcc62d3b..1eaae9dd0 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domSampler.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domSampler.cpp @@ -35,7 +35,7 @@ domSampler::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sampler" ); - _Meta->registerConstructor(domSampler::create); + _Meta->registerClass(domSampler::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domScale.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domScale.cpp index bdc9724a7..dac262b50 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domScale.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domScale.cpp @@ -35,7 +35,7 @@ domScale::registerElement() _Meta = new daeMetaElement; _Meta->setName( "scale" ); - _Meta->registerConstructor(domScale::create); + _Meta->registerClass(domScale::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domSkew.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domSkew.cpp index 2302d9e6e..37caae206 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domSkew.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domSkew.cpp @@ -35,7 +35,7 @@ domSkew::registerElement() _Meta = new daeMetaElement; _Meta->setName( "skew" ); - _Meta->registerConstructor(domSkew::create); + _Meta->registerClass(domSkew::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domSkin.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domSkin.cpp index 3069ca2cc..ffbc4e635 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domSkin.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domSkin.cpp @@ -36,7 +36,7 @@ domSkin::registerElement() _Meta = new daeMetaElement; _Meta->setName( "skin" ); - _Meta->registerConstructor(domSkin::create); + _Meta->registerClass(domSkin::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -109,7 +109,7 @@ domSkin::domBind_shape_matrix::registerElement() _Meta = new daeMetaElement; _Meta->setName( "bind_shape_matrix" ); - _Meta->registerConstructor(domSkin::domBind_shape_matrix::create); + _Meta->registerClass(domSkin::domBind_shape_matrix::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -144,7 +144,7 @@ domSkin::domJoints::registerElement() _Meta = new daeMetaElement; _Meta->setName( "joints" ); - _Meta->registerConstructor(domSkin::domJoints::create); + _Meta->registerClass(domSkin::domJoints::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -188,7 +188,7 @@ domSkin::domVertex_weights::registerElement() _Meta = new daeMetaElement; _Meta->setName( "vertex_weights" ); - _Meta->registerConstructor(domSkin::domVertex_weights::create); + _Meta->registerClass(domSkin::domVertex_weights::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -256,7 +256,7 @@ domSkin::domVertex_weights::domVcount::registerElement() _Meta = new daeMetaElement; _Meta->setName( "vcount" ); - _Meta->registerConstructor(domSkin::domVertex_weights::domVcount::create); + _Meta->registerClass(domSkin::domVertex_weights::domVcount::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -291,7 +291,7 @@ domSkin::domVertex_weights::domV::registerElement() _Meta = new daeMetaElement; _Meta->setName( "v" ); - _Meta->registerConstructor(domSkin::domVertex_weights::domV::create); + _Meta->registerClass(domSkin::domVertex_weights::domV::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domSource.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domSource.cpp index 5b478422d..633c81785 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domSource.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domSource.cpp @@ -35,7 +35,7 @@ domSource::registerElement() _Meta = new daeMetaElement; _Meta->setName( "source" ); - _Meta->registerConstructor(domSource::create); + _Meta->registerClass(domSource::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -147,7 +147,7 @@ domSource::domTechnique_common::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique_common" ); - _Meta->registerConstructor(domSource::domTechnique_common::create); + _Meta->registerClass(domSource::domTechnique_common::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domSphere.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domSphere.cpp index 11b9c1c63..972caf105 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domSphere.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domSphere.cpp @@ -35,7 +35,7 @@ domSphere::registerElement() _Meta = new daeMetaElement; _Meta->setName( "sphere" ); - _Meta->registerConstructor(domSphere::create); + _Meta->registerClass(domSphere::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -78,7 +78,7 @@ domSphere::domRadius::registerElement() _Meta = new daeMetaElement; _Meta->setName( "radius" ); - _Meta->registerConstructor(domSphere::domRadius::create); + _Meta->registerClass(domSphere::domRadius::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domSpline.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domSpline.cpp index 7e419cf8a..e1cc90755 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domSpline.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domSpline.cpp @@ -35,7 +35,7 @@ domSpline::registerElement() _Meta = new daeMetaElement; _Meta->setName( "spline" ); - _Meta->registerConstructor(domSpline::create); + _Meta->registerClass(domSpline::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -96,7 +96,7 @@ domSpline::domControl_vertices::registerElement() _Meta = new daeMetaElement; _Meta->setName( "control_vertices" ); - _Meta->registerConstructor(domSpline::domControl_vertices::create); + _Meta->registerClass(domSpline::domControl_vertices::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTapered_capsule.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTapered_capsule.cpp index 54e56a860..1410fc09c 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTapered_capsule.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTapered_capsule.cpp @@ -35,7 +35,7 @@ domTapered_capsule::registerElement() _Meta = new daeMetaElement; _Meta->setName( "tapered_capsule" ); - _Meta->registerConstructor(domTapered_capsule::create); + _Meta->registerClass(domTapered_capsule::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -90,7 +90,7 @@ domTapered_capsule::domHeight::registerElement() _Meta = new daeMetaElement; _Meta->setName( "height" ); - _Meta->registerConstructor(domTapered_capsule::domHeight::create); + _Meta->registerClass(domTapered_capsule::domHeight::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -125,7 +125,7 @@ domTapered_capsule::domRadius1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "radius1" ); - _Meta->registerConstructor(domTapered_capsule::domRadius1::create); + _Meta->registerClass(domTapered_capsule::domRadius1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -160,7 +160,7 @@ domTapered_capsule::domRadius2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "radius2" ); - _Meta->registerConstructor(domTapered_capsule::domRadius2::create); + _Meta->registerClass(domTapered_capsule::domRadius2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTapered_cylinder.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTapered_cylinder.cpp index 54cc80e54..10b6ff3e4 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTapered_cylinder.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTapered_cylinder.cpp @@ -35,7 +35,7 @@ domTapered_cylinder::registerElement() _Meta = new daeMetaElement; _Meta->setName( "tapered_cylinder" ); - _Meta->registerConstructor(domTapered_cylinder::create); + _Meta->registerClass(domTapered_cylinder::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -90,7 +90,7 @@ domTapered_cylinder::domHeight::registerElement() _Meta = new daeMetaElement; _Meta->setName( "height" ); - _Meta->registerConstructor(domTapered_cylinder::domHeight::create); + _Meta->registerClass(domTapered_cylinder::domHeight::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -125,7 +125,7 @@ domTapered_cylinder::domRadius1::registerElement() _Meta = new daeMetaElement; _Meta->setName( "radius1" ); - _Meta->registerConstructor(domTapered_cylinder::domRadius1::create); + _Meta->registerClass(domTapered_cylinder::domRadius1::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value @@ -160,7 +160,7 @@ domTapered_cylinder::domRadius2::registerElement() _Meta = new daeMetaElement; _Meta->setName( "radius2" ); - _Meta->registerConstructor(domTapered_cylinder::domRadius2::create); + _Meta->registerClass(domTapered_cylinder::domRadius2::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTargetableFloat.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTargetableFloat.cpp index deeba5171..1eebd6155 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTargetableFloat.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTargetableFloat.cpp @@ -35,7 +35,7 @@ domTargetableFloat::registerElement() _Meta = new daeMetaElement; _Meta->setName( "TargetableFloat" ); - _Meta->registerConstructor(domTargetableFloat::create); + _Meta->registerClass(domTargetableFloat::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTargetableFloat3.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTargetableFloat3.cpp index 53b08c729..b876e49ca 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTargetableFloat3.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTargetableFloat3.cpp @@ -35,7 +35,7 @@ domTargetableFloat3::registerElement() _Meta = new daeMetaElement; _Meta->setName( "TargetableFloat3" ); - _Meta->registerConstructor(domTargetableFloat3::create); + _Meta->registerClass(domTargetableFloat3::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTechnique.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTechnique.cpp index 03828e5d1..11b311cdd 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTechnique.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTechnique.cpp @@ -36,13 +36,17 @@ domTechnique::registerElement() _Meta = new daeMetaElement; _Meta->setName( "technique" ); - _Meta->registerConstructor(domTechnique::create); + _Meta->registerClass(domTechnique::create, &_Meta); daeMetaCMPolicy *cm = NULL; cm = new daeMetaSequence( _Meta, cm, 0, 1, 1 ); cm = new daeMetaAny( _Meta, cm, 0, 0, -1 ); + cm->setMaxOrdinal( 0 ); + cm->getParent()->appendChild( cm ); + cm = cm->getParent(); + cm->setMaxOrdinal( 0 ); _Meta->setCMRoot( cm ); _Meta->setAllowsAny( true ); diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTranslate.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTranslate.cpp index 6faa53c27..630c5821f 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTranslate.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTranslate.cpp @@ -35,7 +35,7 @@ domTranslate::registerElement() _Meta = new daeMetaElement; _Meta->setName( "translate" ); - _Meta->registerConstructor(domTranslate::create); + _Meta->registerClass(domTranslate::create, &_Meta); // Add attribute: _value { diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTriangles.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTriangles.cpp index 5f030d2ec..7d2cc0cda 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTriangles.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTriangles.cpp @@ -35,7 +35,7 @@ domTriangles::registerElement() _Meta = new daeMetaElement; _Meta->setName( "triangles" ); - _Meta->registerConstructor(domTriangles::create); + _Meta->registerClass(domTriangles::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTrifans.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTrifans.cpp index 7664016b1..ff31efa22 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTrifans.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTrifans.cpp @@ -35,7 +35,7 @@ domTrifans::registerElement() _Meta = new daeMetaElement; _Meta->setName( "trifans" ); - _Meta->registerConstructor(domTrifans::create); + _Meta->registerClass(domTrifans::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domTristrips.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domTristrips.cpp index 343be56af..f97c77f68 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domTristrips.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domTristrips.cpp @@ -35,7 +35,7 @@ domTristrips::registerElement() _Meta = new daeMetaElement; _Meta->setName( "tristrips" ); - _Meta->registerConstructor(domTristrips::create); + _Meta->registerClass(domTristrips::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domVertices.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domVertices.cpp index b629c76e1..08f9ccac9 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domVertices.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domVertices.cpp @@ -35,7 +35,7 @@ domVertices::registerElement() _Meta = new daeMetaElement; _Meta->setName( "vertices" ); - _Meta->registerConstructor(domVertices::create); + _Meta->registerClass(domVertices::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; diff --git a/Extras/COLLADA_DOM/src/1.4/dom/domVisual_scene.cpp b/Extras/COLLADA_DOM/src/1.4/dom/domVisual_scene.cpp index 92dd5aff3..91084acfa 100644 --- a/Extras/COLLADA_DOM/src/1.4/dom/domVisual_scene.cpp +++ b/Extras/COLLADA_DOM/src/1.4/dom/domVisual_scene.cpp @@ -35,7 +35,7 @@ domVisual_scene::registerElement() _Meta = new daeMetaElement; _Meta->setName( "visual_scene" ); - _Meta->registerConstructor(domVisual_scene::create); + _Meta->registerClass(domVisual_scene::create, &_Meta); daeMetaCMPolicy *cm = NULL; daeMetaElementAttribute *mea = NULL; @@ -113,7 +113,7 @@ domVisual_scene::domEvaluate_scene::registerElement() _Meta = new daeMetaElement; _Meta->setName( "evaluate_scene" ); - _Meta->registerConstructor(domVisual_scene::domEvaluate_scene::create); + _Meta->registerClass(domVisual_scene::domEvaluate_scene::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -163,7 +163,7 @@ domVisual_scene::domEvaluate_scene::domRender::registerElement() _Meta = new daeMetaElement; _Meta->setName( "render" ); - _Meta->registerConstructor(domVisual_scene::domEvaluate_scene::domRender::create); + _Meta->registerClass(domVisual_scene::domEvaluate_scene::domRender::create, &_Meta); _Meta->setIsInnerClass( true ); daeMetaCMPolicy *cm = NULL; @@ -219,7 +219,7 @@ domVisual_scene::domEvaluate_scene::domRender::domLayer::registerElement() _Meta = new daeMetaElement; _Meta->setName( "layer" ); - _Meta->registerConstructor(domVisual_scene::domEvaluate_scene::domRender::domLayer::create); + _Meta->registerClass(domVisual_scene::domEvaluate_scene::domRender::domLayer::create, &_Meta); _Meta->setIsInnerClass( true ); // Add attribute: _value diff --git a/Extras/COLLADA_DOM/src/dae/dae.cpp b/Extras/COLLADA_DOM/src/dae/dae.cpp index e00479d3f..a3855c78a 100644 --- a/Extras/COLLADA_DOM/src/dae/dae.cpp +++ b/Extras/COLLADA_DOM/src/dae/dae.cpp @@ -37,13 +37,21 @@ extern daeString COLLADA_VERSION; daeInt DAEInstanceCount = 0; +daeMetaElement *DAE::topMeta = NULL; void DAE::cleanup() { - if (DAEInstanceCount == 0) { + if (topMeta != NULL) { daeMetaElement::releaseMetas(); daeAtomicType::uninitializeKnownTypes(); + topMeta = NULL; +//Contributed by Nus - Wed, 08 Nov 2006 + terminateURI(); + terminateResolveArray(); + daeStringRef::releaseStringTable(); + daeIDRefResolver::terminateIDRefSolver(); +//---------------------- } } @@ -56,7 +64,14 @@ DAE::DAE() : database(NULL), defaultPlugin(false), registerFunc(NULL) { - topMeta = initializeDomMeta(); +//Contributed by Nus - Wed, 08 Nov 2006 + initializeURI(); + initializeResolveArray(); + daeIDRefResolver::initializeIDRefSolver(); +//------------------------ + if ( DAEInstanceCount == 0 ) { + topMeta = initializeDomMeta(); + } DAEInstanceCount++; } @@ -69,8 +84,12 @@ DAE::~DAE() delete resolver; delete idResolver; } - topMeta = NULL; + daeElement::clearResolveArray(); --DAEInstanceCount; + if ( DAEInstanceCount <= 0 ) + { + cleanup(); + } } // Database setup @@ -259,7 +278,7 @@ daeInt DAE::saveAs(daeString name, daeString documentName, daeBool replace) // Make a URI from "name" and save to that - daeURI tempURI(name); + daeURI tempURI(name, true); return plugin->write(&tempURI, document, replace); } @@ -297,6 +316,7 @@ daeInt DAE::unload(daeString name) daeInt DAE::clear() { + daeElement::clearResolveArray(); if (database) database->clear(); return DAE_OK; diff --git a/Extras/COLLADA_DOM/src/dae/daeArray.cpp b/Extras/COLLADA_DOM/src/dae/daeArray.cpp index 3d39f15e9..13945d909 100644 --- a/Extras/COLLADA_DOM/src/dae/daeArray.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeArray.cpp @@ -70,8 +70,8 @@ daeArray::grow(size_t sz) if (_data != NULL) memcpy(newData,_data,_capacity*_elementSize); - else - memset(newData,0,_capacity*_elementSize); + //else + // memset(newData,0,_capacity*_elementSize); memset(newData+_capacity*_elementSize,0, (newCapacity-_capacity)*_elementSize); @@ -82,3 +82,4 @@ daeArray::grow(size_t sz) _data = newData; _capacity = newCapacity; } + diff --git a/Extras/COLLADA_DOM/src/dae/daeAtomicType.cpp b/Extras/COLLADA_DOM/src/dae/daeAtomicType.cpp index 57c5e09a4..b58b1ee35 100644 --- a/Extras/COLLADA_DOM/src/dae/daeAtomicType.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeAtomicType.cpp @@ -17,6 +17,7 @@ #include #include #include +#include daeAtomicTypeArray* daeAtomicType::_Types = NULL; daeBool daeAtomicType::_TypesInitialized = false; @@ -33,14 +34,17 @@ daeAtomicType::initializeKnownTypes() void daeAtomicType::uninitializeKnownTypes() { - _TypesInitialized = false; - unsigned int i; - for (i=0;i<_Types->getCount();i++) - { - daeAtomicType* type = _Types->get(i); - delete type; + if ( _TypesInitialized ) + { + _TypesInitialized = false; + unsigned int i; + for (i=0;i<_Types->getCount();i++) + { + daeAtomicType* type = _Types->get(i); + delete type; + } + delete _Types; } - delete _Types; } void @@ -210,8 +214,8 @@ daeLongType::daeLongType() _maxStringLength = 32; _nameBindings.append("xsLong"); _nameBindings.append("xsLongArray"); - _printFormat = "%ld"; - _scanFormat = "%ld"; + _printFormat = "%lld"; + _scanFormat = "%lld"; _typeString = "long"; } daeShortType::daeShortType() @@ -249,8 +253,8 @@ daeULongType::daeULongType() _maxStringLength = 32; _nameBindings.append("ulong"); _nameBindings.append("xsUnsignedLong"); - _printFormat = "%lu"; - _scanFormat = "%lu"; + _printFormat = "%llu"; + _scanFormat = "%llu"; _typeString = "ulong"; } daeFloatType::daeFloatType() @@ -398,7 +402,44 @@ daeBool daeFloatType::memoryToString(daeChar* src, daeChar* dst, daeInt dstSize) { if (_maxStringLength > dstSize) return false; - sprintf(dst,_printFormat,*((daeFloat*)src)); + if ( *(daeFloat*)src != *(daeFloat*)src ) //NAN + { + strcpy( dst, "NaN" ); + } + else if ( *(daeInt*)src == 0x7f800000 ) //+INF + { + strcpy( dst, "INF" ); + } + else if ( *(daeInt*)src == 0xff800000 ) //-INF + { + strcpy( dst, "-INF" ); + } + else + { + sprintf(dst,_printFormat,*((daeFloat*)src)); + } + return true; +} + +daeBool +daeFloatType::stringToMemory(daeChar *src, daeChar* dstMemory) +{ + if ( strcmp(src, "NaN") == 0 ) { + daeErrorHandler::get()->handleWarning("NaN encountered while setting an attribute or value\n"); + *(daeInt*)(dstMemory) = 0x7f800002; + } + else if ( strcmp(src, "INF") == 0 ) { + daeErrorHandler::get()->handleWarning( "INF encountered while setting an attribute or value\n" ); + *(daeInt*)(dstMemory) = 0x7f800000; + } + else if ( strcmp(src, "-INF") == 0 ) { + daeErrorHandler::get()->handleWarning( "-INF encountered while setting an attribute or value\n" ); + *(daeInt*)(dstMemory) = 0xff800000; + } + else + { + sscanf(src, _scanFormat, dstMemory); + } return true; } @@ -406,9 +447,47 @@ daeBool daeDoubleType::memoryToString(daeChar* src, daeChar* dst, daeInt dstSize) { if (_maxStringLength > dstSize) return false; - sprintf(dst,_printFormat,*((daeDouble*)src)); + if ( *(daeDouble*)src != *(daeDouble*)src ) //NAN + { + strcpy( dst, "NaN" ); + } + else if ( *(daeLong*)src == 0x7ff0000000000000LL ) //+INF + { + strcpy( dst, "INF" ); + } + else if ( *(daeLong*)src == 0xfff0000000000000LL ) //-INF + { + strcpy( dst, "-INF" ); + } + else + { + sprintf(dst,_printFormat,*((daeDouble*)src)); + } return true; } + +daeBool +daeDoubleType::stringToMemory(daeChar *src, daeChar* dstMemory) +{ + if ( strcmp(src, "NaN") == 0 ) { + daeErrorHandler::get()->handleWarning( "NaN encountered while setting an attribute or value\n" ); + *(daeLong*)(dstMemory) = 0x7ff0000000000002LL; + } + else if ( strcmp(src, "INF") == 0 ) { + daeErrorHandler::get()->handleWarning( "INF encountered while setting an attribute or value\n" ); + *(daeLong*)(dstMemory) = 0x7ff0000000000000LL; + } + else if ( strcmp(src, "-INF") == 0 ) { + daeErrorHandler::get()->handleWarning( "-INF encountered while setting an attribute or value\n" ); + *(daeLong*)(dstMemory) = 0xfff0000000000000LL; + } + else + { + sscanf(src, _scanFormat, dstMemory); + } + return true; +} + daeBool daeRawRefType::memoryToString(daeChar* src, daeChar* dst, daeInt dstSize) { @@ -468,7 +547,7 @@ daeResolverType::memoryToString(daeChar* src, daeChar* dst, daeInt dstSize) // or some other document so we know what URI to write out. // !!!GAC this approach should be safe, if the collection pointer of our document matches the collection pointer // !!!GAC of the element our URI is pointing at, we are pointing at our own doc. - if(thisURI->getElement()->getCollection() == thisURI->getContainer()->getDocument()) + if(thisURI->getElement()->getDocument() == thisURI->getContainer()->getDocument()) { // we will send back the original URI if we're pointing at ourselves s = thisURI->getOriginalURI(); @@ -552,17 +631,17 @@ daeIDResolverType::memoryToString(daeChar* src, daeChar* dst, daeInt dstSize) } void -daeAtomicType::resolve(daeElementRef element, daeMetaAttributeRef ma) +daeAtomicType::resolve(daeElementRef element, daeChar* src) { // just to remove the warnings (void)element; - (void)ma; + (void)src; } void -daeResolverType::resolve(daeElementRef element, daeMetaAttributeRef ma) +daeResolverType::resolve(daeElementRef element, daeChar* src) { - daeURI* resolver = (daeURI*)ma->getWritableMemory(element); + daeURI* resolver = (daeURI*)src; resolver->setContainer(element); resolver->resolveElement(); } @@ -570,13 +649,35 @@ daeResolverType::resolve(daeElementRef element, daeMetaAttributeRef ma) daeBool daeResolverType::stringToMemory(daeChar* src, daeChar* dstMemory) { - ((daeURI*)dstMemory)->setURI(src); +#define MAX_PATH 1024 + daeChar tempstr[MAX_PATH]; + memset(tempstr,0,MAX_PATH); + daeChar* s; + daeChar* t; + for(s=src, t=tempstr; *s!=0; s++,t++) + { + if (*s == '%') { + if ((*(s+1) == '2') && (*(s+2) == '0')) + { + (*t)=' '; + s+=2; + continue; + } + } else if (*s == ' ') { + char err[512]; + memset( err, 0, 512 ); + sprintf(err,"uri contains white space, dom will convert them to %20 in output files!\n uri=%s", src); + daeErrorHandler::get()->handleWarning( err ); + } + *t=*s; + } + ((daeURI*)dstMemory)->setURI(tempstr); return true; } void -daeIDResolverType::resolve(daeElementRef element, daeMetaAttributeRef ma) +daeIDResolverType::resolve(daeElementRef element, daeChar* src) { - daeIDRef* resolver = (daeIDRef*)ma->getWritableMemory(element); + daeIDRef* resolver = (daeIDRef*)src; resolver->setContainer( element ); resolver->resolveElement(); } diff --git a/Extras/COLLADA_DOM/src/dae/daeDocument.cpp b/Extras/COLLADA_DOM/src/dae/daeDocument.cpp index d478d13bb..be42a39e0 100644 --- a/Extras/COLLADA_DOM/src/dae/daeDocument.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeDocument.cpp @@ -13,6 +13,14 @@ #include +// sthomas +daeDocument::~daeDocument() +{ + for( unsigned int i = 0; i < externalURIs.getCount(); i++ ) { + delete externalURIs[i]; + } +} + void daeDocument::insertElement( daeElementRef element ) { daeElement *parent = element->getParentElement(); size_t idx; @@ -84,3 +92,13 @@ void daeDocument::resolveExternals( daeString docURI ) { return; } } + +const daeTArray *daeDocument::getExternalURIs(daeStringRef docURI) const +{ + size_t idx; + + if (referencedDocuments.find(docURI, idx) != DAE_OK) + return NULL; + + return externalURIs[idx]; +} diff --git a/Extras/COLLADA_DOM/src/dae/daeElement.cpp b/Extras/COLLADA_DOM/src/dae/daeElement.cpp index 2db4c2ddd..3a3f5b36a 100644 --- a/Extras/COLLADA_DOM/src/dae/daeElement.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeElement.cpp @@ -33,9 +33,34 @@ daeElementRef DAECreateElement(int nbytes) return new(nbytes) daeElement; } -static daeElementRefArray resolveArray; +//Contributed by Nus - Wed, 08 Nov 2006 +// static daeElementRefArray resolveArray; +static daeElementRefArray* pResolveArray = NULL; //static char StaticIndentBuf[] = ""; +extern "C" void initializeResolveArray(void) +{ + if(!pResolveArray) { + pResolveArray = new daeElementRefArray; + } +} + +extern "C" void terminateResolveArray(void) +{ + if(pResolveArray) { + delete pResolveArray; + pResolveArray = NULL; + } +} +//---------------------------------- + +// sthomas (see https://collada.org/public_forum/viewtopic.php?t=325&) +void daeElement::releaseElements() +{ + // resolveArray.clear(); + pResolveArray->clear(); +} + daeIntegrationObject* daeElement::getIntObject( IntegrationState from_state, IntegrationState to_state ) { @@ -211,7 +236,15 @@ void daeElement::setDocument( daeDocument *c ) { if( _document == c ) { return; } + if (_document != NULL ) + { + _document->removeElement(this); + } _document = c; + if ( _document != NULL ) + { + _document->insertElement(this); + } daeElementRefArray ea; getChildren( ea ); @@ -243,7 +276,7 @@ daeElement::setAttribute(daeString attrName, daeString attrValue) if (metaAttrs[i]->getType() != NULL) { metaAttrs[i]->set(this,attrValue); - _validAttributeArray[i] = true; + _validAttributeArray.set(i, true); } return true; } @@ -302,19 +335,46 @@ daeMemoryRef daeElement::getAttributeValue( daeString attrName ) { return NULL; } +daeBool daeElement::hasValue() { + if (_meta == NULL) + return false; + + return (_meta->getValueAttribute() != NULL ); +} + +daeMemoryRef daeElement::getValuePointer() { + if (_meta == NULL) + return false; + + if ( _meta->getValueAttribute() != NULL ) + { + return _meta->getValueAttribute()->getWritableMemory(this); + } + return NULL; +} + void daeElement::appendResolveElement(daeElement* elem) { - resolveArray.append(elem); +//Contributed by Nus - Wed, 08 Nov 2006 + // resolveArray.append(elem); + pResolveArray->append(elem); +//---------------------- } void daeElement::resolveAll() { int cnt; - while(resolveArray.getCount()) { - cnt = (int)resolveArray.getCount(); - daeElementRef elem = resolveArray[cnt-1]; - resolveArray.removeIndex(cnt-1); +//Contributed by Nus - Wed, 08 Nov 2006 + // while(resolveArray.getCount()) { + while(pResolveArray->getCount()) { + // cnt = (int)resolveArray.getCount(); + cnt = (int)pResolveArray->getCount(); + // daeElementRef elem = resolveArray[cnt-1]; + daeElementRef elem = (*pResolveArray)[cnt-1]; + // resolveArray.removeIndex(cnt-1); + pResolveArray->removeIndex(cnt-1); +//-------------------------- elem->resolve(); } /*size_t cnt = resolveArray.getCount(); @@ -324,13 +384,22 @@ daeElement::resolveAll() resolveArray.clear();*/ } +void +daeElement::clearResolveArray() +{ +//Contributed by Nus - Wed, 08 Nov 2006 + // resolveArray.clear(); + pResolveArray->clear(); +//------------------------ +} + void daeElement::resolve() { if (_meta == NULL) return; - daeMetaAttributeRefArray& maa = _meta->getMetaAttributes(); + daeMetaAttributePtrArray& maa = _meta->getMetaResolvers(); int n = (int)maa.getCount(); int i; for(i=0;iset(this, attrs[i]->getDefault()); _validAttributeArray[i] = true; } - else { - _validAttributeArray[i] = false; - } +// else { +// _validAttributeArray[i] = false; +// } } #if 0 @@ -438,6 +507,7 @@ daeSmartRef daeElement::clone(daeString idSuffix, daeString nameSuff for ( unsigned int i = 0; i < attrs.getCount(); i++ ) { //memcpy( attrs[i]->getWritableMemory( ret ), attrs[i]->getWritableMemory( this ), attrs[i]->getSize() ); attrs[i]->copy( ret, this ); + ret->_validAttributeArray[i] = _validAttributeArray[i]; } if ( _meta->getValueAttribute() != NULL ) { daeMetaAttribute *val = _meta->getValueAttribute(); @@ -458,7 +528,8 @@ daeSmartRef daeElement::clone(daeString idSuffix, daeString nameSuff if ( strcmp( str, "" ) ) { strcat( str, idSuffix ); } - id->getType()->stringToMemory( str, id->getWritableMemory( ret ) ); + //id->getType()->stringToMemory( str, id->getWritableMemory( ret ) ); + id->set( ret, str ); } //mangle the name daeMetaAttribute *nm = _meta->getMetaAttribute("name"); @@ -468,7 +539,8 @@ daeSmartRef daeElement::clone(daeString idSuffix, daeString nameSuff if ( strcmp( str, "" ) ) { strcat( str, nameSuffix ); } - nm->getType()->stringToMemory( str, nm->getWritableMemory( ret ) ); + //nm->getType()->stringToMemory( str, nm->getWritableMemory( ret ) ); + nm->set( ret, str ); } //ret->_intObject = _intObject; return ret; diff --git a/Extras/COLLADA_DOM/src/dae/daeIDRef.cpp b/Extras/COLLADA_DOM/src/dae/daeIDRef.cpp index 9c3a4af75..e0e476d51 100644 --- a/Extras/COLLADA_DOM/src/dae/daeIDRef.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeIDRef.cpp @@ -15,7 +15,9 @@ #include #include -daeIDRefResolverPtrArray daeIDRefResolver::_KnownResolvers; +//Contributed by Nus - Wed, 08 Nov 2006 +daeIDRefResolverPtrArray* daeIDRefResolver::_KnownResolvers = NULL; +//---------------------------------- void daeIDRef::initialize() @@ -49,6 +51,7 @@ daeIDRef::daeIDRef(daeIDRef& copyFrom) element = copyFrom.element; setID(copyFrom.getID()); state = copyFrom.state; + container = copyFrom.container; } void @@ -57,6 +60,7 @@ daeIDRef::copyFrom(daeIDRef& copyFrom) element = copyFrom.element; setID(copyFrom.getID()); state = copyFrom.state; + container = copyFrom.container; } daeString emptyID = ""; @@ -134,25 +138,54 @@ daeIDRef::resolveID() } } +//Contributed by Nus - Wed, 08 Nov 2006 +void daeIDRefResolver::initializeIDRefSolver(void) +{ + if(!_KnownResolvers) { + _KnownResolvers = new daeIDRefResolverPtrArray(); + } +} + +void daeIDRefResolver::terminateIDRefSolver(void) +{ + if(_KnownResolvers) { + delete _KnownResolvers; + _KnownResolvers = NULL; + } +} +//------------------------------------- + void daeIDRefResolver::attemptResolveElement(daeIDRef& id, daeString typeNameHint) { int i; - int cnt = (int)_KnownResolvers.getCount(); +//Contributed by Nus - Wed, 08 Nov 2006 + // int cnt = (int)_KnownResolvers.getCount(); + int cnt = (int)_KnownResolvers->getCount(); +//------------------------------- for(i=0;iresolveElement(id, typeNameHint)) +//Contributed by Nus - Wed, 08 Nov 2006 + // if (_KnownResolvers[i]->resolveElement(id, typeNameHint)) + if ((*_KnownResolvers)[i]->resolveElement(id, typeNameHint)) +//------------------------- return; } void daeIDRefResolver::attemptResolveID(daeIDRef& id) { - int i,cnt = (int)_KnownResolvers.getCount(); +//Contributed by Nus - Wed, 08 Nov 2006 + // int i,cnt = (int)_KnownResolvers.getCount(); + int i,cnt = (int)_KnownResolvers->getCount(); +//------------------------------- // daeBool foundProtocol = false; for(i=0;iresolveID(id)) +//Contributed by Nus - Wed, 08 Nov 2006 + // if (_KnownResolvers[i]->resolveID(id)) + if ((*_KnownResolvers)[i]->resolveID(id)) +//----------------------------- return; #if defined(_DEBUG) && defined(WIN32) @@ -165,12 +198,18 @@ daeIDRefResolver::attemptResolveID(daeIDRef& id) daeIDRefResolver::daeIDRefResolver() { - _KnownResolvers.append((daeIDRefResolver*)this); +//Contributed by Nus - Wed, 08 Nov 2006 + // _KnownResolvers.append((daeIDRefResolver*)this); + _KnownResolvers->append((daeIDRefResolver*)this); +//------------------------------ } daeIDRefResolver::~daeIDRefResolver() { - _KnownResolvers.remove((daeIDRefResolver*)this); +//Contributed by Nus - Wed, 08 Nov 2006 + // _KnownResolvers.remove((daeIDRefResolver*)this); + _KnownResolvers->remove((daeIDRefResolver*)this); +//----------------------------------------- } @@ -208,7 +247,15 @@ daeDefaultIDRefResolver::resolveElement(daeIDRef& idref, daeString typeNameHint) daeString id = idref.getID(); - status = _database->getElement(&resolved,0,id,typeNameHint,NULL); + if ( idref.getContainer() == NULL ) + { + char msg[128]; + sprintf(msg,"daeDefaultIDRefResolver::resolveElement() - failed to resolve %s\n",idref.getID(), ". IDRef needs a container element!" ); + daeErrorHandler::get()->handleWarning( msg ); + return false; + } + + status = _database->getElement( &resolved, 0, id, typeNameHint, idref.getContainer()->getDocumentURI()->getURI() ); idref.setElement( resolved ); diff --git a/Extras/COLLADA_DOM/src/dae/daeMetaAny.cpp b/Extras/COLLADA_DOM/src/dae/daeMetaAny.cpp index 017576a8b..af4c3e879 100644 --- a/Extras/COLLADA_DOM/src/dae/daeMetaAny.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeMetaAny.cpp @@ -43,7 +43,8 @@ daeBool daeMetaAny::removeElement( daeElement *parent, daeElement *child ) { daeMetaElement * daeMetaAny::findChild( daeString elementName ) { if ( elementName != NULL ) { const daeMetaElementRefArray &metas = daeMetaElement::getAllMetas(); - for ( size_t x = 0; x < metas.getCount(); x++ ) { + size_t cnt = metas.getCount(); + for ( size_t x = 0; x < cnt; x++ ) { if ( !metas[x]->getIsInnerClass() && strcmp( elementName, metas[x]->getName() ) == 0 ) { return metas[x]; } diff --git a/Extras/COLLADA_DOM/src/dae/daeMetaAttribute.cpp b/Extras/COLLADA_DOM/src/dae/daeMetaAttribute.cpp index 89d4a8c0e..0b48c4fb5 100644 --- a/Extras/COLLADA_DOM/src/dae/daeMetaAttribute.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeMetaAttribute.cpp @@ -44,7 +44,7 @@ daeMetaAttribute::set(daeElement* e, daeString s) void daeMetaAttribute::copy(daeElement* to, daeElement *from) { daeChar str[4096]; - _type->memoryToString( getWritableMemory(from), str, 2048 ); + _type->memoryToString( getWritableMemory(from), str, 4096 ); _type->stringToMemory( str, getWritableMemory( to ) ); //memcpy( getWritableMemory( to ), getWritableMemory( from ), getSize() ); } @@ -110,7 +110,18 @@ void daeMetaAttribute::resolve(daeElementRef element) { if (_type != NULL) - _type->resolve(element, this); + _type->resolve(element, getWritableMemory(element) ); +} + +void +daeMetaArrayAttribute::resolve(daeElementRef element) +{ + daeArray* era = (daeArray*)getWritableMemory(element); + size_t cnt = era->getCount(); + for ( size_t i = 0; i < cnt; i++ ) + { + _type->resolve( element, era->getRawData()+(i*era->getElementSize()) ); + } } daeInt diff --git a/Extras/COLLADA_DOM/src/dae/daeMetaChoice.cpp b/Extras/COLLADA_DOM/src/dae/daeMetaChoice.cpp index 70e5bba71..878e0f16d 100644 --- a/Extras/COLLADA_DOM/src/dae/daeMetaChoice.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeMetaChoice.cpp @@ -34,8 +34,10 @@ daeElement *daeMetaChoice::placeElement( daeElement *parent, daeElement *child, } daeElement *retVal = NULL; + size_t cnt = _children.getCount(); + for ( daeInt i = 0; ( i < _maxOccurs || _maxOccurs == -1 ); i++ ) { - for ( size_t x = 0; x < _children.getCount(); x++ ) { + for ( size_t x = 0; x < cnt; x++ ) { if ( _children[x]->placeElement( parent, child, ordinal, i, before, after ) != NULL ) { retVal = child; ordinal = ordinal + _ordinalOffset; @@ -68,7 +70,8 @@ daeElement *daeMetaChoice::placeElement( daeElement *parent, daeElement *child, } daeBool daeMetaChoice::removeElement( daeElement *parent, daeElement *child ) { - for ( size_t x = 0; x < _children.getCount(); x++ ) { + size_t cnt = _children.getCount(); + for ( size_t x = 0; x < cnt; x++ ) { if ( _children[x]->removeElement( parent, child ) ) { return true; } @@ -78,7 +81,8 @@ daeBool daeMetaChoice::removeElement( daeElement *parent, daeElement *child ) { daeMetaElement * daeMetaChoice::findChild( daeString elementName ) { daeMetaElement *me = NULL; - for ( size_t x = 0; x < _children.getCount(); x++ ) { + size_t cnt = _children.getCount(); + for ( size_t x = 0; x < cnt; x++ ) { me = _children[x]->findChild( elementName ); if ( me != NULL ) { return me; diff --git a/Extras/COLLADA_DOM/src/dae/daeMetaElement.cpp b/Extras/COLLADA_DOM/src/dae/daeMetaElement.cpp index ac5dbbb3b..26e765e30 100644 --- a/Extras/COLLADA_DOM/src/dae/daeMetaElement.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeMetaElement.cpp @@ -18,7 +18,8 @@ #include #include -daeMetaElementRefArray daeMetaElement::_metas; +static daeMetaElementRefArray *mera = NULL; +static daeTArray< daeMetaElement** > *mes = NULL; daeElementRef daeMetaElement::create() @@ -101,6 +102,7 @@ daeMetaElement::daeMetaElement() _elementSize = sizeof(daeElement); _metaValue = NULL; _metaContents = NULL; + _metaContentsOrder = NULL; // sthomas _metaIntegration = NULL; _metaID = NULL; _isTrackableForQueries = true; @@ -109,7 +111,7 @@ daeMetaElement::daeMetaElement() _isAbstract = false; _allowsAny = false; _innerClass = false; - _metas.append(this); + _metas().append(this); _contentModel = NULL; } @@ -118,6 +120,17 @@ daeMetaElement::~daeMetaElement() { if (_metaContents) delete _metaContents; + if (_contentModel) // sthomas + delete _contentModel; + if (_metaContentsOrder) // sthomas + delete _metaContentsOrder; +} + +void daeMetaElement::setCMRoot( daeMetaCMPolicy *cm ) +{ + if (_contentModel) + delete _contentModel; + _contentModel = cm; } void @@ -139,6 +152,10 @@ daeMetaElement::addContentsOrder(daeInt offset) meaa->setName("contentsOrder"); meaa->setOffset(offset); meaa->setContainer( this); + + if (_metaContentsOrder) + delete _metaContentsOrder; + _metaContentsOrder = meaa; } @@ -237,7 +254,23 @@ daeMetaElement::getMetaAttribute(daeString s) void daeMetaElement::releaseMetas() { - _metas.clear(); + _metas().clear(); + size_t count = _classMetaPointers().getCount(); + for ( size_t i = 0; i < count; i++ ) + { + *(_classMetaPointers()[i]) = NULL; + } + _classMetaPointers().clear(); + if (mera) + { + delete mera; + mera = NULL; + } + if (mes) + { + delete mes; + mes = NULL; + } } daeBool daeMetaElement::place(daeElement *parent, daeElement *child, daeUInt *ordinal ) @@ -261,7 +294,8 @@ daeBool daeMetaElement::place(daeElement *parent, daeElement *child, daeUInt *or daeUIntArray* contentsOrder = (daeUIntArray*)_metaContentsOrder->getWritableMemory(parent); daeBool needsAppend = true; - for ( size_t x = 0; x < contentsOrder->getCount(); x++ ) { + size_t cnt = contentsOrder->getCount(); + for ( size_t x = 0; x < cnt; x++ ) { if ( contentsOrder->get(x) > ord ) { contents->insertAt( x, retVal ); contentsOrder->insertAt( x, ord ); @@ -300,7 +334,12 @@ daeBool daeMetaElement::placeAt( daeInt index, daeElement *parent, daeElement *c validLoc = contentsOrder->get(index) >= ord && contentsOrder->get(index) <= ord; } else { - validLoc = contentsOrder->get(index) >= ord; + if ( contentsOrder->getCount() == 0 ) { + validLoc = true; + } + else { + validLoc = contentsOrder->get(index) >= ord; + } } if ( validLoc ) { contents->insertAt( index, retVal ); @@ -462,3 +501,22 @@ void daeMetaElement::getChildren( daeElement* parent, daeElementRefArray &array _contentModel->getChildren( parent, array ); } } + +daeMetaElementRefArray &daeMetaElement::_metas() +{ + if (!mera) + { + mera = new daeMetaElementRefArray(); + } + return *mera; +} + +daeTArray< daeMetaElement** > &daeMetaElement::_classMetaPointers() +{ + if (!mes) + { + mes = new daeTArray< daeMetaElement** >(); + } + return *mes; +} + diff --git a/Extras/COLLADA_DOM/src/dae/daeMetaElementAttribute.cpp b/Extras/COLLADA_DOM/src/dae/daeMetaElementAttribute.cpp index 55e41d675..a9039f845 100644 --- a/Extras/COLLADA_DOM/src/dae/daeMetaElementAttribute.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeMetaElementAttribute.cpp @@ -141,29 +141,24 @@ daeMetaElementArrayAttribute::placeElement(daeElement* parent, daeElement* child if ( child->getMeta() != _elementType || ( child->getElementName() != NULL && strcmp( child->getElementName(), _name ) != 0 ) ) { return NULL; } - if (child->getParentElement() == parent) { - //I Don't know why this gets called when the child already has this as parent. - return child; - } + daeElement *p = child->getParentElement(); daeElementRefArray* era = (daeElementRefArray*)getWritableMemory(parent); if ( _maxOccurs != -1 && (daeInt)era->getCount()-offset >= _maxOccurs ) { return NULL; } - removeElement( child->getParentElement(), child ); + removeElement( p, child ); child->setParentElement( parent ); - if ( before != NULL || after != NULL ) { - if ( before != NULL && before->getMeta() == _elementType ) { - size_t idx(0); - if ( era->find( before, idx ) == DAE_OK ) { - era->insertAt( idx, child ); - } + if ( before != NULL && before->getMeta() == _elementType ) { + size_t idx(0); + if ( era->find( before, idx ) == DAE_OK ) { + era->insertAt( idx, child ); } - else if ( after != NULL && after->getMeta() == _elementType ) { - size_t idx(0); - if ( era->find( after, idx ) == DAE_OK ) { - era->insertAt( idx+1, child ); - } + } + else if ( after != NULL && after->getMeta() == _elementType ) { + size_t idx(0); + if ( era->find( after, idx ) == DAE_OK ) { + era->insertAt( idx+1, child ); } } else { @@ -225,7 +220,8 @@ void daeMetaElementAttribute::getChildren( daeElement *parent, daeElementRefArra void daeMetaElementArrayAttribute::getChildren( daeElement *parent, daeElementRefArray &array ) { daeElementRefArray* era = (daeElementRefArray*)getWritableMemory(parent); - for ( size_t x = 0; x < era->getCount(); x++ ) { + size_t cnt = era->getCount(); + for ( size_t x = 0; x < cnt; x++ ) { array.append( era->get(x) ); } } diff --git a/Extras/COLLADA_DOM/src/dae/daeMetaSequence.cpp b/Extras/COLLADA_DOM/src/dae/daeMetaSequence.cpp index 70f0f2993..38dbaa109 100644 --- a/Extras/COLLADA_DOM/src/dae/daeMetaSequence.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeMetaSequence.cpp @@ -34,8 +34,9 @@ daeElement *daeMetaSequence::placeElement( daeElement *parent, daeElement *child } } + size_t cnt = _children.getCount(); for ( daeInt i = 0; ( i < _maxOccurs || _maxOccurs == -1 ); i++ ) { - for ( size_t x = 0; x < _children.getCount(); x++ ) { + for ( size_t x = 0; x < cnt; x++ ) { if ( _children[x]->placeElement( parent, child, ordinal, i, before, after ) != NULL ) { ordinal = ordinal + (i * ( _maxOrdinal + 1 )) + _ordinalOffset; return child; @@ -46,7 +47,8 @@ daeElement *daeMetaSequence::placeElement( daeElement *parent, daeElement *child } daeBool daeMetaSequence::removeElement( daeElement *parent, daeElement *child ) { - for ( size_t x = 0; x < _children.getCount(); x++ ) { + size_t cnt = _children.getCount(); + for ( size_t x = 0; x < cnt; x++ ) { if ( _children[x]->removeElement( parent, child ) ) { return true; } @@ -56,7 +58,8 @@ daeBool daeMetaSequence::removeElement( daeElement *parent, daeElement *child ) daeMetaElement * daeMetaSequence::findChild( daeString elementName ) { daeMetaElement *me = NULL; - for ( size_t x = 0; x < _children.getCount(); x++ ) { + size_t cnt = _children.getCount(); + for ( size_t x = 0; x < cnt; x++ ) { me = _children[x]->findChild( elementName ); if ( me != NULL ) { return me; @@ -66,7 +69,8 @@ daeMetaElement * daeMetaSequence::findChild( daeString elementName ) { } void daeMetaSequence::getChildren( daeElement *parent, daeElementRefArray &array ) { - for ( size_t x = 0; x < _children.getCount(); x++ ) { + size_t cnt = _children.getCount(); + for ( size_t x = 0; x < cnt; x++ ) { _children[x]->getChildren( parent, array ); } } diff --git a/Extras/COLLADA_DOM/src/dae/daeSIDResolver.cpp b/Extras/COLLADA_DOM/src/dae/daeSIDResolver.cpp index e463cf50d..399e8fd46 100644 --- a/Extras/COLLADA_DOM/src/dae/daeSIDResolver.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeSIDResolver.cpp @@ -20,6 +20,10 @@ daeSIDResolver::daeSIDResolver( daeElement *container, daeString target, daeString profile ) { + element = NULL; + doubleArray = NULL; + doublePtr = NULL; + this->container = container; if ( target != NULL ) { this->target = new char[ strlen( target ) +1 ]; @@ -161,6 +165,7 @@ void daeSIDResolver::resolve() if ( idref.getState() != daeIDRef::id_success ) { state = sid_failed_not_found; delete[] id; + element = NULL; return; } element = idref.getElement(); diff --git a/Extras/COLLADA_DOM/src/dae/daeStringRef.cpp b/Extras/COLLADA_DOM/src/dae/daeStringRef.cpp index 68fcc6fd0..bcb1d8a78 100644 --- a/Extras/COLLADA_DOM/src/dae/daeStringRef.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeStringRef.cpp @@ -13,17 +13,41 @@ #include -daeStringTable daeStringRef::_stringTable; +//Contributed by Nus - Wed, 08 Nov 2006 +// Nus: Use global pointer instead of local static. +static daeStringTable *pST = NULL; +//--------------------------- + +daeStringTable &daeStringRef::_stringTable() +{ +//Contributed by Nus - Wed, 08 Nov 2006 + // static daeStringTable *st = new daeStringTable(); + // return *st; + if(!pST) + pST = new daeStringTable(); + return *pST; +} + +void daeStringRef::releaseStringTable(void) +{ + if(pST) { + delete pST; + pST = NULL; + } +} +//-------------------------------- daeStringRef::daeStringRef(daeString string) { - _string = _stringTable.allocString(string); + daeStringTable &st = _stringTable(); + _string = st.allocString(string); } const daeStringRef& daeStringRef::set(daeString string) { - _string = _stringTable.allocString(string); + daeStringTable &st = _stringTable(); + _string = st.allocString(string); return *this; } diff --git a/Extras/COLLADA_DOM/src/dae/daeStringTable.cpp b/Extras/COLLADA_DOM/src/dae/daeStringTable.cpp index 18ff493d6..abc44c7db 100644 --- a/Extras/COLLADA_DOM/src/dae/daeStringTable.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeStringTable.cpp @@ -15,8 +15,9 @@ daeStringTable::daeStringTable(int stringBufferSize):_stringBufferSize(stringBufferSize), _empty( "" ) { + _stringBufferIndex = _stringBufferSize; //allocate initial buffer - allocateBuffer(); + //allocateBuffer(); } daeString daeStringTable::allocateBuffer() diff --git a/Extras/COLLADA_DOM/src/dae/daeURI.cpp b/Extras/COLLADA_DOM/src/dae/daeURI.cpp index db3e4807b..e4cefffaf 100644 --- a/Extras/COLLADA_DOM/src/dae/daeURI.cpp +++ b/Extras/COLLADA_DOM/src/dae/daeURI.cpp @@ -26,21 +26,59 @@ daeString safeCreate(daeString src); void safeDelete(daeString src); daeString findCharacterReverse(daeString string, daeChar stopChar); -daeURIResolverPtrArray daeURIResolver::_KnownResolvers; +//Contributed by Nus - Wed, 08 Nov 2006 +static daeURIResolverPtrArray *pKR = NULL; +//--------------------------- -static daeURI ApplicationURI(1); +daeURIResolverPtrArray &daeURIResolver::_KnownResolvers() +{ +//Contributed by Nus - Wed, 08 Nov 2006 + // static daeURIResolverPtrArray *kr = new daeURIResolverPtrArray(); + // return *kr; + return *pKR; +//-------------------------------- +} + +//Contributed by Nus - Wed, 08 Nov 2006 +static daeURI* pAppURI = NULL; +// static daeURI ApplicationURI(1); + +extern "C" void initializeURI(void) +{ + if(!pAppURI) { + pAppURI = new daeURI(1); + } + if(!pKR) { + pKR = new daeURIResolverPtrArray(); + } +} + +extern "C" void terminateURI(void) +{ + delete pAppURI; + pAppURI = NULL; + delete pKR; + pKR = NULL; +} +//-------------------------------------- void daeURI::setBaseURI(daeURI& uri) { - ApplicationURI.reset(); - ApplicationURI.setURI(uri.getURI()); +//Contributed by Nus - Wed, 08 Nov 2006 + // ApplicationURI.reset(); + // ApplicationURI.setURI(uri.getURI()); + pAppURI->reset(); + pAppURI->setURI(uri.getURI()); +//------------------------ } daeURI* daeURI::getBaseURI() { - return &ApplicationURI; +//Contributed by Nus - Wed, 08 Nov 2006 + return pAppURI; +//-------------------------------------- } void @@ -252,6 +290,18 @@ void safeDelete(daeString src) void daeURI::setURI(daeString _URIString) { +//Contributed by Nus - Wed, 08 Nov 2006 + // Nus: Checking for existing string. + if(originalURIString && _URIString) { + if(strcmp(originalURIString, _URIString) == 0) + return; + } + // Nus: If the string exist, delete it first. + if(originalURIString) { + safeDelete(originalURIString); + originalURIString = NULL; + } +//--------------------------- originalURIString = safeCreate(_URIString); internalSetURI(_URIString); } @@ -646,7 +696,7 @@ daeURI::validate(daeURI* baseURI) uriString = newURI; state = uri_pending; - if ( container != NULL ) { + if ( container != NULL && container->getDocumentURI() != NULL ) { daeString fp = container->getDocumentURI()->getFilepath(); daeString f = container->getDocumentURI()->getFile(); if ( strcmp( fp, filepath ) != 0 || strcmp( f, file ) != 0 ) { @@ -897,27 +947,27 @@ void daeURIResolver::attemptResolveElement(daeURI& uri, daeString typeNameHint) { int i; - int cnt =(int) _KnownResolvers.getCount(); + int cnt =(int) _KnownResolvers().getCount(); for(i=0;iisProtocolSupported(uri.getProtocol()))&& + if ((_KnownResolvers()[i]->isProtocolSupported(uri.getProtocol()))&& ((uri.getFile() == NULL) || (uri.getFile()[0] == '\0') || - (_KnownResolvers[i]->isExtensionSupported(uri.getExtension()))) && - (_KnownResolvers[i]->resolveElement(uri, typeNameHint))) + (_KnownResolvers()[i]->isExtensionSupported(uri.getExtension()))) && + (_KnownResolvers()[i]->resolveElement(uri, typeNameHint))) return; } void daeURIResolver::attemptResolveURI(daeURI& uri) { - int i,cnt = (int)_KnownResolvers.getCount(); + int i,cnt = (int)_KnownResolvers().getCount(); daeBool foundProtocol = false; for(i=0;iisProtocolSupported(uri.getProtocol())) { + if (_KnownResolvers()[i]->isProtocolSupported(uri.getProtocol())) { foundProtocol = true; - if (_KnownResolvers[i]->resolveURI(uri)) + if (_KnownResolvers()[i]->resolveURI(uri)) return; } #if defined(_DEBUG) && defined(WIN32) @@ -949,12 +999,12 @@ daeBool daeURIResolver::_loadExternalDocuments = true; daeURIResolver::daeURIResolver() { - _KnownResolvers.append((daeURIResolver*)this); + _KnownResolvers().append((daeURIResolver*)this); } daeURIResolver::~daeURIResolver() { - _KnownResolvers.remove((daeURIResolver*)this); + _KnownResolvers().remove((daeURIResolver*)this); } // This code is loosely based on the RFC 2396 normalization code from // libXML. Specifically it does the RFC steps 6.c->6.g from section 5.2 @@ -1220,3 +1270,13 @@ int daeURI::makeRelativeTo(daeURI* relativeToURI) return(DAE_OK); } +void daeURIResolver::setAutoLoadExternalDocuments( daeBool load ) +{ + _loadExternalDocuments = load; +} + +daeBool daeURIResolver::getAutoLoadExternalDocuments() +{ + return _loadExternalDocuments; +} + diff --git a/Extras/COLLADA_DOM/src/dae/domAny.cpp b/Extras/COLLADA_DOM/src/dae/domAny.cpp index 3288767a1..5c89d7ecf 100644 --- a/Extras/COLLADA_DOM/src/dae/domAny.cpp +++ b/Extras/COLLADA_DOM/src/dae/domAny.cpp @@ -37,14 +37,18 @@ domAny::registerElement() daeMetaElement *_Meta = new daeMetaElement; _Meta->setName( "any" ); //_Meta->setStaticPointerAddress(&domAny::_Meta); - _Meta->registerConstructor(domAny::create); + _Meta->registerClass(domAny::create); + _Meta->setIsInnerClass( true ); + daeMetaCMPolicy *cm = NULL; cm = new daeMetaSequence( _Meta, cm, 0, 1, 1 ); cm = new daeMetaAny( _Meta, cm, 0, 0, -1 ); + cm->getParent()->appendChild( cm ); // sthomas + cm = cm->getParent(); cm->setMaxOrdinal( 0 ); - _Meta->setCMRoot( cm ); + _Meta->setCMRoot( cm ); _Meta->setAllowsAny( true ); _Meta->addContents(daeOffsetOf(domAny,_contents)); diff --git a/Extras/COLLADA_DOM/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp b/Extras/COLLADA_DOM/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp index 88fa12959..0f1d67712 100644 --- a/Extras/COLLADA_DOM/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp +++ b/Extras/COLLADA_DOM/src/modules/LIBXMLPlugin/daeLIBXMLPlugin.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -85,6 +86,12 @@ daeInt daeLIBXMLPlugin::read(daeURI& uri, daeString docBuffer) daeURI fileURI(uri.getURI(),true); + //check if document already exists + if ( database->isDocumentLoaded( fileURI.getURI() ) ) + { + return DAE_ERR_COLLECTION_ALREADY_EXISTS; + } + // Create the right type of xmlTextReader on the stack so this function can be re-entrant xmlTextReaderPtr reader; @@ -682,9 +689,9 @@ void daeLIBXMLPlugin::writeElement( daeElement* element ) } } -#define TYPE_BUFFER_SIZE 4096 +#define TYPE_BUFFER_SIZE 1024*1024 -void daeLIBXMLPlugin::writeAttribute( daeMetaAttribute* attr, daeElement* element, daeInt attrNum ) +/*void daeLIBXMLPlugin::writeAttribute( daeMetaAttribute* attr, daeElement* element, daeInt attrNum ) { static daeChar atomicTypeBuf[TYPE_BUFFER_SIZE]; @@ -811,4 +818,100 @@ void daeLIBXMLPlugin::writeAttribute( daeMetaAttribute* attr, daeElement* elemen xmlTextWriterEndAttribute( writer ); } } +}*/ + +void daeLIBXMLPlugin::writeAttribute( daeMetaAttribute* attr, daeElement* element, daeInt attrNum ) +{ + static daeChar atomicTypeBuf[TYPE_BUFFER_SIZE+1]; + daeChar *buf = atomicTypeBuf; + daeUInt bufSz = TYPE_BUFFER_SIZE; + + size_t valCount = attr->getCount(element); + //default values will not check correctly if they are arrays. Luckily there is only one array attribute in COLLADA. + //don't write if !required and is set && is default + + int typeSize = attr->getType()->getSize(); + if ( typeSize >= TYPE_BUFFER_SIZE ) + { + char msg[512]; + sprintf(msg, + "daeMetaAttribute::print() - buffer too small for %s in %s\n", + (daeString)attr->getName(),(daeString)attr->getContainer()->getName()); + daeErrorHandler::get()->handleError( msg ); + return; + } + + if ( !attr->isArrayAttribute() && ( attr->getType()->getTypeEnum() == daeAtomicType::StringRefType || + attr->getType()->getTypeEnum() == daeAtomicType::TokenType ) && + *(char**)attr->getWritableMemory( element ) != NULL ) + { + daeUInt sz = (daeUInt)strlen( *(char**)attr->getWritableMemory( element ) ) +1; + if ( bufSz > TYPE_BUFFER_SIZE ) { + buf = new char[ bufSz ]; + bufSz = sz; + } + } + + //always print value + if ( attrNum != -1 ) + { + //not value attribute + if ( !attr->getIsRequired() ) + { + //not required + if ( !element->isAttributeSet( attr->getName() ) ) + { + //early out if !value && !required && !set + return; + } + + //is set + //check for default suppression + if ( attr->getDefault() != NULL ) + { + //has a default value + attr->getType()->stringToMemory( (daeChar*)attr->getDefault(), buf ); + char* elemMem = attr->get( element, 0 ); + if( memcmp( buf, elemMem, typeSize ) == 0 ) + { + //is the default value so exit early + return; + } + } + + //not default so print + xmlTextWriterStartAttribute( writer, (xmlChar*)(daeString)attr->getName() ); + } + else { + //print it because its required + xmlTextWriterStartAttribute( writer, (xmlChar*)(daeString)attr->getName() ); + } + } + if (valCount>0) + { + //do val 0 first then space and the rest of the vals. + char* elemMem = attr->get( element, 0 ); + attr->getType()->memoryToString( elemMem, buf, bufSz ); + if ( buf[0] != 0 ) //null string check + { + xmlTextWriterWriteString( writer, (xmlChar*)buf ); + } + + *buf = ' '; + for( size_t i = 1; i < valCount; i++ ) + { + elemMem = attr->get( element, (int)i ); + attr->getType()->memoryToString( elemMem, buf+1, bufSz ); + xmlTextWriterWriteString( writer, (xmlChar*)buf ); + } + } + if ( attrNum != -1 ) + { + xmlTextWriterEndAttribute( writer ); + } + if ( buf != atomicTypeBuf ) + { + delete[] buf; + } } + diff --git a/Extras/COLLADA_DOM/src/modules/STLDatabase/daeSTLDatabase.cpp b/Extras/COLLADA_DOM/src/modules/STLDatabase/daeSTLDatabase.cpp index b4e310d35..44eb7fee6 100644 --- a/Extras/COLLADA_DOM/src/modules/STLDatabase/daeSTLDatabase.cpp +++ b/Extras/COLLADA_DOM/src/modules/STLDatabase/daeSTLDatabase.cpp @@ -42,35 +42,28 @@ daeSTLDatabase::isDocumentLoaded(daeString name) daeUInt daeSTLDatabase::getTypeCount() { validate(); - std::vector::iterator it = elements.begin(); - daeUInt count = 0; - while (it != elements.end()) - { - DAE_STL_DATABASE_CELL &tmp = (*it); - std::vector::iterator it_up = std::upper_bound(it,elements.end(),tmp,daeSTLDatabaseTypeLess()); - it = it_up; - count++; - } - return count; + return (daeUInt)elements.size(); } daeString daeSTLDatabase::getTypeName(daeUInt index) { validate(); - std::vector::iterator it = elements.begin(); - unsigned int count = 0; - while (it != elements.end() && count >::iterator iter = elements.begin(); + std::map >::iterator end = elements.end(); + while ( iter != end ) { - DAE_STL_DATABASE_CELL &tmp = (*it); - std::vector::iterator it_up = std::upper_bound(it,elements.end(),tmp,daeSTLDatabaseTypeLess()); - it = it_up; - count++; + if ( count == index ) + { + return (*iter).first.c_str(); + } + ++count; + ++iter; } - if (it != elements.end()) - return (*it).type; - else - return NULL; + + return NULL; } // Documents @@ -93,11 +86,11 @@ daeInt daeSTLDatabase::createDocument(const char *name, daeElement* dom, daeDocu // Create a Reference on the domCOLLADA passed into us newDocument->setDomRoot(dom); // Set the domCollada's document to this one - dom->setDocument(newDocument); + //dom->setDocument(newDocument); // Set and resolve the document URI newDocument->getDocumentURI()->setURI(name); newDocument->getDocumentURI()->validate(); - insertElement( newDocument, dom ); + //insertElement( newDocument, dom ); newDocument->setModified(true); // Push the connection into the database documents.push_back(newDocument); @@ -157,31 +150,17 @@ daeInt daeSTLDatabase::insertDocument( daeDocument *c ) { } daeInt daeSTLDatabase::removeDocument(daeDocument *document) -{ - // Copy the elements that are not in this collection into - // a new list. - std::vector newElements; - newElements.reserve(elements.size()); - - std::vector::iterator iter = elements.begin(); - while ( iter != elements.end() ) { - if ( (*iter).document != document ) { - newElements.push_back(*iter); - } - iter++; - } - // Replace our existing element list with the new one (that is missing - // the elements from this collection). - elements = newElements; - - //remove the document from its vector - std::vector::iterator iter2 = documents.begin(); - while ( iter2 != documents.end() ) { - if ( (*iter2) == document ) { - iter2 = documents.erase(iter2); +{ + std::vector< daeDocument* >::iterator iter = documents.begin(); + while ( iter != documents.end() ) { + if ( (*iter) == document ) { + //delete all of its children + removeElement( *iter, (*iter)->getDomRoot() ); + delete *iter; // sthomas (see bug 1466019) + iter = documents.erase(iter); } else { - iter2++; + iter++; } } return DAE_OK; @@ -232,25 +211,22 @@ daeString daeSTLDatabase::getDocumentName(daeUInt index) daeInt daeSTLDatabase::insertElement(daeDocument* document,daeElement* element) { insertChildren( document, element ); - - if ((element->getMeta() != NULL) && - (!element->getMeta()->getIsTrackableForQueries())) - return DAE_OK; - DAE_STL_DATABASE_CELL tmp; - tmp.document = document; - tmp.name = element->getID(); - if (tmp.name == NULL) - tmp.name = ""; //static string in the executable - tmp.type = element->getTypeName(); - tmp.element = element; + std::map >::iterator iter = elements.find( std::string( element->getTypeName() ) ); + if ( iter != elements.end() ) + { + (*iter).second.push_back( element ); + } + else + { + std::vector< daeElement* > vec; + vec.push_back( element ); + elements.insert( std::make_pair( std::string( element->getTypeName() ), vec ) ); + } - std::vector::iterator it = std::upper_bound(elements.begin(), elements.end(), tmp, daeSTLDatabaseLess()); - elements.insert(it, tmp); - //insert into IDMap if element has an ID. IDMap is used to speed up URI resolution if ( element->getID() != NULL ) { - elementsIDMap.insert( std::make_pair( std::string( element->getID() ), tmp ) ); + elementsIDMap.insert( std::make_pair( std::string( element->getID() ), element ) ); } return DAE_OK; @@ -261,7 +237,7 @@ daeInt daeSTLDatabase::insertChildren( daeDocument *c, daeElement *element ) daeElementRefArray era; element->getChildren( era ); for ( unsigned int i = 0; i < era.getCount(); i++ ) { - insertElement( c, era[i] ); + insertElement( c, era[i] ); } return DAE_OK; } @@ -272,25 +248,34 @@ daeInt daeSTLDatabase::removeElement(daeDocument* document,daeElement* element) return DAE_ERR_INVALID_CALL; } removeChildren( document, element ); - std::vector::iterator iter = elements.begin(); - while ( iter != elements.end() ) { - if ( (*iter).element == element ) { - elements.erase(iter); - break; + + std::map >::iterator iter = elements.find( std::string( element->getTypeName() ) ); + if ( iter != elements.end() ) + { + std::vector< daeElement* > &vec = (*iter).second; + std::vector< daeElement* >::iterator i = vec.begin(); + std::vector< daeElement* >::iterator end = vec.end(); + while( i != end ) + { + if ( (*i) == element ) + { + vec.erase( i ); + break; + } + ++i; } - iter++; - } + } if ( element->getID() != NULL ) { - std::pair< std::multimap::iterator, std::multimap::iterator> range; + std::pair< std::multimap::iterator, std::multimap::iterator> range; range = elementsIDMap.equal_range( std::string( element->getID() ) ); - std::multimap::iterator iter = range.first; + std::multimap::iterator iter = range.first; while( iter != range.second ) { - if ( (*iter).second.element == element ) { + if ( (*iter).second == element ) { elementsIDMap.erase( iter ); break; } - iter++; + ++iter; } } return DAE_OK; @@ -320,14 +305,20 @@ daeInt daeSTLDatabase::clear() daeUInt daeSTLDatabase::getElementCount(daeString name,daeString type,daeString file) { - // This sorts the vector if necessary validate(); // If none of the search keys was specified, return the total element count in the database - if ( !name && !type && !file ) { - return (daeUInt)elements.size(); + daeUInt count = 0; + std::map< std::string, std::vector< daeElement*> >::iterator iter = elements.begin(); + std::map< std::string, std::vector< daeElement*> >::iterator end = elements.end(); + while( iter != end ) + { + count += (daeUInt)(*iter).second.size(); + ++iter; + } + return count; } if ( name ) @@ -343,13 +334,12 @@ daeUInt daeSTLDatabase::getElementCount(daeString name,daeString type,daeString return 0; } // a document was specified - std::pair< std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator, std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator> range; + std::pair< std::multimap< std::string, daeElement* >::iterator, std::multimap< std::string, daeElement* >::iterator > range; range = elementsIDMap.equal_range( std::string( name ) ); - std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator i = range.first; + std::multimap< std::string, daeElement* >::iterator i = range.first; while ( i != range.second ) { - DAE_STL_DATABASE_CELL e = (*i).second; - if ( col == e.document && !strcmp(name, e.name) ) + if ( col == (*i).second->getDocument() ) { count++; } @@ -359,65 +349,77 @@ daeUInt daeSTLDatabase::getElementCount(daeString name,daeString type,daeString } else { - //no file specified - std::pair< std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator, std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator> range; - range = elementsIDMap.equal_range( std::string( name ) ); - std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator i = range.first; - while ( i != range.second ) - { - ++i; - count++; - } - return count; + //no file specified - just name + return (daeUInt)elementsIDMap.count( std::string( name ) ); } } - std::pair< std::vector::iterator, std::vector::iterator> range; - int sz = 0; - // The database is sorted by type so if type was one of the keys, find the range of items with that type - if ( type ) + if ( type ) { - // if a type was specified, range = elements of that type - DAE_STL_DATABASE_CELL a; - a.type = type; - a.name = NULL; - a.document = NULL; - range = std::equal_range(elements.begin(),elements.end(),a,daeSTLDatabaseTypeLess()); - sz = (int)(range.second - range.first); - } - else - { - //no type specified, range = all elements - range.first = elements.begin(); - range.second = elements.end(); - sz = (int)elements.size(); - } - - //no name specified - if ( file ) - { - // If a document URI was a search key (in file) resolve it to a text URI with no fragment - daeURI tempURI(file,true); - daeDocument *col = getDocument( tempURI.getURI() ); - if ( col == NULL ) { + // type specified + std::map< std::string, std::vector< daeElement*> >::iterator iter = elements.find( std::string( type ) ); + if ( iter == elements.end() ) + { return 0; } - //a document was specified + int count = 0; - std::vector< DAE_STL_DATABASE_CELL >::iterator i = range.first; - while ( i != range.second ) - { - DAE_STL_DATABASE_CELL e = *(i); - if( col == e.document ) + if ( file ) + { + // If a document URI was a search key (in file) resolve it to a text URI with no fragment + daeURI tempURI(file,true); + daeDocument *col = getDocument( tempURI.getURI() ); + if ( col == NULL ) { + return 0; + } + // a document was specified + std::vector< daeElement* > &vec = (*iter).second; + std::vector< daeElement* >::iterator i = vec.begin(); + std::vector< daeElement* >::iterator end = vec.end(); + while( i != end ) { - count++; + if ( col == (*i)->getDocument() ) + { + ++count; + } + ++i; + } + return count; + } + else + { + //no file specified - just type + return (daeUInt)(*iter).second.size(); + } + } + + //if you get here only a file was specified + daeURI tempURI(file,true); + daeDocument *col = getDocument( tempURI.getURI() ); + if ( col == NULL ) { + return 0; + } + //a document was specified + int count = 0; + std::map< std::string, std::vector< daeElement*> >::iterator iter = elements.begin(); + std::map< std::string, std::vector< daeElement*> >::iterator end = elements.end(); + while( iter != end ) + { + std::vector< daeElement* > &vec = (*iter).second; + std::vector< daeElement* >::iterator i = vec.begin(); + std::vector< daeElement* >::iterator end2 = vec.end(); + while( i != end2 ) + { + if( col == (*i)->getDocument() ) + { + ++count; } ++i; } - return count; + ++iter; } - //if you get to this point only a type was specified - return sz; + return count; + } daeInt daeSTLDatabase::getElement(daeElement** pElement,daeInt index,daeString name,daeString type,daeString file) @@ -426,16 +428,28 @@ daeInt daeSTLDatabase::getElement(daeElement** pElement,daeInt index,daeString n validate(); // If the index is out of range, there can be no match - if ( index < 0 || index >= (int)elements.size() ) + if ( index < 0 ) { return DAE_ERR_QUERY_NO_MATCH; } - // If no name, type or file was specified we return the element at "index" + // If no name, type or file was specified we return the element at "index" - SLOW if ( !name && !type && !file ) { - *pElement = elements[index].element; - return DAE_OK; + daeUInt count = 0; + std::map< std::string, std::vector< daeElement*> >::iterator iter = elements.begin(); + std::map< std::string, std::vector< daeElement*> >::iterator end = elements.end(); + while( iter != end ) + { + count += (daeUInt)(*iter).second.size(); + if ( (daeInt)count > index ) + { + *pElement = (*iter).second[index - (count - (*iter).second.size())] ; + return DAE_OK; + } + ++iter; + } + return DAE_ERR_QUERY_NO_MATCH; } if ( name ) @@ -448,106 +462,130 @@ daeInt daeSTLDatabase::getElement(daeElement** pElement,daeInt index,daeString n daeURI tempURI(file,true); daeDocument *col = getDocument( tempURI.getURI() ); if ( col == NULL ) { + *pElement = NULL; return DAE_ERR_QUERY_NO_MATCH; } //a document was specified - std::pair< std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator, std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator> range; + std::pair< std::multimap< std::string, daeElement* >::iterator, std::multimap< std::string, daeElement* >::iterator> range; range = elementsIDMap.equal_range( std::string( name ) ); - std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator i = range.first; + std::multimap< std::string, daeElement* >::iterator i = range.first; while ( i != range.second ) { - DAE_STL_DATABASE_CELL e = (*i).second; - if ( col == e.document && !strcmp(name, e.name) ) + if ( col == (*i).second->getDocument() ) { if ( count == index ) { - *pElement = e.element; + *pElement = (*i).second; return DAE_OK; } count++; } ++i; } + *pElement = NULL; + return DAE_ERR_QUERY_NO_MATCH; + } + else + { + //no document specified + std::multimap< std::string, daeElement* >::iterator i = elementsIDMap.find( std::string( name ) ); + if ( index > (daeInt)elementsIDMap.count( std::string( name ) ) || i == elementsIDMap.end() ) + { + *pElement = NULL; + return DAE_ERR_QUERY_NO_MATCH; + } + for ( int x = 0; x < index; x++ ) + { + ++i; + } + *pElement = i->second; + return DAE_OK; + } + } + + if ( type ) + { + std::map< std::string, std::vector< daeElement*> >::iterator iter = elements.find( std::string( type ) ); + if ( iter == elements.end() ) + { + *pElement = NULL; + return DAE_ERR_QUERY_NO_MATCH; + } + //type specified + int count = 0; + if ( file ) + { + // If a document URI was a search key (in file) resolve it to a text URI with no fragment + daeURI tempURI(file,true); + daeDocument *col = getDocument( tempURI.getURI() ); + if ( col == NULL ) { + return DAE_ERR_QUERY_NO_MATCH; + } + //a document was specified + // a document was specified + std::vector< daeElement* > &vec = (*iter).second; + std::vector< daeElement* >::iterator i = vec.begin(); + std::vector< daeElement* >::iterator end = vec.end(); + while( i != end ) + { + if ( col == (*i)->getDocument() ) + { + if ( count == index ) + { + *pElement = (*i); + return DAE_OK; + } + ++count; + } + ++i; + } return DAE_ERR_QUERY_NO_MATCH; } else { //no document specified - std::pair< std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator, std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator> range; - range = elementsIDMap.equal_range( std::string( name ) ); - std::multimap< std::string, DAE_STL_DATABASE_CELL >::iterator i = range.first; - while ( i != range.second ) + if ( index >= (daeInt)(*iter).second.size() ) { - DAE_STL_DATABASE_CELL e = (*i).second; - if ( count == index ) - { - *pElement = e.element; - return DAE_OK; - } - count++; - ++i; + *pElement = NULL; + return DAE_ERR_QUERY_NO_MATCH; } - return DAE_ERR_QUERY_NO_MATCH; + *pElement = (*iter).second[index]; + return DAE_OK; } } - - std::pair< std::vector::iterator, std::vector::iterator> range; - int sz = 0; - if ( type ) - { - //a type was specified, range = elements of that type - DAE_STL_DATABASE_CELL a; - a.type = type; - a.name = NULL; - a.document = NULL; - range = std::equal_range(elements.begin(),elements.end(),a,daeSTLDatabaseTypeLess()); - sz = (int)(range.second - range.first); - if ( index >= sz ) - { - return DAE_ERR_QUERY_NO_MATCH; - } - } - else - { - //no type specified, range = all elements - range.first = elements.begin(); - range.second = elements.end(); - sz = (int)elements.size(); - } - - //no name specified - if ( file ) - { - // If a document URI was a search key (in file) resolve it to a text URI with no fragment - daeURI tempURI(file,true); - daeDocument *col = getDocument( tempURI.getURI() ); - if ( col == NULL ) { - return DAE_ERR_QUERY_NO_MATCH; - } - //a document was specified - int count = 0; - std::vector< DAE_STL_DATABASE_CELL >::iterator i = range.first; - while ( i != range.second ) + //if you get here only the file was specified - SLOW + daeURI tempURI(file,true); + daeDocument *col = getDocument( tempURI.getURI() ); + if ( col == NULL ) { + return DAE_ERR_QUERY_NO_MATCH; + } + //a document was specified + int count = 0; + std::map< std::string, std::vector< daeElement*> >::iterator iter = elements.begin(); + std::map< std::string, std::vector< daeElement*> >::iterator end = elements.end(); + while( iter != end ) + { + std::vector< daeElement* > &vec = (*iter).second; + std::vector< daeElement* >::iterator i = vec.begin(); + std::vector< daeElement* >::iterator end2 = vec.end(); + while( i != end2 ) { - DAE_STL_DATABASE_CELL e = *(i); - if( col == e.document ) + if( col == (*i)->getDocument() ) { if( count == index ) { - *pElement = e.element; + *pElement = (*i); return DAE_OK; } - count++; + ++count; } ++i; } - return DAE_ERR_QUERY_NO_MATCH; + ++iter; } + return DAE_ERR_QUERY_NO_MATCH; - //if you get to this point only a type was specified - *pElement = (*(range.first+index)).element; - return DAE_OK; } // Generic Query @@ -563,8 +601,6 @@ void daeSTLDatabase::validate() for( unsigned int i = 0; i < documents.size(); i++ ) { if (documents[i]->getModified() ) { daeDocument *tmp = documents[i]; - //removeDocument( tmp ); - //insertDocument( tmp ); const daeElementRefArray &rea = tmp->getRemovedArray(); for ( unsigned int x = 0; x < rea.getCount(); x++ ) { removeElement( tmp, rea[x] );