00001 #ifndef __domInstance_articulated_system_h__ 00002 #define __domInstance_articulated_system_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domKinematics_bind.h> 00009 #include <dom/domKinematics_setparam.h> 00010 #include <dom/domKinematics_newparam.h> 00011 #include <dom/domExtra.h> 00012 class DAE; 00013 00014 class domInstance_articulated_system : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_ARTICULATED_SYSTEM; } 00018 static daeInt ID() { return 450; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00021 domSid attrSid; 00022 xsAnyURI attrUrl; 00023 xsToken attrName; 00024 00025 protected: // Elements 00026 domKinematics_bind_Array elemBind_array; 00027 domKinematics_setparam_Array elemSetparam_array; 00028 domKinematics_newparam_Array elemNewparam_array; 00029 domExtra_Array elemExtra_array; 00030 00031 public: //Accessors and Mutators 00036 domSid getSid() const { return attrSid; } 00041 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00042 00047 xsAnyURI &getUrl() { return attrUrl; } 00052 const xsAnyURI &getUrl() const { return attrUrl; } 00057 void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; } 00062 void setUrl( xsString atUrl ) { attrUrl = atUrl; } 00063 00068 xsToken getName() const { return attrName; } 00073 void setName( xsToken atName ) { *(daeStringRef*)&attrName = atName;} 00074 00079 domKinematics_bind_Array &getBind_array() { return elemBind_array; } 00084 const domKinematics_bind_Array &getBind_array() const { return elemBind_array; } 00089 domKinematics_setparam_Array &getSetparam_array() { return elemSetparam_array; } 00094 const domKinematics_setparam_Array &getSetparam_array() const { return elemSetparam_array; } 00099 domKinematics_newparam_Array &getNewparam_array() { return elemNewparam_array; } 00104 const domKinematics_newparam_Array &getNewparam_array() const { return elemNewparam_array; } 00109 domExtra_Array &getExtra_array() { return elemExtra_array; } 00114 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00115 protected: 00119 domInstance_articulated_system(DAE& dae) : daeElement(dae), attrSid(), attrUrl(dae, *this), attrName(), elemBind_array(), elemSetparam_array(), elemNewparam_array(), elemExtra_array() {} 00123 virtual ~domInstance_articulated_system() {} 00127 virtual domInstance_articulated_system &operator=( const domInstance_articulated_system &cpy ) { (void)cpy; return *this; } 00128 00129 public: // STATIC METHODS 00134 static DLLSPEC daeElementRef create(DAE& dae); 00140 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00141 }; 00142 00143 00144 #endif