00001 #ifndef __domGlsl_array_h__ 00002 #define __domGlsl_array_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domGlsl_value.h> 00009 class DAE; 00010 00015 class domGlsl_array : public daeElement 00016 { 00017 public: 00018 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GLSL_ARRAY; } 00019 static daeInt ID() { return 227; } 00020 virtual daeInt typeID() const { return ID(); } 00021 protected: // Attribute 00025 xsPositiveInteger attrLength; 00026 00027 protected: // Element 00028 domGlsl_value_Array elemGlsl_value_array; 00029 00030 public: //Accessors and Mutators 00035 xsPositiveInteger getLength() const { return attrLength; } 00040 void setLength( xsPositiveInteger atLength ) { attrLength = atLength; } 00041 00046 domGlsl_value_Array &getGlsl_value_array() { return elemGlsl_value_array; } 00051 const domGlsl_value_Array &getGlsl_value_array() const { return elemGlsl_value_array; } 00052 protected: 00056 domGlsl_array(DAE& dae) : daeElement(dae), attrLength(), elemGlsl_value_array() {} 00060 virtual ~domGlsl_array() {} 00064 virtual domGlsl_array &operator=( const domGlsl_array &cpy ) { (void)cpy; return *this; } 00065 00066 public: // STATIC METHODS 00071 static DLLSPEC daeElementRef create(DAE& dae); 00077 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00078 }; 00079 00080 00081 #endif