updated COLLADA-DOM to the latest bleeding-edge (1.4.1) SVN version of today
This commit is contained in:
@@ -65,7 +65,8 @@ public: //Accessors and Mutators
|
||||
* Sets the count attribute.
|
||||
* @param atCount The new value for the count attribute.
|
||||
*/
|
||||
void setCount( domUint atCount ) { attrCount = atCount; }
|
||||
void setCount( domUint atCount ) { attrCount = atCount;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the offset attribute.
|
||||
@@ -76,7 +77,8 @@ public: //Accessors and Mutators
|
||||
* Sets the offset attribute.
|
||||
* @param atOffset The new value for the offset attribute.
|
||||
*/
|
||||
void setOffset( domUint atOffset ) { attrOffset = atOffset; }
|
||||
void setOffset( domUint atOffset ) { attrOffset = atOffset;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
@@ -92,7 +94,8 @@ 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.setURI( atSource.getURI() );
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the stride attribute.
|
||||
@@ -103,7 +106,8 @@ public: //Accessors and Mutators
|
||||
* Sets the stride attribute.
|
||||
* @param atStride The new value for the stride attribute.
|
||||
*/
|
||||
void setStride( domUint atStride ) { attrStride = atStride; }
|
||||
void setStride( domUint atStride ) { attrStride = atStride;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
/**
|
||||
* Gets the param element array.
|
||||
|
||||
@@ -76,6 +76,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -88,7 +92,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -99,7 +104,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -78,7 +78,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -89,7 +90,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the start attribute.
|
||||
@@ -100,7 +102,8 @@ public: //Accessors and Mutators
|
||||
* Sets the start attribute.
|
||||
* @param atStart The new value for the start attribute.
|
||||
*/
|
||||
void setStart( xsDouble atStart ) { attrStart = atStart; }
|
||||
void setStart( xsDouble atStart ) { attrStart = atStart;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the end attribute.
|
||||
@@ -111,7 +114,8 @@ public: //Accessors and Mutators
|
||||
* Sets the end attribute.
|
||||
* @param atEnd The new value for the end attribute.
|
||||
*/
|
||||
void setEnd( xsDouble atEnd ) { attrEnd = atEnd; }
|
||||
void setEnd( xsDouble atEnd ) { attrEnd = atEnd;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -56,14 +56,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -125,14 +125,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -194,14 +194,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -263,14 +263,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -501,14 +501,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsDateTime of the value.
|
||||
* @return Returns a xsDateTime of the value.
|
||||
*/
|
||||
xsDateTime getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsDateTime val ) { _value = val; }
|
||||
void setValue( xsDateTime val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -570,14 +570,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -640,14 +640,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsDateTime of the value.
|
||||
* @return Returns a xsDateTime of the value.
|
||||
*/
|
||||
xsDateTime getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsDateTime val ) { _value = val; }
|
||||
void setValue( xsDateTime val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -709,14 +709,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -778,14 +778,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -847,14 +847,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -930,7 +930,8 @@ public:
|
||||
* Sets the meter attribute.
|
||||
* @param atMeter The new value for the meter attribute.
|
||||
*/
|
||||
void setMeter( domFloat atMeter ) { attrMeter = atMeter; }
|
||||
void setMeter( domFloat atMeter ) { attrMeter = atMeter;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -941,7 +942,8 @@ public:
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNMTOKEN atName ) { attrName = atName; }
|
||||
void setName( xsNMTOKEN atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <dom/domParam.h>
|
||||
#include <dom/domTechnique.h>
|
||||
#include <dom/domExtra.h>
|
||||
#include <dom/domInstance_material.h>
|
||||
|
||||
/**
|
||||
@@ -33,8 +34,8 @@ public:
|
||||
typedef daeTArray<domTechnique_commonRef> domTechnique_common_Array;
|
||||
|
||||
/**
|
||||
* The technique_common element specifies the instance_rigid_body information
|
||||
* for the common profile which all COLLADA implementations need to support.
|
||||
* The technique_common element specifies the bind_material information for
|
||||
* the common profile which all COLLADA implementations need to support.
|
||||
*/
|
||||
class domTechnique_common : public daeElement
|
||||
{
|
||||
@@ -106,8 +107,8 @@ protected: // Elements
|
||||
*/
|
||||
domParam_Array elemParam_array;
|
||||
/**
|
||||
* The technique_common element specifies the instance_rigid_body information
|
||||
* for the common profile which all COLLADA implementations need to support.
|
||||
* The technique_common element specifies the bind_material information for
|
||||
* the common profile which all COLLADA implementations need to support.
|
||||
* @see domTechnique_common
|
||||
*/
|
||||
domTechnique_commonRef elemTechnique_common;
|
||||
@@ -116,6 +117,10 @@ protected: // Elements
|
||||
* @see domTechnique
|
||||
*/
|
||||
domTechnique_Array elemTechnique_array;
|
||||
/**
|
||||
* The extra element may appear any number of times. @see domExtra
|
||||
*/
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
@@ -143,11 +148,21 @@ public: //Accessors and Mutators
|
||||
* @return Returns a constant reference to the array of technique elements.
|
||||
*/
|
||||
const domTechnique_Array &getTechnique_array() const { return elemTechnique_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domBind_material() : elemParam_array(), elemTechnique_common(), elemTechnique_array() {}
|
||||
domBind_material() : elemParam_array(), elemTechnique_common(), elemTechnique_array(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -56,7 +56,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -67,7 +68,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the count attribute.
|
||||
@@ -78,7 +80,8 @@ public: //Accessors and Mutators
|
||||
* Sets the count attribute.
|
||||
* @param atCount The new value for the count attribute.
|
||||
*/
|
||||
void setCount( domUint atCount ) { attrCount = atCount; }
|
||||
void setCount( domUint atCount ) { attrCount = atCount;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the _value array.
|
||||
|
||||
@@ -60,8 +60,8 @@ public:
|
||||
protected: // Elements
|
||||
/**
|
||||
* The instance_physics_scene element declares the instantiation of a COLLADA
|
||||
* physics_scene resource. The instance_physics_scene element may only appear
|
||||
* once. @see domInstance_physics_scene
|
||||
* physics_scene resource. The instance_physics_scene element may appear any
|
||||
* number of times. @see domInstance_physics_scene
|
||||
*/
|
||||
domInstanceWithExtra_Array elemInstance_physics_scene_array;
|
||||
/**
|
||||
@@ -141,7 +141,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
protected: // Attribute
|
||||
protected: // Attributes
|
||||
/**
|
||||
* This element may specify its own xmlns.
|
||||
*/
|
||||
@@ -151,6 +151,11 @@ protected: // Attribute
|
||||
* document conforms. Required Attribute.
|
||||
*/
|
||||
domVersionType attrVersion;
|
||||
/**
|
||||
* The xml:base attribute allows you to define the base URI for this COLLADA
|
||||
* document. See http://www.w3.org/TR/xmlbase/ for more information.
|
||||
*/
|
||||
xsAnyURI attrXml_base;
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
@@ -248,6 +253,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -265,7 +274,8 @@ 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.setURI( xmlns.getURI() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the version attribute.
|
||||
@@ -276,7 +286,25 @@ public: //Accessors and Mutators
|
||||
* Sets the version attribute.
|
||||
* @param atVersion The new value for the version attribute.
|
||||
*/
|
||||
void setVersion( domVersionType atVersion ) { attrVersion = atVersion; }
|
||||
void setVersion( domVersionType atVersion ) { attrVersion = atVersion;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the xml_base attribute.
|
||||
* @return Returns a xsAnyURI reference of the xml_base attribute.
|
||||
*/
|
||||
xsAnyURI &getXml_base() { return attrXml_base; }
|
||||
/**
|
||||
* Gets the xml_base attribute.
|
||||
* @return Returns a constant xsAnyURI reference of the xml_base attribute.
|
||||
*/
|
||||
const xsAnyURI &getXml_base() const { return attrXml_base; }
|
||||
/**
|
||||
* 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() );
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
@@ -463,7 +491,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domCOLLADA() : attrVersion(), elemAsset(), elemLibrary_animations_array(), elemLibrary_animation_clips_array(), elemLibrary_cameras_array(), elemLibrary_controllers_array(), elemLibrary_geometries_array(), elemLibrary_effects_array(), elemLibrary_force_fields_array(), elemLibrary_images_array(), elemLibrary_lights_array(), elemLibrary_materials_array(), elemLibrary_nodes_array(), elemLibrary_physics_materials_array(), elemLibrary_physics_models_array(), elemLibrary_physics_scenes_array(), elemLibrary_visual_scenes_array(), elemScene(), elemExtra_array() {}
|
||||
domCOLLADA() : attrVersion(), attrXml_base(), elemAsset(), elemLibrary_animations_array(), elemLibrary_animation_clips_array(), elemLibrary_cameras_array(), elemLibrary_controllers_array(), elemLibrary_geometries_array(), elemLibrary_effects_array(), elemLibrary_force_fields_array(), elemLibrary_images_array(), elemLibrary_lights_array(), elemLibrary_materials_array(), elemLibrary_nodes_array(), elemLibrary_physics_materials_array(), elemLibrary_physics_models_array(), elemLibrary_physics_scenes_array(), elemLibrary_visual_scenes_array(), elemScene(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -98,6 +98,10 @@ public:
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -194,7 +198,7 @@ public:
|
||||
*/
|
||||
domTargetableFloatRef elemXfov;
|
||||
/**
|
||||
* The yfov element contains a floating point number describing the horizontal
|
||||
* The yfov element contains a floating point number describing the verticle
|
||||
* field of view in degrees. @see domYfov
|
||||
*/
|
||||
domTargetableFloatRef elemYfov;
|
||||
@@ -221,6 +225,10 @@ public:
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -316,6 +324,10 @@ public:
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -587,7 +599,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -598,7 +611,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -62,6 +62,20 @@ protected:
|
||||
*/
|
||||
class domCg_connect_param : public daeElement, public domCg_connect_param_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a domCg_identifier of the ref attribute.
|
||||
*/
|
||||
domCg_identifier getRef() const { return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( domCg_identifier atRef ) { attrRef = atRef;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -48,6 +48,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -137,6 +141,20 @@ protected:
|
||||
*/
|
||||
class domCg_newarray_type : public daeElement, public domCg_newarray_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the length attribute.
|
||||
* @return Returns a xsPositiveInteger of the length attribute.
|
||||
*/
|
||||
xsPositiveInteger getLength() const { return attrLength; }
|
||||
/**
|
||||
* Sets the length attribute.
|
||||
* @param atLength The new value for the length attribute.
|
||||
*/
|
||||
void setLength( xsPositiveInteger atLength ) { attrLength = atLength;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -48,14 +48,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -191,6 +191,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -275,6 +279,20 @@ protected:
|
||||
*/
|
||||
class domCg_newparam : public daeElement, public domCg_newparam_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a domCg_identifier of the sid attribute.
|
||||
*/
|
||||
domCg_identifier getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( domCg_identifier atSid ) { attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -7347,14 +7347,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a ::xsString of the value.
|
||||
* @return Returns a ::xsString of the value.
|
||||
*/
|
||||
::xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( ::xsString val ) { _value = val; }
|
||||
void setValue( ::xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -7581,6 +7581,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
|
||||
@@ -46,6 +46,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -125,6 +129,20 @@ protected:
|
||||
*/
|
||||
class domCg_setarray_type : public daeElement, public domCg_setarray_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the length attribute.
|
||||
* @return Returns a xsPositiveInteger of the length attribute.
|
||||
*/
|
||||
xsPositiveInteger getLength() const { return attrLength; }
|
||||
/**
|
||||
* Sets the length attribute.
|
||||
* @param atLength The new value for the length attribute.
|
||||
*/
|
||||
void setLength( xsPositiveInteger atLength ) { attrLength = atLength;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -39,6 +39,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -62,7 +66,7 @@ public: //Accessors and Mutators
|
||||
* Sets the program attribute.
|
||||
* @param atProgram The new value for the program attribute.
|
||||
*/
|
||||
void setProgram( xsNCName atProgram ) { attrProgram = atProgram; }
|
||||
void setProgram( xsNCName atProgram ) { *(daeStringRef*)&attrProgram = atProgram; }
|
||||
|
||||
/**
|
||||
* Gets the cg_param_type element.
|
||||
@@ -119,6 +123,32 @@ protected:
|
||||
*/
|
||||
class domCg_setparam : public daeElement, public domCg_setparam_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a domCg_identifier of the ref attribute.
|
||||
*/
|
||||
domCg_identifier getRef() const { return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( domCg_identifier atRef ) { attrRef = atRef;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the program attribute.
|
||||
* @return Returns a xsNCName of the program attribute.
|
||||
*/
|
||||
xsNCName getProgram() const { return attrProgram; }
|
||||
/**
|
||||
* Sets the program attribute.
|
||||
* @param atProgram The new value for the program attribute.
|
||||
*/
|
||||
void setProgram( xsNCName atProgram ) { *(daeStringRef*)&attrProgram = atProgram;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -79,6 +79,20 @@ protected:
|
||||
*/
|
||||
class domCg_setparam_simple : public daeElement, public domCg_setparam_simple_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a domCg_identifier of the ref attribute.
|
||||
*/
|
||||
domCg_identifier getRef() const { return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( domCg_identifier atRef ) { attrRef = atRef;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -20,24 +20,38 @@
|
||||
#include <dom/domCg_setarray_type.h>
|
||||
#include <dom/domCg_setuser_type.h>
|
||||
#include <dom/domCg_connect_param.h>
|
||||
#include <dom/domCg_setparam.h>
|
||||
|
||||
/**
|
||||
* Creates an instance of a structured class.
|
||||
*/
|
||||
class domCg_setuser_type_complexType
|
||||
{
|
||||
protected: // Attribute
|
||||
protected: // Attributes
|
||||
domCg_identifier attrName;
|
||||
/**
|
||||
* Reference a code or include element which defines the usertype
|
||||
*/
|
||||
xsNCName attrSource;
|
||||
|
||||
protected: // Elements
|
||||
domCg_param_type_Array elemCg_param_type_array;
|
||||
domCg_setarray_type_Array elemArray_array;
|
||||
domCg_setuser_type_Array elemUsertype_array;
|
||||
domCg_connect_param_Array elemConnect_param_array;
|
||||
/**
|
||||
* Use a series of these to set the members by name. The ref attribute will
|
||||
* be relative to the usertype you are in right now. @see domSetparam
|
||||
*/
|
||||
domCg_setparam_Array elemSetparam_array;
|
||||
/**
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -52,6 +66,17 @@ public: //Accessors and Mutators
|
||||
*/
|
||||
void setName( domCg_identifier atName ) { attrName = atName; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a xsNCName of the source attribute.
|
||||
*/
|
||||
xsNCName getSource() const { return attrSource; }
|
||||
/**
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( xsNCName atSource ) { *(daeStringRef*)&attrSource = atSource; }
|
||||
|
||||
/**
|
||||
* Gets the cg_param_type element array.
|
||||
* @return Returns a reference to the array of cg_param_type elements.
|
||||
@@ -92,6 +117,16 @@ public: //Accessors and Mutators
|
||||
* @return Returns a constant reference to the array of connect_param elements.
|
||||
*/
|
||||
const domCg_connect_param_Array &getConnect_param_array() const { return elemConnect_param_array; }
|
||||
/**
|
||||
* Gets the setparam element array.
|
||||
* @return Returns a reference to the array of setparam elements.
|
||||
*/
|
||||
domCg_setparam_Array &getSetparam_array() { return elemSetparam_array; }
|
||||
/**
|
||||
* Gets the setparam element array.
|
||||
* @return Returns a constant reference to the array of setparam elements.
|
||||
*/
|
||||
const domCg_setparam_Array &getSetparam_array() const { return elemSetparam_array; }
|
||||
/**
|
||||
* Gets the _contents array.
|
||||
* @return Returns a reference to the _contents element array.
|
||||
@@ -107,7 +142,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domCg_setuser_type_complexType() : attrName(), elemCg_param_type_array(), elemArray_array(), elemUsertype_array(), elemConnect_param_array() {}
|
||||
domCg_setuser_type_complexType() : attrName(), attrSource(), elemCg_param_type_array(), elemArray_array(), elemUsertype_array(), elemConnect_param_array(), elemSetparam_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
@@ -127,6 +162,32 @@ protected:
|
||||
*/
|
||||
class domCg_setuser_type : public daeElement, public domCg_setuser_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a domCg_identifier of the name attribute.
|
||||
*/
|
||||
domCg_identifier getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( domCg_identifier atName ) { attrName = atName;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a xsNCName of the source attribute.
|
||||
*/
|
||||
xsNCName getSource() const { return attrSource; }
|
||||
/**
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( xsNCName atSource ) { *(daeStringRef*)&attrSource = atSource;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -69,18 +69,19 @@ public:
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( xsNCName atSource ) { attrSource = atSource; }
|
||||
void setSource( xsNCName atSource ) { *(daeStringRef*)&attrSource = atSource;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -151,6 +152,10 @@ public:
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
|
||||
@@ -52,7 +52,8 @@ 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.setURI( atSource.getURI() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the target attribute.
|
||||
@@ -63,7 +64,8 @@ public: //Accessors and Mutators
|
||||
* Sets the target attribute.
|
||||
* @param atTarget The new value for the target attribute.
|
||||
*/
|
||||
void setTarget( xsToken atTarget ) { attrTarget = atTarget; }
|
||||
void setTarget( xsToken atTarget ) { *(daeStringRef*)&attrTarget = atTarget;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
|
||||
@@ -47,7 +47,8 @@ public:
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the _value array.
|
||||
@@ -125,7 +126,8 @@ public:
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( xsNCName atRef ) { attrRef = atRef; }
|
||||
void setRef( xsNCName atRef ) { *(daeStringRef*)&attrRef = atRef;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -190,7 +192,8 @@ public:
|
||||
* Sets the texture attribute.
|
||||
* @param atTexture The new value for the texture attribute.
|
||||
*/
|
||||
void setTexture( xsNCName atTexture ) { attrTexture = atTexture; }
|
||||
void setTexture( xsNCName atTexture ) { *(daeStringRef*)&attrTexture = atTexture;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the texcoord attribute.
|
||||
@@ -201,7 +204,8 @@ public:
|
||||
* Sets the texcoord attribute.
|
||||
* @param atTexcoord The new value for the texcoord attribute.
|
||||
*/
|
||||
void setTexcoord( xsNCName atTexcoord ) { attrTexcoord = atTexcoord; }
|
||||
void setTexcoord( xsNCName atTexcoord ) { *(daeStringRef*)&attrTexcoord = atTexcoord;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the extra element.
|
||||
@@ -248,7 +252,6 @@ public:
|
||||
};
|
||||
|
||||
|
||||
|
||||
protected: // Elements
|
||||
domColorRef elemColor;
|
||||
domParamRef elemParam;
|
||||
@@ -257,6 +260,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
|
||||
@@ -46,7 +46,8 @@ public:
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
@@ -119,7 +120,8 @@ public:
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( xsNCName atRef ) { attrRef = atRef; }
|
||||
void setRef( xsNCName atRef ) { *(daeStringRef*)&attrRef = atRef;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -169,6 +171,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
|
||||
@@ -39,14 +39,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -383,6 +383,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -395,7 +399,7 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the semantic element.
|
||||
@@ -467,6 +471,20 @@ protected:
|
||||
*/
|
||||
class domCommon_newparam_type : public daeElement, public domCommon_newparam_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* 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 __domCommon_transparent_type_h__
|
||||
#define __domCommon_transparent_type_h__
|
||||
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domCommon_color_or_texture_type.h>
|
||||
|
||||
/**
|
||||
* An element of type domCommon_transparent_type_complexType.
|
||||
*/
|
||||
class domCommon_transparent_type : public domCommon_color_or_texture_type
|
||||
{
|
||||
|
||||
protected: // Attribute
|
||||
domFx_opaque_enum attrOpaque;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the opaque attribute.
|
||||
* @return Returns a domFx_opaque_enum of the opaque attribute.
|
||||
*/
|
||||
domFx_opaque_enum getOpaque() const { return attrOpaque; }
|
||||
/**
|
||||
* Sets the opaque attribute.
|
||||
* @param atOpaque The new value for the opaque attribute.
|
||||
*/
|
||||
void setOpaque( domFx_opaque_enum atOpaque ) { attrOpaque = atOpaque;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domCommon_transparent_type() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domCommon_transparent_type() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domCommon_transparent_type( const domCommon_transparent_type &cpy ) : domCommon_color_or_texture_type() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domCommon_transparent_type &operator=( const domCommon_transparent_type &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
@@ -16,24 +16,28 @@
|
||||
|
||||
#include <dae/daeDomTypes.h>
|
||||
|
||||
//extern daeString COLLADA_VERSION;
|
||||
//extern daeString COLLADA_NAMESPACE;
|
||||
|
||||
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_TEXTURE;
|
||||
extern daeString COMMON_PROFILE_INPUT_TEXTANGENT;
|
||||
extern daeString COMMON_PROFILE_INPUT_UV;
|
||||
extern daeString COMMON_PROFILE_INPUT_VERTEX;
|
||||
extern daeString COMMON_PROFILE_INPUT_WEIGHT;
|
||||
@@ -62,8 +66,20 @@ 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_INIT_FROM;
|
||||
extern daeString COLLADA_ELEMENT_FORMAT;
|
||||
extern daeString COLLADA_ELEMENT_SIZE;
|
||||
extern daeString COLLADA_ELEMENT_VIEWPORT_RATIO;
|
||||
@@ -96,7 +112,6 @@ 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_SETPARAM_COMMON;
|
||||
extern daeString COLLADA_ELEMENT_FX_CODE_PROFILE;
|
||||
extern daeString COLLADA_ELEMENT_GL_SAMPLER1D;
|
||||
extern daeString COLLADA_ELEMENT_GL_SAMPLER2D;
|
||||
@@ -118,6 +133,7 @@ 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;
|
||||
@@ -150,6 +166,9 @@ 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;
|
||||
@@ -195,7 +214,6 @@ 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_FACE;
|
||||
extern daeString COLLADA_ELEMENT_MODE;
|
||||
extern daeString COLLADA_ELEMENT_CULL_FACE;
|
||||
extern daeString COLLADA_ELEMENT_DEPTH_FUNC;
|
||||
@@ -280,6 +298,7 @@ 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;
|
||||
@@ -387,7 +406,6 @@ 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_COLOR_MATERIAL_ENABLE;
|
||||
extern daeString COLLADA_ELEMENT_TEXTURE_PIPELINE_ENABLE;
|
||||
extern daeString COLLADA_ELEMENT_GLES_BASIC_TYPE_COMMON;
|
||||
extern daeString COLLADA_ELEMENT_COLLADA;
|
||||
@@ -423,6 +441,7 @@ 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;
|
||||
@@ -480,6 +499,7 @@ 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;
|
||||
|
||||
@@ -63,6 +63,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -75,7 +79,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -86,7 +91,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,6 +61,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -78,7 +82,8 @@ 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.setURI( atConvex_hull_of.getURI() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the source element array.
|
||||
|
||||
@@ -73,6 +73,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -85,7 +89,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -96,7 +101,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -46,6 +46,31 @@ class domTargetableFloat3;
|
||||
typedef daeSmartRef<domTargetableFloat3> domTargetableFloat3Ref;
|
||||
typedef daeTArray<domTargetableFloat3Ref> domTargetableFloat3_Array;
|
||||
|
||||
class domFx_surface_format_hint_common;
|
||||
|
||||
typedef daeSmartRef<domFx_surface_format_hint_common> domFx_surface_format_hint_commonRef;
|
||||
typedef daeTArray<domFx_surface_format_hint_commonRef> domFx_surface_format_hint_common_Array;
|
||||
|
||||
class domFx_surface_init_planar_common;
|
||||
|
||||
typedef daeSmartRef<domFx_surface_init_planar_common> domFx_surface_init_planar_commonRef;
|
||||
typedef daeTArray<domFx_surface_init_planar_commonRef> domFx_surface_init_planar_common_Array;
|
||||
|
||||
class domFx_surface_init_volume_common;
|
||||
|
||||
typedef daeSmartRef<domFx_surface_init_volume_common> domFx_surface_init_volume_commonRef;
|
||||
typedef daeTArray<domFx_surface_init_volume_commonRef> domFx_surface_init_volume_common_Array;
|
||||
|
||||
class domFx_surface_init_cube_common;
|
||||
|
||||
typedef daeSmartRef<domFx_surface_init_cube_common> domFx_surface_init_cube_commonRef;
|
||||
typedef daeTArray<domFx_surface_init_cube_commonRef> domFx_surface_init_cube_common_Array;
|
||||
|
||||
class domFx_surface_init_from_common;
|
||||
|
||||
typedef daeSmartRef<domFx_surface_init_from_common> domFx_surface_init_from_commonRef;
|
||||
typedef daeTArray<domFx_surface_init_from_commonRef> domFx_surface_init_from_common_Array;
|
||||
|
||||
class domFx_surface_common;
|
||||
|
||||
typedef daeSmartRef<domFx_surface_common> domFx_surface_commonRef;
|
||||
@@ -126,11 +151,6 @@ class domFx_newparam_common;
|
||||
typedef daeSmartRef<domFx_newparam_common> domFx_newparam_commonRef;
|
||||
typedef daeTArray<domFx_newparam_commonRef> domFx_newparam_common_Array;
|
||||
|
||||
class domFx_setparam_common;
|
||||
|
||||
typedef daeSmartRef<domFx_setparam_common> domFx_setparam_commonRef;
|
||||
typedef daeTArray<domFx_setparam_commonRef> domFx_setparam_common_Array;
|
||||
|
||||
class domFx_code_profile;
|
||||
|
||||
typedef daeSmartRef<domFx_code_profile> domFx_code_profileRef;
|
||||
@@ -206,6 +226,11 @@ class domCommon_color_or_texture_type;
|
||||
typedef daeSmartRef<domCommon_color_or_texture_type> domCommon_color_or_texture_typeRef;
|
||||
typedef daeTArray<domCommon_color_or_texture_typeRef> domCommon_color_or_texture_type_Array;
|
||||
|
||||
class domCommon_transparent_type;
|
||||
|
||||
typedef daeSmartRef<domCommon_transparent_type> domCommon_transparent_typeRef;
|
||||
typedef daeTArray<domCommon_transparent_typeRef> domCommon_transparent_type_Array;
|
||||
|
||||
class domCommon_newparam_type;
|
||||
|
||||
typedef daeSmartRef<domCommon_newparam_type> domCommon_newparam_typeRef;
|
||||
@@ -336,6 +361,11 @@ class domGles_newparam;
|
||||
typedef daeSmartRef<domGles_newparam> domGles_newparamRef;
|
||||
typedef daeTArray<domGles_newparamRef> domGles_newparam_Array;
|
||||
|
||||
class domFx_surface_init_common;
|
||||
|
||||
typedef daeSmartRef<domFx_surface_init_common> domFx_surface_init_commonRef;
|
||||
typedef daeTArray<domFx_surface_init_commonRef> domFx_surface_init_common_Array;
|
||||
|
||||
class domFx_annotate_type_common;
|
||||
|
||||
typedef daeSmartRef<domFx_annotate_type_common> domFx_annotate_type_commonRef;
|
||||
|
||||
@@ -63,7 +63,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -74,7 +75,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the type attribute.
|
||||
@@ -85,7 +87,8 @@ public: //Accessors and Mutators
|
||||
* Sets the type attribute.
|
||||
* @param atType The new value for the type attribute.
|
||||
*/
|
||||
void setType( xsNMTOKEN atType ) { attrType = atType; }
|
||||
void setType( xsNMTOKEN atType ) { *(daeStringRef*)&attrType = atType;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -68,7 +68,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -79,7 +80,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the count attribute.
|
||||
@@ -90,7 +92,8 @@ public: //Accessors and Mutators
|
||||
* Sets the count attribute.
|
||||
* @param atCount The new value for the count attribute.
|
||||
*/
|
||||
void setCount( domUint atCount ) { attrCount = atCount; }
|
||||
void setCount( domUint atCount ) { attrCount = atCount;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the digits attribute.
|
||||
@@ -101,7 +104,8 @@ public: //Accessors and Mutators
|
||||
* Sets the digits attribute.
|
||||
* @param atDigits The new value for the digits attribute.
|
||||
*/
|
||||
void setDigits( xsShort atDigits ) { attrDigits = atDigits; }
|
||||
void setDigits( xsShort atDigits ) { attrDigits = atDigits;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
/**
|
||||
* Gets the magnitude attribute.
|
||||
@@ -112,7 +116,8 @@ public: //Accessors and Mutators
|
||||
* Sets the magnitude attribute.
|
||||
* @param atMagnitude The new value for the magnitude attribute.
|
||||
*/
|
||||
void setMagnitude( xsShort atMagnitude ) { attrMagnitude = atMagnitude; }
|
||||
void setMagnitude( xsShort atMagnitude ) { attrMagnitude = atMagnitude;
|
||||
_validAttributeArray[4] = true; }
|
||||
|
||||
/**
|
||||
* Gets the _value array.
|
||||
|
||||
@@ -63,7 +63,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -74,7 +75,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -36,7 +36,7 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName; }
|
||||
|
||||
/**
|
||||
* Gets the fx_annotate_type_common element.
|
||||
@@ -67,6 +67,20 @@ protected:
|
||||
*/
|
||||
class domFx_annotate_common : public daeElement, public domFx_annotate_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -1075,14 +1075,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a ::xsString of the value.
|
||||
* @return Returns a ::xsString of the value.
|
||||
*/
|
||||
::xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( ::xsString val ) { _value = val; }
|
||||
void setValue( ::xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -1146,6 +1146,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
|
||||
@@ -1987,14 +1987,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -2078,6 +2078,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
|
||||
@@ -80,6 +80,20 @@ protected:
|
||||
*/
|
||||
class domFx_clearcolor_common : public daeElement, public domFx_clearcolor_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the index attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the index attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getIndex() const { return attrIndex; }
|
||||
/**
|
||||
* Sets the index attribute.
|
||||
* @param atIndex The new value for the index attribute.
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -75,6 +75,20 @@ protected:
|
||||
*/
|
||||
class domFx_cleardepth_common : public daeElement, public domFx_cleardepth_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the index attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the index attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getIndex() const { return attrIndex; }
|
||||
/**
|
||||
* Sets the index attribute.
|
||||
* @param atIndex The new value for the index attribute.
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -75,6 +75,20 @@ protected:
|
||||
*/
|
||||
class domFx_clearstencil_common : public daeElement, public domFx_clearstencil_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the index attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the index attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getIndex() const { return attrIndex; }
|
||||
/**
|
||||
* Sets the index attribute.
|
||||
* @param atIndex The new value for the index attribute.
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -47,18 +47,18 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsString of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -84,6 +84,20 @@ protected:
|
||||
*/
|
||||
class domFx_code_profile : public daeElement, public domFx_code_profile_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -21,6 +21,8 @@ class domFx_colortarget_common_complexType
|
||||
{
|
||||
protected: // Attributes
|
||||
xsNonNegativeInteger attrIndex;
|
||||
domFx_surface_face_enum attrFace;
|
||||
xsNonNegativeInteger attrMip;
|
||||
xsNonNegativeInteger attrSlice;
|
||||
|
||||
protected: // Value
|
||||
@@ -41,6 +43,28 @@ public: //Accessors and Mutators
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
|
||||
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the mip attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the slice attribute.
|
||||
@@ -54,20 +78,20 @@ public: //Accessors and Mutators
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_colortarget_common_complexType() : attrIndex(), attrSlice(), _value() {}
|
||||
domFx_colortarget_common_complexType() : attrIndex(), attrFace(), attrMip(), attrSlice(), _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
@@ -87,6 +111,56 @@ protected:
|
||||
*/
|
||||
class domFx_colortarget_common : public daeElement, public domFx_colortarget_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the index attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the index attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getIndex() const { return attrIndex; }
|
||||
/**
|
||||
* Sets the index attribute.
|
||||
* @param atIndex The new value for the index attribute.
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the mip attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the slice attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getSlice() const { return attrSlice; }
|
||||
/**
|
||||
* Sets the slice attribute.
|
||||
* @param atSlice The new value for the slice attribute.
|
||||
*/
|
||||
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -21,6 +21,8 @@ class domFx_depthtarget_common_complexType
|
||||
{
|
||||
protected: // Attributes
|
||||
xsNonNegativeInteger attrIndex;
|
||||
domFx_surface_face_enum attrFace;
|
||||
xsNonNegativeInteger attrMip;
|
||||
xsNonNegativeInteger attrSlice;
|
||||
|
||||
protected: // Value
|
||||
@@ -41,6 +43,28 @@ public: //Accessors and Mutators
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
|
||||
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the mip attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the slice attribute.
|
||||
@@ -54,20 +78,20 @@ public: //Accessors and Mutators
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_depthtarget_common_complexType() : attrIndex(), attrSlice(), _value() {}
|
||||
domFx_depthtarget_common_complexType() : attrIndex(), attrFace(), attrMip(), attrSlice(), _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
@@ -87,6 +111,56 @@ protected:
|
||||
*/
|
||||
class domFx_depthtarget_common : public daeElement, public domFx_depthtarget_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the index attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the index attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getIndex() const { return attrIndex; }
|
||||
/**
|
||||
* Sets the index attribute.
|
||||
* @param atIndex The new value for the index attribute.
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the mip attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the slice attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getSlice() const { return attrSlice; }
|
||||
/**
|
||||
* Sets the slice attribute.
|
||||
* @param atSlice The new value for the slice attribute.
|
||||
*/
|
||||
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -49,7 +49,7 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the url attribute.
|
||||
@@ -91,6 +91,37 @@ protected:
|
||||
*/
|
||||
class domFx_include_common : public daeElement, public domFx_include_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the url attribute.
|
||||
* @return Returns a xsAnyURI reference of the url attribute.
|
||||
*/
|
||||
xsAnyURI &getUrl() { return attrUrl; }
|
||||
/**
|
||||
* Gets the url attribute.
|
||||
* @return Returns a constant xsAnyURI reference of the url attribute.
|
||||
*/
|
||||
const xsAnyURI &getUrl() const { return attrUrl; }
|
||||
/**
|
||||
* Sets the url attribute.
|
||||
* @param atUrl The new value for the url attribute.
|
||||
*/
|
||||
void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() );
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -46,14 +46,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -199,7 +199,7 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the annotate element array.
|
||||
@@ -250,6 +250,20 @@ protected:
|
||||
*/
|
||||
class domFx_newparam_common : public daeElement, public domFx_newparam_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domExtra.h>
|
||||
|
||||
/**
|
||||
* A one-dimensional texture sampler.
|
||||
@@ -40,14 +41,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -559,6 +560,7 @@ protected: // Elements
|
||||
domBorder_colorRef elemBorder_color;
|
||||
domMipmap_maxlevelRef elemMipmap_maxlevel;
|
||||
domMipmap_biasRef elemMipmap_bias;
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
@@ -601,11 +603,21 @@ public: //Accessors and Mutators
|
||||
* @return a daeSmartRef to the mipmap_bias element.
|
||||
*/
|
||||
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_sampler1D_common_complexType() : elemSource(), elemWrap_s(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||
domFx_sampler1D_common_complexType() : elemSource(), elemWrap_s(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domExtra.h>
|
||||
|
||||
/**
|
||||
* A two-dimensional texture sampler.
|
||||
@@ -40,14 +41,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -625,6 +626,7 @@ protected: // Elements
|
||||
domBorder_colorRef elemBorder_color;
|
||||
domMipmap_maxlevelRef elemMipmap_maxlevel;
|
||||
domMipmap_biasRef elemMipmap_bias;
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
@@ -672,11 +674,21 @@ public: //Accessors and Mutators
|
||||
* @return a daeSmartRef to the mipmap_bias element.
|
||||
*/
|
||||
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_sampler2D_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||
domFx_sampler2D_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domExtra.h>
|
||||
|
||||
/**
|
||||
* A three-dimensional texture sampler.
|
||||
@@ -40,14 +41,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -691,6 +692,7 @@ protected: // Elements
|
||||
domBorder_colorRef elemBorder_color;
|
||||
domMipmap_maxlevelRef elemMipmap_maxlevel;
|
||||
domMipmap_biasRef elemMipmap_bias;
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
@@ -743,11 +745,21 @@ public: //Accessors and Mutators
|
||||
* @return a daeSmartRef to the mipmap_bias element.
|
||||
*/
|
||||
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_sampler3D_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||
domFx_sampler3D_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domExtra.h>
|
||||
|
||||
/**
|
||||
* A texture sampler for cube maps.
|
||||
@@ -40,14 +41,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -691,6 +692,7 @@ protected: // Elements
|
||||
domBorder_colorRef elemBorder_color;
|
||||
domMipmap_maxlevelRef elemMipmap_maxlevel;
|
||||
domMipmap_biasRef elemMipmap_bias;
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
@@ -743,11 +745,21 @@ public: //Accessors and Mutators
|
||||
* @return a daeSmartRef to the mipmap_bias element.
|
||||
*/
|
||||
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_samplerCUBE_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||
domFx_samplerCUBE_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemWrap_p(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domExtra.h>
|
||||
|
||||
/**
|
||||
* A texture sampler for depth maps.
|
||||
@@ -40,14 +41,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -356,6 +357,7 @@ protected: // Elements
|
||||
domWrap_tRef elemWrap_t;
|
||||
domMinfilterRef elemMinfilter;
|
||||
domMagfilterRef elemMagfilter;
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
@@ -383,11 +385,21 @@ public: //Accessors and Mutators
|
||||
* @return a daeSmartRef to the magfilter element.
|
||||
*/
|
||||
const domMagfilterRef getMagfilter() const { return elemMagfilter; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_samplerDEPTH_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter() {}
|
||||
domFx_samplerDEPTH_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domExtra.h>
|
||||
|
||||
/**
|
||||
* A two-dimensional texture sampler.
|
||||
@@ -40,14 +41,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -625,6 +626,7 @@ protected: // Elements
|
||||
domBorder_colorRef elemBorder_color;
|
||||
domMipmap_maxlevelRef elemMipmap_maxlevel;
|
||||
domMipmap_biasRef elemMipmap_bias;
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
@@ -672,11 +674,21 @@ public: //Accessors and Mutators
|
||||
* @return a daeSmartRef to the mipmap_bias element.
|
||||
*/
|
||||
const domMipmap_biasRef getMipmap_bias() const { return elemMipmap_bias; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_samplerRECT_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias() {}
|
||||
domFx_samplerRECT_common_complexType() : elemSource(), elemWrap_s(), elemWrap_t(), elemMinfilter(), elemMagfilter(), elemMipfilter(), elemBorder_color(), elemMipmap_maxlevel(), elemMipmap_bias(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -21,6 +21,8 @@ class domFx_stenciltarget_common_complexType
|
||||
{
|
||||
protected: // Attributes
|
||||
xsNonNegativeInteger attrIndex;
|
||||
domFx_surface_face_enum attrFace;
|
||||
xsNonNegativeInteger attrMip;
|
||||
xsNonNegativeInteger attrSlice;
|
||||
|
||||
protected: // Value
|
||||
@@ -41,6 +43,28 @@ public: //Accessors and Mutators
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
|
||||
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the mip attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the slice attribute.
|
||||
@@ -54,20 +78,20 @@ public: //Accessors and Mutators
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_stenciltarget_common_complexType() : attrIndex(), attrSlice(), _value() {}
|
||||
domFx_stenciltarget_common_complexType() : attrIndex(), attrFace(), attrMip(), attrSlice(), _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
@@ -87,6 +111,56 @@ protected:
|
||||
*/
|
||||
class domFx_stenciltarget_common : public daeElement, public domFx_stenciltarget_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the index attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the index attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getIndex() const { return attrIndex; }
|
||||
/**
|
||||
* Sets the index attribute.
|
||||
* @param atIndex The new value for the index attribute.
|
||||
*/
|
||||
void setIndex( xsNonNegativeInteger atIndex ) { attrIndex = atIndex;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the mip attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsNonNegativeInteger atMip ) { attrMip = atMip;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsNonNegativeInteger of the slice attribute.
|
||||
*/
|
||||
xsNonNegativeInteger getSlice() const { return attrSlice; }
|
||||
/**
|
||||
* Sets the slice attribute.
|
||||
* @param atSlice The new value for the slice attribute.
|
||||
*/
|
||||
void setSlice( xsNonNegativeInteger atSlice ) { attrSlice = atSlice;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -16,6 +16,9 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domFx_surface_init_common.h>
|
||||
#include <dom/domExtra.h>
|
||||
#include <dom/domFx_surface_format_hint_common.h>
|
||||
|
||||
/**
|
||||
* The fx_surface_common type is used to declare a resource that can be used
|
||||
@@ -25,142 +28,37 @@
|
||||
class domFx_surface_common_complexType
|
||||
{
|
||||
public:
|
||||
class domInit_from;
|
||||
|
||||
typedef daeSmartRef<domInit_from> domInit_fromRef;
|
||||
typedef daeTArray<domInit_fromRef> domInit_from_Array;
|
||||
|
||||
/**
|
||||
* The init_from element is a list of IDREFs which specify the images to use
|
||||
* to initialize this surface.
|
||||
*/
|
||||
class domInit_from : public daeElement
|
||||
{
|
||||
protected: // Attributes
|
||||
xsUnsignedInt attrMip;
|
||||
xsUnsignedInt attrSlice;
|
||||
domFx_surface_face_enum attrFace;
|
||||
|
||||
protected: // Value
|
||||
/**
|
||||
* The xsIDREFS value of the text data of this element.
|
||||
*/
|
||||
xsIDREFS _value;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsUnsignedInt of the mip attribute.
|
||||
*/
|
||||
xsUnsignedInt getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsUnsignedInt atMip ) { attrMip = atMip; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsUnsignedInt of the slice attribute.
|
||||
*/
|
||||
xsUnsignedInt getSlice() const { return attrSlice; }
|
||||
/**
|
||||
* Sets the slice attribute.
|
||||
* @param atSlice The new value for the slice attribute.
|
||||
*/
|
||||
void setSlice( xsUnsignedInt atSlice ) { attrSlice = atSlice; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
|
||||
|
||||
/**
|
||||
* Gets the _value array.
|
||||
* @return Returns a xsIDREFS reference of the _value array.
|
||||
*/
|
||||
xsIDREFS &getValue() { return _value; }
|
||||
/**
|
||||
* Gets the _value array.
|
||||
* @return Returns a constant xsIDREFS reference of the _value array.
|
||||
*/
|
||||
const xsIDREFS &getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value array.
|
||||
* @param val The new value for the _value array.
|
||||
*/
|
||||
void setValue( const xsIDREFS &val ) { _value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInit_from() : attrMip(), attrSlice(), attrFace(), _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domInit_from() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domInit_from( const domInit_from &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domInit_from &operator=( const domInit_from &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domFormat;
|
||||
|
||||
typedef daeSmartRef<domFormat> domFormatRef;
|
||||
typedef daeTArray<domFormatRef> domFormat_Array;
|
||||
|
||||
/**
|
||||
* Contains a string representing the profile and platform specific texel
|
||||
* format that the author would like this surface to use. If this element
|
||||
* is not specified then the application will use a common format R8G8B8A8
|
||||
* with linear color gradient, not sRGB.
|
||||
*/
|
||||
class domFormat : public daeElement
|
||||
{
|
||||
|
||||
protected: // Value
|
||||
/**
|
||||
* The xsString value of the text data of this element.
|
||||
* The xsToken value of the text data of this element.
|
||||
*/
|
||||
xsString _value;
|
||||
xsToken _value;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsString of the value.
|
||||
* @return Returns a xsToken of the value.
|
||||
*/
|
||||
xsString getValue() const { return _value; }
|
||||
xsToken getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsString val ) { _value = val; }
|
||||
void setValue( xsToken val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -206,6 +104,9 @@ public:
|
||||
typedef daeSmartRef<domSize> domSizeRef;
|
||||
typedef daeTArray<domSizeRef> domSize_Array;
|
||||
|
||||
/**
|
||||
* The surface should be sized to these exact dimensions
|
||||
*/
|
||||
class domSize : public daeElement
|
||||
{
|
||||
|
||||
@@ -276,6 +177,10 @@ public:
|
||||
typedef daeSmartRef<domViewport_ratio> domViewport_ratioRef;
|
||||
typedef daeTArray<domViewport_ratioRef> domViewport_ratio_Array;
|
||||
|
||||
/**
|
||||
* The surface should be sized to a dimension based on this ratio of the viewport's
|
||||
* dimensions in pixels
|
||||
*/
|
||||
class domViewport_ratio : public daeElement
|
||||
{
|
||||
|
||||
@@ -346,6 +251,13 @@ public:
|
||||
typedef daeSmartRef<domMip_levels> domMip_levelsRef;
|
||||
typedef daeTArray<domMip_levelsRef> domMip_levels_Array;
|
||||
|
||||
/**
|
||||
* the surface should contain the following number of MIP levels. If this
|
||||
* element is not present it is assumed that all miplevels exist until a dimension
|
||||
* becomes 1 texel. To create a surface that has only one level of mip maps
|
||||
* (mip=0) set this to 1. If the value is 0 the result is the same as if
|
||||
* mip_levels was unspecified, all possible mip_levels will exist.
|
||||
*/
|
||||
class domMip_levels : public daeElement
|
||||
{
|
||||
|
||||
@@ -411,6 +323,12 @@ public:
|
||||
typedef daeSmartRef<domMipmap_generate> domMipmap_generateRef;
|
||||
typedef daeTArray<domMipmap_generateRef> domMipmap_generate_Array;
|
||||
|
||||
/**
|
||||
* By default it is assumed that mipmaps are supplied by the author so, if
|
||||
* not all subsurfaces are initialized, it is invalid and will result in profile
|
||||
* and platform specific behavior unless mipmap_generate is responsible for
|
||||
* initializing the remainder of the sub-surfaces
|
||||
*/
|
||||
class domMipmap_generate : public daeElement
|
||||
{
|
||||
|
||||
@@ -473,23 +391,71 @@ public:
|
||||
|
||||
|
||||
protected: // Attribute
|
||||
/**
|
||||
* Specifying the type of a surface is mandatory though the type may be "UNTYPED".
|
||||
* When a surface is typed as UNTYPED, it is said to be temporarily untyped
|
||||
* and instead will be typed later by the context it is used in such as which
|
||||
* samplers reference it in that are used in a particular technique or pass.
|
||||
* If there is a type mismatch between what is set into it later and what
|
||||
* the runtime decides the type should be the result in profile and platform
|
||||
* specific behavior.
|
||||
*/
|
||||
domFx_surface_type_enum attrType;
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
* The init_from element is a list of IDREFs which specify the images to use
|
||||
* to initialize this surface. @see domInit_from
|
||||
* The common set of initalization options for surfaces. Choose which is
|
||||
* appropriate for your surface based on the type attribute and other characteristics
|
||||
* described by the annotation docs on the choiced child elements of this
|
||||
* type. @see domFx_surface_init_common
|
||||
*/
|
||||
domFx_surface_init_commonRef elemFx_surface_init_common;
|
||||
/**
|
||||
* Contains a string representing the profile and platform specific texel
|
||||
* format that the author would like this surface to use. If this element
|
||||
* is not specified then the application will use a common format R8G8B8A8
|
||||
* with linear color gradient, not sRGB. @see domFormat
|
||||
*/
|
||||
domInit_from_Array elemInit_from_array;
|
||||
domFormatRef elemFormat;
|
||||
/**
|
||||
* If the exact format cannot be resolved via the "format" element then the
|
||||
* format_hint will describe the important features of the format so that
|
||||
* the application may select a compatable or close format @see domFormat_hint
|
||||
*/
|
||||
domFx_surface_format_hint_commonRef elemFormat_hint;
|
||||
/**
|
||||
* The surface should be sized to these exact dimensions @see domSize
|
||||
*/
|
||||
domSizeRef elemSize;
|
||||
/**
|
||||
* The surface should be sized to a dimension based on this ratio of the viewport's
|
||||
* dimensions in pixels @see domViewport_ratio
|
||||
*/
|
||||
domViewport_ratioRef elemViewport_ratio;
|
||||
/**
|
||||
* the surface should contain the following number of MIP levels. If this
|
||||
* element is not present it is assumed that all miplevels exist until a dimension
|
||||
* becomes 1 texel. To create a surface that has only one level of mip maps
|
||||
* (mip=0) set this to 1. If the value is 0 the result is the same as if
|
||||
* mip_levels was unspecified, all possible mip_levels will exist. @see domMip_levels
|
||||
*/
|
||||
domMip_levelsRef elemMip_levels;
|
||||
/**
|
||||
* By default it is assumed that mipmaps are supplied by the author so, if
|
||||
* not all subsurfaces are initialized, it is invalid and will result in profile
|
||||
* and platform specific behavior unless mipmap_generate is responsible for
|
||||
* initializing the remainder of the sub-surfaces @see domMipmap_generate
|
||||
*/
|
||||
domMipmap_generateRef elemMipmap_generate;
|
||||
domExtra_Array elemExtra_array;
|
||||
/**
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -505,20 +471,20 @@ public: //Accessors and Mutators
|
||||
void setType( domFx_surface_type_enum atType ) { attrType = atType; }
|
||||
|
||||
/**
|
||||
* Gets the init_from element array.
|
||||
* @return Returns a reference to the array of init_from elements.
|
||||
* Gets the fx_surface_init_common element.
|
||||
* @return a daeSmartRef to the fx_surface_init_common element.
|
||||
*/
|
||||
domInit_from_Array &getInit_from_array() { return elemInit_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 { return elemInit_from_array; }
|
||||
const domFx_surface_init_commonRef getFx_surface_init_common() const { return elemFx_surface_init_common; }
|
||||
/**
|
||||
* Gets the format element.
|
||||
* @return a daeSmartRef to the format element.
|
||||
*/
|
||||
const domFormatRef getFormat() const { return elemFormat; }
|
||||
/**
|
||||
* Gets the format_hint element.
|
||||
* @return a daeSmartRef to the format_hint element.
|
||||
*/
|
||||
const domFx_surface_format_hint_commonRef getFormat_hint() const { return elemFormat_hint; }
|
||||
/**
|
||||
* Gets the size element.
|
||||
* @return a daeSmartRef to the size element.
|
||||
@@ -539,6 +505,16 @@ public: //Accessors and Mutators
|
||||
* @return a daeSmartRef to the mipmap_generate element.
|
||||
*/
|
||||
const domMipmap_generateRef getMipmap_generate() const { return elemMipmap_generate; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the _contents array.
|
||||
* @return Returns a reference to the _contents element array.
|
||||
@@ -554,7 +530,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_common_complexType() : attrType(), elemInit_from_array(), elemFormat(), elemSize(), elemViewport_ratio(), elemMip_levels(), elemMipmap_generate() {}
|
||||
domFx_surface_common_complexType() : attrType(), elemFx_surface_init_common(), elemFormat(), elemFormat_hint(), elemSize(), elemViewport_ratio(), elemMip_levels(), elemMipmap_generate(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
@@ -567,6 +543,25 @@ protected:
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_common_complexType &operator=( const domFx_surface_common_complexType &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: //Backwards Compatibility
|
||||
typedef domFx_surface_init_from_common domInit_from;
|
||||
typedef domFx_surface_init_from_commonRef domInit_fromRef;
|
||||
typedef domFx_surface_init_from_common_Array domInit_from_Array;
|
||||
|
||||
/**
|
||||
* Gets the init_from element array.
|
||||
* @return Returns a reference to the array of init_from elements.
|
||||
*/
|
||||
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;
|
||||
|
||||
private:
|
||||
domInit_from_Array emptyArray;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -574,6 +569,20 @@ protected:
|
||||
*/
|
||||
class domFx_surface_common : public daeElement, public domFx_surface_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the type attribute.
|
||||
* @return Returns a domFx_surface_type_enum of the type attribute.
|
||||
*/
|
||||
domFx_surface_type_enum getType() const { return attrType; }
|
||||
/**
|
||||
* Sets the type attribute.
|
||||
* @param atType The new value for the type attribute.
|
||||
*/
|
||||
void setType( domFx_surface_type_enum atType ) { attrType = atType;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -0,0 +1,438 @@
|
||||
/*
|
||||
* 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 __domFx_surface_format_hint_common_h__
|
||||
#define __domFx_surface_format_hint_common_h__
|
||||
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domExtra.h>
|
||||
|
||||
/**
|
||||
* If the exact format cannot be resolve via other methods then the format_hint
|
||||
* will describe the important features of the format so that the application
|
||||
* may select a compatable or close format
|
||||
*/
|
||||
class domFx_surface_format_hint_common_complexType
|
||||
{
|
||||
public:
|
||||
class domChannels;
|
||||
|
||||
typedef daeSmartRef<domChannels> domChannelsRef;
|
||||
typedef daeTArray<domChannelsRef> domChannels_Array;
|
||||
|
||||
/**
|
||||
* The per-texel layout of the format. The length of the string indicate
|
||||
* how many channels there are and the letter respresents the name of the
|
||||
* channel. There are typically 0 to 4 channels.
|
||||
*/
|
||||
class domChannels : public daeElement
|
||||
{
|
||||
|
||||
protected: // Value
|
||||
/**
|
||||
* The domFx_surface_format_hint_channels_enum value of the text data of this element.
|
||||
*/
|
||||
domFx_surface_format_hint_channels_enum _value;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a domFx_surface_format_hint_channels_enum of the value.
|
||||
*/
|
||||
domFx_surface_format_hint_channels_enum getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( domFx_surface_format_hint_channels_enum val ) { _value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domChannels() : _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domChannels() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domChannels( const domChannels &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domChannels &operator=( const domChannels &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domRange;
|
||||
|
||||
typedef daeSmartRef<domRange> domRangeRef;
|
||||
typedef daeTArray<domRangeRef> domRange_Array;
|
||||
|
||||
/**
|
||||
* Each channel represents a range of values. Some example ranges are signed
|
||||
* or unsigned integers, or between between a clamped range such as 0.0f to
|
||||
* 1.0f, or high dynamic range via floating point
|
||||
*/
|
||||
class domRange : public daeElement
|
||||
{
|
||||
|
||||
protected: // Value
|
||||
/**
|
||||
* The domFx_surface_format_hint_range_enum value of the text data of this element.
|
||||
*/
|
||||
domFx_surface_format_hint_range_enum _value;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a domFx_surface_format_hint_range_enum of the value.
|
||||
*/
|
||||
domFx_surface_format_hint_range_enum getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( domFx_surface_format_hint_range_enum val ) { _value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domRange() : _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domRange() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domRange( const domRange &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domRange &operator=( const domRange &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domPrecision;
|
||||
|
||||
typedef daeSmartRef<domPrecision> domPrecisionRef;
|
||||
typedef daeTArray<domPrecisionRef> domPrecision_Array;
|
||||
|
||||
/**
|
||||
* Each channel of the texel has a precision. Typically these are all linked
|
||||
* together. An exact format lay lower the precision of an individual channel
|
||||
* but applying a higher precision by linking the channels together may still
|
||||
* convey the same information.
|
||||
*/
|
||||
class domPrecision : public daeElement
|
||||
{
|
||||
|
||||
protected: // Value
|
||||
/**
|
||||
* The domFx_surface_format_hint_precision_enum value of the text data of this element.
|
||||
*/
|
||||
domFx_surface_format_hint_precision_enum _value;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a domFx_surface_format_hint_precision_enum of the value.
|
||||
*/
|
||||
domFx_surface_format_hint_precision_enum getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( domFx_surface_format_hint_precision_enum val ) { _value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domPrecision() : _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domPrecision() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domPrecision( const domPrecision &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domPrecision &operator=( const domPrecision &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domOption;
|
||||
|
||||
typedef daeSmartRef<domOption> domOptionRef;
|
||||
typedef daeTArray<domOptionRef> domOption_Array;
|
||||
|
||||
/**
|
||||
* Additional hints about data relationships and other things to help the
|
||||
* application pick the best format.
|
||||
*/
|
||||
class domOption : public daeElement
|
||||
{
|
||||
|
||||
protected: // Value
|
||||
/**
|
||||
* The domFx_surface_format_hint_option_enum value of the text data of this element.
|
||||
*/
|
||||
domFx_surface_format_hint_option_enum _value;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a domFx_surface_format_hint_option_enum of the value.
|
||||
*/
|
||||
domFx_surface_format_hint_option_enum getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( domFx_surface_format_hint_option_enum val ) { _value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domOption() : _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domOption() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domOption( const domOption &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domOption &operator=( const domOption &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
* The per-texel layout of the format. The length of the string indicate
|
||||
* how many channels there are and the letter respresents the name of the
|
||||
* channel. There are typically 0 to 4 channels. @see domChannels
|
||||
*/
|
||||
domChannelsRef elemChannels;
|
||||
/**
|
||||
* Each channel represents a range of values. Some example ranges are signed
|
||||
* or unsigned integers, or between between a clamped range such as 0.0f to
|
||||
* 1.0f, or high dynamic range via floating point @see domRange
|
||||
*/
|
||||
domRangeRef elemRange;
|
||||
/**
|
||||
* Each channel of the texel has a precision. Typically these are all linked
|
||||
* together. An exact format lay lower the precision of an individual channel
|
||||
* but applying a higher precision by linking the channels together may still
|
||||
* convey the same information. @see domPrecision
|
||||
*/
|
||||
domPrecisionRef elemPrecision;
|
||||
/**
|
||||
* Additional hints about data relationships and other things to help the
|
||||
* application pick the best format. @see domOption
|
||||
*/
|
||||
domOption_Array elemOption_array;
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the channels element.
|
||||
* @return a daeSmartRef to the channels element.
|
||||
*/
|
||||
const domChannelsRef getChannels() const { return elemChannels; }
|
||||
/**
|
||||
* Gets the range element.
|
||||
* @return a daeSmartRef to the range element.
|
||||
*/
|
||||
const domRangeRef getRange() const { return elemRange; }
|
||||
/**
|
||||
* Gets the precision element.
|
||||
* @return a daeSmartRef to the precision element.
|
||||
*/
|
||||
const domPrecisionRef getPrecision() const { return elemPrecision; }
|
||||
/**
|
||||
* Gets the option element array.
|
||||
* @return Returns a reference to the array of option elements.
|
||||
*/
|
||||
domOption_Array &getOption_array() { return elemOption_array; }
|
||||
/**
|
||||
* Gets the option element array.
|
||||
* @return Returns a constant reference to the array of option elements.
|
||||
*/
|
||||
const domOption_Array &getOption_array() const { return elemOption_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_format_hint_common_complexType() : elemChannels(), elemRange(), elemPrecision(), elemOption_array(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_format_hint_common_complexType() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_format_hint_common_complexType( const domFx_surface_format_hint_common_complexType &cpy ) { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_format_hint_common_complexType &operator=( const domFx_surface_format_hint_common_complexType &cpy ) { (void)cpy; return *this; }
|
||||
};
|
||||
|
||||
/**
|
||||
* An element of type domFx_surface_format_hint_common_complexType.
|
||||
*/
|
||||
class domFx_surface_format_hint_common : public daeElement, public domFx_surface_format_hint_common_complexType
|
||||
{
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_format_hint_common() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_format_hint_common() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_format_hint_common( const domFx_surface_format_hint_common &cpy ) : daeElement(), domFx_surface_format_hint_common_complexType() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_format_hint_common &operator=( const domFx_surface_format_hint_common &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
272
Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_common.h
Normal file
272
Extras/COLLADA_DOM/include/1.4/dom/domFx_surface_init_common.h
Normal file
@@ -0,0 +1,272 @@
|
||||
/*
|
||||
* 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 __domFx_surface_init_common_h__
|
||||
#define __domFx_surface_init_common_h__
|
||||
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domFx_surface_init_cube_common.h>
|
||||
#include <dom/domFx_surface_init_volume_common.h>
|
||||
#include <dom/domFx_surface_init_planar_common.h>
|
||||
#include <dom/domFx_surface_init_from_common.h>
|
||||
|
||||
/**
|
||||
* The common set of initalization options for surfaces. Choose which is
|
||||
* appropriate for your surface based on type and other characteristics. described
|
||||
* by the annotation docs on the child elements.
|
||||
*/
|
||||
class domFx_surface_init_common : public daeElement
|
||||
{
|
||||
public:
|
||||
class domInit_as_null;
|
||||
|
||||
typedef daeSmartRef<domInit_as_null> domInit_as_nullRef;
|
||||
typedef daeTArray<domInit_as_nullRef> domInit_as_null_Array;
|
||||
|
||||
/**
|
||||
* This surface is intended to be initialized later externally by a "setparam"
|
||||
* element. If it is used before being initialized there is profile and platform
|
||||
* specific behavior. Most elements on the surface element containing this
|
||||
* will be ignored including mip_levels, mipmap_generate, size, viewport_ratio,
|
||||
* and format.
|
||||
*/
|
||||
class domInit_as_null : public daeElement
|
||||
{
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInit_as_null() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domInit_as_null() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domInit_as_null( const domInit_as_null &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domInit_as_null &operator=( const domInit_as_null &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domInit_as_target;
|
||||
|
||||
typedef daeSmartRef<domInit_as_target> domInit_as_targetRef;
|
||||
typedef daeTArray<domInit_as_targetRef> domInit_as_target_Array;
|
||||
|
||||
/**
|
||||
* Init as a target for depth, stencil, or color. It does not need image
|
||||
* data. Surface should not have mipmap_generate when using this.
|
||||
*/
|
||||
class domInit_as_target : public daeElement
|
||||
{
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInit_as_target() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domInit_as_target() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domInit_as_target( const domInit_as_target &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domInit_as_target &operator=( const domInit_as_target &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
* This surface is intended to be initialized later externally by a "setparam"
|
||||
* element. If it is used before being initialized there is profile and platform
|
||||
* specific behavior. Most elements on the surface element containing this
|
||||
* will be ignored including mip_levels, mipmap_generate, size, viewport_ratio,
|
||||
* and format. @see domInit_as_null
|
||||
*/
|
||||
domInit_as_nullRef elemInit_as_null;
|
||||
/**
|
||||
* Init as a target for depth, stencil, or color. It does not need image
|
||||
* data. Surface should not have mipmap_generate when using this. @see domInit_as_target
|
||||
*/
|
||||
domInit_as_targetRef elemInit_as_target;
|
||||
/**
|
||||
* Init a CUBE from a compound image such as DDS @see domInit_cube
|
||||
*/
|
||||
domFx_surface_init_cube_commonRef elemInit_cube;
|
||||
/**
|
||||
* Init a 3D from a compound image such as DDS @see domInit_volume
|
||||
*/
|
||||
domFx_surface_init_volume_commonRef elemInit_volume;
|
||||
/**
|
||||
* Init a 1D,2D,RECT,DEPTH from a compound image such as DDS @see domInit_planar
|
||||
*/
|
||||
domFx_surface_init_planar_commonRef elemInit_planar;
|
||||
/**
|
||||
* Initialize the surface one sub-surface at a time by specifying combinations
|
||||
* of mip, face, and slice which make sense for a particular surface type.
|
||||
* Each sub-surface is initialized by a common 2D image, not a complex compound
|
||||
* image such as DDS. If not all subsurfaces are initialized, it is invalid
|
||||
* and will result in profile and platform specific behavior unless mipmap_generate
|
||||
* is responsible for initializing the remainder of the sub-surfaces @see
|
||||
* domInit_from
|
||||
*/
|
||||
domFx_surface_init_from_common_Array elemInit_from_array;
|
||||
/**
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the init_as_null element.
|
||||
* @return a daeSmartRef to the init_as_null element.
|
||||
*/
|
||||
const domInit_as_nullRef getInit_as_null() const { return elemInit_as_null; }
|
||||
/**
|
||||
* Gets the init_as_target element.
|
||||
* @return a daeSmartRef to the init_as_target element.
|
||||
*/
|
||||
const domInit_as_targetRef getInit_as_target() const { return elemInit_as_target; }
|
||||
/**
|
||||
* Gets the init_cube element.
|
||||
* @return a daeSmartRef to the init_cube element.
|
||||
*/
|
||||
const domFx_surface_init_cube_commonRef getInit_cube() const { return elemInit_cube; }
|
||||
/**
|
||||
* Gets the init_volume element.
|
||||
* @return a daeSmartRef to the init_volume element.
|
||||
*/
|
||||
const domFx_surface_init_volume_commonRef getInit_volume() const { return elemInit_volume; }
|
||||
/**
|
||||
* Gets the init_planar element.
|
||||
* @return a daeSmartRef to the init_planar element.
|
||||
*/
|
||||
const domFx_surface_init_planar_commonRef getInit_planar() const { return elemInit_planar; }
|
||||
/**
|
||||
* Gets the init_from element array.
|
||||
* @return Returns a reference to the array of init_from elements.
|
||||
*/
|
||||
domFx_surface_init_from_common_Array &getInit_from_array() { return elemInit_from_array; }
|
||||
/**
|
||||
* Gets the init_from element array.
|
||||
* @return Returns a constant reference to the array of init_from elements.
|
||||
*/
|
||||
const domFx_surface_init_from_common_Array &getInit_from_array() const { return elemInit_from_array; }
|
||||
/**
|
||||
* Gets the _contents array.
|
||||
* @return Returns a reference to the _contents element array.
|
||||
*/
|
||||
daeElementRefArray &getContents() { return _contents; }
|
||||
/**
|
||||
* Gets the _contents array.
|
||||
* @return Returns a constant reference to the _contents element array.
|
||||
*/
|
||||
const daeElementRefArray &getContents() const { return _contents; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_common() : elemInit_as_null(), elemInit_as_target(), elemInit_cube(), elemInit_volume(), elemInit_planar(), elemInit_from_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_common() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_common( const domFx_surface_init_common &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_common &operator=( const domFx_surface_init_common &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,448 @@
|
||||
/*
|
||||
* 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 __domFx_surface_init_cube_common_h__
|
||||
#define __domFx_surface_init_cube_common_h__
|
||||
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
|
||||
class domFx_surface_init_cube_common_complexType
|
||||
{
|
||||
public:
|
||||
class domAll;
|
||||
|
||||
typedef daeSmartRef<domAll> domAllRef;
|
||||
typedef daeTArray<domAllRef> domAll_Array;
|
||||
|
||||
/**
|
||||
* Init the entire surface with one compound image such as DDS
|
||||
*/
|
||||
class domAll : public daeElement
|
||||
{
|
||||
protected: // Attribute
|
||||
xsIDREF attrRef;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
xsIDREF &getRef() { return attrRef; }
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a constant xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
const xsIDREF &getRef() const{ return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domAll() : attrRef() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domAll() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domAll( const domAll &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domAll &operator=( const domAll &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domPrimary;
|
||||
|
||||
typedef daeSmartRef<domPrimary> domPrimaryRef;
|
||||
typedef daeTArray<domPrimaryRef> domPrimary_Array;
|
||||
|
||||
/**
|
||||
* Init all primary mip level 0 subsurfaces with one compound image such as
|
||||
* DDS. Use of this element expects that the surface has element mip_levels=0
|
||||
* or mipmap_generate.
|
||||
*/
|
||||
class domPrimary : public daeElement
|
||||
{
|
||||
public:
|
||||
class domOrder;
|
||||
|
||||
typedef daeSmartRef<domOrder> domOrderRef;
|
||||
typedef daeTArray<domOrderRef> domOrder_Array;
|
||||
|
||||
/**
|
||||
* If the image dues not natively describe the face ordering then this series
|
||||
* of order elements will describe which face the index belongs too
|
||||
*/
|
||||
class domOrder : public daeElement
|
||||
{
|
||||
|
||||
protected: // Value
|
||||
/**
|
||||
* The domFx_surface_face_enum value of the text data of this element.
|
||||
*/
|
||||
domFx_surface_face_enum _value;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a domFx_surface_face_enum of the value.
|
||||
*/
|
||||
domFx_surface_face_enum getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( domFx_surface_face_enum val ) { _value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domOrder() : _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domOrder() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domOrder( const domOrder &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domOrder &operator=( const domOrder &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
protected: // Attribute
|
||||
xsIDREF attrRef;
|
||||
|
||||
protected: // Element
|
||||
/**
|
||||
* If the image dues not natively describe the face ordering then this series
|
||||
* of order elements will describe which face the index belongs too @see domOrder
|
||||
*/
|
||||
domOrder_Array elemOrder_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
xsIDREF &getRef() { return attrRef; }
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a constant xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
const xsIDREF &getRef() const{ return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the order element array.
|
||||
* @return Returns a reference to the array of order elements.
|
||||
*/
|
||||
domOrder_Array &getOrder_array() { return elemOrder_array; }
|
||||
/**
|
||||
* Gets the order element array.
|
||||
* @return Returns a constant reference to the array of order elements.
|
||||
*/
|
||||
const domOrder_Array &getOrder_array() const { return elemOrder_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domPrimary() : attrRef(), elemOrder_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domPrimary() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domPrimary( const domPrimary &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domPrimary &operator=( const domPrimary &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domFace;
|
||||
|
||||
typedef daeSmartRef<domFace> domFaceRef;
|
||||
typedef daeTArray<domFaceRef> domFace_Array;
|
||||
|
||||
/**
|
||||
* Init each face mipchain with one compound image such as DDS
|
||||
*/
|
||||
class domFace : public daeElement
|
||||
{
|
||||
protected: // Attribute
|
||||
xsIDREF attrRef;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
xsIDREF &getRef() { return attrRef; }
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a constant xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
const xsIDREF &getRef() const{ return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFace() : attrRef() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFace() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFace( const domFace &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFace &operator=( const domFace &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
* Init the entire surface with one compound image such as DDS @see domAll
|
||||
*/
|
||||
domAllRef elemAll;
|
||||
/**
|
||||
* Init all primary mip level 0 subsurfaces with one compound image such as
|
||||
* DDS. Use of this element expects that the surface has element mip_levels=0
|
||||
* or mipmap_generate. @see domPrimary
|
||||
*/
|
||||
domPrimaryRef elemPrimary;
|
||||
/**
|
||||
* Init each face mipchain with one compound image such as DDS @see domFace
|
||||
*/
|
||||
domFace_Array elemFace_array;
|
||||
/**
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the all element.
|
||||
* @return a daeSmartRef to the all element.
|
||||
*/
|
||||
const domAllRef getAll() const { return elemAll; }
|
||||
/**
|
||||
* Gets the primary element.
|
||||
* @return a daeSmartRef to the primary element.
|
||||
*/
|
||||
const domPrimaryRef getPrimary() const { return elemPrimary; }
|
||||
/**
|
||||
* Gets the face element array.
|
||||
* @return Returns a reference to the array of face elements.
|
||||
*/
|
||||
domFace_Array &getFace_array() { return elemFace_array; }
|
||||
/**
|
||||
* Gets the face element array.
|
||||
* @return Returns a constant reference to the array of face elements.
|
||||
*/
|
||||
const domFace_Array &getFace_array() const { return elemFace_array; }
|
||||
/**
|
||||
* Gets the _contents array.
|
||||
* @return Returns a reference to the _contents element array.
|
||||
*/
|
||||
daeElementRefArray &getContents() { return _contents; }
|
||||
/**
|
||||
* Gets the _contents array.
|
||||
* @return Returns a constant reference to the _contents element array.
|
||||
*/
|
||||
const daeElementRefArray &getContents() const { return _contents; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_cube_common_complexType() : elemAll(), elemPrimary(), elemFace_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_cube_common_complexType() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_cube_common_complexType( const domFx_surface_init_cube_common_complexType &cpy ) { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_cube_common_complexType &operator=( const domFx_surface_init_cube_common_complexType &cpy ) { (void)cpy; return *this; }
|
||||
};
|
||||
|
||||
/**
|
||||
* An element of type domFx_surface_init_cube_common_complexType.
|
||||
*/
|
||||
class domFx_surface_init_cube_common : public daeElement, public domFx_surface_init_cube_common_complexType
|
||||
{
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_cube_common() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_cube_common() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_cube_common( const domFx_surface_init_cube_common &cpy ) : daeElement(), domFx_surface_init_cube_common_complexType() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_cube_common &operator=( const domFx_surface_init_cube_common &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,189 @@
|
||||
/*
|
||||
* 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 __domFx_surface_init_from_common_h__
|
||||
#define __domFx_surface_init_from_common_h__
|
||||
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
|
||||
/**
|
||||
* This element is an IDREF which specifies the image to use to initialize
|
||||
* a specific mip of a 1D or 2D surface, 3D slice, or Cube face.
|
||||
*/
|
||||
class domFx_surface_init_from_common_complexType
|
||||
{
|
||||
protected: // Attributes
|
||||
xsUnsignedInt attrMip;
|
||||
xsUnsignedInt attrSlice;
|
||||
domFx_surface_face_enum attrFace;
|
||||
|
||||
protected: // Value
|
||||
/**
|
||||
* The xsIDREF value of the text data of this element.
|
||||
*/
|
||||
xsIDREF _value;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsUnsignedInt of the mip attribute.
|
||||
*/
|
||||
xsUnsignedInt getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsUnsignedInt atMip ) { attrMip = atMip; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsUnsignedInt of the slice attribute.
|
||||
*/
|
||||
xsUnsignedInt getSlice() const { return attrSlice; }
|
||||
/**
|
||||
* Sets the slice attribute.
|
||||
* @param atSlice The new value for the slice attribute.
|
||||
*/
|
||||
void setSlice( xsUnsignedInt atSlice ) { attrSlice = atSlice; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace; }
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return Returns a xsIDREF of the value.
|
||||
*/
|
||||
xsIDREF &getValue() { return _value; }
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return Returns a constant xsIDREF of the value.
|
||||
*/
|
||||
const xsIDREF &getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( const xsIDREF &val ) { _value.setID( val.getID() ); }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_from_common_complexType() : attrMip(), attrSlice(), attrFace(), _value() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_from_common_complexType() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_from_common_complexType( const domFx_surface_init_from_common_complexType &cpy ) { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_from_common_complexType &operator=( const domFx_surface_init_from_common_complexType &cpy ) { (void)cpy; return *this; }
|
||||
};
|
||||
|
||||
/**
|
||||
* An element of type domFx_surface_init_from_common_complexType.
|
||||
*/
|
||||
class domFx_surface_init_from_common : public daeElement, public domFx_surface_init_from_common_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the mip attribute.
|
||||
* @return Returns a xsUnsignedInt of the mip attribute.
|
||||
*/
|
||||
xsUnsignedInt getMip() const { return attrMip; }
|
||||
/**
|
||||
* Sets the mip attribute.
|
||||
* @param atMip The new value for the mip attribute.
|
||||
*/
|
||||
void setMip( xsUnsignedInt atMip ) { attrMip = atMip;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the slice attribute.
|
||||
* @return Returns a xsUnsignedInt of the slice attribute.
|
||||
*/
|
||||
xsUnsignedInt getSlice() const { return attrSlice; }
|
||||
/**
|
||||
* Sets the slice attribute.
|
||||
* @param atSlice The new value for the slice attribute.
|
||||
*/
|
||||
void setSlice( xsUnsignedInt atSlice ) { attrSlice = atSlice;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the face attribute.
|
||||
* @return Returns a domFx_surface_face_enum of the face attribute.
|
||||
*/
|
||||
domFx_surface_face_enum getFace() const { return attrFace; }
|
||||
/**
|
||||
* Sets the face attribute.
|
||||
* @param atFace The new value for the face attribute.
|
||||
*/
|
||||
void setFace( domFx_surface_face_enum atFace ) { attrFace = atFace;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_from_common() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_from_common() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_from_common( const domFx_surface_init_from_common &cpy ) : daeElement(), domFx_surface_init_from_common_complexType() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_from_common &operator=( const domFx_surface_init_from_common &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,175 @@
|
||||
/*
|
||||
* 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 __domFx_surface_init_planar_common_h__
|
||||
#define __domFx_surface_init_planar_common_h__
|
||||
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
|
||||
/**
|
||||
* For 1D, 2D, RECT surface types
|
||||
*/
|
||||
class domFx_surface_init_planar_common_complexType
|
||||
{
|
||||
public:
|
||||
class domAll;
|
||||
|
||||
typedef daeSmartRef<domAll> domAllRef;
|
||||
typedef daeTArray<domAllRef> domAll_Array;
|
||||
|
||||
/**
|
||||
* Init the entire surface with one compound image such as DDS
|
||||
*/
|
||||
class domAll : public daeElement
|
||||
{
|
||||
protected: // Attribute
|
||||
xsIDREF attrRef;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
xsIDREF &getRef() { return attrRef; }
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a constant xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
const xsIDREF &getRef() const{ return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domAll() : attrRef() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domAll() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domAll( const domAll &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domAll &operator=( const domAll &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
|
||||
protected: // Element
|
||||
/**
|
||||
* Init the entire surface with one compound image such as DDS @see domAll
|
||||
*/
|
||||
domAllRef elemAll;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the all element.
|
||||
* @return a daeSmartRef to the all element.
|
||||
*/
|
||||
const domAllRef getAll() const { return elemAll; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_planar_common_complexType() : elemAll() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_planar_common_complexType() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_planar_common_complexType( const domFx_surface_init_planar_common_complexType &cpy ) { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_planar_common_complexType &operator=( const domFx_surface_init_planar_common_complexType &cpy ) { (void)cpy; return *this; }
|
||||
};
|
||||
|
||||
/**
|
||||
* An element of type domFx_surface_init_planar_common_complexType.
|
||||
*/
|
||||
class domFx_surface_init_planar_common : public daeElement, public domFx_surface_init_planar_common_complexType
|
||||
{
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_planar_common() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_planar_common() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_planar_common( const domFx_surface_init_planar_common &cpy ) : daeElement(), domFx_surface_init_planar_common_complexType() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_planar_common &operator=( const domFx_surface_init_planar_common &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,275 @@
|
||||
/*
|
||||
* 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 __domFx_surface_init_volume_common_h__
|
||||
#define __domFx_surface_init_volume_common_h__
|
||||
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
|
||||
class domFx_surface_init_volume_common_complexType
|
||||
{
|
||||
public:
|
||||
class domAll;
|
||||
|
||||
typedef daeSmartRef<domAll> domAllRef;
|
||||
typedef daeTArray<domAllRef> domAll_Array;
|
||||
|
||||
/**
|
||||
* Init the entire surface with one compound image such as DDS
|
||||
*/
|
||||
class domAll : public daeElement
|
||||
{
|
||||
protected: // Attribute
|
||||
xsIDREF attrRef;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
xsIDREF &getRef() { return attrRef; }
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a constant xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
const xsIDREF &getRef() const{ return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domAll() : attrRef() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domAll() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domAll( const domAll &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domAll &operator=( const domAll &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domPrimary;
|
||||
|
||||
typedef daeSmartRef<domPrimary> domPrimaryRef;
|
||||
typedef daeTArray<domPrimaryRef> domPrimary_Array;
|
||||
|
||||
/**
|
||||
* Init mip level 0 of the surface with one compound image such as DDS. Use
|
||||
* of this element expects that the surface has element mip_levels=0 or mipmap_generate.
|
||||
*/
|
||||
class domPrimary : public daeElement
|
||||
{
|
||||
protected: // Attribute
|
||||
xsIDREF attrRef;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
xsIDREF &getRef() { return attrRef; }
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a constant xsIDREF reference of the ref attribute.
|
||||
*/
|
||||
const xsIDREF &getRef() const{ return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( const xsIDREF &atRef ) { attrRef.setID( atRef.getID() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domPrimary() : attrRef() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domPrimary() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domPrimary( const domPrimary &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domPrimary &operator=( const domPrimary &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
* Init the entire surface with one compound image such as DDS @see domAll
|
||||
*/
|
||||
domAllRef elemAll;
|
||||
/**
|
||||
* Init mip level 0 of the surface with one compound image such as DDS. Use
|
||||
* of this element expects that the surface has element mip_levels=0 or mipmap_generate.
|
||||
* @see domPrimary
|
||||
*/
|
||||
domPrimaryRef elemPrimary;
|
||||
/**
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the all element.
|
||||
* @return a daeSmartRef to the all element.
|
||||
*/
|
||||
const domAllRef getAll() const { return elemAll; }
|
||||
/**
|
||||
* Gets the primary element.
|
||||
* @return a daeSmartRef to the primary element.
|
||||
*/
|
||||
const domPrimaryRef getPrimary() const { return elemPrimary; }
|
||||
/**
|
||||
* Gets the _contents array.
|
||||
* @return Returns a reference to the _contents element array.
|
||||
*/
|
||||
daeElementRefArray &getContents() { return _contents; }
|
||||
/**
|
||||
* Gets the _contents array.
|
||||
* @return Returns a constant reference to the _contents element array.
|
||||
*/
|
||||
const daeElementRefArray &getContents() const { return _contents; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_volume_common_complexType() : elemAll(), elemPrimary() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_volume_common_complexType() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_volume_common_complexType( const domFx_surface_init_volume_common_complexType &cpy ) { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_volume_common_complexType &operator=( const domFx_surface_init_volume_common_complexType &cpy ) { (void)cpy; return *this; }
|
||||
};
|
||||
|
||||
/**
|
||||
* An element of type domFx_surface_init_volume_common_complexType.
|
||||
*/
|
||||
class domFx_surface_init_volume_common : public daeElement, public domFx_surface_init_volume_common_complexType
|
||||
{
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domFx_surface_init_volume_common() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domFx_surface_init_volume_common() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domFx_surface_init_volume_common( const domFx_surface_init_volume_common &cpy ) : daeElement(), domFx_surface_init_volume_common_complexType() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domFx_surface_init_volume_common &operator=( const domFx_surface_init_volume_common &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
@@ -64,6 +64,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -76,7 +80,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -87,7 +92,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -2072,6 +2072,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
|
||||
@@ -46,14 +46,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -199,7 +199,7 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the annotate element array.
|
||||
@@ -250,6 +250,20 @@ protected:
|
||||
*/
|
||||
class domGles_newparam : public daeElement, public domGles_newparam_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -513,7 +513,7 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the wrap_s element.
|
||||
@@ -584,6 +584,20 @@ protected:
|
||||
*/
|
||||
class domGles_sampler_state : public daeElement, public domGles_sampler_state_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -57,7 +57,7 @@ public: //Accessors and Mutators
|
||||
* Sets the unit attribute.
|
||||
* @param atUnit The new value for the unit attribute.
|
||||
*/
|
||||
void setUnit( xsNCName atUnit ) { attrUnit = atUnit; }
|
||||
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -83,6 +83,44 @@ protected:
|
||||
*/
|
||||
class domGles_texcombiner_argumentAlpha_type : public daeElement, public domGles_texcombiner_argumentAlpha_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a domGles_texcombiner_source_enums of the source attribute.
|
||||
*/
|
||||
domGles_texcombiner_source_enums getSource() const { return attrSource; }
|
||||
/**
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( domGles_texcombiner_source_enums atSource ) { attrSource = atSource;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the operand attribute.
|
||||
* @return Returns a domGles_texcombiner_operandAlpha_enums of the operand attribute.
|
||||
*/
|
||||
domGles_texcombiner_operandAlpha_enums getOperand() const { return attrOperand; }
|
||||
/**
|
||||
* Sets the operand attribute.
|
||||
* @param atOperand The new value for the operand attribute.
|
||||
*/
|
||||
void setOperand( domGles_texcombiner_operandAlpha_enums atOperand ) { attrOperand = atOperand;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the unit attribute.
|
||||
* @return Returns a xsNCName of the unit attribute.
|
||||
*/
|
||||
xsNCName getUnit() const { return attrUnit; }
|
||||
/**
|
||||
* Sets the unit attribute.
|
||||
* @param atUnit The new value for the unit attribute.
|
||||
*/
|
||||
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -57,7 +57,7 @@ public: //Accessors and Mutators
|
||||
* Sets the unit attribute.
|
||||
* @param atUnit The new value for the unit attribute.
|
||||
*/
|
||||
void setUnit( xsNCName atUnit ) { attrUnit = atUnit; }
|
||||
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -83,6 +83,44 @@ protected:
|
||||
*/
|
||||
class domGles_texcombiner_argumentRGB_type : public daeElement, public domGles_texcombiner_argumentRGB_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a domGles_texcombiner_source_enums of the source attribute.
|
||||
*/
|
||||
domGles_texcombiner_source_enums getSource() const { return attrSource; }
|
||||
/**
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( domGles_texcombiner_source_enums atSource ) { attrSource = atSource;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the operand attribute.
|
||||
* @return Returns a domGles_texcombiner_operandRGB_enums of the operand attribute.
|
||||
*/
|
||||
domGles_texcombiner_operandRGB_enums getOperand() const { return attrOperand; }
|
||||
/**
|
||||
* Sets the operand attribute.
|
||||
* @param atOperand The new value for the operand attribute.
|
||||
*/
|
||||
void setOperand( domGles_texcombiner_operandRGB_enums atOperand ) { attrOperand = atOperand;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the unit attribute.
|
||||
* @return Returns a xsNCName of the unit attribute.
|
||||
*/
|
||||
xsNCName getUnit() const { return attrUnit; }
|
||||
/**
|
||||
* Sets the unit attribute.
|
||||
* @param atUnit The new value for the unit attribute.
|
||||
*/
|
||||
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -84,6 +84,32 @@ protected:
|
||||
*/
|
||||
class domGles_texcombiner_commandAlpha_type : public daeElement, public domGles_texcombiner_commandAlpha_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the operator attribute.
|
||||
* @return Returns a domGles_texcombiner_operatorAlpha_enums of the operator attribute.
|
||||
*/
|
||||
domGles_texcombiner_operatorAlpha_enums getOperator() const { return attrOperator; }
|
||||
/**
|
||||
* Sets the operator attribute.
|
||||
* @param atOperator The new value for the operator attribute.
|
||||
*/
|
||||
void setOperator( domGles_texcombiner_operatorAlpha_enums atOperator ) { attrOperator = atOperator;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the scale attribute.
|
||||
* @return Returns a xsFloat of the scale attribute.
|
||||
*/
|
||||
xsFloat getScale() const { return attrScale; }
|
||||
/**
|
||||
* Sets the scale attribute.
|
||||
* @param atScale The new value for the scale attribute.
|
||||
*/
|
||||
void setScale( xsFloat atScale ) { attrScale = atScale;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -88,6 +88,32 @@ protected:
|
||||
*/
|
||||
class domGles_texcombiner_commandRGB_type : public daeElement, public domGles_texcombiner_commandRGB_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the operator attribute.
|
||||
* @return Returns a domGles_texcombiner_operatorRGB_enums of the operator attribute.
|
||||
*/
|
||||
domGles_texcombiner_operatorRGB_enums getOperator() const { return attrOperator; }
|
||||
/**
|
||||
* Sets the operator attribute.
|
||||
* @param atOperator The new value for the operator attribute.
|
||||
*/
|
||||
void setOperator( domGles_texcombiner_operatorRGB_enums atOperator ) { attrOperator = atOperator;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the scale attribute.
|
||||
* @return Returns a xsFloat of the scale attribute.
|
||||
*/
|
||||
xsFloat getScale() const { return attrScale; }
|
||||
/**
|
||||
* Sets the scale attribute.
|
||||
* @param atScale The new value for the scale attribute.
|
||||
*/
|
||||
void setScale( xsFloat atScale ) { attrScale = atScale;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -48,7 +48,7 @@ public: //Accessors and Mutators
|
||||
* Sets the unit attribute.
|
||||
* @param atUnit The new value for the unit attribute.
|
||||
*/
|
||||
void setUnit( xsNCName atUnit ) { attrUnit = atUnit; }
|
||||
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit; }
|
||||
|
||||
/**
|
||||
* Gets the constant element.
|
||||
@@ -79,6 +79,32 @@ protected:
|
||||
*/
|
||||
class domGles_texenv_command_type : public daeElement, public domGles_texenv_command_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the operator attribute.
|
||||
* @return Returns a domGles_texenv_mode_enums of the operator attribute.
|
||||
*/
|
||||
domGles_texenv_mode_enums getOperator() const { return attrOperator; }
|
||||
/**
|
||||
* Sets the operator attribute.
|
||||
* @param atOperator The new value for the operator attribute.
|
||||
*/
|
||||
void setOperator( domGles_texenv_mode_enums atOperator ) { attrOperator = atOperator;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the unit attribute.
|
||||
* @return Returns a xsNCName of the unit attribute.
|
||||
*/
|
||||
xsNCName getUnit() const { return attrUnit; }
|
||||
/**
|
||||
* Sets the unit attribute.
|
||||
* @param atUnit The new value for the unit attribute.
|
||||
*/
|
||||
void setUnit( xsNCName atUnit ) { *(daeStringRef*)&attrUnit = atUnit;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -50,7 +50,7 @@ public: //Accessors and Mutators
|
||||
* Sets the param attribute.
|
||||
* @param atParam The new value for the param attribute.
|
||||
*/
|
||||
void setParam( xsNCName atParam ) { attrParam = atParam; }
|
||||
void setParam( xsNCName atParam ) { *(daeStringRef*)&attrParam = atParam; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -76,6 +76,37 @@ protected:
|
||||
*/
|
||||
class domGles_texture_constant_type : public daeElement, public domGles_texture_constant_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value array attribute.
|
||||
* @return Returns a domFloat4 reference of the value array attribute.
|
||||
*/
|
||||
domFloat4 &getValue() { return attrValue; }
|
||||
/**
|
||||
* Gets the value array attribute.
|
||||
* @return Returns a constant domFloat4 reference of the value array attribute.
|
||||
*/
|
||||
const domFloat4 &getValue() const { return attrValue; }
|
||||
/**
|
||||
* Sets the value array attribute.
|
||||
* @param atValue The new value for the value array attribute.
|
||||
*/
|
||||
void setValue( const domFloat4 &atValue ) { attrValue = atValue;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the param attribute.
|
||||
* @return Returns a xsNCName of the param attribute.
|
||||
*/
|
||||
xsNCName getParam() const { return attrParam; }
|
||||
/**
|
||||
* Sets the param attribute.
|
||||
* @param atParam The new value for the param attribute.
|
||||
*/
|
||||
void setParam( xsNCName atParam ) { *(daeStringRef*)&attrParam = atParam;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -54,6 +54,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -66,7 +70,7 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the texcombiner element array.
|
||||
@@ -133,6 +137,20 @@ protected:
|
||||
*/
|
||||
class domGles_texture_pipeline : public daeElement, public domGles_texture_pipeline_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domExtra.h>
|
||||
|
||||
class domGles_texture_unit_complexType
|
||||
{
|
||||
@@ -37,14 +38,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -102,14 +103,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -171,7 +172,8 @@ public:
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNCName atSemantic ) { attrSemantic = atSemantic; }
|
||||
void setSemantic( xsNCName atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -225,6 +227,7 @@ protected: // Elements
|
||||
domSurfaceRef elemSurface;
|
||||
domSampler_stateRef elemSampler_state;
|
||||
domTexcoordRef elemTexcoord;
|
||||
domExtra_Array elemExtra_array;
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
@@ -236,7 +239,7 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the surface element.
|
||||
@@ -253,11 +256,21 @@ public: //Accessors and Mutators
|
||||
* @return a daeSmartRef to the texcoord element.
|
||||
*/
|
||||
const domTexcoordRef getTexcoord() const { return elemTexcoord; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
*/
|
||||
domExtra_Array &getExtra_array() { return elemExtra_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a constant reference to the array of extra elements.
|
||||
*/
|
||||
const domExtra_Array &getExtra_array() const { return elemExtra_array; }
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domGles_texture_unit_complexType() : attrSid(), elemSurface(), elemSampler_state(), elemTexcoord() {}
|
||||
domGles_texture_unit_complexType() : attrSid(), elemSurface(), elemSampler_state(), elemTexcoord(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
@@ -277,6 +290,20 @@ protected:
|
||||
*/
|
||||
class domGles_texture_unit : public daeElement, public domGles_texture_unit_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -42,6 +42,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -111,6 +115,20 @@ protected:
|
||||
*/
|
||||
class domGlsl_newarray_type : public daeElement, public domGlsl_newarray_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the length attribute.
|
||||
* @return Returns a xsPositiveInteger of the length attribute.
|
||||
*/
|
||||
xsPositiveInteger getLength() const { return attrLength; }
|
||||
/**
|
||||
* Sets the length attribute.
|
||||
* @param atLength The new value for the length attribute.
|
||||
*/
|
||||
void setLength( xsPositiveInteger atLength ) { attrLength = atLength;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -40,14 +40,14 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -167,6 +167,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -246,6 +250,20 @@ protected:
|
||||
*/
|
||||
class domGlsl_newparam : public daeElement, public domGlsl_newparam_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a domGlsl_identifier of the sid attribute.
|
||||
*/
|
||||
domGlsl_identifier getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( domGlsl_identifier atSid ) { attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include <dom/domTypes.h>
|
||||
#include <dom/domElements.h>
|
||||
|
||||
#include <dom/domFx_surface_common.h>
|
||||
#include <dom/domGlsl_surface_type.h>
|
||||
#include <dom/domGl_sampler1D.h>
|
||||
#include <dom/domGl_sampler2D.h>
|
||||
#include <dom/domGl_sampler3D.h>
|
||||
@@ -1148,7 +1148,7 @@ protected: // Elements
|
||||
domInt2Ref elemInt2;
|
||||
domInt3Ref elemInt3;
|
||||
domInt4Ref elemInt4;
|
||||
domFx_surface_commonRef elemSurface;
|
||||
domGlsl_surface_typeRef elemSurface;
|
||||
domGl_sampler1DRef elemSampler1D;
|
||||
domGl_sampler2DRef elemSampler2D;
|
||||
domGl_sampler3DRef elemSampler3D;
|
||||
@@ -1160,6 +1160,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -1242,7 +1246,7 @@ public: //Accessors and Mutators
|
||||
* Gets the surface element.
|
||||
* @return a daeSmartRef to the surface element.
|
||||
*/
|
||||
const domFx_surface_commonRef getSurface() const { return elemSurface; }
|
||||
const domGlsl_surface_typeRef getSurface() const { return elemSurface; }
|
||||
/**
|
||||
* Gets the sampler1D element.
|
||||
* @return a daeSmartRef to the sampler1D element.
|
||||
|
||||
@@ -42,6 +42,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -111,6 +115,20 @@ protected:
|
||||
*/
|
||||
class domGlsl_setarray_type : public daeElement, public domGlsl_setarray_type_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the length attribute.
|
||||
* @return Returns a xsPositiveInteger of the length attribute.
|
||||
*/
|
||||
xsPositiveInteger getLength() const { return attrLength; }
|
||||
/**
|
||||
* Sets the length attribute.
|
||||
* @param atLength The new value for the length attribute.
|
||||
*/
|
||||
void setLength( xsPositiveInteger atLength ) { attrLength = atLength;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -34,6 +34,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -57,7 +61,7 @@ public: //Accessors and Mutators
|
||||
* Sets the program attribute.
|
||||
* @param atProgram The new value for the program attribute.
|
||||
*/
|
||||
void setProgram( xsNCName atProgram ) { attrProgram = atProgram; }
|
||||
void setProgram( xsNCName atProgram ) { *(daeStringRef*)&attrProgram = atProgram; }
|
||||
|
||||
/**
|
||||
* Gets the annotate element array.
|
||||
@@ -114,6 +118,32 @@ protected:
|
||||
*/
|
||||
class domGlsl_setparam : public daeElement, public domGlsl_setparam_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a domGlsl_identifier of the ref attribute.
|
||||
*/
|
||||
domGlsl_identifier getRef() const { return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( domGlsl_identifier atRef ) { attrRef = atRef;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the program attribute.
|
||||
* @return Returns a xsNCName of the program attribute.
|
||||
*/
|
||||
xsNCName getProgram() const { return attrProgram; }
|
||||
/**
|
||||
* Sets the program attribute.
|
||||
* @param atProgram The new value for the program attribute.
|
||||
*/
|
||||
void setProgram( xsNCName atProgram ) { *(daeStringRef*)&attrProgram = atProgram;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -79,6 +79,20 @@ protected:
|
||||
*/
|
||||
class domGlsl_setparam_simple : public daeElement, public domGlsl_setparam_simple_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a domGlsl_identifier of the ref attribute.
|
||||
*/
|
||||
domGlsl_identifier getRef() const { return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( domGlsl_identifier atRef ) { attrRef = atRef;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -69,18 +69,19 @@ public:
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( xsNCName atSource ) { attrSource = atSource; }
|
||||
void setSource( xsNCName atSource ) { *(daeStringRef*)&attrSource = atSource;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
* @return a xsNCName of the value.
|
||||
* @return Returns a xsNCName of the value.
|
||||
*/
|
||||
xsNCName getValue() const { return _value; }
|
||||
/**
|
||||
* Sets the _value of this element.
|
||||
* @param val The new value for this element.
|
||||
*/
|
||||
void setValue( xsNCName val ) { _value = val; }
|
||||
void setValue( xsNCName val ) { *(daeStringRef*)&_value = val; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -152,6 +153,10 @@ public:
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
|
||||
@@ -56,7 +56,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -67,7 +68,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the count attribute.
|
||||
@@ -78,7 +80,8 @@ public: //Accessors and Mutators
|
||||
* Sets the count attribute.
|
||||
* @param atCount The new value for the count attribute.
|
||||
*/
|
||||
void setCount( domUint atCount ) { attrCount = atCount; }
|
||||
void setCount( domUint atCount ) { attrCount = atCount;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the _value array.
|
||||
|
||||
@@ -234,6 +234,10 @@ protected: // Elements
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -246,7 +250,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -257,7 +262,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the format attribute.
|
||||
@@ -268,7 +274,8 @@ public: //Accessors and Mutators
|
||||
* Sets the format attribute.
|
||||
* @param atFormat The new value for the format attribute.
|
||||
*/
|
||||
void setFormat( xsToken atFormat ) { attrFormat = atFormat; }
|
||||
void setFormat( xsToken atFormat ) { *(daeStringRef*)&attrFormat = atFormat;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the height attribute.
|
||||
@@ -279,7 +286,8 @@ public: //Accessors and Mutators
|
||||
* Sets the height attribute.
|
||||
* @param atHeight The new value for the height attribute.
|
||||
*/
|
||||
void setHeight( domUint atHeight ) { attrHeight = atHeight; }
|
||||
void setHeight( domUint atHeight ) { attrHeight = atHeight;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
/**
|
||||
* Gets the width attribute.
|
||||
@@ -290,7 +298,8 @@ public: //Accessors and Mutators
|
||||
* Sets the width attribute.
|
||||
* @param atWidth The new value for the width attribute.
|
||||
*/
|
||||
void setWidth( domUint atWidth ) { attrWidth = atWidth; }
|
||||
void setWidth( domUint atWidth ) { attrWidth = atWidth;
|
||||
_validAttributeArray[4] = true; }
|
||||
|
||||
/**
|
||||
* Gets the depth attribute.
|
||||
@@ -301,7 +310,8 @@ public: //Accessors and Mutators
|
||||
* Sets the depth attribute.
|
||||
* @param atDepth The new value for the depth attribute.
|
||||
*/
|
||||
void setDepth( domUint atDepth ) { attrDepth = atDepth; }
|
||||
void setDepth( domUint atDepth ) { attrDepth = atDepth;
|
||||
_validAttributeArray[5] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -46,7 +46,7 @@ public: //Accessors and Mutators
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { attrSemantic = atSemantic; }
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
@@ -88,6 +88,37 @@ protected:
|
||||
*/
|
||||
class domInputGlobal : public daeElement, public domInputGlobal_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the semantic attribute.
|
||||
* @return Returns a xsNMTOKEN of the semantic attribute.
|
||||
*/
|
||||
xsNMTOKEN getSemantic() const { return attrSemantic; }
|
||||
/**
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a xsAnyURI reference of the source attribute.
|
||||
*/
|
||||
xsAnyURI &getSource() { return attrSource; }
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a constant xsAnyURI reference of the source attribute.
|
||||
*/
|
||||
const xsAnyURI &getSource() const { return attrSource; }
|
||||
/**
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( const xsAnyURI &atSource ) { attrSource.setURI( atSource.getURI() );
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -46,7 +46,7 @@ public: //Accessors and Mutators
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { attrSemantic = atSemantic; }
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
@@ -88,6 +88,37 @@ protected:
|
||||
*/
|
||||
class domInputLocal : public daeElement, public domInputLocal_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the semantic attribute.
|
||||
* @return Returns a xsNMTOKEN of the semantic attribute.
|
||||
*/
|
||||
xsNMTOKEN getSemantic() const { return attrSemantic; }
|
||||
/**
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a domURIFragmentType reference of the source attribute.
|
||||
*/
|
||||
domURIFragmentType &getSource() { return attrSource; }
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a constant domURIFragmentType reference of the source attribute.
|
||||
*/
|
||||
const domURIFragmentType &getSource() const { return attrSource; }
|
||||
/**
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( const domURIFragmentType &atSource ) { attrSource.setURI( atSource.getURI() );
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -69,7 +69,7 @@ public: //Accessors and Mutators
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { attrSemantic = atSemantic; }
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
@@ -122,6 +122,61 @@ protected:
|
||||
*/
|
||||
class domInputLocalOffset : public daeElement, public domInputLocalOffset_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the offset attribute.
|
||||
* @return Returns a domUint of the offset attribute.
|
||||
*/
|
||||
domUint getOffset() const { return attrOffset; }
|
||||
/**
|
||||
* Sets the offset attribute.
|
||||
* @param atOffset The new value for the offset attribute.
|
||||
*/
|
||||
void setOffset( domUint atOffset ) { attrOffset = atOffset;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the semantic attribute.
|
||||
* @return Returns a xsNMTOKEN of the semantic attribute.
|
||||
*/
|
||||
xsNMTOKEN getSemantic() const { return attrSemantic; }
|
||||
/**
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNMTOKEN atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a domURIFragmentType reference of the source attribute.
|
||||
*/
|
||||
domURIFragmentType &getSource() { return attrSource; }
|
||||
/**
|
||||
* Gets the source attribute.
|
||||
* @return Returns a constant domURIFragmentType reference of the source attribute.
|
||||
*/
|
||||
const domURIFragmentType &getSource() const { return attrSource; }
|
||||
/**
|
||||
* Sets the source attribute.
|
||||
* @param atSource The new value for the source attribute.
|
||||
*/
|
||||
void setSource( const domURIFragmentType &atSource ) { attrSource.setURI( atSource.getURI() );
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the set attribute.
|
||||
* @return Returns a domUint of the set attribute.
|
||||
*/
|
||||
domUint getSet() const { return attrSet; }
|
||||
/**
|
||||
* Sets the set attribute.
|
||||
* @param atSet The new value for the set attribute.
|
||||
*/
|
||||
void setSet( domUint atSet ) { attrSet = atSet;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
class domInstanceWithExtra_complexType
|
||||
{
|
||||
protected: // Attribute
|
||||
protected: // Attributes
|
||||
/**
|
||||
* The url attribute refers to resource to instantiate. This may refer to
|
||||
* a local resource using a relative URL fragment identifier that begins
|
||||
@@ -33,6 +33,16 @@ protected: // Attribute
|
||||
* resource using an absolute or relative URL.
|
||||
*/
|
||||
xsAnyURI attrUrl;
|
||||
/**
|
||||
* The sid attribute is a text string value containing the sub-identifier
|
||||
* of this element. This value must be unique within the scope of the parent
|
||||
* element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrSid;
|
||||
/**
|
||||
* The name attribute is the text string name of this element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrName;
|
||||
|
||||
protected: // Element
|
||||
/**
|
||||
@@ -57,6 +67,28 @@ public: //Accessors and Mutators
|
||||
*/
|
||||
void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() ); }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName; }
|
||||
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
@@ -71,7 +103,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInstanceWithExtra_complexType() : attrUrl(), elemExtra_array() {}
|
||||
domInstanceWithExtra_complexType() : attrUrl(), attrSid(), attrName(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
@@ -91,6 +123,49 @@ protected:
|
||||
*/
|
||||
class domInstanceWithExtra : public daeElement, public domInstanceWithExtra_complexType
|
||||
{
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the url attribute.
|
||||
* @return Returns a xsAnyURI reference of the url attribute.
|
||||
*/
|
||||
xsAnyURI &getUrl() { return attrUrl; }
|
||||
/**
|
||||
* Gets the url attribute.
|
||||
* @return Returns a constant xsAnyURI reference of the url attribute.
|
||||
*/
|
||||
const xsAnyURI &getUrl() const { return attrUrl; }
|
||||
/**
|
||||
* Sets the url attribute.
|
||||
* @param atUrl The new value for the url attribute.
|
||||
*/
|
||||
void setUrl( const xsAnyURI &atUrl ) { attrUrl.setURI( atUrl.getURI() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
|
||||
@@ -102,7 +102,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
protected: // Attribute
|
||||
protected: // Attributes
|
||||
/**
|
||||
* The url attribute refers to resource. This may refer to a local resource
|
||||
* using a relative URL fragment identifier that begins with the “#”
|
||||
@@ -110,6 +110,16 @@ protected: // Attribute
|
||||
* absolute or relative URL.
|
||||
*/
|
||||
xsAnyURI attrUrl;
|
||||
/**
|
||||
* The sid attribute is a text string value containing the sub-identifier
|
||||
* of this element. This value must be unique within the scope of the parent
|
||||
* element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrSid;
|
||||
/**
|
||||
* The name attribute is the text string name of this element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrName;
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
@@ -143,7 +153,32 @@ 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.setURI( atUrl.getURI() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the skeleton element array.
|
||||
@@ -174,7 +209,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInstance_controller() : attrUrl(), elemSkeleton_array(), elemBind_material(), elemExtra_array() {}
|
||||
domInstance_controller() : attrUrl(), attrSid(), attrName(), elemSkeleton_array(), elemBind_material(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -38,10 +38,15 @@ public:
|
||||
{
|
||||
protected: // Attributes
|
||||
/**
|
||||
* “platform” defines a string that specifies which platform this is
|
||||
* hint is aimed for.
|
||||
* A platform defines a string that specifies which platform this is hint
|
||||
* is aimed for.
|
||||
*/
|
||||
xsNCName attrPlatform;
|
||||
/**
|
||||
* A profile defines a string that specifies which API profile this is hint
|
||||
* is aimed for.
|
||||
*/
|
||||
xsNCName attrProfile;
|
||||
/**
|
||||
* A reference to the technique to use for the specified platform.
|
||||
*/
|
||||
@@ -58,7 +63,20 @@ public:
|
||||
* Sets the platform attribute.
|
||||
* @param atPlatform The new value for the platform attribute.
|
||||
*/
|
||||
void setPlatform( xsNCName atPlatform ) { attrPlatform = atPlatform; }
|
||||
void setPlatform( xsNCName atPlatform ) { *(daeStringRef*)&attrPlatform = atPlatform;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the profile attribute.
|
||||
* @return Returns a xsNCName of the profile attribute.
|
||||
*/
|
||||
xsNCName getProfile() const { return attrProfile; }
|
||||
/**
|
||||
* Sets the profile attribute.
|
||||
* @param atProfile The new value for the profile attribute.
|
||||
*/
|
||||
void setProfile( xsNCName atProfile ) { *(daeStringRef*)&attrProfile = atProfile;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
@@ -69,13 +87,14 @@ public:
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( xsNCName atRef ) { attrRef = atRef; }
|
||||
void setRef( xsNCName atRef ) { *(daeStringRef*)&attrRef = atRef;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domTechnique_hint() : attrPlatform(), attrRef() {}
|
||||
domTechnique_hint() : attrPlatform(), attrProfile(), attrRef() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
@@ -121,7 +140,7 @@ public:
|
||||
class domSetparam : public daeElement
|
||||
{
|
||||
protected: // Attribute
|
||||
xsNCName attrRef;
|
||||
xsToken attrRef;
|
||||
|
||||
protected: // Element
|
||||
domFx_basic_type_commonRef elemFx_basic_type_common;
|
||||
@@ -129,14 +148,15 @@ public:
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the ref attribute.
|
||||
* @return Returns a xsNCName of the ref attribute.
|
||||
* @return Returns a xsToken of the ref attribute.
|
||||
*/
|
||||
xsNCName getRef() const { return attrRef; }
|
||||
xsToken getRef() const { return attrRef; }
|
||||
/**
|
||||
* Sets the ref attribute.
|
||||
* @param atRef The new value for the ref attribute.
|
||||
*/
|
||||
void setRef( xsNCName atRef ) { attrRef = atRef; }
|
||||
void setRef( xsToken atRef ) { *(daeStringRef*)&attrRef = atRef;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the fx_basic_type_common element.
|
||||
@@ -183,7 +203,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
protected: // Attribute
|
||||
protected: // Attributes
|
||||
/**
|
||||
* The url attribute refers to resource. This may refer to a local resource
|
||||
* using a relative URL fragment identifier that begins with the “#”
|
||||
@@ -191,6 +211,16 @@ protected: // Attribute
|
||||
* absolute or relative URL.
|
||||
*/
|
||||
xsAnyURI attrUrl;
|
||||
/**
|
||||
* The sid attribute is a text string value containing the sub-identifier
|
||||
* of this element. This value must be unique within the scope of the parent
|
||||
* element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrSid;
|
||||
/**
|
||||
* The name attribute is the text string name of this element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrName;
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
@@ -222,7 +252,32 @@ 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.setURI( atUrl.getURI() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the technique_hint element array.
|
||||
@@ -258,7 +313,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInstance_effect() : attrUrl(), elemTechnique_hint_array(), elemSetparam_array(), elemExtra_array() {}
|
||||
domInstance_effect() : attrUrl(), attrSid(), attrName(), elemTechnique_hint_array(), elemSetparam_array(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
*/
|
||||
class domInstance_geometry : public daeElement
|
||||
{
|
||||
protected: // Attribute
|
||||
protected: // Attributes
|
||||
/**
|
||||
* The url attribute refers to resource. This may refer to a local resource
|
||||
* using a relative URL fragment identifier that begins with the “#”
|
||||
@@ -33,6 +33,16 @@ protected: // Attribute
|
||||
* absolute or relative URL.
|
||||
*/
|
||||
xsAnyURI attrUrl;
|
||||
/**
|
||||
* The sid attribute is a text string value containing the sub-identifier
|
||||
* of this element. This value must be unique within the scope of the parent
|
||||
* element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrSid;
|
||||
/**
|
||||
* The name attribute is the text string name of this element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrName;
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
@@ -60,7 +70,32 @@ 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.setURI( atUrl.getURI() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the bind_material element.
|
||||
@@ -81,7 +116,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInstance_geometry() : attrUrl(), elemBind_material(), elemExtra_array() {}
|
||||
domInstance_geometry() : attrUrl(), attrSid(), attrName(), elemBind_material(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -58,7 +58,8 @@ public:
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNCName atSemantic ) { attrSemantic = atSemantic; }
|
||||
void setSemantic( xsNCName atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the target attribute.
|
||||
@@ -69,7 +70,8 @@ public:
|
||||
* Sets the target attribute.
|
||||
* @param atTarget The new value for the target attribute.
|
||||
*/
|
||||
void setTarget( xsToken atTarget ) { attrTarget = atTarget; }
|
||||
void setTarget( xsToken atTarget ) { *(daeStringRef*)&attrTarget = atTarget;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
@@ -110,6 +112,108 @@ public:
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
class domBind_vertex_input;
|
||||
|
||||
typedef daeSmartRef<domBind_vertex_input> domBind_vertex_inputRef;
|
||||
typedef daeTArray<domBind_vertex_inputRef> domBind_vertex_input_Array;
|
||||
|
||||
/**
|
||||
* The bind_vertex_input element binds vertex inputs to effect parameters
|
||||
* upon instantiation.
|
||||
*/
|
||||
class domBind_vertex_input : public daeElement
|
||||
{
|
||||
protected: // Attributes
|
||||
/**
|
||||
* The semantic attribute specifies which effect parameter to bind.
|
||||
*/
|
||||
xsNCName attrSemantic;
|
||||
/**
|
||||
* The input_semantic attribute specifies which input semantic to bind.
|
||||
*/
|
||||
xsNCName attrInput_semantic;
|
||||
/**
|
||||
* The input_set attribute specifies which input set to bind.
|
||||
*/
|
||||
domUint attrInput_set;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
/**
|
||||
* Gets the semantic attribute.
|
||||
* @return Returns a xsNCName of the semantic attribute.
|
||||
*/
|
||||
xsNCName getSemantic() const { return attrSemantic; }
|
||||
/**
|
||||
* Sets the semantic attribute.
|
||||
* @param atSemantic The new value for the semantic attribute.
|
||||
*/
|
||||
void setSemantic( xsNCName atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the input_semantic attribute.
|
||||
* @return Returns a xsNCName of the input_semantic attribute.
|
||||
*/
|
||||
xsNCName getInput_semantic() const { return attrInput_semantic; }
|
||||
/**
|
||||
* Sets the input_semantic attribute.
|
||||
* @param atInput_semantic The new value for the input_semantic attribute.
|
||||
*/
|
||||
void setInput_semantic( xsNCName atInput_semantic ) { *(daeStringRef*)&attrInput_semantic = atInput_semantic;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the input_set attribute.
|
||||
* @return Returns a domUint of the input_set attribute.
|
||||
*/
|
||||
domUint getInput_set() const { return attrInput_set; }
|
||||
/**
|
||||
* Sets the input_set attribute.
|
||||
* @param atInput_set The new value for the input_set attribute.
|
||||
*/
|
||||
void setInput_set( domUint atInput_set ) { attrInput_set = atInput_set;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domBind_vertex_input() : attrSemantic(), attrInput_semantic(), attrInput_set() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
virtual ~domBind_vertex_input() {}
|
||||
/**
|
||||
* Copy Constructor
|
||||
*/
|
||||
domBind_vertex_input( const domBind_vertex_input &cpy ) : daeElement() { (void)cpy; }
|
||||
/**
|
||||
* Overloaded assignment operator
|
||||
*/
|
||||
virtual domBind_vertex_input &operator=( const domBind_vertex_input &cpy ) { (void)cpy; return *this; }
|
||||
|
||||
public: // STATIC METHODS
|
||||
/**
|
||||
* Creates an instance of this class and returns a daeElementRef referencing it.
|
||||
* @param bytes The size allocated for this instance.
|
||||
* @return a daeElementRef referencing an instance of this object.
|
||||
*/
|
||||
static daeElementRef create(daeInt bytes);
|
||||
/**
|
||||
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
||||
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
||||
* @return A daeMetaElement describing this COLLADA element.
|
||||
*/
|
||||
static daeMetaElement* registerElement();
|
||||
|
||||
public: // STATIC MEMBERS
|
||||
/**
|
||||
* The daeMetaElement that describes this element in the meta object reflection framework.
|
||||
*/
|
||||
static daeMetaElement* _Meta;
|
||||
};
|
||||
|
||||
|
||||
protected: // Attributes
|
||||
/**
|
||||
@@ -122,6 +226,16 @@ protected: // Attributes
|
||||
* instantiate.
|
||||
*/
|
||||
xsAnyURI attrTarget;
|
||||
/**
|
||||
* The sid attribute is a text string value containing the sub-identifier
|
||||
* of this element. This value must be unique within the scope of the parent
|
||||
* element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrSid;
|
||||
/**
|
||||
* The name attribute is the text string name of this element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrName;
|
||||
|
||||
protected: // Elements
|
||||
/**
|
||||
@@ -129,6 +243,11 @@ protected: // Elements
|
||||
* @see domBind
|
||||
*/
|
||||
domBind_Array elemBind_array;
|
||||
/**
|
||||
* The bind_vertex_input element binds vertex inputs to effect parameters
|
||||
* upon instantiation. @see domBind_vertex_input
|
||||
*/
|
||||
domBind_vertex_input_Array elemBind_vertex_input_array;
|
||||
/**
|
||||
* The extra element may appear any number of times. @see domExtra
|
||||
*/
|
||||
@@ -144,7 +263,8 @@ public: //Accessors and Mutators
|
||||
* Sets the symbol attribute.
|
||||
* @param atSymbol The new value for the symbol attribute.
|
||||
*/
|
||||
void setSymbol( xsNCName atSymbol ) { attrSymbol = atSymbol; }
|
||||
void setSymbol( xsNCName atSymbol ) { *(daeStringRef*)&attrSymbol = atSymbol;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the target attribute.
|
||||
@@ -160,7 +280,32 @@ 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.setURI( atTarget.getURI() );
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
/**
|
||||
* Gets the bind element array.
|
||||
@@ -172,6 +317,16 @@ public: //Accessors and Mutators
|
||||
* @return Returns a constant reference to the array of bind elements.
|
||||
*/
|
||||
const domBind_Array &getBind_array() const { return elemBind_array; }
|
||||
/**
|
||||
* Gets the bind_vertex_input element array.
|
||||
* @return Returns a reference to the array of bind_vertex_input elements.
|
||||
*/
|
||||
domBind_vertex_input_Array &getBind_vertex_input_array() { return elemBind_vertex_input_array; }
|
||||
/**
|
||||
* Gets the bind_vertex_input element array.
|
||||
* @return Returns a constant reference to the array of bind_vertex_input elements.
|
||||
*/
|
||||
const domBind_vertex_input_Array &getBind_vertex_input_array() const { return elemBind_vertex_input_array; }
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
* @return Returns a reference to the array of extra elements.
|
||||
@@ -186,7 +341,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInstance_material() : attrSymbol(), attrTarget(), elemBind_array(), elemExtra_array() {}
|
||||
domInstance_material() : attrSymbol(), attrTarget(), attrSid(), attrName(), elemBind_array(), elemBind_vertex_input_array(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -37,10 +37,14 @@ protected: // Attributes
|
||||
xsAnyURI attrUrl;
|
||||
/**
|
||||
* The sid attribute is a text string value containing the sub-identifier
|
||||
* of this element. This value must be unique within the scope of the parent
|
||||
* of this element. This value must be unique within the scope of the parent
|
||||
* element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrSid;
|
||||
/**
|
||||
* The name attribute is the text string name of this element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrName;
|
||||
/**
|
||||
* The parent attribute points to the id of a node in the visual scene. This
|
||||
* allows a physics model to be instantiated under a specific transform node,
|
||||
@@ -85,7 +89,8 @@ 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.setURI( atUrl.getURI() );
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
@@ -96,7 +101,20 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the parent attribute.
|
||||
@@ -112,7 +130,8 @@ 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.setURI( atParent.getURI() );
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
/**
|
||||
* Gets the instance_force_field element array.
|
||||
@@ -158,7 +177,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInstance_physics_model() : attrUrl(), attrSid(), attrParent(), elemInstance_force_field_array(), elemInstance_rigid_body_array(), elemInstance_rigid_constraint_array(), elemExtra_array() {}
|
||||
domInstance_physics_model() : attrUrl(), attrSid(), attrName(), attrParent(), elemInstance_force_field_array(), elemInstance_rigid_body_array(), elemInstance_rigid_constraint_array(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -229,7 +229,8 @@ public:
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
@@ -296,6 +297,10 @@ public:
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -408,7 +413,8 @@ public:
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the value of this element.
|
||||
@@ -486,6 +492,10 @@ public:
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -659,6 +669,10 @@ public:
|
||||
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
||||
*/
|
||||
daeElementRefArray _contents;
|
||||
/**
|
||||
* Used to preserve order in elements that have a complex content model.
|
||||
*/
|
||||
daeUIntArray _contentsOrder;
|
||||
|
||||
|
||||
public: //Accessors and Mutators
|
||||
@@ -775,6 +789,10 @@ protected: // Attributes
|
||||
* element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrSid;
|
||||
/**
|
||||
* The name attribute is the text string name of this element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrName;
|
||||
/**
|
||||
* The target attribute indicates which node is influenced by this rigid_body
|
||||
* instance. Required attribute
|
||||
@@ -808,7 +826,8 @@ public: //Accessors and Mutators
|
||||
* Sets the body attribute.
|
||||
* @param atBody The new value for the body attribute.
|
||||
*/
|
||||
void setBody( xsNCName atBody ) { attrBody = atBody; }
|
||||
void setBody( xsNCName atBody ) { *(daeStringRef*)&attrBody = atBody;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
@@ -819,7 +838,20 @@ public: //Accessors and Mutators
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { attrSid = atSid; }
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the target attribute.
|
||||
@@ -835,7 +867,8 @@ 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.setURI( atTarget.getURI() );
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
/**
|
||||
* Gets the technique_common element.
|
||||
@@ -866,7 +899,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInstance_rigid_body() : attrBody(), attrSid(), attrTarget(), elemTechnique_common(), elemTechnique_array(), elemExtra_array() {}
|
||||
domInstance_rigid_body() : attrBody(), attrSid(), attrName(), attrTarget(), elemTechnique_common(), elemTechnique_array(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -23,12 +23,22 @@
|
||||
*/
|
||||
class domInstance_rigid_constraint : public daeElement
|
||||
{
|
||||
protected: // Attribute
|
||||
protected: // Attributes
|
||||
/**
|
||||
* The constraint attribute indicates which rigid_constraing to instantiate.
|
||||
* Required attribute.
|
||||
*/
|
||||
xsNCName attrConstraint;
|
||||
/**
|
||||
* The sid attribute is a text string value containing the sub-identifier
|
||||
* of this element. This value must be unique within the scope of the parent
|
||||
* element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrSid;
|
||||
/**
|
||||
* The name attribute is the text string name of this element. Optional attribute.
|
||||
*/
|
||||
xsNCName attrName;
|
||||
|
||||
protected: // Element
|
||||
/**
|
||||
@@ -46,7 +56,32 @@ public: //Accessors and Mutators
|
||||
* Sets the constraint attribute.
|
||||
* @param atConstraint The new value for the constraint attribute.
|
||||
*/
|
||||
void setConstraint( xsNCName atConstraint ) { attrConstraint = atConstraint; }
|
||||
void setConstraint( xsNCName atConstraint ) { *(daeStringRef*)&attrConstraint = atConstraint;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the sid attribute.
|
||||
* @return Returns a xsNCName of the sid attribute.
|
||||
*/
|
||||
xsNCName getSid() const { return attrSid; }
|
||||
/**
|
||||
* Sets the sid attribute.
|
||||
* @param atSid The new value for the sid attribute.
|
||||
*/
|
||||
void setSid( xsNCName atSid ) { *(daeStringRef*)&attrSid = atSid;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
* @return Returns a xsNCName of the name attribute.
|
||||
*/
|
||||
xsNCName getName() const { return attrName; }
|
||||
/**
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the extra element array.
|
||||
@@ -62,7 +97,7 @@ protected:
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
domInstance_rigid_constraint() : attrConstraint(), elemExtra_array() {}
|
||||
domInstance_rigid_constraint() : attrConstraint(), attrSid(), attrName(), elemExtra_array() {}
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
|
||||
@@ -67,7 +67,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -78,7 +79,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the count attribute.
|
||||
@@ -89,7 +91,8 @@ public: //Accessors and Mutators
|
||||
* Sets the count attribute.
|
||||
* @param atCount The new value for the count attribute.
|
||||
*/
|
||||
void setCount( domUint atCount ) { attrCount = atCount; }
|
||||
void setCount( domUint atCount ) { attrCount = atCount;
|
||||
_validAttributeArray[2] = true; }
|
||||
|
||||
/**
|
||||
* Gets the minInclusive attribute.
|
||||
@@ -100,7 +103,8 @@ public: //Accessors and Mutators
|
||||
* Sets the minInclusive attribute.
|
||||
* @param atMinInclusive The new value for the minInclusive attribute.
|
||||
*/
|
||||
void setMinInclusive( xsInteger atMinInclusive ) { attrMinInclusive = atMinInclusive; }
|
||||
void setMinInclusive( xsInteger atMinInclusive ) { attrMinInclusive = atMinInclusive;
|
||||
_validAttributeArray[3] = true; }
|
||||
|
||||
/**
|
||||
* Gets the maxInclusive attribute.
|
||||
@@ -111,7 +115,8 @@ public: //Accessors and Mutators
|
||||
* Sets the maxInclusive attribute.
|
||||
* @param atMaxInclusive The new value for the maxInclusive attribute.
|
||||
*/
|
||||
void setMaxInclusive( xsInteger atMaxInclusive ) { attrMaxInclusive = atMaxInclusive; }
|
||||
void setMaxInclusive( xsInteger atMaxInclusive ) { attrMaxInclusive = atMaxInclusive;
|
||||
_validAttributeArray[4] = true; }
|
||||
|
||||
/**
|
||||
* Gets the _value array.
|
||||
|
||||
@@ -63,7 +63,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -74,7 +75,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
@@ -61,7 +61,8 @@ public: //Accessors and Mutators
|
||||
* Sets the id attribute.
|
||||
* @param atId The new value for the id attribute.
|
||||
*/
|
||||
void setId( xsID atId ) { attrId = atId; }
|
||||
void setId( xsID atId ) { *(daeStringRef*)&attrId = atId;
|
||||
_validAttributeArray[0] = true; }
|
||||
|
||||
/**
|
||||
* Gets the name attribute.
|
||||
@@ -72,7 +73,8 @@ public: //Accessors and Mutators
|
||||
* Sets the name attribute.
|
||||
* @param atName The new value for the name attribute.
|
||||
*/
|
||||
void setName( xsNCName atName ) { attrName = atName; }
|
||||
void setName( xsNCName atName ) { *(daeStringRef*)&attrName = atName;
|
||||
_validAttributeArray[1] = true; }
|
||||
|
||||
/**
|
||||
* Gets the asset element.
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user