00001 #ifndef __domInput_local_offset_h__ 00002 #define __domInput_local_offset_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_offset : public daeElement 00015 { 00016 public: 00017 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INPUT_LOCAL_OFFSET; } 00018 static daeInt ID() { return 2; } 00019 virtual daeInt typeID() const { return ID(); } 00020 protected: // Attributes 00027 domUint attrOffset; 00032 xsNMTOKEN attrSemantic; 00037 domUrifragment attrSource; 00042 domUint attrSet; 00043 00044 00045 public: //Accessors and Mutators 00050 domUint getOffset() const { return attrOffset; } 00055 void setOffset( domUint atOffset ) { attrOffset = atOffset; } 00056 00061 xsNMTOKEN getSemantic() const { return attrSemantic; } 00066 void setSemantic( xsNMTOKEN atSemantic ) { *(daeStringRef*)&attrSemantic = atSemantic;} 00067 00072 domUrifragment getSource() const { return attrSource; } 00077 void setSource( domUrifragment atSource ) { attrSource = atSource; } 00078 00083 domUint getSet() const { return attrSet; } 00088 void setSet( domUint atSet ) { attrSet = atSet; } 00089 00090 protected: 00094 domInput_local_offset(DAE& dae) : daeElement(dae), attrOffset(), attrSemantic(), attrSource(dae, *this), attrSet() {} 00098 virtual ~domInput_local_offset() {} 00102 virtual domInput_local_offset &operator=( const domInput_local_offset &cpy ) { (void)cpy; return *this; } 00103 00104 public: // STATIC METHODS 00109 static DLLSPEC daeElementRef create(DAE& dae); 00115 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00116 }; 00117 00118 00119 #endif