domGles2_program::domBind_attribute Class Reference

#include <domGles2_program.h>

Inheritance diagram for domGles2_program::domBind_attribute:
Inheritance graph
[legend]

List of all members.

Classes

class  domSemantic

Public Types

typedef daeTArray< domSemanticRefdomSemantic_Array
typedef daeSmartRef< domSemanticdomSemanticRef

Public Member Functions

const daeElementRefArraygetContents () const
daeElementRefArraygetContents ()
virtual COLLADA_TYPE::TypeEnum getElementType () const
const domSemanticRef getSemantic () const
xsToken getSymbol () const
void setSymbol (xsToken atSymbol)
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

 domBind_attribute (DAE &dae)
virtual domBind_attributeoperator= (const domBind_attribute &cpy)
virtual ~domBind_attribute ()

Protected Attributes

daeTArray< daeCharArray * > _CMData
daeElementRefArray _contents
daeUIntArray _contentsOrder
xsToken attrSymbol
domSemanticRef elemSemantic

Detailed Description

Bind attributes. If not bound then it is assumed to be the same semantic as the variable name. If the variable name is prefixed with "gl_" or "sv_" then the prefix may be ignored.

Definition at line 33 of file domGles2_program.h.


Member Typedef Documentation

Definition at line 43 of file domGles2_program.h.

Definition at line 40 of file domGles2_program.h.


Constructor & Destructor Documentation

domGles2_program::domBind_attribute::domBind_attribute ( DAE dae  )  [inline, protected]

Constructor

Definition at line 164 of file domGles2_program.h.

virtual domGles2_program::domBind_attribute::~domBind_attribute (  )  [inline, protected, virtual]

Destructor

Definition at line 168 of file domGles2_program.h.


Member Function Documentation

static DLLSPEC daeElementRef domGles2_program::domBind_attribute::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 daeElementRefArray& domGles2_program::domBind_attribute::getContents (  )  const [inline]

Gets the _contents array.

Returns:
Returns a constant reference to the _contents element array.

Definition at line 158 of file domGles2_program.h.

daeElementRefArray& domGles2_program::domBind_attribute::getContents (  )  [inline]

Gets the _contents array.

Returns:
Returns a reference to the _contents element array.

Definition at line 153 of file domGles2_program.h.

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

Reimplemented from daeElement.

Definition at line 36 of file domGles2_program.h.

const domSemanticRef domGles2_program::domBind_attribute::getSemantic (  )  const [inline]

Gets the semantic element.

Returns:
a daeSmartRef to the semantic element.

Definition at line 148 of file domGles2_program.h.

xsToken domGles2_program::domBind_attribute::getSymbol (  )  const [inline]

Gets the symbol attribute.

Returns:
Returns a xsToken of the symbol attribute.

Definition at line 137 of file domGles2_program.h.

static daeInt domGles2_program::domBind_attribute::ID (  )  [inline, static]

Definition at line 37 of file domGles2_program.h.

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

Overloaded assignment operator

Definition at line 172 of file domGles2_program.h.

static DLLSPEC daeMetaElement* domGles2_program::domBind_attribute::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 domGles2_program::domBind_attribute::setSymbol ( xsToken  atSymbol  )  [inline]

Sets the symbol attribute.

Parameters:
atSymbol The new value for the symbol attribute.

Definition at line 142 of file domGles2_program.h.

virtual daeInt domGles2_program::domBind_attribute::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 38 of file domGles2_program.h.


Member Data Documentation

Used to store information needed for some content model objects.

Definition at line 129 of file domGles2_program.h.

Used to preserve order in elements that do not specify strict sequencing of sub-elements.

Definition at line 120 of file domGles2_program.h.

Used to preserve order in elements that have a complex content model.

Definition at line 124 of file domGles2_program.h.

shader variable name

Definition at line 108 of file domGles2_program.h.

Bind attributes to semantics to enable semantic association to attributes that are not redeclared as parameters. Without this, the semantic is the same as the attribute's name.

See also:
domSemantic

Definition at line 116 of file domGles2_program.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:30:52 2013