Home | History | Annotate | Download | only in dom
      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 __domCg_samplerCUBE_h__
     10 #define __domCg_samplerCUBE_h__
     11 
     12 #include <dae/daeDocument.h>
     13 #include <dom/domTypes.h>
     14 #include <dom/domElements.h>
     15 
     16 #include <dom/domFx_samplerCUBE_common.h>
     17 class DAE;
     18 
     19 class domCg_samplerCUBE_complexType  : public domFx_samplerCUBE_common_complexType
     20 {
     21 
     22 protected:
     23 	/**
     24 	 * Constructor
     25 	 */
     26 	domCg_samplerCUBE_complexType(DAE& dae, daeElement* elt) : domFx_samplerCUBE_common_complexType(dae, elt) {}
     27 	/**
     28 	 * Destructor
     29 	 */
     30 	virtual ~domCg_samplerCUBE_complexType() {}
     31 	/**
     32 	 * Overloaded assignment operator
     33 	 */
     34 	virtual domCg_samplerCUBE_complexType &operator=( const domCg_samplerCUBE_complexType &cpy ) { (void)cpy; return *this; }
     35 };
     36 
     37 /**
     38  * An element of type domCg_samplerCUBE_complexType.
     39  */
     40 class domCg_samplerCUBE : public daeElement, public domCg_samplerCUBE_complexType
     41 {
     42 public:
     43 	virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLERCUBE; }
     44 	static daeInt ID() { return 130; }
     45 	virtual daeInt typeID() const { return ID(); }
     46 protected:
     47 	/**
     48 	 * Constructor
     49 	 */
     50 	domCg_samplerCUBE(DAE& dae) : daeElement(dae), domCg_samplerCUBE_complexType(dae, this) {}
     51 	/**
     52 	 * Destructor
     53 	 */
     54 	virtual ~domCg_samplerCUBE() {}
     55 	/**
     56 	 * Overloaded assignment operator
     57 	 */
     58 	virtual domCg_samplerCUBE &operator=( const domCg_samplerCUBE &cpy ) { (void)cpy; return *this; }
     59 
     60 public: // STATIC METHODS
     61 	/**
     62 	 * Creates an instance of this class and returns a daeElementRef referencing it.
     63 	 * @return a daeElementRef referencing an instance of this object.
     64 	 */
     65 	static DLLSPEC daeElementRef create(DAE& dae);
     66 	/**
     67 	 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
     68 	 * If a daeMetaElement already exists it will return that instead of creating a new one.
     69 	 * @return A daeMetaElement describing this COLLADA element.
     70 	 */
     71 	static DLLSPEC daeMetaElement* registerElement(DAE& dae);
     72 };
     73 
     74 
     75 #endif
     76