00001 #ifndef __domLibrary_joints_h__ 00002 #define __domLibrary_joints_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domAsset.h> 00009 #include <dom/domJoint.h> 00010 #include <dom/domExtra.h> 00011 class DAE; 00012 00013 class domLibrary_joints : public daeElement 00014 { 00015 public: 00016 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIBRARY_JOINTS; } 00017 static daeInt ID() { return 463; } 00018 virtual daeInt typeID() const { return ID(); } 00019 protected: // Attributes 00020 xsID attrId; 00021 xsToken attrName; 00022 00023 protected: // Elements 00024 domAssetRef elemAsset; 00025 domJoint_Array elemJoint_array; 00026 domExtra_Array elemExtra_array; 00027 00028 public: //Accessors and Mutators 00033 xsID getId() const { return attrId; } 00038 void setId( xsID atId ) { *(daeStringRef*)&attrId = atId; 00039 if( _document != NULL ) _document->changeElementID( this, attrId ); 00040 } 00041 00046 xsToken getName() const { return attrName; } 00051 void setName( xsToken atName ) { *(daeStringRef*)&attrName = atName;} 00052 00057 const domAssetRef getAsset() const { return elemAsset; } 00062 domJoint_Array &getJoint_array() { return elemJoint_array; } 00067 const domJoint_Array &getJoint_array() const { return elemJoint_array; } 00072 domExtra_Array &getExtra_array() { return elemExtra_array; } 00077 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00078 protected: 00082 domLibrary_joints(DAE& dae) : daeElement(dae), attrId(), attrName(), elemAsset(), elemJoint_array(), elemExtra_array() {} 00086 virtual ~domLibrary_joints() {} 00090 virtual domLibrary_joints &operator=( const domLibrary_joints &cpy ) { (void)cpy; return *this; } 00091 00092 public: // STATIC METHODS 00097 static DLLSPEC daeElementRef create(DAE& dae); 00103 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00104 }; 00105 00106 00107 #endif