00001 /* 00002 * Copyright 2006 Sony Computer Entertainment Inc. 00003 * 00004 * Licensed under the MIT Open Source License, for details please see license.txt or the website 00005 * http://www.opensource.org/licenses/mit-license.php 00006 * 00007 */ 00008 00009 #ifndef __domP_h__ 00010 #define __domP_h__ 00011 00012 #include <dae/daeDocument.h> 00013 #include <dom/domTypes.h> 00014 #include <dom/domElements.h> 00015 00016 class DAE; 00017 00024 class domP : public daeElement 00025 { 00026 public: 00027 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::P; } 00028 static daeInt ID() { return 617; } 00029 virtual daeInt typeID() const { return ID(); } 00030 00031 protected: // Value 00035 domListOfUInts _value; 00036 00037 public: //Accessors and Mutators 00042 domListOfUInts &getValue() { return _value; } 00047 const domListOfUInts &getValue() const { return _value; } 00052 void setValue( const domListOfUInts &val ) { _value = val; } 00053 00054 protected: 00058 domP(DAE& dae) : daeElement(dae), _value() {} 00062 virtual ~domP() {} 00066 virtual domP &operator=( const domP &cpy ) { (void)cpy; return *this; } 00067 00068 public: // STATIC METHODS 00073 static DLLSPEC daeElementRef create(DAE& dae); 00079 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00080 }; 00081 00082 00083 #endif