domAny Class Reference
#include <domAny.h>
List of all members.
Detailed Description
The domAny class allows for weakly typed xml elements. This class is used anywhere in the COLLADA schema where an xs:any element appears. The content and type information for a domAny object is generated at runtime.
Definition at line 23 of file domAny.h.
Constructor & Destructor Documentation
domAny::domAny |
( |
|
) |
[inline, protected] |
Constructor
Definition at line 97 of file domAny.h.
virtual domAny::~domAny |
( |
|
) |
[protected, virtual] |
domAny::domAny |
( |
const domAny & |
cpy |
) |
[inline, protected] |
Copy Constructor
Definition at line 105 of file domAny.h.
Member Function Documentation
Creates an instance of this class and returns a daeElementRef referencing it.
- Returns:
- a daeElementRef referencing an instance of this object.
daeUInt domAny::getAttributeCount |
( |
|
) |
const [inline] |
Gets the number of attributes this element has.
- Returns:
- Returns the number of attributes on this element.
Definition at line 60 of file domAny.h.
Gets an attribute's name.
- Parameters:
-
| index | The index into the attribute list. |
- Returns:
- Returns the attribute's name.
Definition at line 66 of file domAny.h.
Gets an attribute's value.
- Parameters:
-
| index | The index into the attribute list. |
- Returns:
- Returns the attribute's value as a string.
Definition at line 72 of file domAny.h.
Gets the _contents array.
- Returns:
- Returns a constant reference to the _contents element array.
Definition at line 54 of file domAny.h.
Gets the _contents array.
- Returns:
- Returns a reference to the _contents element array.
Definition at line 49 of file domAny.h.
daeString domAny::getValue |
( |
|
) |
const [inline] |
Gets the value of this element.
- Returns:
- Returns a daeString of the value.
Definition at line 77 of file domAny.h.
static daeInt domAny::ID |
( |
|
) |
[inline, static] |
virtual domAny& domAny::operator= |
( |
const domAny & |
cpy |
) |
[inline, protected, virtual] |
Overloaded assignment operator
Definition at line 109 of file domAny.h.
Creates a daeMetaElement object that describes this element in the meta object reflection framework.
- Returns:
- A daeMetaElement describing this COLLADA element.
Override of the Base class method. Creates and registers an attribute field with its meta and assigns its value as the attrValue
String.
- Parameters:
-
| attrName | Attribute to set. |
| attrValue | String-based value to apply to the attribute. |
- Returns:
- Returns true if the attribute was created and the value was set, false otherwise.
Reimplemented from daeElement.
void domAny::setValue |
( |
daeString |
val |
) |
[inline] |
Sets the _value of this element.
- Parameters:
-
| val | The new value for this element. |
Definition at line 82 of file domAny.h.
virtual daeInt domAny::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 91 of file domAny.h.
Friends And Related Function Documentation
friend class domAnyAttribute [friend] |
Member Data Documentation
Used to preserve order in elements that do not specify strict sequencing of sub-elements.
Definition at line 38 of file domAny.h.
Used to preserve order in elements that have a complex content model.
Definition at line 42 of file domAny.h.
The domString value of the text data of this element.
Definition at line 34 of file domAny.h.
The array of daeStrings to hold attribute data for this element.
Definition at line 30 of file domAny.h.
The documentation for this class was generated from the following file:
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:17 2013