00001 #ifndef __domCg_array_h__ 00002 #define __domCg_array_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domCg_param.h> 00009 class DAE; 00010 00014 class domCg_array : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_ARRAY; } 00018 static daeInt ID() { return 243; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00024 xsPositiveInteger attrLength; 00029 xsBoolean attrResizable; 00030 00031 protected: // Element 00037 domCg_param_Array elemCg_param_array; 00038 00039 public: //Accessors and Mutators 00044 xsPositiveInteger getLength() const { return attrLength; } 00049 void setLength( xsPositiveInteger atLength ) { attrLength = atLength; } 00050 00055 xsBoolean getResizable() const { return attrResizable; } 00060 void setResizable( xsBoolean atResizable ) { attrResizable = atResizable; } 00061 00066 domCg_param_Array &getCg_param_array() { return elemCg_param_array; } 00071 const domCg_param_Array &getCg_param_array() const { return elemCg_param_array; } 00072 protected: 00076 domCg_array(DAE& dae) : daeElement(dae), attrLength(), attrResizable(), elemCg_param_array() {} 00080 virtual ~domCg_array() {} 00084 virtual domCg_array &operator=( const domCg_array &cpy ) { (void)cpy; return *this; } 00085 00086 public: // STATIC METHODS 00091 static DLLSPEC daeElementRef create(DAE& dae); 00097 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00098 }; 00099 00100 00101 #endif