00001 #ifndef __domP_h__ 00002 #define __domP_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 class DAE; 00009 00016 class domP : public daeElement 00017 { 00018 public: 00019 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::P; } 00020 static daeInt ID() { return 13; } 00021 virtual daeInt typeID() const { return ID(); } 00022 00023 00024 public: //Accessors and Mutators 00029 domList_of_uints& getValue() { return _value; } 00034 void setValue( const domList_of_uints& val ) { _value = val; } 00035 00036 protected: // Value 00040 domList_of_uints _value; 00041 protected: 00045 domP(DAE& dae) : daeElement(dae), _value() {} 00049 virtual ~domP() {} 00053 virtual domP &operator=( const domP &cpy ) { (void)cpy; return *this; } 00054 00055 public: // STATIC METHODS 00060 static DLLSPEC daeElementRef create(DAE& dae); 00066 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00067 }; 00068 00069 00070 #endif