COLLADA 1.4 DOM: domFloat_array Class Reference

COLLADA

domFloat_array Class Reference

#include <domFloat_array.h>

Inheritance diagram for domFloat_array:

Inheritance graph
[legend]
Collaboration diagram for domFloat_array:

Collaboration graph
[legend]
List of all members.

Detailed Description

The float_array element declares the storage for a homogenous array of floating point values.

The float_array element stores the data values for generic use within the COLLADA schema. The arrays themselves are strongly typed but without semantics. They simply describe a sequence of floating point values.

Public Member Functions

xsID getId () const
 Gets the id attribute.
void setId (xsID atId)
 Sets the id attribute.
xsNCName getName () const
 Gets the name attribute.
void setName (xsNCName atName)
 Sets the name attribute.
xsNonNegativeInteger getCount () const
 Gets the count attribute.
void setCount (xsNonNegativeInteger atCount)
 Sets the count attribute.
xsShort getDigits () const
 Gets the digits attribute.
void setDigits (xsShort atDigits)
 Sets the digits attribute.
xsShort getMagnitude () const
 Gets the magnitude attribute.
void setMagnitude (xsShort atMagnitude)
 Sets the magnitude attribute.
domListOfFloatsgetValue ()
 Gets the _value array.
const domListOfFloatsgetValue () const
 Gets the _value array.
void setValue (const domListOfFloats &val)
 Sets the _value array.

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

 domFloat_array ()
 Constructor.
virtual ~domFloat_array ()
 Destructor.
 domFloat_array (const domFloat_array &cpy)
 Copy Constructor.
virtual domFloat_arrayoperator= (const domFloat_array &cpy)
 Overloaded assignment operator.

Protected Attributes

xsID attrId
 The id attribute is a text string containing the unique identifier of this element.
xsNCName attrName
 The name attribute is the text string name of this element.
xsNonNegativeInteger attrCount
 The count attribute indicates the number of values in the array.
xsShort attrDigits
 The digits attribute indicates the number of significant decimal digits of the float values that can be contained in the array.
xsShort attrMagnitude
 The magnitude attribute indicates the largest exponent of the float values that can be contained in the array.
domListOfFloats _value
 The domListOfFloats value of the text data of this element.

Member Function Documentation

daeElementRef domFloat_array::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.

xsNonNegativeInteger domFloat_array::getCount  )  const [inline]
 

Gets the count attribute.

Returns:
Returns a xsNonNegativeInteger of the count attribute.

xsShort domFloat_array::getDigits  )  const [inline]
 

Gets the digits attribute.

Returns:
Returns a xsShort of the digits attribute.

xsID domFloat_array::getId  )  const [inline]
 

Gets the id attribute.

Returns:
Returns a xsID of the id attribute.

xsShort domFloat_array::getMagnitude  )  const [inline]
 

Gets the magnitude attribute.

Returns:
Returns a xsShort of the magnitude attribute.

xsNCName domFloat_array::getName  )  const [inline]
 

Gets the name attribute.

Returns:
Returns a xsNCName of the name attribute.

const domListOfFloats& domFloat_array::getValue  )  const [inline]
 

Gets the _value array.

Returns:
Returns a constant domListOfFloats reference of the _value array.

domListOfFloats& domFloat_array::getValue  )  [inline]
 

Gets the _value array.

Returns:
Returns a domListOfFloats reference of the _value array.

daeMetaElement * domFloat_array::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 domFloat_array::setCount xsNonNegativeInteger  atCount  )  [inline]
 

Sets the count attribute.

Parameters:
atCount The new value for the count attribute.

void domFloat_array::setDigits xsShort  atDigits  )  [inline]
 

Sets the digits attribute.

Parameters:
atDigits The new value for the digits attribute.

void domFloat_array::setId xsID  atId  )  [inline]
 

Sets the id attribute.

Parameters:
atId The new value for the id attribute.

void domFloat_array::setMagnitude xsShort  atMagnitude  )  [inline]
 

Sets the magnitude attribute.

Parameters:
atMagnitude The new value for the magnitude attribute.

void domFloat_array::setName xsNCName  atName  )  [inline]
 

Sets the name attribute.

Parameters:
atName The new value for the name attribute.

void domFloat_array::setValue const domListOfFloats val  )  [inline]
 

Sets the _value array.

Parameters:
atMagnitude The new value for the _value array.


Member Data Documentation

xsNonNegativeInteger domFloat_array::attrCount [protected]
 

The count attribute indicates the number of values in the array.

Required attribute.

xsShort domFloat_array::attrDigits [protected]
 

The digits attribute indicates the number of significant decimal digits of the float values that can be contained in the array.

The default value is 6. Optional attribute.

xsID domFloat_array::attrId [protected]
 

The id attribute is a text string containing the unique identifier of this element.

This value must be unique within the instance document. Optional attribute.

xsShort domFloat_array::attrMagnitude [protected]
 

The magnitude attribute indicates the largest exponent of the float values that can be contained in the array.

The default value is 38. Optional attribute.

xsNCName domFloat_array::attrName [protected]
 

The name attribute is the text string name of this element.

Optional attribute.


The documentation for this class was generated from the following files:
  • C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domFloat_array.h
  • C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domFloat_array.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:48:19 2006 for COLLADA 1.4 DOM by doxygen 1.4.3