00001 #ifndef __domLimits_sub_h__ 00002 #define __domLimits_sub_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00010 class domLimits_sub : public daeElement 00011 { 00012 public: 00013 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::LIMITS_SUB; } 00014 static daeInt ID() { return 366; } 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 domFloat& getValue() { return _value; } 00041 void setValue( const domFloat& val ) { _value = val; } 00042 00043 protected: // Value 00047 domFloat _value; 00048 protected: 00052 domLimits_sub(DAE& dae) : daeElement(dae), attrSid(), _value() {} 00056 virtual ~domLimits_sub() {} 00060 virtual domLimits_sub &operator=( const domLimits_sub &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