• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 __domFx_profile_abstract_h__
10 #define __domFx_profile_abstract_h__
11 
12 #include <dae/daeDocument.h>
13 #include <dom/domTypes.h>
14 #include <dom/domElements.h>
15 
16 class DAE;
17 
18 /**
19  * The fx_profile_abstract element is only used as a substitution group hook
20  * for COLLADA FX profiles.
21  */
22 class domFx_profile_abstract : public daeElement
23 {
24 public:
getElementType()25 	virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_PROFILE_ABSTRACT; }
ID()26 	static daeInt ID() { return 727; }
typeID()27 	virtual daeInt typeID() const { return ID(); }
28 
29 protected:
30 	/**
31 	 * Constructor
32 	 */
domFx_profile_abstract(DAE & dae)33 	domFx_profile_abstract(DAE& dae) : daeElement(dae) {}
34 	/**
35 	 * Destructor
36 	 */
~domFx_profile_abstract()37 	virtual ~domFx_profile_abstract() {}
38 	/**
39 	 * Overloaded assignment operator
40 	 */
41 	virtual domFx_profile_abstract &operator=( const domFx_profile_abstract &cpy ) { (void)cpy; return *this; }
42 
43 public: // STATIC METHODS
44 	/**
45 	 * Creates an instance of this class and returns a daeElementRef referencing it.
46 	 * @return a daeElementRef referencing an instance of this object.
47 	 */
48 	static DLLSPEC daeElementRef create(DAE& dae);
49 	/**
50 	 * Creates a daeMetaElement object that describes this element in the meta object reflection framework.
51 	 * If a daeMetaElement already exists it will return that instead of creating a new one.
52 	 * @return A daeMetaElement describing this COLLADA element.
53 	 */
54 	static DLLSPEC daeMetaElement* registerElement(DAE& dae);
55 };
56 
57 
58 #endif
59