00001 #ifndef __domCommon_param_h__ 00002 #define __domCommon_param_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00010 class domCommon_param : public daeElement 00011 { 00012 public: 00013 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::COMMON_PARAM; } 00014 static daeInt ID() { return 422; } 00015 virtual daeInt typeID() const { return ID(); } 00016 00017 00018 public: //Accessors and Mutators 00023 xsToken getValue() const { return _value; } 00028 void setValue( xsToken val ) { *(daeStringRef*)&_value = val; } 00029 00030 protected: // Value 00034 xsToken _value; 00035 protected: 00039 domCommon_param(DAE& dae) : daeElement(dae), _value() {} 00043 virtual ~domCommon_param() {} 00047 virtual domCommon_param &operator=( const domCommon_param &cpy ) { (void)cpy; return *this; } 00048 00049 public: // STATIC METHODS 00054 static DLLSPEC daeElementRef create(DAE& dae); 00060 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00061 }; 00062 00063 00064 #endif