00001 #ifndef __domTargetable_float4_h__ 00002 #define __domTargetable_float4_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00010 class domTargetable_float4 : public daeElement 00011 { 00012 public: 00013 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::TARGETABLE_FLOAT4; } 00014 static daeInt ID() { return 368; } 00015 virtual daeInt typeID() const { return ID(); } 00016 protected: // Attribute 00017 domSid attrSid; 00018 00019 00020 public: //Accessors and Mutators 00025 domSid getSid() const { return attrSid; } 00030 void setSid( domSid atSid ) { *(daeStringRef*)&attrSid = atSid;} 00031 00036 domFloat4& getValue() { return _value; } 00041 void setValue( const domFloat4& val ) { _value = val; } 00042 00043 protected: // Value 00047 domFloat4 _value; 00048 protected: 00052 domTargetable_float4(DAE& dae) : daeElement(dae), attrSid(), _value() {} 00056 virtual ~domTargetable_float4() {} 00060 virtual domTargetable_float4 &operator=( const domTargetable_float4 &cpy ) { (void)cpy; return *this; } 00061 00062 public: // STATIC METHODS 00067 static DLLSPEC daeElementRef create(DAE& dae); 00073 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00074 }; 00075 00076 00077 #endif