COLLADA 1.4 DOM: domInstance Class Reference

COLLADA

domInstance Class Reference

#include <domInstance.h>

Inheritance diagram for domInstance:

Inheritance graph
[legend]
Collaboration diagram for domInstance:

Collaboration graph
[legend]
List of all members.

Detailed Description

The instance element declares the instantiation of a node, an object or the contents of another COLLADA resource.

Public Member Functions

xsAnyURIgetUrl ()
 Gets the url attribute.
const xsAnyURIgetUrl () const
 Gets the url attribute.
void setUrl (const xsAnyURI &atUrl)
 Sets the url attribute.

Static Public Member Functions

static daeElementRef create (daeInt bytes)
 Creates an instance of this class and returns a daeElementRef referencing it.
static daeMetaElementregisterElement ()
 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

 domInstance ()
 Constructor.
virtual ~domInstance ()
 Destructor.
 domInstance (const domInstance &cpy)
 Copy Constructor.
virtual domInstanceoperator= (const domInstance &cpy)
 Overloaded assignment operator.

Protected Attributes

xsAnyURI attrUrl
 The url attribute indicates the URL of the location of the object to instance.

Member Function Documentation

daeElementRef domInstance::create daeInt  bytes  )  [static]
 

Creates an instance of this class and returns a daeElementRef referencing it.

Parameters:
bytes The size allocated for this instance.
Returns:
a daeElementRef referencing an instance of this object.

const xsAnyURI& domInstance::getUrl  )  const [inline]
 

Gets the url attribute.

Returns:
Returns a constant xsAnyURI reference of the url attribute.

xsAnyURI& domInstance::getUrl  )  [inline]
 

Gets the url attribute.

Returns:
Returns a xsAnyURI reference of the url attribute.

daeMetaElement * domInstance::registerElement  )  [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 domInstance::setUrl const xsAnyURI atUrl  )  [inline]
 

Sets the url attribute.

Parameters:
atUrl The new value for the url attribute.


Member Data Documentation

xsAnyURI domInstance::attrUrl [protected]
 

The url attribute indicates the URL of the location of the object to instance.

When the url attribute indicates a geometry element then the instantiation does not resolve any controller elements that may target the geometry element. When the url attribute indicates a controller element then the instantiation resolves the controller element and its target, such as a geometry element. Required attribute.


The documentation for this class was generated from the following files:
  • C:/SVN_wf/COLLADA_DOM/include/1.3/dom/domInstance.h
  • C:/SVN_wf/COLLADA_DOM/src/1.3/dom/domInstance.cpp

©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:48:31 2006 for COLLADA 1.4 DOM by doxygen 1.4.3