00001 #ifndef __domKinematics_model_technique_h__ 00002 #define __domKinematics_model_technique_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domKinematics_newparam.h> 00009 #include <dom/domInstance_joint.h> 00010 #include <dom/domJoint.h> 00011 #include <dom/domLink.h> 00012 #include <dom/domFormula.h> 00013 #include <dom/domInstance_formula.h> 00014 class DAE; 00015 00016 class domKinematics_model_technique : public daeElement 00017 { 00018 public: 00019 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::KINEMATICS_MODEL_TECHNIQUE; } 00020 static daeInt ID() { return 479; } 00021 virtual daeInt typeID() const { return ID(); } 00022 00023 protected: // Elements 00024 domKinematics_newparam_Array elemNewparam_array; 00025 domInstance_joint_Array elemInstance_joint_array; 00026 domJoint_Array elemJoint_array; 00027 domLink_Array elemLink_array; 00028 domFormula_Array elemFormula_array; 00029 domInstance_formula_Array elemInstance_formula_array; 00033 daeElementRefArray _contents; 00037 daeUIntArray _contentsOrder; 00038 00042 daeTArray< daeCharArray * > _CMData; 00043 00044 00045 public: //Accessors and Mutators 00050 domKinematics_newparam_Array &getNewparam_array() { return elemNewparam_array; } 00055 const domKinematics_newparam_Array &getNewparam_array() const { return elemNewparam_array; } 00060 domInstance_joint_Array &getInstance_joint_array() { return elemInstance_joint_array; } 00065 const domInstance_joint_Array &getInstance_joint_array() const { return elemInstance_joint_array; } 00070 domJoint_Array &getJoint_array() { return elemJoint_array; } 00075 const domJoint_Array &getJoint_array() const { return elemJoint_array; } 00080 domLink_Array &getLink_array() { return elemLink_array; } 00085 const domLink_Array &getLink_array() const { return elemLink_array; } 00090 domFormula_Array &getFormula_array() { return elemFormula_array; } 00095 const domFormula_Array &getFormula_array() const { return elemFormula_array; } 00100 domInstance_formula_Array &getInstance_formula_array() { return elemInstance_formula_array; } 00105 const domInstance_formula_Array &getInstance_formula_array() const { return elemInstance_formula_array; } 00110 daeElementRefArray &getContents() { return _contents; } 00115 const daeElementRefArray &getContents() const { return _contents; } 00116 00117 protected: 00121 domKinematics_model_technique(DAE& dae) : daeElement(dae), elemNewparam_array(), elemInstance_joint_array(), elemJoint_array(), elemLink_array(), elemFormula_array(), elemInstance_formula_array() {} 00125 virtual ~domKinematics_model_technique() { daeElement::deleteCMDataArray(_CMData); } 00129 virtual domKinematics_model_technique &operator=( const domKinematics_model_technique &cpy ) { (void)cpy; return *this; } 00130 00131 public: // STATIC METHODS 00136 static DLLSPEC daeElementRef create(DAE& dae); 00142 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00143 }; 00144 00145 00146 #endif