1107 lines
32 KiB
C++
1107 lines
32 KiB
C++
#ifndef __dom150Fx_annotate_h__
|
|
#define __dom150Fx_annotate_h__
|
|
|
|
#include <dae/daeDocument.h>
|
|
#include <1.5/dom/domTypes.h>
|
|
#include <1.5/dom/domElements.h>
|
|
|
|
|
|
class DAE;
|
|
namespace ColladaDOM150 {
|
|
|
|
/**
|
|
* A group that specifies the allowable types for an annotation.
|
|
*/
|
|
class domFx_annotate : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FX_ANNOTATE; }
|
|
static daeInt ID() { return 137; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
public:
|
|
class domBool;
|
|
|
|
typedef daeSmartRef<domBool> domBoolRef;
|
|
typedef daeTArray<domBoolRef> domBool_Array;
|
|
|
|
class domBool : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL; }
|
|
static daeInt ID() { return 138; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a xsBoolean of the value.
|
|
*/
|
|
xsBoolean& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const xsBoolean& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The xsBoolean value of the text data of this element.
|
|
*/
|
|
xsBoolean _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domBool(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domBool() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domBool &operator=( const domBool &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domBool2;
|
|
|
|
typedef daeSmartRef<domBool2> domBool2Ref;
|
|
typedef daeTArray<domBool2Ref> domBool2_Array;
|
|
|
|
class domBool2 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL2; }
|
|
static daeInt ID() { return 139; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domBool2 of the value.
|
|
*/
|
|
ColladaDOM150::domBool2& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domBool2& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domBool2 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domBool2 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domBool2(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domBool2() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domBool2 &operator=( const domBool2 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domBool3;
|
|
|
|
typedef daeSmartRef<domBool3> domBool3Ref;
|
|
typedef daeTArray<domBool3Ref> domBool3_Array;
|
|
|
|
class domBool3 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL3; }
|
|
static daeInt ID() { return 140; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domBool3 of the value.
|
|
*/
|
|
ColladaDOM150::domBool3& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domBool3& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domBool3 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domBool3 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domBool3(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domBool3() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domBool3 &operator=( const domBool3 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domBool4;
|
|
|
|
typedef daeSmartRef<domBool4> domBool4Ref;
|
|
typedef daeTArray<domBool4Ref> domBool4_Array;
|
|
|
|
class domBool4 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::BOOL4; }
|
|
static daeInt ID() { return 141; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domBool4 of the value.
|
|
*/
|
|
ColladaDOM150::domBool4& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domBool4& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domBool4 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domBool4 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domBool4(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domBool4() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domBool4 &operator=( const domBool4 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domInt;
|
|
|
|
typedef daeSmartRef<domInt> domIntRef;
|
|
typedef daeTArray<domIntRef> domInt_Array;
|
|
|
|
class domInt : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT; }
|
|
static daeInt ID() { return 142; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domInt of the value.
|
|
*/
|
|
ColladaDOM150::domInt& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domInt& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domInt value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domInt _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domInt(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domInt() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domInt &operator=( const domInt &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domInt2;
|
|
|
|
typedef daeSmartRef<domInt2> domInt2Ref;
|
|
typedef daeTArray<domInt2Ref> domInt2_Array;
|
|
|
|
class domInt2 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT2; }
|
|
static daeInt ID() { return 143; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domInt2 of the value.
|
|
*/
|
|
ColladaDOM150::domInt2& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domInt2& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domInt2 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domInt2 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domInt2(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domInt2() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domInt2 &operator=( const domInt2 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domInt3;
|
|
|
|
typedef daeSmartRef<domInt3> domInt3Ref;
|
|
typedef daeTArray<domInt3Ref> domInt3_Array;
|
|
|
|
class domInt3 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT3; }
|
|
static daeInt ID() { return 144; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domInt3 of the value.
|
|
*/
|
|
ColladaDOM150::domInt3& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domInt3& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domInt3 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domInt3 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domInt3(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domInt3() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domInt3 &operator=( const domInt3 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domInt4;
|
|
|
|
typedef daeSmartRef<domInt4> domInt4Ref;
|
|
typedef daeTArray<domInt4Ref> domInt4_Array;
|
|
|
|
class domInt4 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::INT4; }
|
|
static daeInt ID() { return 145; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domInt4 of the value.
|
|
*/
|
|
ColladaDOM150::domInt4& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domInt4& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domInt4 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domInt4 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domInt4(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domInt4() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domInt4 &operator=( const domInt4 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domFloat;
|
|
|
|
typedef daeSmartRef<domFloat> domFloatRef;
|
|
typedef daeTArray<domFloatRef> domFloat_Array;
|
|
|
|
class domFloat : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT; }
|
|
static daeInt ID() { return 146; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domFloat of the value.
|
|
*/
|
|
ColladaDOM150::domFloat& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domFloat& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domFloat value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domFloat _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domFloat(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domFloat() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domFloat &operator=( const domFloat &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domFloat2;
|
|
|
|
typedef daeSmartRef<domFloat2> domFloat2Ref;
|
|
typedef daeTArray<domFloat2Ref> domFloat2_Array;
|
|
|
|
class domFloat2 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2; }
|
|
static daeInt ID() { return 147; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domFloat2 of the value.
|
|
*/
|
|
ColladaDOM150::domFloat2& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domFloat2& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domFloat2 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domFloat2 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domFloat2(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domFloat2() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domFloat2 &operator=( const domFloat2 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domFloat3;
|
|
|
|
typedef daeSmartRef<domFloat3> domFloat3Ref;
|
|
typedef daeTArray<domFloat3Ref> domFloat3_Array;
|
|
|
|
class domFloat3 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3; }
|
|
static daeInt ID() { return 148; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domFloat3 of the value.
|
|
*/
|
|
ColladaDOM150::domFloat3& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domFloat3& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domFloat3 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domFloat3 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domFloat3(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domFloat3() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domFloat3 &operator=( const domFloat3 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domFloat4;
|
|
|
|
typedef daeSmartRef<domFloat4> domFloat4Ref;
|
|
typedef daeTArray<domFloat4Ref> domFloat4_Array;
|
|
|
|
class domFloat4 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4; }
|
|
static daeInt ID() { return 149; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domFloat4 of the value.
|
|
*/
|
|
ColladaDOM150::domFloat4& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domFloat4& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domFloat4 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domFloat4 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domFloat4(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domFloat4() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domFloat4 &operator=( const domFloat4 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domFloat2x2;
|
|
|
|
typedef daeSmartRef<domFloat2x2> domFloat2x2Ref;
|
|
typedef daeTArray<domFloat2x2Ref> domFloat2x2_Array;
|
|
|
|
class domFloat2x2 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT2X2; }
|
|
static daeInt ID() { return 150; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domFloat2x2 of the value.
|
|
*/
|
|
ColladaDOM150::domFloat2x2& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domFloat2x2& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domFloat2x2 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domFloat2x2 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domFloat2x2(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domFloat2x2() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domFloat2x2 &operator=( const domFloat2x2 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domFloat3x3;
|
|
|
|
typedef daeSmartRef<domFloat3x3> domFloat3x3Ref;
|
|
typedef daeTArray<domFloat3x3Ref> domFloat3x3_Array;
|
|
|
|
class domFloat3x3 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT3X3; }
|
|
static daeInt ID() { return 151; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domFloat3x3 of the value.
|
|
*/
|
|
ColladaDOM150::domFloat3x3& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domFloat3x3& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domFloat3x3 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domFloat3x3 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domFloat3x3(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domFloat3x3() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domFloat3x3 &operator=( const domFloat3x3 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domFloat4x4;
|
|
|
|
typedef daeSmartRef<domFloat4x4> domFloat4x4Ref;
|
|
typedef daeTArray<domFloat4x4Ref> domFloat4x4_Array;
|
|
|
|
class domFloat4x4 : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::FLOAT4X4; }
|
|
static daeInt ID() { return 152; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return a ColladaDOM150::domFloat4x4 of the value.
|
|
*/
|
|
ColladaDOM150::domFloat4x4& getValue() { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( const ColladaDOM150::domFloat4x4& val ) { _value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ColladaDOM150::domFloat4x4 value of the text data of this element.
|
|
*/
|
|
ColladaDOM150::domFloat4x4 _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domFloat4x4(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domFloat4x4() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domFloat4x4 &operator=( const domFloat4x4 &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
class domString;
|
|
|
|
typedef daeSmartRef<domString> domStringRef;
|
|
typedef daeTArray<domStringRef> domString_Array;
|
|
|
|
class domString : public daeElement
|
|
{
|
|
public:
|
|
virtual COLLADA_TYPE::TypeEnum getElementType() const { return COLLADA_TYPE::STRING; }
|
|
static daeInt ID() { return 153; }
|
|
virtual daeInt typeID() const { return ID(); }
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the value of this element.
|
|
* @return Returns a ::xsString of the value.
|
|
*/
|
|
::xsString getValue() const { return _value; }
|
|
/**
|
|
* Sets the _value of this element.
|
|
* @param val The new value for this element.
|
|
*/
|
|
void setValue( ::xsString val ) { *(daeStringRef*)&_value = val; }
|
|
|
|
protected: // Value
|
|
/**
|
|
* The ::xsString value of the text data of this element.
|
|
*/
|
|
::xsString _value;
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domString(DAE& dae) : daeElement(dae), _value() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domString() {}
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domString &operator=( const domString &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
|
|
|
|
protected: // Elements
|
|
domBoolRef elemBool;
|
|
domBool2Ref elemBool2;
|
|
domBool3Ref elemBool3;
|
|
domBool4Ref elemBool4;
|
|
domIntRef elemInt;
|
|
domInt2Ref elemInt2;
|
|
domInt3Ref elemInt3;
|
|
domInt4Ref elemInt4;
|
|
domFloatRef elemFloat;
|
|
domFloat2Ref elemFloat2;
|
|
domFloat3Ref elemFloat3;
|
|
domFloat4Ref elemFloat4;
|
|
domFloat2x2Ref elemFloat2x2;
|
|
domFloat3x3Ref elemFloat3x3;
|
|
domFloat4x4Ref elemFloat4x4;
|
|
domStringRef elemString;
|
|
/**
|
|
* Used to preserve order in elements that do not specify strict sequencing of sub-elements.
|
|
*/
|
|
daeElementRefArray _contents;
|
|
/**
|
|
* Used to preserve order in elements that have a complex content model.
|
|
*/
|
|
daeUIntArray _contentsOrder;
|
|
|
|
/**
|
|
* Used to store information needed for some content model objects.
|
|
*/
|
|
daeTArray< daeCharArray * > _CMData;
|
|
|
|
|
|
public: //Accessors and Mutators
|
|
/**
|
|
* Gets the bool element.
|
|
* @return a daeSmartRef to the bool element.
|
|
*/
|
|
const domBoolRef getBool() const { return elemBool; }
|
|
/**
|
|
* Gets the bool2 element.
|
|
* @return a daeSmartRef to the bool2 element.
|
|
*/
|
|
const domBool2Ref getBool2() const { return elemBool2; }
|
|
/**
|
|
* Gets the bool3 element.
|
|
* @return a daeSmartRef to the bool3 element.
|
|
*/
|
|
const domBool3Ref getBool3() const { return elemBool3; }
|
|
/**
|
|
* Gets the bool4 element.
|
|
* @return a daeSmartRef to the bool4 element.
|
|
*/
|
|
const domBool4Ref getBool4() const { return elemBool4; }
|
|
/**
|
|
* Gets the int element.
|
|
* @return a daeSmartRef to the int element.
|
|
*/
|
|
const domIntRef getInt() const { return elemInt; }
|
|
/**
|
|
* Gets the int2 element.
|
|
* @return a daeSmartRef to the int2 element.
|
|
*/
|
|
const domInt2Ref getInt2() const { return elemInt2; }
|
|
/**
|
|
* Gets the int3 element.
|
|
* @return a daeSmartRef to the int3 element.
|
|
*/
|
|
const domInt3Ref getInt3() const { return elemInt3; }
|
|
/**
|
|
* Gets the int4 element.
|
|
* @return a daeSmartRef to the int4 element.
|
|
*/
|
|
const domInt4Ref getInt4() const { return elemInt4; }
|
|
/**
|
|
* Gets the float element.
|
|
* @return a daeSmartRef to the float element.
|
|
*/
|
|
const domFloatRef getFloat() const { return elemFloat; }
|
|
/**
|
|
* Gets the float2 element.
|
|
* @return a daeSmartRef to the float2 element.
|
|
*/
|
|
const domFloat2Ref getFloat2() const { return elemFloat2; }
|
|
/**
|
|
* Gets the float3 element.
|
|
* @return a daeSmartRef to the float3 element.
|
|
*/
|
|
const domFloat3Ref getFloat3() const { return elemFloat3; }
|
|
/**
|
|
* Gets the float4 element.
|
|
* @return a daeSmartRef to the float4 element.
|
|
*/
|
|
const domFloat4Ref getFloat4() const { return elemFloat4; }
|
|
/**
|
|
* Gets the float2x2 element.
|
|
* @return a daeSmartRef to the float2x2 element.
|
|
*/
|
|
const domFloat2x2Ref getFloat2x2() const { return elemFloat2x2; }
|
|
/**
|
|
* Gets the float3x3 element.
|
|
* @return a daeSmartRef to the float3x3 element.
|
|
*/
|
|
const domFloat3x3Ref getFloat3x3() const { return elemFloat3x3; }
|
|
/**
|
|
* Gets the float4x4 element.
|
|
* @return a daeSmartRef to the float4x4 element.
|
|
*/
|
|
const domFloat4x4Ref getFloat4x4() const { return elemFloat4x4; }
|
|
/**
|
|
* Gets the string element.
|
|
* @return a daeSmartRef to the string element.
|
|
*/
|
|
const domStringRef getString() const { return elemString; }
|
|
/**
|
|
* Gets the _contents array.
|
|
* @return Returns a reference to the _contents element array.
|
|
*/
|
|
daeElementRefArray &getContents() { return _contents; }
|
|
/**
|
|
* Gets the _contents array.
|
|
* @return Returns a constant reference to the _contents element array.
|
|
*/
|
|
const daeElementRefArray &getContents() const { return _contents; }
|
|
|
|
protected:
|
|
/**
|
|
* Constructor
|
|
*/
|
|
domFx_annotate(DAE& dae) : daeElement(dae), elemBool(), elemBool2(), elemBool3(), elemBool4(), elemInt(), elemInt2(), elemInt3(), elemInt4(), elemFloat(), elemFloat2(), elemFloat3(), elemFloat4(), elemFloat2x2(), elemFloat3x3(), elemFloat4x4(), elemString() {}
|
|
/**
|
|
* Destructor
|
|
*/
|
|
virtual ~domFx_annotate() { daeElement::deleteCMDataArray(_CMData); }
|
|
/**
|
|
* Overloaded assignment operator
|
|
*/
|
|
virtual domFx_annotate &operator=( const domFx_annotate &cpy ) { (void)cpy; return *this; }
|
|
|
|
public: // STATIC METHODS
|
|
/**
|
|
* Creates an instance of this class and returns a daeElementRef referencing it.
|
|
* @return a daeElementRef referencing an instance of this object.
|
|
*/
|
|
static DLLSPEC daeElementRef create(DAE& dae);
|
|
/**
|
|
* Creates a daeMetaElement object that describes this element in the meta object reflection framework.
|
|
* If a daeMetaElement already exists it will return that instead of creating a new one.
|
|
* @return A daeMetaElement describing this COLLADA element.
|
|
*/
|
|
static DLLSPEC daeMetaElement* registerElement(DAE& dae);
|
|
};
|
|
|
|
|
|
} // ColladaDOM150
|
|
#endif
|