domAsset::domUnit Class Reference

#include <domAsset.h>

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

List of all members.

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 daeMetaElementregisterElement (DAE &dae)
static DLLSPEC daeMetaElementregisterElement (DAE &dae)

Protected Member Functions

 domUnit (DAE &dae)
 domUnit (DAE &dae)
virtual domUnitoperator= (const domUnit &cpy)
virtual domUnitoperator= (const domUnit &cpy)
virtual ~domUnit ()
virtual ~domUnit ()

Protected Attributes

domFloat attrMeter
xsNMTOKEN attrName

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.

Definition at line 831 of file 1.4/dom/domAsset.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

static DLLSPEC daeElementRef domAsset::domUnit::create ( DAE dae  )  [static]

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

Returns:
a daeElementRef referencing an instance of this object.
static DLLSPEC daeElementRef domAsset::domUnit::create ( DAE dae  )  [static]

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

Returns:
a daeElementRef referencing an instance of this object.
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.

Returns:
Returns a domFloat of the meter attribute.

Definition at line 1324 of file dom/domAsset.h.

domFloat domAsset::domUnit::getMeter (  )  const [inline]

Gets the meter attribute.

Returns:
Returns a domFloat of the meter attribute.

Definition at line 855 of file 1.4/dom/domAsset.h.

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

Gets the name attribute.

Returns:
Returns a xsNMTOKEN of the name attribute.

Definition at line 1335 of file dom/domAsset.h.

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

Gets the name attribute.

Returns:
Returns a xsNMTOKEN of 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.

virtual domUnit& domAsset::domUnit::operator= ( const domUnit cpy  )  [inline, protected, virtual]

Overloaded assignment operator

Definition at line 1354 of file dom/domAsset.h.

virtual domUnit& domAsset::domUnit::operator= ( const domUnit cpy  )  [inline, protected, virtual]

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.

Returns:
A daeMetaElement describing this COLLADA element.
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.

Returns:
A daeMetaElement describing this COLLADA element.
void domAsset::domUnit::setMeter ( domFloat  atMeter  )  [inline]

Sets the meter attribute.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Returns:
The element's type 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.

Returns:
The element's type ID.

Implements daeElement.

Definition at line 836 of file 1.4/dom/domAsset.h.


Member Data Documentation

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.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


colladadom
Author(s): Du Hung Hou, Khronos.org, Marcus Barnes, Greg Corson, Herbert Law, Sebastian Schwarz, Steven Thomas, John Hsu (ros package), Tim Field (ros package)
autogenerated on Fri Jan 11 09:29:19 2013