domAsset::domUnit Class Reference
#include <domAsset.h>
Inheritance diagram for domAsset::domUnit:
Detailed Description
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. The default value for the name attribute is 'meter'. The default value for the meter attribute is '1.0'.
Public Member Functions | |
xsDouble | getMeter () const |
Gets the meter attribute. | |
void | setMeter (xsDouble atMeter) |
Sets the meter attribute. | |
xsNMTOKEN | getName () const |
Gets the name attribute. | |
void | setName (xsNMTOKEN atName) |
Sets the name attribute. | |
Static Public Member Functions | |
static daeElementRef | create (daeInt bytes) |
Creates an instance of this class and returns a daeElementRef referencing it. | |
static daeMetaElement * | registerElement () |
Creates a daeMetaElement object that describes this element in the meta object reflection framework. | |
Static Public Attributes | |
static daeMetaElement * | _Meta = NULL |
The daeMetaElement that describes this element in the meta object reflection framework. | |
Protected Member Functions | |
domUnit () | |
Constructor. | |
virtual | ~domUnit () |
Destructor. | |
domUnit (const domUnit &cpy) | |
Copy Constructor. | |
virtual domUnit & | operator= (const domUnit &cpy) |
Overloaded assignment operator. | |
Protected Attributes | |
xsDouble | attrMeter |
The measurement with respect to the meter. | |
xsNMTOKEN | attrName |
The name of the unit. |
Member Function Documentation
|
Creates an instance of this class and returns a daeElementRef referencing it.
|
|
Gets the meter attribute.
|
|
Gets the name attribute.
|
|
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.
|
|
Sets the meter attribute.
|
|
Sets the name attribute.
|
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domAsset.h
- C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domAsset.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:33 2006 for COLLADA 1.4 DOM by 1.4.3