00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __domFx_annotate_type_common_h__
00010 #define __domFx_annotate_type_common_h__
00011
00012 #include <dae/daeDocument.h>
00013 #include <dom/domTypes.h>
00014 #include <dom/domElements.h>
00015
00016 class DAE;
00017
00021 class domFx_annotate_type_common : public daeElement
00022 {
00023 public:
00024 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_ANNOTATE_TYPE_COMMON; }
00025 static daeInt ID() { return 171; }
00026 virtual daeInt typeID() const { return ID(); }
00027 public:
00028 class domBool;
00029
00030 typedef daeSmartRef<domBool> domBoolRef;
00031 typedef daeTArray<domBoolRef> domBool_Array;
00032
00033 class domBool : public daeElement
00034 {
00035 public:
00036 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; }
00037 static daeInt ID() { return 172; }
00038 virtual daeInt typeID() const { return ID(); }
00039
00040 protected:
00044 ::domBool _value;
00045
00046 public:
00051 ::domBool getValue() const { return _value; }
00056 void setValue( ::domBool val ) { _value = val; }
00057
00058 protected:
00062 domBool(DAE& dae) : daeElement(dae), _value() {}
00066 virtual ~domBool() {}
00070 virtual domBool &operator=( const domBool &cpy ) { (void)cpy; return *this; }
00071
00072 public:
00077 static DLLSPEC daeElementRef create(DAE& dae);
00083 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00084 };
00085
00086 class domBool2;
00087
00088 typedef daeSmartRef<domBool2> domBool2Ref;
00089 typedef daeTArray<domBool2Ref> domBool2_Array;
00090
00091 class domBool2 : public daeElement
00092 {
00093 public:
00094 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; }
00095 static daeInt ID() { return 173; }
00096 virtual daeInt typeID() const { return ID(); }
00097
00098 protected:
00102 ::domBool2 _value;
00103
00104 public:
00109 ::domBool2 &getValue() { return _value; }
00114 const ::domBool2 &getValue() const { return _value; }
00119 void setValue( const ::domBool2 &val ) { _value = val; }
00120
00121 protected:
00125 domBool2(DAE& dae) : daeElement(dae), _value() {}
00129 virtual ~domBool2() {}
00133 virtual domBool2 &operator=( const domBool2 &cpy ) { (void)cpy; return *this; }
00134
00135 public:
00140 static DLLSPEC daeElementRef create(DAE& dae);
00146 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00147 };
00148
00149 class domBool3;
00150
00151 typedef daeSmartRef<domBool3> domBool3Ref;
00152 typedef daeTArray<domBool3Ref> domBool3_Array;
00153
00154 class domBool3 : public daeElement
00155 {
00156 public:
00157 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; }
00158 static daeInt ID() { return 174; }
00159 virtual daeInt typeID() const { return ID(); }
00160
00161 protected:
00165 ::domBool3 _value;
00166
00167 public:
00172 ::domBool3 &getValue() { return _value; }
00177 const ::domBool3 &getValue() const { return _value; }
00182 void setValue( const ::domBool3 &val ) { _value = val; }
00183
00184 protected:
00188 domBool3(DAE& dae) : daeElement(dae), _value() {}
00192 virtual ~domBool3() {}
00196 virtual domBool3 &operator=( const domBool3 &cpy ) { (void)cpy; return *this; }
00197
00198 public:
00203 static DLLSPEC daeElementRef create(DAE& dae);
00209 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00210 };
00211
00212 class domBool4;
00213
00214 typedef daeSmartRef<domBool4> domBool4Ref;
00215 typedef daeTArray<domBool4Ref> domBool4_Array;
00216
00217 class domBool4 : public daeElement
00218 {
00219 public:
00220 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; }
00221 static daeInt ID() { return 175; }
00222 virtual daeInt typeID() const { return ID(); }
00223
00224 protected:
00228 ::domBool4 _value;
00229
00230 public:
00235 ::domBool4 &getValue() { return _value; }
00240 const ::domBool4 &getValue() const { return _value; }
00245 void setValue( const ::domBool4 &val ) { _value = val; }
00246
00247 protected:
00251 domBool4(DAE& dae) : daeElement(dae), _value() {}
00255 virtual ~domBool4() {}
00259 virtual domBool4 &operator=( const domBool4 &cpy ) { (void)cpy; return *this; }
00260
00261 public:
00266 static DLLSPEC daeElementRef create(DAE& dae);
00272 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00273 };
00274
00275 class domInt;
00276
00277 typedef daeSmartRef<domInt> domIntRef;
00278 typedef daeTArray<domIntRef> domInt_Array;
00279
00280 class domInt : public daeElement
00281 {
00282 public:
00283 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; }
00284 static daeInt ID() { return 176; }
00285 virtual daeInt typeID() const { return ID(); }
00286
00287 protected:
00291 ::domInt _value;
00292
00293 public:
00298 ::domInt getValue() const { return _value; }
00303 void setValue( ::domInt val ) { _value = val; }
00304
00305 protected:
00309 domInt(DAE& dae) : daeElement(dae), _value() {}
00313 virtual ~domInt() {}
00317 virtual domInt &operator=( const domInt &cpy ) { (void)cpy; return *this; }
00318
00319 public:
00324 static DLLSPEC daeElementRef create(DAE& dae);
00330 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00331 };
00332
00333 class domInt2;
00334
00335 typedef daeSmartRef<domInt2> domInt2Ref;
00336 typedef daeTArray<domInt2Ref> domInt2_Array;
00337
00338 class domInt2 : public daeElement
00339 {
00340 public:
00341 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; }
00342 static daeInt ID() { return 177; }
00343 virtual daeInt typeID() const { return ID(); }
00344
00345 protected:
00349 ::domInt2 _value;
00350
00351 public:
00356 ::domInt2 &getValue() { return _value; }
00361 const ::domInt2 &getValue() const { return _value; }
00366 void setValue( const ::domInt2 &val ) { _value = val; }
00367
00368 protected:
00372 domInt2(DAE& dae) : daeElement(dae), _value() {}
00376 virtual ~domInt2() {}
00380 virtual domInt2 &operator=( const domInt2 &cpy ) { (void)cpy; return *this; }
00381
00382 public:
00387 static DLLSPEC daeElementRef create(DAE& dae);
00393 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00394 };
00395
00396 class domInt3;
00397
00398 typedef daeSmartRef<domInt3> domInt3Ref;
00399 typedef daeTArray<domInt3Ref> domInt3_Array;
00400
00401 class domInt3 : public daeElement
00402 {
00403 public:
00404 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; }
00405 static daeInt ID() { return 178; }
00406 virtual daeInt typeID() const { return ID(); }
00407
00408 protected:
00412 ::domInt3 _value;
00413
00414 public:
00419 ::domInt3 &getValue() { return _value; }
00424 const ::domInt3 &getValue() const { return _value; }
00429 void setValue( const ::domInt3 &val ) { _value = val; }
00430
00431 protected:
00435 domInt3(DAE& dae) : daeElement(dae), _value() {}
00439 virtual ~domInt3() {}
00443 virtual domInt3 &operator=( const domInt3 &cpy ) { (void)cpy; return *this; }
00444
00445 public:
00450 static DLLSPEC daeElementRef create(DAE& dae);
00456 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00457 };
00458
00459 class domInt4;
00460
00461 typedef daeSmartRef<domInt4> domInt4Ref;
00462 typedef daeTArray<domInt4Ref> domInt4_Array;
00463
00464 class domInt4 : public daeElement
00465 {
00466 public:
00467 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; }
00468 static daeInt ID() { return 179; }
00469 virtual daeInt typeID() const { return ID(); }
00470
00471 protected:
00475 ::domInt4 _value;
00476
00477 public:
00482 ::domInt4 &getValue() { return _value; }
00487 const ::domInt4 &getValue() const { return _value; }
00492 void setValue( const ::domInt4 &val ) { _value = val; }
00493
00494 protected:
00498 domInt4(DAE& dae) : daeElement(dae), _value() {}
00502 virtual ~domInt4() {}
00506 virtual domInt4 &operator=( const domInt4 &cpy ) { (void)cpy; return *this; }
00507
00508 public:
00513 static DLLSPEC daeElementRef create(DAE& dae);
00519 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00520 };
00521
00522 class domFloat;
00523
00524 typedef daeSmartRef<domFloat> domFloatRef;
00525 typedef daeTArray<domFloatRef> domFloat_Array;
00526
00527 class domFloat : public daeElement
00528 {
00529 public:
00530 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; }
00531 static daeInt ID() { return 180; }
00532 virtual daeInt typeID() const { return ID(); }
00533
00534 protected:
00538 ::domFloat _value;
00539
00540 public:
00545 ::domFloat getValue() const { return _value; }
00550 void setValue( ::domFloat val ) { _value = val; }
00551
00552 protected:
00556 domFloat(DAE& dae) : daeElement(dae), _value() {}
00560 virtual ~domFloat() {}
00564 virtual domFloat &operator=( const domFloat &cpy ) { (void)cpy; return *this; }
00565
00566 public:
00571 static DLLSPEC daeElementRef create(DAE& dae);
00577 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00578 };
00579
00580 class domFloat2;
00581
00582 typedef daeSmartRef<domFloat2> domFloat2Ref;
00583 typedef daeTArray<domFloat2Ref> domFloat2_Array;
00584
00585 class domFloat2 : public daeElement
00586 {
00587 public:
00588 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; }
00589 static daeInt ID() { return 181; }
00590 virtual daeInt typeID() const { return ID(); }
00591
00592 protected:
00596 ::domFloat2 _value;
00597
00598 public:
00603 ::domFloat2 &getValue() { return _value; }
00608 const ::domFloat2 &getValue() const { return _value; }
00613 void setValue( const ::domFloat2 &val ) { _value = val; }
00614
00615 protected:
00619 domFloat2(DAE& dae) : daeElement(dae), _value() {}
00623 virtual ~domFloat2() {}
00627 virtual domFloat2 &operator=( const domFloat2 &cpy ) { (void)cpy; return *this; }
00628
00629 public:
00634 static DLLSPEC daeElementRef create(DAE& dae);
00640 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00641 };
00642
00643 class domFloat3;
00644
00645 typedef daeSmartRef<domFloat3> domFloat3Ref;
00646 typedef daeTArray<domFloat3Ref> domFloat3_Array;
00647
00648 class domFloat3 : public daeElement
00649 {
00650 public:
00651 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; }
00652 static daeInt ID() { return 182; }
00653 virtual daeInt typeID() const { return ID(); }
00654
00655 protected:
00659 ::domFloat3 _value;
00660
00661 public:
00666 ::domFloat3 &getValue() { return _value; }
00671 const ::domFloat3 &getValue() const { return _value; }
00676 void setValue( const ::domFloat3 &val ) { _value = val; }
00677
00678 protected:
00682 domFloat3(DAE& dae) : daeElement(dae), _value() {}
00686 virtual ~domFloat3() {}
00690 virtual domFloat3 &operator=( const domFloat3 &cpy ) { (void)cpy; return *this; }
00691
00692 public:
00697 static DLLSPEC daeElementRef create(DAE& dae);
00703 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00704 };
00705
00706 class domFloat4;
00707
00708 typedef daeSmartRef<domFloat4> domFloat4Ref;
00709 typedef daeTArray<domFloat4Ref> domFloat4_Array;
00710
00711 class domFloat4 : public daeElement
00712 {
00713 public:
00714 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; }
00715 static daeInt ID() { return 183; }
00716 virtual daeInt typeID() const { return ID(); }
00717
00718 protected:
00722 ::domFloat4 _value;
00723
00724 public:
00729 ::domFloat4 &getValue() { return _value; }
00734 const ::domFloat4 &getValue() const { return _value; }
00739 void setValue( const ::domFloat4 &val ) { _value = val; }
00740
00741 protected:
00745 domFloat4(DAE& dae) : daeElement(dae), _value() {}
00749 virtual ~domFloat4() {}
00753 virtual domFloat4 &operator=( const domFloat4 &cpy ) { (void)cpy; return *this; }
00754
00755 public:
00760 static DLLSPEC daeElementRef create(DAE& dae);
00766 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00767 };
00768
00769 class domFloat2x2;
00770
00771 typedef daeSmartRef<domFloat2x2> domFloat2x2Ref;
00772 typedef daeTArray<domFloat2x2Ref> domFloat2x2_Array;
00773
00774 class domFloat2x2 : public daeElement
00775 {
00776 public:
00777 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; }
00778 static daeInt ID() { return 184; }
00779 virtual daeInt typeID() const { return ID(); }
00780
00781 protected:
00785 ::domFloat2x2 _value;
00786
00787 public:
00792 ::domFloat2x2 &getValue() { return _value; }
00797 const ::domFloat2x2 &getValue() const { return _value; }
00802 void setValue( const ::domFloat2x2 &val ) { _value = val; }
00803
00804 protected:
00808 domFloat2x2(DAE& dae) : daeElement(dae), _value() {}
00812 virtual ~domFloat2x2() {}
00816 virtual domFloat2x2 &operator=( const domFloat2x2 &cpy ) { (void)cpy; return *this; }
00817
00818 public:
00823 static DLLSPEC daeElementRef create(DAE& dae);
00829 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00830 };
00831
00832 class domFloat3x3;
00833
00834 typedef daeSmartRef<domFloat3x3> domFloat3x3Ref;
00835 typedef daeTArray<domFloat3x3Ref> domFloat3x3_Array;
00836
00837 class domFloat3x3 : public daeElement
00838 {
00839 public:
00840 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; }
00841 static daeInt ID() { return 185; }
00842 virtual daeInt typeID() const { return ID(); }
00843
00844 protected:
00848 ::domFloat3x3 _value;
00849
00850 public:
00855 ::domFloat3x3 &getValue() { return _value; }
00860 const ::domFloat3x3 &getValue() const { return _value; }
00865 void setValue( const ::domFloat3x3 &val ) { _value = val; }
00866
00867 protected:
00871 domFloat3x3(DAE& dae) : daeElement(dae), _value() {}
00875 virtual ~domFloat3x3() {}
00879 virtual domFloat3x3 &operator=( const domFloat3x3 &cpy ) { (void)cpy; return *this; }
00880
00881 public:
00886 static DLLSPEC daeElementRef create(DAE& dae);
00892 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00893 };
00894
00895 class domFloat4x4;
00896
00897 typedef daeSmartRef<domFloat4x4> domFloat4x4Ref;
00898 typedef daeTArray<domFloat4x4Ref> domFloat4x4_Array;
00899
00900 class domFloat4x4 : public daeElement
00901 {
00902 public:
00903 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; }
00904 static daeInt ID() { return 186; }
00905 virtual daeInt typeID() const { return ID(); }
00906
00907 protected:
00911 ::domFloat4x4 _value;
00912
00913 public:
00918 ::domFloat4x4 &getValue() { return _value; }
00923 const ::domFloat4x4 &getValue() const { return _value; }
00928 void setValue( const ::domFloat4x4 &val ) { _value = val; }
00929
00930 protected:
00934 domFloat4x4(DAE& dae) : daeElement(dae), _value() {}
00938 virtual ~domFloat4x4() {}
00942 virtual domFloat4x4 &operator=( const domFloat4x4 &cpy ) { (void)cpy; return *this; }
00943
00944 public:
00949 static DLLSPEC daeElementRef create(DAE& dae);
00955 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00956 };
00957
00958 class domString;
00959
00960 typedef daeSmartRef<domString> domStringRef;
00961 typedef daeTArray<domStringRef> domString_Array;
00962
00963 class domString : public daeElement
00964 {
00965 public:
00966 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STRING; }
00967 static daeInt ID() { return 187; }
00968 virtual daeInt typeID() const { return ID(); }
00969
00970 protected:
00974 ::xsString _value;
00975
00976 public:
00981 ::xsString getValue() const { return _value; }
00986 void setValue( ::xsString val ) { *(daeStringRef*)&_value = val; }
00987
00988 protected:
00992 domString(DAE& dae) : daeElement(dae), _value() {}
00996 virtual ~domString() {}
01000 virtual domString &operator=( const domString &cpy ) { (void)cpy; return *this; }
01001
01002 public:
01007 static DLLSPEC daeElementRef create(DAE& dae);
01013 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
01014 };
01015
01016
01017
01018 protected:
01019 domBoolRef elemBool;
01020 domBool2Ref elemBool2;
01021 domBool3Ref elemBool3;
01022 domBool4Ref elemBool4;
01023 domIntRef elemInt;
01024 domInt2Ref elemInt2;
01025 domInt3Ref elemInt3;
01026 domInt4Ref elemInt4;
01027 domFloatRef elemFloat;
01028 domFloat2Ref elemFloat2;
01029 domFloat3Ref elemFloat3;
01030 domFloat4Ref elemFloat4;
01031 domFloat2x2Ref elemFloat2x2;
01032 domFloat3x3Ref elemFloat3x3;
01033 domFloat4x4Ref elemFloat4x4;
01034 domStringRef elemString;
01038 daeElementRefArray _contents;
01042 daeUIntArray _contentsOrder;
01043
01047 daeTArray< daeCharArray * > _CMData;
01048
01049
01050 public:
01055 const domBoolRef getBool() const { return elemBool; }
01060 const domBool2Ref getBool2() const { return elemBool2; }
01065 const domBool3Ref getBool3() const { return elemBool3; }
01070 const domBool4Ref getBool4() const { return elemBool4; }
01075 const domIntRef getInt() const { return elemInt; }
01080 const domInt2Ref getInt2() const { return elemInt2; }
01085 const domInt3Ref getInt3() const { return elemInt3; }
01090 const domInt4Ref getInt4() const { return elemInt4; }
01095 const domFloatRef getFloat() const { return elemFloat; }
01100 const domFloat2Ref getFloat2() const { return elemFloat2; }
01105 const domFloat3Ref getFloat3() const { return elemFloat3; }
01110 const domFloat4Ref getFloat4() const { return elemFloat4; }
01115 const domFloat2x2Ref getFloat2x2() const { return elemFloat2x2; }
01120 const domFloat3x3Ref getFloat3x3() const { return elemFloat3x3; }
01125 const domFloat4x4Ref getFloat4x4() const { return elemFloat4x4; }
01130 const domStringRef getString() const { return elemString; }
01135 daeElementRefArray &getContents() { return _contents; }
01140 const daeElementRefArray &getContents() const { return _contents; }
01141
01142 protected:
01146 domFx_annotate_type_common(DAE& dae) : daeElement(dae), elemBool(), elemBool2(), elemBool3(), elemBool4(), elemInt(), elemInt2(), elemInt3(), elemInt4(), elemFloat(), elemFloat2(), elemFloat3(), elemFloat4(), elemFloat2x2(), elemFloat3x3(), elemFloat4x4(), elemString() {}
01150 virtual ~domFx_annotate_type_common() { daeElement::deleteCMDataArray(_CMData); }
01154 virtual domFx_annotate_type_common &operator=( const domFx_annotate_type_common &cpy ) { (void)cpy; return *this; }
01155
01156 public:
01161 static DLLSPEC daeElementRef create(DAE& dae);
01167 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
01168 };
01169
01170
01171 #endif