domCg_array Class Reference

#include <domCg_array.h>

Inheritance diagram for domCg_array:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const domCg_param_ArraygetCg_param_array () const
domCg_param_ArraygetCg_param_array ()
virtual COLLADA_TYPE::TypeEnum getElementType () const
xsPositiveInteger getLength () const
xsBoolean getResizable () const
void setLength (xsPositiveInteger atLength)
void setResizable (xsBoolean atResizable)
virtual daeInt typeID () const

Static Public Member Functions

static DLLSPEC daeElementRef create (DAE &dae)
static daeInt ID ()
static DLLSPEC daeMetaElementregisterElement (DAE &dae)

Protected Member Functions

 domCg_array (DAE &dae)
virtual domCg_arrayoperator= (const domCg_array &cpy)
virtual ~domCg_array ()

Protected Attributes

xsPositiveInteger attrLength
xsBoolean attrResizable
domCg_param_Array elemCg_param_array

Detailed Description

Creates a parameter of a one-dimensional array type.

Definition at line 14 of file domCg_array.h.


Constructor & Destructor Documentation

domCg_array::domCg_array ( DAE dae  )  [inline, protected]

Constructor

Definition at line 76 of file domCg_array.h.

virtual domCg_array::~domCg_array (  )  [inline, protected, virtual]

Destructor

Definition at line 80 of file domCg_array.h.


Member Function Documentation

static DLLSPEC daeElementRef domCg_array::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.
const domCg_param_Array& domCg_array::getCg_param_array (  )  const [inline]

Gets the cg_param element array.

Returns:
Returns a constant reference to the array of cg_param elements.

Definition at line 71 of file domCg_array.h.

domCg_param_Array& domCg_array::getCg_param_array (  )  [inline]

Gets the cg_param element array.

Returns:
Returns a reference to the array of cg_param elements.

Definition at line 66 of file domCg_array.h.

virtual COLLADA_TYPE::TypeEnum domCg_array::getElementType (  )  const [inline, virtual]

Reimplemented from daeElement.

Definition at line 17 of file domCg_array.h.

xsPositiveInteger domCg_array::getLength (  )  const [inline]

Gets the length attribute.

Returns:
Returns a xsPositiveInteger of the length attribute.

Definition at line 44 of file domCg_array.h.

xsBoolean domCg_array::getResizable (  )  const [inline]

Gets the resizable attribute.

Returns:
Returns a xsBoolean of the resizable attribute.

Definition at line 55 of file domCg_array.h.

static daeInt domCg_array::ID (  )  [inline, static]

Definition at line 18 of file domCg_array.h.

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

Overloaded assignment operator

Definition at line 84 of file domCg_array.h.

static DLLSPEC daeMetaElement* domCg_array::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 domCg_array::setLength ( xsPositiveInteger  atLength  )  [inline]

Sets the length attribute.

Parameters:
atLength The new value for the length attribute.

Definition at line 49 of file domCg_array.h.

void domCg_array::setResizable ( xsBoolean  atResizable  )  [inline]

Sets the resizable attribute.

Parameters:
atResizable The new value for the resizable attribute.

Definition at line 60 of file domCg_array.h.

virtual daeInt domCg_array::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 19 of file domCg_array.h.


Member Data Documentation

The length attribute specifies the length of the array.

Definition at line 24 of file domCg_array.h.

The array may be resized when changed because it is connected to a Cg unsized array.

Definition at line 29 of file domCg_array.h.

First element types the array. If more than one then init entire array and must match length attribute. If only one then repeat based on length attribute.

See also:
domCg_param

Definition at line 37 of file domCg_array.h.


The documentation for this class was generated from the following file:
 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:22 2013