00001 #ifndef __domInstance_rigid_constraint_h__ 00002 #define __domInstance_rigid_constraint_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domExtra.h> 00009 class DAE; 00010 00014 class domInstance_rigid_constraint : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INSTANCE_RIGID_CONSTRAINT; } 00018 static daeInt ID() { return 113; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00025 xsNCName attrConstraint; 00031 domSid attrSid; 00035 xsToken attrName; 00036 00037 protected: // Element 00041 domExtra_Array elemExtra_array; 00042 00043 public: //Accessors and Mutators 00048 xsNCName getConstraint() const { return attrConstraint; } 00053 void setConstraint( xsNCName atConstraint ) { *(daeStringRef*)&attrConstraint = atConstraint;} 00054 00059 domSid getSid() const { return attrSid; } 00064 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00065 00070 xsToken getName() const { return attrName; } 00075 void setName( xsToken atName ) { *(daeStringRef*)&attrName = atName;} 00076 00081 domExtra_Array &getExtra_array() { return elemExtra_array; } 00086 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00087 protected: 00091 domInstance_rigid_constraint(DAE& dae) : daeElement(dae), attrConstraint(), attrSid(), attrName(), elemExtra_array() {} 00095 virtual ~domInstance_rigid_constraint() {} 00099 virtual domInstance_rigid_constraint &operator=( const domInstance_rigid_constraint &cpy ) { (void)cpy; return *this; } 00100 00101 public: // STATIC METHODS 00106 static DLLSPEC daeElementRef create(DAE& dae); 00112 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00113 }; 00114 00115 00116 #endif