00001 #ifndef __domCg_setparam_h__ 00002 #define __domCg_setparam_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_setparam : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SETPARAM; } 00018 static daeInt ID() { return 244; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attribute 00021 xsToken attrRef; 00022 00023 protected: // Element 00024 domCg_paramRef elemCg_param; 00025 00026 public: //Accessors and Mutators 00031 xsToken getRef() const { return attrRef; } 00036 void setRef( xsToken atRef ) { *(daeStringRef*)&attrRef = atRef;} 00037 00042 const domCg_paramRef getCg_param() const { return elemCg_param; } 00043 protected: 00047 domCg_setparam(DAE& dae) : daeElement(dae), attrRef(), elemCg_param() {} 00051 virtual ~domCg_setparam() {} 00055 virtual domCg_setparam &operator=( const domCg_setparam &cpy ) { (void)cpy; return *this; } 00056 00057 public: // STATIC METHODS 00062 static DLLSPEC daeElementRef create(DAE& dae); 00068 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00069 }; 00070 00071 00072 #endif