domProgram Class Reference
#include <domProgram.h>
Inheritance diagram for domProgram:
Detailed Description
The program element declares parameters and program code that executes within the application runtime environment or the graphics pipeline.Programs use the same id/url linking (define/reference) facility as other elements. To define a program, specify an id attribute value. To refer to a program (i.e. a "function call"), reference that id value in a url attribute. Another way to refer to a program is by using a name as the URL value such as: <program url="PHONG"> In this case, the name refers to a well-known or built-in program. It's not a URI fragment (PHONG) because it's not in the same instance document. It's implicitly defined in the COMMON profile.
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. | |
xsAnyURI & | getUrl () |
Gets the url attribute. | |
const xsAnyURI & | getUrl () const |
Gets the url attribute. | |
void | setUrl (const xsAnyURI &atUrl) |
Sets the url attribute. | |
const domAssetRef | getAsset () const |
Gets the asset element. | |
domParam_Array & | getParam_array () |
Gets the param element array. | |
const domParam_Array & | getParam_array () const |
Gets the param element array. | |
domEntry_Array & | getEntry_array () |
Gets the entry element array. | |
const domEntry_Array & | getEntry_array () const |
Gets the entry element array. | |
domCode_Array & | getCode_array () |
Gets the code element array. | |
const domCode_Array & | getCode_array () const |
Gets the code 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 | |
domProgram () | |
Constructor. | |
virtual | ~domProgram () |
Destructor. | |
domProgram (const domProgram &cpy) | |
Copy Constructor. | |
virtual domProgram & | operator= (const domProgram &cpy) |
Overloaded assignment operator. | |
Protected Attributes | |
xsID | attrId |
The id attribute is a text string containing the unique identifier of the program element. | |
xsNCName | attrName |
The name attribute is the text string name of this element. | |
xsAnyURI | attrUrl |
The url attribute is a valid URL to the location of the program resource. | |
domAssetRef | elemAsset |
This element may contain an asset element. | |
domParam_Array | elemParam_array |
The param element may occur zero or more times. | |
domEntry_Array | elemEntry_array |
domCode_Array | elemCode_array |
The code element may occur zero or one time. |
Member Function Documentation
|
Creates an instance of this class and returns a daeElementRef referencing it.
|
|
Gets the asset element.
|
|
Gets the code element array.
|
|
Gets the code element array.
|
|
Gets the entry element array.
|
|
Gets the entry element array.
|
|
Gets the id attribute.
|
|
Gets the name attribute.
|
|
Gets the param element array.
|
|
Gets the param element array.
|
|
Gets the url attribute.
|
|
Gets the url 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 id attribute.
|
|
Sets the name attribute.
|
|
Sets the url attribute.
|
Member Data Documentation
|
The id attribute is a text string containing the unique identifier of the program element. This value must be unique within the instance document. Optional attribute. |
|
The name attribute is the text string name of this element. Optional attribute. |
|
The url attribute is a valid URL to the location of the program resource. This resource contains information understood by the application run-time according to the technique profile in scope. Optional attribute. |
|
This element may contain an asset element.
|
|
The code element may occur zero or one time.
|
|
|
|
The param element may occur zero or more times. A param element, specified as a child of the program element, indicates the interface to the program. The value of such a parameter may vary each time the program executes.
|
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domProgram.h
- C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domProgram.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:49:39 2006 for COLLADA 1.4 DOM by 1.4.3