#include <domAsset.h>
Public Member Functions | |
virtual COLLADA_TYPE::TypeEnum | getElementType () const |
virtual COLLADA_TYPE::TypeEnum | getElementType () const |
domFloat | getMeter () const |
domFloat | getMeter () const |
xsNMTOKEN | getName () const |
xsNMTOKEN | getName () const |
void | setMeter (domFloat atMeter) |
void | setMeter (domFloat atMeter) |
void | setName (xsNMTOKEN atName) |
void | setName (xsNMTOKEN atName) |
virtual daeInt | typeID () const |
virtual daeInt | typeID () const |
Static Public Member Functions | |
static DLLSPEC daeElementRef | create (DAE &dae) |
static DLLSPEC daeElementRef | create (DAE &dae) |
static daeInt | ID () |
static daeInt | ID () |
static DLLSPEC daeMetaElement * | registerElement (DAE &dae) |
static DLLSPEC daeMetaElement * | registerElement (DAE &dae) |
Protected Member Functions | |
domUnit (DAE &dae) | |
domUnit (DAE &dae) | |
virtual domUnit & | operator= (const domUnit &cpy) |
virtual domUnit & | operator= (const domUnit &cpy) |
virtual | ~domUnit () |
virtual | ~domUnit () |
Protected Attributes | |
domFloat | attrMeter |
xsNMTOKEN | attrName |
The unit element contains descriptive information about unit of measure. It has attributes for the name of the unit and the measurement with respect to the meter. The unit element may appear zero or one time.
Definition at line 831 of file 1.4/dom/domAsset.h.
domAsset::domUnit::domUnit | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 877 of file 1.4/dom/domAsset.h.
virtual domAsset::domUnit::~domUnit | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 881 of file 1.4/dom/domAsset.h.
domAsset::domUnit::domUnit | ( | DAE & | dae | ) | [inline, protected] |
Constructor
Definition at line 1346 of file dom/domAsset.h.
virtual domAsset::domUnit::~domUnit | ( | ) | [inline, protected, virtual] |
Destructor
Definition at line 1350 of file dom/domAsset.h.
static DLLSPEC daeElementRef domAsset::domUnit::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
static DLLSPEC daeElementRef domAsset::domUnit::create | ( | DAE & | dae | ) | [static] |
Creates an instance of this class and returns a daeElementRef referencing it.
virtual COLLADA_TYPE::TypeEnum domAsset::domUnit::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 1303 of file dom/domAsset.h.
virtual COLLADA_TYPE::TypeEnum domAsset::domUnit::getElementType | ( | ) | const [inline, virtual] |
Reimplemented from daeElement.
Definition at line 834 of file 1.4/dom/domAsset.h.
domFloat domAsset::domUnit::getMeter | ( | ) | const [inline] |
Gets the meter attribute.
Definition at line 1324 of file dom/domAsset.h.
domFloat domAsset::domUnit::getMeter | ( | ) | const [inline] |
Gets the meter attribute.
Definition at line 855 of file 1.4/dom/domAsset.h.
xsNMTOKEN domAsset::domUnit::getName | ( | ) | const [inline] |
Gets the name attribute.
Definition at line 1335 of file dom/domAsset.h.
xsNMTOKEN domAsset::domUnit::getName | ( | ) | const [inline] |
Gets the name attribute.
Definition at line 866 of file 1.4/dom/domAsset.h.
static daeInt domAsset::domUnit::ID | ( | ) | [inline, static] |
Definition at line 1304 of file dom/domAsset.h.
static daeInt domAsset::domUnit::ID | ( | ) | [inline, static] |
Definition at line 835 of file 1.4/dom/domAsset.h.
Overloaded assignment operator
Definition at line 1354 of file dom/domAsset.h.
Overloaded assignment operator
Definition at line 885 of file 1.4/dom/domAsset.h.
static DLLSPEC daeMetaElement* domAsset::domUnit::registerElement | ( | DAE & | dae | ) | [static] |
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.
static DLLSPEC daeMetaElement* domAsset::domUnit::registerElement | ( | DAE & | dae | ) | [static] |
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.
void domAsset::domUnit::setMeter | ( | domFloat | atMeter | ) | [inline] |
Sets the meter attribute.
atMeter | The new value for the meter attribute. |
Definition at line 1329 of file dom/domAsset.h.
void domAsset::domUnit::setMeter | ( | domFloat | atMeter | ) | [inline] |
Sets the meter attribute.
atMeter | The new value for the meter attribute. |
Definition at line 860 of file 1.4/dom/domAsset.h.
void domAsset::domUnit::setName | ( | xsNMTOKEN | atName | ) | [inline] |
Sets the name attribute.
atName | The new value for the name attribute. |
Definition at line 1340 of file dom/domAsset.h.
void domAsset::domUnit::setName | ( | xsNMTOKEN | atName | ) | [inline] |
Sets the name attribute.
atName | The new value for the name attribute. |
Definition at line 871 of file 1.4/dom/domAsset.h.
virtual daeInt domAsset::domUnit::typeID | ( | ) | const [inline, virtual] |
Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.
Implements daeElement.
Definition at line 1305 of file dom/domAsset.h.
virtual daeInt domAsset::domUnit::typeID | ( | ) | const [inline, virtual] |
Returns this element's type ID. Every element is an instance of a type specified in the Collada schema, and every schema type has a unique ID.
Implements daeElement.
Definition at line 836 of file 1.4/dom/domAsset.h.
domFloat domAsset::domUnit::attrMeter [protected] |
The meter attribute specifies the measurement with respect to the meter. The default value for the meter attribute is “1.0”.
The meter attribute specifies the measurement with respect to the meter. The default value for the meter attribute is "1.0".
Definition at line 842 of file 1.4/dom/domAsset.h.
xsNMTOKEN domAsset::domUnit::attrName [protected] |
The name attribute specifies the name of the unit. The default value for the name attribute is “meter”.
The name attribute specifies the name of the unit. The default value for the name attribute is "meter".
Definition at line 847 of file 1.4/dom/domAsset.h.