1 /* 2 * Copyright 2006 Sony Computer Entertainment Inc. 3 * 4 * Licensed under the MIT Open Source License, for details please see license.txt or the website 5 * http://www.opensource.org/licenses/mit-license.php 6 * 7 */ 8 9 #ifndef __domGl_hook_abstract_h__ 10 #define __domGl_hook_abstract_h__ 11 12 #include <dae/daeDocument.h> 13 #include <dom/domTypes.h> 14 #include <dom/domElements.h> 15 16 class DAE; 17 18 class domGl_hook_abstract : public daeElement 19 { 20 public: 21 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::GL_HOOK_ABSTRACT; } 22 static daeInt ID() { return 729; } 23 virtual daeInt typeID() const { return ID(); } 24 25 protected: 26 /** 27 * Constructor 28 */ 29 domGl_hook_abstract(DAE& dae) : daeElement(dae) {} 30 /** 31 * Destructor 32 */ 33 virtual ~domGl_hook_abstract() {} 34 /** 35 * Overloaded assignment operator 36 */ 37 virtual domGl_hook_abstract &operator=( const domGl_hook_abstract &cpy ) { (void)cpy; return *this; } 38 39 public: // STATIC METHODS 40 /** 41 * Creates an instance of this class and returns a daeElementRef referencing it. 42 * @return a daeElementRef referencing an instance of this object. 43 */ 44 static DLLSPEC daeElementRef create(DAE& dae); 45 /** 46 * Creates a daeMetaElement object that describes this element in the meta object reflection framework. 47 * If a daeMetaElement already exists it will return that instead of creating a new one. 48 * @return A daeMetaElement describing this COLLADA element. 49 */ 50 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 51 }; 52 53 54 #endif 55