00001 /* 00002 * Copyright 2006 Sony Computer Entertainment Inc. 00003 * 00004 * Licensed under the MIT Open Source License, for details please see license.txt or the website 00005 * http://www.opensource.org/licenses/mit-license.php 00006 * 00007 */ 00008 00009 #ifndef __domCg_connect_param_h__ 00010 #define __domCg_connect_param_h__ 00011 00012 #include <dae/daeDocument.h> 00013 #include <dom/domTypes.h> 00014 #include <dom/domElements.h> 00015 00016 class DAE; 00017 00021 class domCg_connect_param_complexType 00022 { 00023 protected: // Attribute 00024 domCg_identifier attrRef; 00025 00026 00027 public: //Accessors and Mutators 00032 domCg_identifier getRef() const { return attrRef; } 00037 void setRef( domCg_identifier atRef ) { attrRef = atRef; } 00038 00039 protected: 00043 domCg_connect_param_complexType(DAE& dae, daeElement* elt) : attrRef() {} 00047 virtual ~domCg_connect_param_complexType() {} 00051 virtual domCg_connect_param_complexType &operator=( const domCg_connect_param_complexType &cpy ) { (void)cpy; return *this; } 00052 }; 00053 00057 class domCg_connect_param : public daeElement, public domCg_connect_param_complexType 00058 { 00059 public: 00060 virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::CG_CONNECT_PARAM; } 00061 static daeInt ID() { return 133; } 00062 virtual daeInt typeID() const { return ID(); } 00063 00064 public: //Accessors and Mutators 00069 domCg_identifier getRef() const { return attrRef; } 00074 void setRef( domCg_identifier atRef ) { attrRef = atRef; _validAttributeArray[0] = true; } 00075 00076 protected: 00080 domCg_connect_param(DAE& dae) : daeElement(dae), domCg_connect_param_complexType(dae, this) {} 00084 virtual ~domCg_connect_param() {} 00088 virtual domCg_connect_param &operator=( const domCg_connect_param &cpy ) { (void)cpy; return *this; } 00089 00090 public: // STATIC METHODS 00095 static DLLSPEC daeElementRef create(DAE& dae); 00101 static DLLSPEC daeMetaElement* registerElement(DAE& dae); 00102 }; 00103 00104 00105 #endif