x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
domAsset.h - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\DarkPuzzle\libs\bullet_sdk\Extras\COLLADA_DOM\include\1.4\dom\domAsset.h
旋转
特效
属性
历史版本
/* * 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 __domAsset_h__ #define __domAsset_h__ #include
#include
/** * The asset element defines asset management information regarding its parent * element. */ class domAsset : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ASSET; } public: class domContributor; typedef daeSmartRef
domContributorRef; typedef daeTArray
domContributor_Array; /** * The contributor element defines authoring information for asset management */ class domContributor : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONTRIBUTOR; } public: class domAuthor; typedef daeSmartRef
domAuthorRef; typedef daeTArray
domAuthor_Array; /** * The author element contains a string with the author's name. There may * be only one author element. */ class domAuthor : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::AUTHOR; } protected: // Value /** * The xsString value of the text data of this element. */ xsString _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domAuthor() : _value() {} /** * Destructor */ virtual ~domAuthor() {} /** * Copy Constructor */ domAuthor( const domAuthor &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domAuthor &operator=( const domAuthor &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domAuthoring_tool; typedef daeSmartRef
domAuthoring_toolRef; typedef daeTArray
domAuthoring_tool_Array; /** * The authoring_tool element contains a string with the authoring tool's * name. There may be only one authoring_tool element. */ class domAuthoring_tool : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::AUTHORING_TOOL; } protected: // Value /** * The xsString value of the text data of this element. */ xsString _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domAuthoring_tool() : _value() {} /** * Destructor */ virtual ~domAuthoring_tool() {} /** * Copy Constructor */ domAuthoring_tool( const domAuthoring_tool &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domAuthoring_tool &operator=( const domAuthoring_tool &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domComments; typedef daeSmartRef
domCommentsRef; typedef daeTArray
domComments_Array; /** * The comments element contains a string with comments from this contributor. * There may be only one comments element. */ class domComments : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMENTS; } protected: // Value /** * The xsString value of the text data of this element. */ xsString _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domComments() : _value() {} /** * Destructor */ virtual ~domComments() {} /** * Copy Constructor */ domComments( const domComments &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domComments &operator=( const domComments &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domCopyright; typedef daeSmartRef
domCopyrightRef; typedef daeTArray
domCopyright_Array; /** * The copyright element contains a string with copyright information. There * may be only one copyright element. */ class domCopyright : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COPYRIGHT; } protected: // Value /** * The xsString value of the text data of this element. */ xsString _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domCopyright() : _value() {} /** * Destructor */ virtual ~domCopyright() {} /** * Copy Constructor */ domCopyright( const domCopyright &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domCopyright &operator=( const domCopyright &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domSource_data; typedef daeSmartRef
domSource_dataRef; typedef daeTArray
domSource_data_Array; /** * The source_data element contains a URI reference to the source data used * for this asset. There may be only one source_data element. */ class domSource_data : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE_DATA; } protected: // Value /** * The xsAnyURI value of the text data of this element. */ xsAnyURI _value; public: //Accessors and Mutators /** * Gets the value of this element. * @return Returns a xsAnyURI of the value. */ xsAnyURI &getValue() { return _value; } /** * Gets the value of this element. * @return Returns a constant xsAnyURI of the value. */ const xsAnyURI &getValue() const { return _value; } /** * Sets the _value of this element. * @param val The new value for this element. */ void setValue( const xsAnyURI &val ) { _value = val; } protected: /** * Constructor */ domSource_data() : _value() {} /** * Destructor */ virtual ~domSource_data() {} /** * Copy Constructor */ domSource_data( const domSource_data &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domSource_data &operator=( const domSource_data &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; protected: // Elements /** * The author element contains a string with the author's name. There may * be only one author element. @see domAuthor */ domAuthorRef elemAuthor; /** * The authoring_tool element contains a string with the authoring tool's * name. There may be only one authoring_tool element. @see domAuthoring_tool */ domAuthoring_toolRef elemAuthoring_tool; /** * The comments element contains a string with comments from this contributor. * There may be only one comments element. @see domComments */ domCommentsRef elemComments; /** * The copyright element contains a string with copyright information. There * may be only one copyright element. @see domCopyright */ domCopyrightRef elemCopyright; /** * The source_data element contains a URI reference to the source data used * for this asset. There may be only one source_data element. @see domSource_data */ domSource_dataRef elemSource_data; public: //Accessors and Mutators /** * Gets the author element. * @return a daeSmartRef to the author element. */ const domAuthorRef getAuthor() const { return elemAuthor; } /** * Gets the authoring_tool element. * @return a daeSmartRef to the authoring_tool element. */ const domAuthoring_toolRef getAuthoring_tool() const { return elemAuthoring_tool; } /** * Gets the comments element. * @return a daeSmartRef to the comments element. */ const domCommentsRef getComments() const { return elemComments; } /** * Gets the copyright element. * @return a daeSmartRef to the copyright element. */ const domCopyrightRef getCopyright() const { return elemCopyright; } /** * Gets the source_data element. * @return a daeSmartRef to the source_data element. */ const domSource_dataRef getSource_data() const { return elemSource_data; } protected: /** * Constructor */ domContributor() : elemAuthor(), elemAuthoring_tool(), elemComments(), elemCopyright(), elemSource_data() {} /** * Destructor */ virtual ~domContributor() {} /** * Copy Constructor */ domContributor( const domContributor &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domContributor &operator=( const domContributor &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domCreated; typedef daeSmartRef
domCreatedRef; typedef daeTArray
domCreated_Array; /** * The created element contains the date and time that the parent element * was created and is represented in an ISO 8601 format. The created element * may appear zero or one time. */ class domCreated : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CREATED; } protected: // Value /** * The xsDateTime value of the text data of this element. */ xsDateTime _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domCreated() : _value() {} /** * Destructor */ virtual ~domCreated() {} /** * Copy Constructor */ domCreated( const domCreated &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domCreated &operator=( const domCreated &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domKeywords; typedef daeSmartRef
domKeywordsRef; typedef daeTArray
domKeywords_Array; /** * The keywords element contains a list of words used as search criteria for * the parent element. The keywords element may appear zero or more times. */ class domKeywords : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::KEYWORDS; } protected: // Value /** * The xsString value of the text data of this element. */ xsString _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domKeywords() : _value() {} /** * Destructor */ virtual ~domKeywords() {} /** * Copy Constructor */ domKeywords( const domKeywords &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domKeywords &operator=( const domKeywords &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domModified; typedef daeSmartRef
domModifiedRef; typedef daeTArray
domModified_Array; /** * The modified element contains the date and time that the parent element * was last modified and represented in an ISO 8601 format. The modified * element may appear zero or one time. */ class domModified : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIED; } protected: // Value /** * The xsDateTime value of the text data of this element. */ xsDateTime _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domModified() : _value() {} /** * Destructor */ virtual ~domModified() {} /** * Copy Constructor */ domModified( const domModified &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domModified &operator=( const domModified &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domRevision; typedef daeSmartRef
domRevisionRef; typedef daeTArray
domRevision_Array; /** * The revision element contains the revision information for the parent element. * The revision element may appear zero or one time. */ class domRevision : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::REVISION; } protected: // Value /** * The xsString value of the text data of this element. */ xsString _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domRevision() : _value() {} /** * Destructor */ virtual ~domRevision() {} /** * Copy Constructor */ domRevision( const domRevision &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domRevision &operator=( const domRevision &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domSubject; typedef daeSmartRef
domSubjectRef; typedef daeTArray
domSubject_Array; /** * The subject element contains a description of the topical subject of the * parent element. The subject element may appear zero or one time. */ class domSubject : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SUBJECT; } protected: // Value /** * The xsString value of the text data of this element. */ xsString _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domSubject() : _value() {} /** * Destructor */ virtual ~domSubject() {} /** * Copy Constructor */ domSubject( const domSubject &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domSubject &operator=( const domSubject &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domTitle; typedef daeSmartRef
domTitleRef; typedef daeTArray
domTitle_Array; /** * The title element contains the title information for the parent element. * The title element may appear zero or one time. */ class domTitle : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TITLE; } protected: // Value /** * The xsString value of the text data of this element. */ xsString _value; public: //Accessors and Mutators /** * Gets the value of this element. * @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 ) { *(daeStringRef*)&_value = val; } protected: /** * Constructor */ domTitle() : _value() {} /** * Destructor */ virtual ~domTitle() {} /** * Copy Constructor */ domTitle( const domTitle &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domTitle &operator=( const domTitle &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domUnit; typedef daeSmartRef
domUnitRef; typedef daeTArray
domUnit_Array; /** * The unit element contains descriptive information about unit of measure. * It has attributes for the name of the unit and the measurement with respect * to the meter. The unit element may appear zero or one time. */ class domUnit : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::UNIT; } protected: // Attributes /** * The meter attribute specifies the measurement with respect to the meter. * The default value for the meter attribute is “1.0”. */ domFloat attrMeter; /** * The name attribute specifies the name of the unit. The default value for * the name attribute is “meter”. */ xsNMTOKEN attrName; public: //Accessors and Mutators /** * Gets the meter attribute. * @return Returns a domFloat of the meter attribute. */ domFloat getMeter() const { return attrMeter; } /** * Sets the meter attribute. * @param atMeter The new value for the meter attribute. */ void setMeter( domFloat atMeter ) { attrMeter = atMeter; _validAttributeArray[0] = true; } /** * Gets the name attribute. * @return Returns a xsNMTOKEN of the name attribute. */ xsNMTOKEN getName() const { return attrName; } /** * Sets the name attribute. * @param atName The new value for the name attribute. */ void setName( xsNMTOKEN atName ) { *(daeStringRef*)&attrName = atName; _validAttributeArray[1] = true; } protected: /** * Constructor */ domUnit() : attrMeter(), attrName() {} /** * Destructor */ virtual ~domUnit() {} /** * Copy Constructor */ domUnit( const domUnit &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domUnit &operator=( const domUnit &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; class domUp_axis; typedef daeSmartRef
domUp_axisRef; typedef daeTArray
domUp_axis_Array; /** * The up_axis element contains descriptive information about coordinate system * of the geometric data. All coordinates are right-handed by definition. * This element specifies which axis is considered up. The default is the * Y-axis. The up_axis element may appear zero or one time. */ class domUp_axis : public daeElement { public: COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::UP_AXIS; } protected: // Value /** * The domUpAxisType value of the text data of this element. */ domUpAxisType _value; public: //Accessors and Mutators /** * Gets the value of this element. * @return a domUpAxisType of the value. */ domUpAxisType getValue() const { return _value; } /** * Sets the _value of this element. * @param val The new value for this element. */ void setValue( domUpAxisType val ) { _value = val; } protected: /** * Constructor */ domUp_axis() : _value() {} /** * Destructor */ virtual ~domUp_axis() {} /** * Copy Constructor */ domUp_axis( const domUp_axis &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domUp_axis &operator=( const domUp_axis &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; protected: // Elements /** * The contributor element defines authoring information for asset management * @see domContributor */ domContributor_Array elemContributor_array; /** * The created element contains the date and time that the parent element * was created and is represented in an ISO 8601 format. The created element * may appear zero or one time. @see domCreated */ domCreatedRef elemCreated; /** * The keywords element contains a list of words used as search criteria for * the parent element. The keywords element may appear zero or more times. * @see domKeywords */ domKeywordsRef elemKeywords; /** * The modified element contains the date and time that the parent element * was last modified and represented in an ISO 8601 format. The modified * element may appear zero or one time. @see domModified */ domModifiedRef elemModified; /** * The revision element contains the revision information for the parent element. * The revision element may appear zero or one time. @see domRevision */ domRevisionRef elemRevision; /** * The subject element contains a description of the topical subject of the * parent element. The subject element may appear zero or one time. @see * domSubject */ domSubjectRef elemSubject; /** * The title element contains the title information for the parent element. * The title element may appear zero or one time. @see domTitle */ domTitleRef elemTitle; /** * The unit element contains descriptive information about unit of measure. * It has attributes for the name of the unit and the measurement with respect * to the meter. The unit element may appear zero or one time. @see domUnit */ domUnitRef elemUnit; /** * The up_axis element contains descriptive information about coordinate system * of the geometric data. All coordinates are right-handed by definition. * This element specifies which axis is considered up. The default is the * Y-axis. The up_axis element may appear zero or one time. @see domUp_axis */ domUp_axisRef elemUp_axis; public: //Accessors and Mutators /** * Gets the contributor element array. * @return Returns a reference to the array of contributor elements. */ domContributor_Array &getContributor_array() { return elemContributor_array; } /** * Gets the contributor element array. * @return Returns a constant reference to the array of contributor elements. */ const domContributor_Array &getContributor_array() const { return elemContributor_array; } /** * Gets the created element. * @return a daeSmartRef to the created element. */ const domCreatedRef getCreated() const { return elemCreated; } /** * Gets the keywords element. * @return a daeSmartRef to the keywords element. */ const domKeywordsRef getKeywords() const { return elemKeywords; } /** * Gets the modified element. * @return a daeSmartRef to the modified element. */ const domModifiedRef getModified() const { return elemModified; } /** * Gets the revision element. * @return a daeSmartRef to the revision element. */ const domRevisionRef getRevision() const { return elemRevision; } /** * Gets the subject element. * @return a daeSmartRef to the subject element. */ const domSubjectRef getSubject() const { return elemSubject; } /** * Gets the title element. * @return a daeSmartRef to the title element. */ const domTitleRef getTitle() const { return elemTitle; } /** * Gets the unit element. * @return a daeSmartRef to the unit element. */ const domUnitRef getUnit() const { return elemUnit; } /** * Gets the up_axis element. * @return a daeSmartRef to the up_axis element. */ const domUp_axisRef getUp_axis() const { return elemUp_axis; } protected: /** * Constructor */ domAsset() : elemContributor_array(), elemCreated(), elemKeywords(), elemModified(), elemRevision(), elemSubject(), elemTitle(), elemUnit(), elemUp_axis() {} /** * Destructor */ virtual ~domAsset() {} /** * Copy Constructor */ domAsset( const domAsset &cpy ) : daeElement() { (void)cpy; } /** * Overloaded assignment operator */ virtual domAsset &operator=( const domAsset &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 DLLSPEC daeElementRef create(daeInt bytes); /** * Creates a daeMetaElement object that describes this element in the meta object reflection framework. * If a daeMetaElement already exists it will return that instead of creating a new one. * @return A daeMetaElement describing this COLLADA element. */ static DLLSPEC daeMetaElement* registerElement(); public: // STATIC MEMBERS /** * The daeMetaElement that describes this element in the meta object reflection framework. */ static DLLSPEC daeMetaElement* _Meta; }; #endif
domAsset.h
网页地址
文件地址
上一页
4/174
下一页
下载
( 37 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.