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_samplerRECT_h__
     10 #define __domCg_samplerRECT_h__
     11 
     12 #include <dae/daeDocument.h>
     13 #include <dom/domTypes.h>
     14 #include <dom/domElements.h>
     15 
     16 #include <dom/domFx_samplerRECT_common.h>
     17 class DAE;
     18 
     19 class domCg_samplerRECT_complexType  : public domFx_samplerRECT_common_complexType
     20 {
     21 
     22 protected:
     23 	/**
     24 	 * Constructor
     25 	 */
     26 	domCg_samplerRECT_complexType(DAE& dae, daeElement* elt) : domFx_samplerRECT_common_complexType(dae, elt) {}
     27 	/**
     28 	 * Destructor
     29 	 */
     30 	virtual ~domCg_samplerRECT_complexType() {}
     31 	/**
     32 	 * Overloaded assignment operator
     33 	 */
     34 	virtual domCg_samplerRECT_complexType &operator=( const domCg_samplerRECT_complexType &cpy ) { (void)cpy; return *this; }
     35 };
     36 
     37 /**
     38  * An element of type domCg_samplerRECT_complexType.
     39  */
     40 class domCg_samplerRECT : public daeElement, public domCg_samplerRECT_complexType
     41 {
     42 public:
     43 	virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_SAMPLERRECT; }
     44 	static daeInt ID() { return 131; }
     45 	virtual daeInt typeID() const { return ID(); }
     46 protected:
     47 	/**
     48 	 * Constructor
     49 	 */
     50 	domCg_samplerRECT(DAE& dae) : daeElement(dae), domCg_samplerRECT_complexType(dae, this) {}
     51 	/**
     52 	 * Destructor
     53 	 */
     54 	virtual ~domCg_samplerRECT() {}
     55 	/**
     56 	 * Overloaded assignment operator
     57 	 */
     58 	virtual domCg_samplerRECT &operator=( const domCg_samplerRECT &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