00001 #ifndef __domCurves_h__ 00002 #define __domCurves_h__ 00003 00004 #include <dae/daeDocument.h> 00005 #include <dom/domTypes.h> 00006 #include <dom/domElements.h> 00007 00008 #include <dom/domCurve.h> 00009 #include <dom/domExtra.h> 00010 class DAE; 00011 00016 class domCurves : public daeElement 00017 { 00018 public: 00019 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CURVES; } 00020 static daeInt ID() { return 351; } 00021 virtual daeInt typeID() const { return ID(); } 00022 00023 protected: // Elements 00024 domCurve_Array elemCurve_array; 00025 domExtra_Array elemExtra_array; 00026 00027 public: //Accessors and Mutators 00032 domCurve_Array &getCurve_array() { return elemCurve_array; } 00037 const domCurve_Array &getCurve_array() const { return elemCurve_array; } 00042 domExtra_Array &getExtra_array() { return elemExtra_array; } 00047 const domExtra_Array &getExtra_array() const { return elemExtra_array; } 00048 protected: 00052 domCurves(DAE& dae) : daeElement(dae), elemCurve_array(), elemExtra_array() {} 00056 virtual ~domCurves() {} 00060 virtual domCurves &operator=( const domCurves &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