00001 #ifndef __domFx_annotate_h__
00002 #define __domFx_annotate_h__
00003
00004 #include <dae/daeDocument.h>
00005 #include <dom/domTypes.h>
00006 #include <dom/domElements.h>
00007
00008 class DAE;
00009
00013 class domFx_annotate : public daeElement
00014 {
00015 public:
00016 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_ANNOTATE; }
00017 static daeInt ID() { return 137; }
00018 virtual daeInt typeID() const { return ID(); }
00019 public:
00020 class domBool;
00021
00022 typedef daeSmartRef<domBool> domBoolRef;
00023 typedef daeTArray<domBoolRef> domBool_Array;
00024
00025 class domBool : public daeElement
00026 {
00027 public:
00028 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; }
00029 static daeInt ID() { return 138; }
00030 virtual daeInt typeID() const { return ID(); }
00031
00032
00033 public:
00038 xsBoolean& getValue() { return _value; }
00043 void setValue( const xsBoolean& val ) { _value = val; }
00044
00045 protected:
00049 xsBoolean _value;
00050 protected:
00054 domBool(DAE& dae) : daeElement(dae), _value() {}
00058 virtual ~domBool() {}
00062 virtual domBool &operator=( const domBool &cpy ) { (void)cpy; return *this; }
00063
00064 public:
00069 static DLLSPEC daeElementRef create(DAE& dae);
00075 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00076 };
00077
00078 class domBool2;
00079
00080 typedef daeSmartRef<domBool2> domBool2Ref;
00081 typedef daeTArray<domBool2Ref> domBool2_Array;
00082
00083 class domBool2 : public daeElement
00084 {
00085 public:
00086 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; }
00087 static daeInt ID() { return 139; }
00088 virtual daeInt typeID() const { return ID(); }
00089
00090
00091 public:
00096 ::domBool2& getValue() { return _value; }
00101 void setValue( const ::domBool2& val ) { _value = val; }
00102
00103 protected:
00107 ::domBool2 _value;
00108 protected:
00112 domBool2(DAE& dae) : daeElement(dae), _value() {}
00116 virtual ~domBool2() {}
00120 virtual domBool2 &operator=( const domBool2 &cpy ) { (void)cpy; return *this; }
00121
00122 public:
00127 static DLLSPEC daeElementRef create(DAE& dae);
00133 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00134 };
00135
00136 class domBool3;
00137
00138 typedef daeSmartRef<domBool3> domBool3Ref;
00139 typedef daeTArray<domBool3Ref> domBool3_Array;
00140
00141 class domBool3 : public daeElement
00142 {
00143 public:
00144 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; }
00145 static daeInt ID() { return 140; }
00146 virtual daeInt typeID() const { return ID(); }
00147
00148
00149 public:
00154 ::domBool3& getValue() { return _value; }
00159 void setValue( const ::domBool3& val ) { _value = val; }
00160
00161 protected:
00165 ::domBool3 _value;
00166 protected:
00170 domBool3(DAE& dae) : daeElement(dae), _value() {}
00174 virtual ~domBool3() {}
00178 virtual domBool3 &operator=( const domBool3 &cpy ) { (void)cpy; return *this; }
00179
00180 public:
00185 static DLLSPEC daeElementRef create(DAE& dae);
00191 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00192 };
00193
00194 class domBool4;
00195
00196 typedef daeSmartRef<domBool4> domBool4Ref;
00197 typedef daeTArray<domBool4Ref> domBool4_Array;
00198
00199 class domBool4 : public daeElement
00200 {
00201 public:
00202 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; }
00203 static daeInt ID() { return 141; }
00204 virtual daeInt typeID() const { return ID(); }
00205
00206
00207 public:
00212 ::domBool4& getValue() { return _value; }
00217 void setValue( const ::domBool4& val ) { _value = val; }
00218
00219 protected:
00223 ::domBool4 _value;
00224 protected:
00228 domBool4(DAE& dae) : daeElement(dae), _value() {}
00232 virtual ~domBool4() {}
00236 virtual domBool4 &operator=( const domBool4 &cpy ) { (void)cpy; return *this; }
00237
00238 public:
00243 static DLLSPEC daeElementRef create(DAE& dae);
00249 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00250 };
00251
00252 class domInt;
00253
00254 typedef daeSmartRef<domInt> domIntRef;
00255 typedef daeTArray<domIntRef> domInt_Array;
00256
00257 class domInt : public daeElement
00258 {
00259 public:
00260 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; }
00261 static daeInt ID() { return 142; }
00262 virtual daeInt typeID() const { return ID(); }
00263
00264
00265 public:
00270 ::domInt& getValue() { return _value; }
00275 void setValue( const ::domInt& val ) { _value = val; }
00276
00277 protected:
00281 ::domInt _value;
00282 protected:
00286 domInt(DAE& dae) : daeElement(dae), _value() {}
00290 virtual ~domInt() {}
00294 virtual domInt &operator=( const domInt &cpy ) { (void)cpy; return *this; }
00295
00296 public:
00301 static DLLSPEC daeElementRef create(DAE& dae);
00307 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00308 };
00309
00310 class domInt2;
00311
00312 typedef daeSmartRef<domInt2> domInt2Ref;
00313 typedef daeTArray<domInt2Ref> domInt2_Array;
00314
00315 class domInt2 : public daeElement
00316 {
00317 public:
00318 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; }
00319 static daeInt ID() { return 143; }
00320 virtual daeInt typeID() const { return ID(); }
00321
00322
00323 public:
00328 ::domInt2& getValue() { return _value; }
00333 void setValue( const ::domInt2& val ) { _value = val; }
00334
00335 protected:
00339 ::domInt2 _value;
00340 protected:
00344 domInt2(DAE& dae) : daeElement(dae), _value() {}
00348 virtual ~domInt2() {}
00352 virtual domInt2 &operator=( const domInt2 &cpy ) { (void)cpy; return *this; }
00353
00354 public:
00359 static DLLSPEC daeElementRef create(DAE& dae);
00365 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00366 };
00367
00368 class domInt3;
00369
00370 typedef daeSmartRef<domInt3> domInt3Ref;
00371 typedef daeTArray<domInt3Ref> domInt3_Array;
00372
00373 class domInt3 : public daeElement
00374 {
00375 public:
00376 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; }
00377 static daeInt ID() { return 144; }
00378 virtual daeInt typeID() const { return ID(); }
00379
00380
00381 public:
00386 ::domInt3& getValue() { return _value; }
00391 void setValue( const ::domInt3& val ) { _value = val; }
00392
00393 protected:
00397 ::domInt3 _value;
00398 protected:
00402 domInt3(DAE& dae) : daeElement(dae), _value() {}
00406 virtual ~domInt3() {}
00410 virtual domInt3 &operator=( const domInt3 &cpy ) { (void)cpy; return *this; }
00411
00412 public:
00417 static DLLSPEC daeElementRef create(DAE& dae);
00423 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00424 };
00425
00426 class domInt4;
00427
00428 typedef daeSmartRef<domInt4> domInt4Ref;
00429 typedef daeTArray<domInt4Ref> domInt4_Array;
00430
00431 class domInt4 : public daeElement
00432 {
00433 public:
00434 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; }
00435 static daeInt ID() { return 145; }
00436 virtual daeInt typeID() const { return ID(); }
00437
00438
00439 public:
00444 ::domInt4& getValue() { return _value; }
00449 void setValue( const ::domInt4& val ) { _value = val; }
00450
00451 protected:
00455 ::domInt4 _value;
00456 protected:
00460 domInt4(DAE& dae) : daeElement(dae), _value() {}
00464 virtual ~domInt4() {}
00468 virtual domInt4 &operator=( const domInt4 &cpy ) { (void)cpy; return *this; }
00469
00470 public:
00475 static DLLSPEC daeElementRef create(DAE& dae);
00481 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00482 };
00483
00484 class domFloat;
00485
00486 typedef daeSmartRef<domFloat> domFloatRef;
00487 typedef daeTArray<domFloatRef> domFloat_Array;
00488
00489 class domFloat : public daeElement
00490 {
00491 public:
00492 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; }
00493 static daeInt ID() { return 146; }
00494 virtual daeInt typeID() const { return ID(); }
00495
00496
00497 public:
00502 ::domFloat& getValue() { return _value; }
00507 void setValue( const ::domFloat& val ) { _value = val; }
00508
00509 protected:
00513 ::domFloat _value;
00514 protected:
00518 domFloat(DAE& dae) : daeElement(dae), _value() {}
00522 virtual ~domFloat() {}
00526 virtual domFloat &operator=( const domFloat &cpy ) { (void)cpy; return *this; }
00527
00528 public:
00533 static DLLSPEC daeElementRef create(DAE& dae);
00539 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00540 };
00541
00542 class domFloat2;
00543
00544 typedef daeSmartRef<domFloat2> domFloat2Ref;
00545 typedef daeTArray<domFloat2Ref> domFloat2_Array;
00546
00547 class domFloat2 : public daeElement
00548 {
00549 public:
00550 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; }
00551 static daeInt ID() { return 147; }
00552 virtual daeInt typeID() const { return ID(); }
00553
00554
00555 public:
00560 ::domFloat2& getValue() { return _value; }
00565 void setValue( const ::domFloat2& val ) { _value = val; }
00566
00567 protected:
00571 ::domFloat2 _value;
00572 protected:
00576 domFloat2(DAE& dae) : daeElement(dae), _value() {}
00580 virtual ~domFloat2() {}
00584 virtual domFloat2 &operator=( const domFloat2 &cpy ) { (void)cpy; return *this; }
00585
00586 public:
00591 static DLLSPEC daeElementRef create(DAE& dae);
00597 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00598 };
00599
00600 class domFloat3;
00601
00602 typedef daeSmartRef<domFloat3> domFloat3Ref;
00603 typedef daeTArray<domFloat3Ref> domFloat3_Array;
00604
00605 class domFloat3 : public daeElement
00606 {
00607 public:
00608 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; }
00609 static daeInt ID() { return 148; }
00610 virtual daeInt typeID() const { return ID(); }
00611
00612
00613 public:
00618 ::domFloat3& getValue() { return _value; }
00623 void setValue( const ::domFloat3& val ) { _value = val; }
00624
00625 protected:
00629 ::domFloat3 _value;
00630 protected:
00634 domFloat3(DAE& dae) : daeElement(dae), _value() {}
00638 virtual ~domFloat3() {}
00642 virtual domFloat3 &operator=( const domFloat3 &cpy ) { (void)cpy; return *this; }
00643
00644 public:
00649 static DLLSPEC daeElementRef create(DAE& dae);
00655 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00656 };
00657
00658 class domFloat4;
00659
00660 typedef daeSmartRef<domFloat4> domFloat4Ref;
00661 typedef daeTArray<domFloat4Ref> domFloat4_Array;
00662
00663 class domFloat4 : public daeElement
00664 {
00665 public:
00666 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; }
00667 static daeInt ID() { return 149; }
00668 virtual daeInt typeID() const { return ID(); }
00669
00670
00671 public:
00676 ::domFloat4& getValue() { return _value; }
00681 void setValue( const ::domFloat4& val ) { _value = val; }
00682
00683 protected:
00687 ::domFloat4 _value;
00688 protected:
00692 domFloat4(DAE& dae) : daeElement(dae), _value() {}
00696 virtual ~domFloat4() {}
00700 virtual domFloat4 &operator=( const domFloat4 &cpy ) { (void)cpy; return *this; }
00701
00702 public:
00707 static DLLSPEC daeElementRef create(DAE& dae);
00713 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00714 };
00715
00716 class domFloat2x2;
00717
00718 typedef daeSmartRef<domFloat2x2> domFloat2x2Ref;
00719 typedef daeTArray<domFloat2x2Ref> domFloat2x2_Array;
00720
00721 class domFloat2x2 : public daeElement
00722 {
00723 public:
00724 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; }
00725 static daeInt ID() { return 150; }
00726 virtual daeInt typeID() const { return ID(); }
00727
00728
00729 public:
00734 ::domFloat2x2& getValue() { return _value; }
00739 void setValue( const ::domFloat2x2& val ) { _value = val; }
00740
00741 protected:
00745 ::domFloat2x2 _value;
00746 protected:
00750 domFloat2x2(DAE& dae) : daeElement(dae), _value() {}
00754 virtual ~domFloat2x2() {}
00758 virtual domFloat2x2 &operator=( const domFloat2x2 &cpy ) { (void)cpy; return *this; }
00759
00760 public:
00765 static DLLSPEC daeElementRef create(DAE& dae);
00771 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00772 };
00773
00774 class domFloat3x3;
00775
00776 typedef daeSmartRef<domFloat3x3> domFloat3x3Ref;
00777 typedef daeTArray<domFloat3x3Ref> domFloat3x3_Array;
00778
00779 class domFloat3x3 : public daeElement
00780 {
00781 public:
00782 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; }
00783 static daeInt ID() { return 151; }
00784 virtual daeInt typeID() const { return ID(); }
00785
00786
00787 public:
00792 ::domFloat3x3& getValue() { return _value; }
00797 void setValue( const ::domFloat3x3& val ) { _value = val; }
00798
00799 protected:
00803 ::domFloat3x3 _value;
00804 protected:
00808 domFloat3x3(DAE& dae) : daeElement(dae), _value() {}
00812 virtual ~domFloat3x3() {}
00816 virtual domFloat3x3 &operator=( const domFloat3x3 &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 domFloat4x4;
00833
00834 typedef daeSmartRef<domFloat4x4> domFloat4x4Ref;
00835 typedef daeTArray<domFloat4x4Ref> domFloat4x4_Array;
00836
00837 class domFloat4x4 : public daeElement
00838 {
00839 public:
00840 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; }
00841 static daeInt ID() { return 152; }
00842 virtual daeInt typeID() const { return ID(); }
00843
00844
00845 public:
00850 ::domFloat4x4& getValue() { return _value; }
00855 void setValue( const ::domFloat4x4& val ) { _value = val; }
00856
00857 protected:
00861 ::domFloat4x4 _value;
00862 protected:
00866 domFloat4x4(DAE& dae) : daeElement(dae), _value() {}
00870 virtual ~domFloat4x4() {}
00874 virtual domFloat4x4 &operator=( const domFloat4x4 &cpy ) { (void)cpy; return *this; }
00875
00876 public:
00881 static DLLSPEC daeElementRef create(DAE& dae);
00887 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00888 };
00889
00890 class domString;
00891
00892 typedef daeSmartRef<domString> domStringRef;
00893 typedef daeTArray<domStringRef> domString_Array;
00894
00895 class domString : public daeElement
00896 {
00897 public:
00898 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STRING; }
00899 static daeInt ID() { return 153; }
00900 virtual daeInt typeID() const { return ID(); }
00901
00902
00903 public:
00908 ::xsString getValue() const { return _value; }
00913 void setValue( ::xsString val ) { *(daeStringRef*)&_value = val; }
00914
00915 protected:
00919 ::xsString _value;
00920 protected:
00924 domString(DAE& dae) : daeElement(dae), _value() {}
00928 virtual ~domString() {}
00932 virtual domString &operator=( const domString &cpy ) { (void)cpy; return *this; }
00933
00934 public:
00939 static DLLSPEC daeElementRef create(DAE& dae);
00945 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
00946 };
00947
00948
00949
00950 protected:
00951 domBoolRef elemBool;
00952 domBool2Ref elemBool2;
00953 domBool3Ref elemBool3;
00954 domBool4Ref elemBool4;
00955 domIntRef elemInt;
00956 domInt2Ref elemInt2;
00957 domInt3Ref elemInt3;
00958 domInt4Ref elemInt4;
00959 domFloatRef elemFloat;
00960 domFloat2Ref elemFloat2;
00961 domFloat3Ref elemFloat3;
00962 domFloat4Ref elemFloat4;
00963 domFloat2x2Ref elemFloat2x2;
00964 domFloat3x3Ref elemFloat3x3;
00965 domFloat4x4Ref elemFloat4x4;
00966 domStringRef elemString;
00970 daeElementRefArray _contents;
00974 daeUIntArray _contentsOrder;
00975
00979 daeTArray< daeCharArray * > _CMData;
00980
00981
00982 public:
00987 const domBoolRef getBool() const { return elemBool; }
00992 const domBool2Ref getBool2() const { return elemBool2; }
00997 const domBool3Ref getBool3() const { return elemBool3; }
01002 const domBool4Ref getBool4() const { return elemBool4; }
01007 const domIntRef getInt() const { return elemInt; }
01012 const domInt2Ref getInt2() const { return elemInt2; }
01017 const domInt3Ref getInt3() const { return elemInt3; }
01022 const domInt4Ref getInt4() const { return elemInt4; }
01027 const domFloatRef getFloat() const { return elemFloat; }
01032 const domFloat2Ref getFloat2() const { return elemFloat2; }
01037 const domFloat3Ref getFloat3() const { return elemFloat3; }
01042 const domFloat4Ref getFloat4() const { return elemFloat4; }
01047 const domFloat2x2Ref getFloat2x2() const { return elemFloat2x2; }
01052 const domFloat3x3Ref getFloat3x3() const { return elemFloat3x3; }
01057 const domFloat4x4Ref getFloat4x4() const { return elemFloat4x4; }
01062 const domStringRef getString() const { return elemString; }
01067 daeElementRefArray &getContents() { return _contents; }
01072 const daeElementRefArray &getContents() const { return _contents; }
01073
01074 protected:
01078 domFx_annotate(DAE& dae) : daeElement(dae), elemBool(), elemBool2(), elemBool3(), elemBool4(), elemInt(), elemInt2(), elemInt3(), elemInt4(), elemFloat(), elemFloat2(), elemFloat3(), elemFloat4(), elemFloat2x2(), elemFloat3x3(), elemFloat4x4(), elemString() {}
01082 virtual ~domFx_annotate() { daeElement::deleteCMDataArray(_CMData); }
01086 virtual domFx_annotate &operator=( const domFx_annotate &cpy ) { (void)cpy; return *this; }
01087
01088 public:
01093 static DLLSPEC daeElementRef create(DAE& dae);
01099 static DLLSPEC daeMetaElement* registerElement(DAE& dae);
01100 };
01101
01102
01103 #endif