domAccessor Class Reference
#include <domAccessor.h>
Inheritance diagram for domAccessor:
Detailed Description
The accessor element declares an access pattern to one of the array elements: float_array, int_array, Name_array, bool_array, and the generic array element.The accessor element describes access to arrays that are organized in either an interleaved or noninterleaved manner according to the permutations of the offset and stride attributes.
Public Member Functions | |
xsID | getId () const |
Gets the id attribute. | |
void | setId (xsID atId) |
Sets the id attribute. | |
xsNonNegativeInteger | getCount () const |
Gets the count attribute. | |
void | setCount (xsNonNegativeInteger atCount) |
Sets the count attribute. | |
xsNonNegativeInteger | getOffset () const |
Gets the offset attribute. | |
void | setOffset (xsNonNegativeInteger atOffset) |
Sets the offset attribute. | |
xsAnyURI & | getSource () |
Gets the source attribute. | |
const xsAnyURI & | getSource () const |
Gets the source attribute. | |
void | setSource (const xsAnyURI &atSource) |
Sets the source attribute. | |
xsNonNegativeInteger | getStride () const |
Gets the stride attribute. | |
void | setStride (xsNonNegativeInteger atStride) |
Sets the stride attribute. | |
domParam_Array & | getParam_array () |
Gets the param element array. | |
const domParam_Array & | getParam_array () const |
Gets the param element array. | |
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 | |
domAccessor () | |
Constructor. | |
virtual | ~domAccessor () |
Destructor. | |
domAccessor (const domAccessor &cpy) | |
Copy Constructor. | |
virtual domAccessor & | operator= (const domAccessor &cpy) |
Overloaded assignment operator. | |
Protected Attributes | |
xsID | attrId |
The id attribute is a text string containing the unique identifier of the accessor element. | |
xsNonNegativeInteger | attrCount |
The count attribute indicates the number of times the array is accessed. | |
xsNonNegativeInteger | attrOffset |
The offset attribute indicates the index of the first value in the array that is accessed. | |
xsAnyURI | attrSource |
The source attribute indicates the location of the array to access using a URL expression. | |
xsNonNegativeInteger | attrStride |
The stride attribute indicates the number of values to access per count iteration according to the type of data in the source array. | |
domParam_Array | elemParam_array |
The param element describes the output of the accessor element sufficiently to bind that output to consumers of the data stream. |
Member Function Documentation
|
Creates an instance of this class and returns a daeElementRef referencing it.
|
|
Gets the count attribute.
|
|
Gets the id attribute.
|
|
Gets the offset attribute.
|
|
Gets the param element array.
|
|
Gets the param element array.
|
|
Gets the source attribute.
|
|
Gets the source attribute.
|
|
Gets the stride 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 count attribute.
|
|
Sets the id attribute.
|
|
Sets the offset attribute.
|
|
Sets the source attribute.
|
|
Sets the stride attribute.
|
Member Data Documentation
|
The count attribute indicates the number of times the array is accessed. Required attribute. |
|
The id attribute is a text string containing the unique identifier of the accessor element. This value must be unique within the instance document. Optional attribute. |
|
The offset attribute indicates the index of the first value in the array that is accessed. The default value is 0. Optional attribute. |
|
The source attribute indicates the location of the array to access using a URL expression. Required attribute. |
|
The stride attribute indicates the number of values to access per count iteration according to the type of data in the source array. The default value is 1, indicating that a single value is accessed. Optional attribute. The stride attribute must have a value equal to or greater then the number of param elements. If there are fewer param elements then indicated by the stride value, the unbound array data source values are skipped. |
|
The param element describes the output of the accessor element sufficiently to bind that output to consumers of the data stream. The param element may occur zero or more times. The number and order of param elements define the output of the accessor element. Parameters are bound to values in the order they are specified. Parameter ordering is irrelevant to the array data source of the accessor element. This means that no swizzling of the data occurs. The type attribute of the param element, when it is a child of the accessor element, is restricted to the set of array types: int, float, Name, bool, and token. A param element without a name attribute is unbound. This is an indication that the value is not passed to the consumer.
|
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domAccessor.h
- C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domAccessor.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:07 2006 for COLLADA 1.4 DOM by 1.4.3