00001 #ifndef __domFx_include_h__ 00002 #define __domFx_include_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00014 class domFx_include : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_INCLUDE; } 00018 static daeInt ID() { return 180; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00026 domSid attrSid; 00033 xsAnyURI attrUrl; 00034 00035 00036 public: //Accessors and Mutators 00041 domSid getSid() const { return attrSid; } 00046 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00047 00052 xsAnyURI &getUrl() { return attrUrl; } 00057 const xsAnyURI &getUrl() const { return attrUrl; } 00062 void setUrl( const xsAnyURI &atUrl ) { attrUrl = atUrl; } 00067 void setUrl( xsString atUrl ) { attrUrl = atUrl; } 00068 00069 protected: 00073 domFx_include(DAE& dae) : daeElement(dae), attrSid(), attrUrl(dae, *this) {} 00077 virtual ~domFx_include() {} 00081 virtual domFx_include &operator=( const domFx_include &cpy ) { (void)cpy; return *this; } 00082 00083 public: // STATIC METHODS 00088 static DLLSPEC daeElementRef create(DAE& dae); 00094 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00095 }; 00096 00097 00098 #endif