00001 #ifndef __domInput_local_h__ 00002 #define __domInput_local_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00014 class domInput_local : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INPUT_LOCAL; } 00018 static daeInt ID() { return 1; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00025 xsNMTOKEN attrSemantic; 00030 domUrifragment attrSource; 00031 00032 00033 public: //Accessors and Mutators 00038 xsNMTOKEN getSemantic() const { return attrSemantic; } 00043 void setSemantic( xsNMTOKEN atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;} 00044 00049 domUrifragment getSource() const { return attrSource; } 00054 void setSource( domUrifragment atSource ) { attrSource = atSource; } 00055 00056 protected: 00060 domInput_local(DAE& dae) : daeElement(dae), attrSemantic(), attrSource(dae, *this) {} 00064 virtual ~domInput_local() {} 00068 virtual domInput_local &operator=( const domInput_local &cpy ) { (void)cpy; return *this; } 00069 00070 public: // STATIC METHODS 00075 static DLLSPEC daeElementRef create(DAE& dae); 00081 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00082 }; 00083 00084 00085 #endif