00001 #ifndef __domKinematics_axis_info_h__ 00002 #define __domKinematics_axis_info_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/domCommon_bool_or_param.h> 00010 #include <dom/domKinematics_index.h> 00011 #include <dom/domKinematics_limits.h> 00012 #include <dom/domFormula.h> 00013 #include <dom/domInstance_formula.h> 00014 class DAE; 00015 00016 class domKinematics_axis_info : public daeElement 00017 { 00018 public: 00019 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::KINEMATICS_AXIS_INFO; } 00020 static daeInt ID() { return 482; } 00021 virtual daeInt typeID() const { return ID(); } 00022 protected: // Attributes 00023 domSid attrSid; 00024 xsToken attrName; 00025 xsToken attrAxis; 00026 00027 protected: // Elements 00028 domKinematics_newparam_Array elemNewparam_array; 00029 domCommon_bool_or_paramRef elemActive; 00030 domCommon_bool_or_paramRef elemLocked; 00031 domKinematics_index_Array elemIndex_array; 00032 domKinematics_limitsRef elemLimits; 00033 domFormula_Array elemFormula_array; 00034 domInstance_formula_Array elemInstance_formula_array; 00038 daeElementRefArray _contents; 00042 daeUIntArray _contentsOrder; 00043 00047 daeTArray< daeCharArray * > _CMData; 00048 00049 00050 public: //Accessors and Mutators 00055 domSid getSid() const { return attrSid; } 00060 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00061 00066 xsToken getName() const { return attrName; } 00071 void setName( xsToken atName ) { *(daeStringRef*)&attrName = atName;} 00072 00077 xsToken getAxis() const { return attrAxis; } 00082 void setAxis( xsToken atAxis ) { *(daeStringRef*)&attrAxis = atAxis;} 00083 00088 domKinematics_newparam_Array &getNewparam_array() { return elemNewparam_array; } 00093 const domKinematics_newparam_Array &getNewparam_array() const { return elemNewparam_array; } 00098 const domCommon_bool_or_paramRef getActive() const { return elemActive; } 00103 const domCommon_bool_or_paramRef getLocked() const { return elemLocked; } 00108 domKinematics_index_Array &getIndex_array() { return elemIndex_array; } 00113 const domKinematics_index_Array &getIndex_array() const { return elemIndex_array; } 00118 const domKinematics_limitsRef getLimits() const { return elemLimits; } 00123 domFormula_Array &getFormula_array() { return elemFormula_array; } 00128 const domFormula_Array &getFormula_array() const { return elemFormula_array; } 00133 domInstance_formula_Array &getInstance_formula_array() { return elemInstance_formula_array; } 00138 const domInstance_formula_Array &getInstance_formula_array() const { return elemInstance_formula_array; } 00143 daeElementRefArray &getContents() { return _contents; } 00148 const daeElementRefArray &getContents() const { return _contents; } 00149 00150 protected: 00154 domKinematics_axis_info(DAE& dae) : daeElement(dae), attrSid(), attrName(), attrAxis(), elemNewparam_array(), elemActive(), elemLocked(), elemIndex_array(), elemLimits(), elemFormula_array(), elemInstance_formula_array() {} 00158 virtual ~domKinematics_axis_info() { daeElement::deleteCMDataArray(_CMData); } 00162 virtual domKinematics_axis_info &operator=( const domKinematics_axis_info &cpy ) { (void)cpy; return *this; } 00163 00164 public: // STATIC METHODS 00169 static DLLSPEC daeElementRef create(DAE& dae); 00175 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00176 }; 00177 00178 00179 #endif