COLLADA 1.4 DOM: domAsset::domUnit Class Reference

COLLADA

domAsset::domUnit Class Reference

#include <domAsset.h>

Inheritance diagram for domAsset::domUnit:

Inheritance graph
[legend]
Collaboration diagram for domAsset::domUnit:

Collaboration graph
[legend]
List of all members.

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 daeMetaElementregisterElement ()
 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 domUnitoperator= (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

daeElementRef domAsset::domUnit::create daeInt  bytes  )  [static]
 

Creates an instance of this class and returns a daeElementRef referencing it.

Parameters:
bytes The size allocated for this instance.
Returns:
a daeElementRef referencing an instance of this object.

xsDouble domAsset::domUnit::getMeter  )  const [inline]
 

Gets the meter attribute.

Returns:
Returns a xsDouble of the meter attribute.

xsNMTOKEN domAsset::domUnit::getName  )  const [inline]
 

Gets the name attribute.

Returns:
Returns a xsNMTOKEN of the name attribute.

daeMetaElement * domAsset::domUnit::registerElement  )  [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.

Returns:
A daeMetaElement describing this COLLADA element.

void domAsset::domUnit::setMeter xsDouble  atMeter  )  [inline]
 

Sets the meter attribute.

Parameters:
atMeter The new value for the meter attribute.

void domAsset::domUnit::setName xsNMTOKEN  atName  )  [inline]
 

Sets the name attribute.

Parameters:
atName The new value for 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 doxygen 1.4.3