00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __domAsset_h__
00010 #define __domAsset_h__
00011
00012 #include <dae/daeDocument.h>
00013 #include <dom/domTypes.h>
00014 #include <dom/domElements.h>
00015
00016 class DAE;
00017
00022 class domAsset : public daeElement
00023 {
00024 public:
00025 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::ASSET; }
00026 static daeInt ID() { return 664; }
00027 virtual daeInt typeID() const { return ID(); }
00028 public:
00029 class domContributor;
00030
00031 typedef daeSmartRef<domContributor> domContributorRef;
00032 typedef daeTArray<domContributorRef> domContributor_Array;
00033
00037 class domContributor : public daeElement
00038 {
00039 public:
00040 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CONTRIBUTOR; }
00041 static daeInt ID() { return 665; }
00042 virtual daeInt typeID() const { return ID(); }
00043 public:
00044 class domAuthor;
00045
00046 typedef daeSmartRef<domAuthor> domAuthorRef;
00047 typedef daeTArray<domAuthorRef> domAuthor_Array;
00048
00053 class domAuthor : public daeElement
00054 {
00055 public:
00056 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::AUTHOR; }
00057 static daeInt ID() { return 666; }
00058 virtual daeInt typeID() const { return ID(); }
00059
00060 protected:
00064 xsString _value;
00065
00066 public:
00071 xsString getValue() const { return _value; }
00076 void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
00077
00078 protected:
00082 domAuthor(DAE& dae) : daeElement(dae), _value() {}
00086 virtual ~domAuthor() {}
00090 virtual domAuthor &operator=( const domAuthor &cpy ) { (void)cpy; return *this; }
00091
00092 public:
00097 static DLLSPEC daeElementRef create(DAE& dae);
00103 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00104 };
00105
00106 class domAuthoring_tool;
00107
00108 typedef daeSmartRef<domAuthoring_tool> domAuthoring_toolRef;
00109 typedef daeTArray<domAuthoring_toolRef> domAuthoring_tool_Array;
00110
00115 class domAuthoring_tool : public daeElement
00116 {
00117 public:
00118 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::AUTHORING_TOOL; }
00119 static daeInt ID() { return 667; }
00120 virtual daeInt typeID() const { return ID(); }
00121
00122 protected:
00126 xsString _value;
00127
00128 public:
00133 xsString getValue() const { return _value; }
00138 void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
00139
00140 protected:
00144 domAuthoring_tool(DAE& dae) : daeElement(dae), _value() {}
00148 virtual ~domAuthoring_tool() {}
00152 virtual domAuthoring_tool &operator=( const domAuthoring_tool &cpy ) { (void)cpy; return *this; }
00153
00154 public:
00159 static DLLSPEC daeElementRef create(DAE& dae);
00165 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00166 };
00167
00168 class domComments;
00169
00170 typedef daeSmartRef<domComments> domCommentsRef;
00171 typedef daeTArray<domCommentsRef> domComments_Array;
00172
00177 class domComments : public daeElement
00178 {
00179 public:
00180 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMENTS; }
00181 static daeInt ID() { return 668; }
00182 virtual daeInt typeID() const { return ID(); }
00183
00184 protected:
00188 xsString _value;
00189
00190 public:
00195 xsString getValue() const { return _value; }
00200 void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
00201
00202 protected:
00206 domComments(DAE& dae) : daeElement(dae), _value() {}
00210 virtual ~domComments() {}
00214 virtual domComments &operator=( const domComments &cpy ) { (void)cpy; return *this; }
00215
00216 public:
00221 static DLLSPEC daeElementRef create(DAE& dae);
00227 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00228 };
00229
00230 class domCopyright;
00231
00232 typedef daeSmartRef<domCopyright> domCopyrightRef;
00233 typedef daeTArray<domCopyrightRef> domCopyright_Array;
00234
00239 class domCopyright : public daeElement
00240 {
00241 public:
00242 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COPYRIGHT; }
00243 static daeInt ID() { return 669; }
00244 virtual daeInt typeID() const { return ID(); }
00245
00246 protected:
00250 xsString _value;
00251
00252 public:
00257 xsString getValue() const { return _value; }
00262 void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
00263
00264 protected:
00268 domCopyright(DAE& dae) : daeElement(dae), _value() {}
00272 virtual ~domCopyright() {}
00276 virtual domCopyright &operator=( const domCopyright &cpy ) { (void)cpy; return *this; }
00277
00278 public:
00283 static DLLSPEC daeElementRef create(DAE& dae);
00289 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00290 };
00291
00292 class domSource_data;
00293
00294 typedef daeSmartRef<domSource_data> domSource_dataRef;
00295 typedef daeTArray<domSource_dataRef> domSource_data_Array;
00296
00301 class domSource_data : public daeElement
00302 {
00303 public:
00304 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SOURCE_DATA; }
00305 static daeInt ID() { return 670; }
00306 virtual daeInt typeID() const { return ID(); }
00307
00308 protected:
00312 xsAnyURI _value;
00313
00314 public:
00319 xsAnyURI &getValue() { return _value; }
00324 const xsAnyURI &getValue() const { return _value; }
00329 void setValue( const xsAnyURI &val ) { _value = val; }
00334 void setValue( xsString val ) { _value = val; }
00335
00336 protected:
00340 domSource_data(DAE& dae) : daeElement(dae), _value(dae, *this) {}
00344 virtual ~domSource_data() {}
00348 virtual domSource_data &operator=( const domSource_data &cpy ) { (void)cpy; return *this; }
00349
00350 public:
00355 static DLLSPEC daeElementRef create(DAE& dae);
00361 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00362 };
00363
00364
00365
00366 protected:
00371 domAuthorRef elemAuthor;
00376 domAuthoring_toolRef elemAuthoring_tool;
00381 domCommentsRef elemComments;
00386 domCopyrightRef elemCopyright;
00391 domSource_dataRef elemSource_data;
00392
00393 public:
00398 const domAuthorRef getAuthor() const { return elemAuthor; }
00403 const domAuthoring_toolRef getAuthoring_tool() const { return elemAuthoring_tool; }
00408 const domCommentsRef getComments() const { return elemComments; }
00413 const domCopyrightRef getCopyright() const { return elemCopyright; }
00418 const domSource_dataRef getSource_data() const { return elemSource_data; }
00419 protected:
00423 domContributor(DAE& dae) : daeElement(dae), elemAuthor(), elemAuthoring_tool(), elemComments(), elemCopyright(), elemSource_data() {}
00427 virtual ~domContributor() {}
00431 virtual domContributor &operator=( const domContributor &cpy ) { (void)cpy; return *this; }
00432
00433 public:
00438 static DLLSPEC daeElementRef create(DAE& dae);
00444 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00445 };
00446
00447 class domCreated;
00448
00449 typedef daeSmartRef<domCreated> domCreatedRef;
00450 typedef daeTArray<domCreatedRef> domCreated_Array;
00451
00457 class domCreated : public daeElement
00458 {
00459 public:
00460 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CREATED; }
00461 static daeInt ID() { return 671; }
00462 virtual daeInt typeID() const { return ID(); }
00463
00464 protected:
00468 xsDateTime _value;
00469
00470 public:
00475 xsDateTime getValue() const { return _value; }
00480 void setValue( xsDateTime val ) { *(daeStringRef*)&_value = val; }
00481
00482 protected:
00486 domCreated(DAE& dae) : daeElement(dae), _value() {}
00490 virtual ~domCreated() {}
00494 virtual domCreated &operator=( const domCreated &cpy ) { (void)cpy; return *this; }
00495
00496 public:
00501 static DLLSPEC daeElementRef create(DAE& dae);
00507 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00508 };
00509
00510 class domKeywords;
00511
00512 typedef daeSmartRef<domKeywords> domKeywordsRef;
00513 typedef daeTArray<domKeywordsRef> domKeywords_Array;
00514
00519 class domKeywords : public daeElement
00520 {
00521 public:
00522 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::KEYWORDS; }
00523 static daeInt ID() { return 672; }
00524 virtual daeInt typeID() const { return ID(); }
00525
00526 protected:
00530 xsString _value;
00531
00532 public:
00537 xsString getValue() const { return _value; }
00542 void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
00543
00544 protected:
00548 domKeywords(DAE& dae) : daeElement(dae), _value() {}
00552 virtual ~domKeywords() {}
00556 virtual domKeywords &operator=( const domKeywords &cpy ) { (void)cpy; return *this; }
00557
00558 public:
00563 static DLLSPEC daeElementRef create(DAE& dae);
00569 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00570 };
00571
00572 class domModified;
00573
00574 typedef daeSmartRef<domModified> domModifiedRef;
00575 typedef daeTArray<domModifiedRef> domModified_Array;
00576
00582 class domModified : public daeElement
00583 {
00584 public:
00585 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::MODIFIED; }
00586 static daeInt ID() { return 673; }
00587 virtual daeInt typeID() const { return ID(); }
00588
00589 protected:
00593 xsDateTime _value;
00594
00595 public:
00600 xsDateTime getValue() const { return _value; }
00605 void setValue( xsDateTime val ) { *(daeStringRef*)&_value = val; }
00606
00607 protected:
00611 domModified(DAE& dae) : daeElement(dae), _value() {}
00615 virtual ~domModified() {}
00619 virtual domModified &operator=( const domModified &cpy ) { (void)cpy; return *this; }
00620
00621 public:
00626 static DLLSPEC daeElementRef create(DAE& dae);
00632 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00633 };
00634
00635 class domRevision;
00636
00637 typedef daeSmartRef<domRevision> domRevisionRef;
00638 typedef daeTArray<domRevisionRef> domRevision_Array;
00639
00644 class domRevision : public daeElement
00645 {
00646 public:
00647 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::REVISION; }
00648 static daeInt ID() { return 674; }
00649 virtual daeInt typeID() const { return ID(); }
00650
00651 protected:
00655 xsString _value;
00656
00657 public:
00662 xsString getValue() const { return _value; }
00667 void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
00668
00669 protected:
00673 domRevision(DAE& dae) : daeElement(dae), _value() {}
00677 virtual ~domRevision() {}
00681 virtual domRevision &operator=( const domRevision &cpy ) { (void)cpy; return *this; }
00682
00683 public:
00688 static DLLSPEC daeElementRef create(DAE& dae);
00694 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00695 };
00696
00697 class domSubject;
00698
00699 typedef daeSmartRef<domSubject> domSubjectRef;
00700 typedef daeTArray<domSubjectRef> domSubject_Array;
00701
00706 class domSubject : public daeElement
00707 {
00708 public:
00709 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::SUBJECT; }
00710 static daeInt ID() { return 675; }
00711 virtual daeInt typeID() const { return ID(); }
00712
00713 protected:
00717 xsString _value;
00718
00719 public:
00724 xsString getValue() const { return _value; }
00729 void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
00730
00731 protected:
00735 domSubject(DAE& dae) : daeElement(dae), _value() {}
00739 virtual ~domSubject() {}
00743 virtual domSubject &operator=( const domSubject &cpy ) { (void)cpy; return *this; }
00744
00745 public:
00750 static DLLSPEC daeElementRef create(DAE& dae);
00756 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00757 };
00758
00759 class domTitle;
00760
00761 typedef daeSmartRef<domTitle> domTitleRef;
00762 typedef daeTArray<domTitleRef> domTitle_Array;
00763
00768 class domTitle : public daeElement
00769 {
00770 public:
00771 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TITLE; }
00772 static daeInt ID() { return 676; }
00773 virtual daeInt typeID() const { return ID(); }
00774
00775 protected:
00779 xsString _value;
00780
00781 public:
00786 xsString getValue() const { return _value; }
00791 void setValue( xsString val ) { *(daeStringRef*)&_value = val; }
00792
00793 protected:
00797 domTitle(DAE& dae) : daeElement(dae), _value() {}
00801 virtual ~domTitle() {}
00805 virtual domTitle &operator=( const domTitle &cpy ) { (void)cpy; return *this; }
00806
00807 public:
00812 static DLLSPEC daeElementRef create(DAE& dae);
00818 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00819 };
00820
00821 class domUnit;
00822
00823 typedef daeSmartRef<domUnit> domUnitRef;
00824 typedef daeTArray<domUnitRef> domUnit_Array;
00825
00831 class domUnit : public daeElement
00832 {
00833 public:
00834 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::UNIT; }
00835 static daeInt ID() { return 677; }
00836 virtual daeInt typeID() const { return ID(); }
00837 protected:
00842 domFloat attrMeter;
00847 xsNMTOKEN attrName;
00848
00849
00850 public:
00855 domFloat getMeter() const { return attrMeter; }
00860 void setMeter( domFloat atMeter ) { attrMeter = atMeter; _validAttributeArray[0] = true; }
00861
00866 xsNMTOKEN getName() const { return attrName; }
00871 void setName( xsNMTOKEN atName ) { *(daeStringRef*)&attrName = atName; _validAttributeArray[1] = true; }
00872
00873 protected:
00877 domUnit(DAE& dae) : daeElement(dae), attrMeter(), attrName() {}
00881 virtual ~domUnit() {}
00885 virtual domUnit &operator=( const domUnit &cpy ) { (void)cpy; return *this; }
00886
00887 public:
00892 static DLLSPEC daeElementRef create(DAE& dae);
00898 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00899 };
00900
00901 class domUp_axis;
00902
00903 typedef daeSmartRef<domUp_axis> domUp_axisRef;
00904 typedef daeTArray<domUp_axisRef> domUp_axis_Array;
00905
00912 class domUp_axis : public daeElement
00913 {
00914 public:
00915 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::UP_AXIS; }
00916 static daeInt ID() { return 678; }
00917 virtual daeInt typeID() const { return ID(); }
00918
00919 protected:
00923 domUpAxisType _value;
00924
00925 public:
00930 domUpAxisType getValue() const { return _value; }
00935 void setValue( domUpAxisType val ) { _value = val; }
00936
00937 protected:
00941 domUp_axis(DAE& dae) : daeElement(dae), _value() {}
00945 virtual ~domUp_axis() {}
00949 virtual domUp_axis &operator=( const domUp_axis &cpy ) { (void)cpy; return *this; }
00950
00951 public:
00956 static DLLSPEC daeElementRef create(DAE& dae);
00962 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00963 };
00964
00965
00966
00967 protected:
00972 domContributor_Array elemContributor_array;
00978 domCreatedRef elemCreated;
00984 domKeywordsRef elemKeywords;
00990 domModifiedRef elemModified;
00995 domRevisionRef elemRevision;
01001 domSubjectRef elemSubject;
01006 domTitleRef elemTitle;
01012 domUnitRef elemUnit;
01019 domUp_axisRef elemUp_axis;
01020
01021 public:
01026 domContributor_Array &getContributor_array() { return elemContributor_array; }
01031 const domContributor_Array &getContributor_array() const { return elemContributor_array; }
01036 const domCreatedRef getCreated() const { return elemCreated; }
01041 const domKeywordsRef getKeywords() const { return elemKeywords; }
01046 const domModifiedRef getModified() const { return elemModified; }
01051 const domRevisionRef getRevision() const { return elemRevision; }
01056 const domSubjectRef getSubject() const { return elemSubject; }
01061 const domTitleRef getTitle() const { return elemTitle; }
01066 const domUnitRef getUnit() const { return elemUnit; }
01071 const domUp_axisRef getUp_axis() const { return elemUp_axis; }
01072 protected:
01076 domAsset(DAE& dae) : daeElement(dae), elemContributor_array(), elemCreated(), elemKeywords(), elemModified(), elemRevision(), elemSubject(), elemTitle(), elemUnit(), elemUp_axis() {}
01080 virtual ~domAsset() {}
01084 virtual domAsset &operator=( const domAsset &cpy ) { (void)cpy; return *this; }
01085
01086 public:
01091 static DLLSPEC daeElementRef create(DAE& dae);
01097 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
01098 };
01099
01100
01101 #endif