domGlsl_program::domBind_attribute Class Reference

#include <domGlsl_program.h>

Inheritance diagram for domGlsl_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 32 of file domGlsl_program.h.


Member Typedef Documentation

Definition at line 42 of file domGlsl_program.h.

Definition at line 39 of file domGlsl_program.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 163 of file domGlsl_program.h.

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

Destructor

Definition at line 167 of file domGlsl_program.h.


Member Function Documentation

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

Gets the _contents array.

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

Definition at line 157 of file domGlsl_program.h.

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

Gets the _contents array.

Returns:
Returns a reference to the _contents element array.

Definition at line 152 of file domGlsl_program.h.

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

Reimplemented from daeElement.

Definition at line 35 of file domGlsl_program.h.

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

Gets the semantic element.

Returns:
a daeSmartRef to the semantic element.

Definition at line 147 of file domGlsl_program.h.

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

Gets the symbol attribute.

Returns:
Returns a xsToken of the symbol attribute.

Definition at line 136 of file domGlsl_program.h.

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

Definition at line 36 of file domGlsl_program.h.

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

Overloaded assignment operator

Definition at line 171 of file domGlsl_program.h.

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

Sets the symbol attribute.

Parameters:
atSymbol The new value for the symbol attribute.

Definition at line 141 of file domGlsl_program.h.

virtual daeInt domGlsl_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 37 of file domGlsl_program.h.


Member Data Documentation

Used to store information needed for some content model objects.

Definition at line 128 of file domGlsl_program.h.

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

Definition at line 119 of file domGlsl_program.h.

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

Definition at line 123 of file domGlsl_program.h.

shader variable name

Definition at line 107 of file domGlsl_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 115 of file domGlsl_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:31:20 2013