updated COLLADA-DOM to the latest bleeding-edge (1.4.1) SVN version of today

This commit is contained in:
ejcoumans
2006-07-26 18:58:09 +00:00
parent 750af5c197
commit 7038e5c736
353 changed files with 21354 additions and 6259 deletions

View File

@@ -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