COLLADA 1.4 DOM: daeTArray< T > Class Template Reference
From COLLADA
daeTArray< T > Class Template Reference
#include <daeArray.h>
Inheritance diagram for daeTArray< T >:


Detailed Description
template<class T>
class daeTArray< T >
COLLADA C++ templated version of daeArray for storing items of various types.
Public Member Functions | |
| daeTArray () | |
| Constructor. | |
| daeTArray (const daeTArray< T > &cpy) | |
| Copy Constructor. | |
| virtual | ~daeTArray () |
| Destructor. | |
| virtual void | clear () |
| Frees the memory in this array and resets it to it's initial state. | |
| virtual daeInt | removeIndex (size_t index) |
Removes an item at a specific index in the daeArray. | |
| void | setCount (size_t nElements) |
| Resets the count of items in a daeArray to an absolute value, if necessary the array storage will grow to the requested size and new elements will be initialized to zero. | |
| void | set (size_t index, const T &value) |
Sets a specific index in the daeArray, growing the array if necessary. | |
| T & | get (size_t index) const |
Gets the object at a specific index in the daeArray. | |
| size_t | append (const T &value) |
Appends a new object to the end of the daeArray. | |
| size_t | appendUnique (const T &value) |
Appends a unique object to the end of the daeArray. | |
| daeInt | remove (const T &value) |
Removes an item from the daeArray. | |
| daeInt | find (const T &value, size_t &index) const |
Finds an item from the daeArray. | |
| T & | operator[] (size_t index) const |
Gets the object at a specific index in the daeArray. | |
| void | insertAt (size_t index, const T &value) |
| Inserts an object at a specific index in the daeArray, growing the array if neccessary. | |
| daeTArray< T > & | operator= (const daeTArray< T > &other) |
| Overloaded assignment operator. | |
Member Function Documentation
|
||||||||||
|
Appends a new object to the end of the
|
|
||||||||||
|
Appends a unique object to the end of the
Functions the same as
|
|
||||||||||||||||
|
Finds an item from the
|
|
||||||||||
|
Gets the object at a specific index in the
|
|
||||||||||||||||
|
Inserts an object at a specific index in the daeArray, growing the array if neccessary.
|
|
||||||||||
|
Overloaded assignment operator.
|
|
||||||||||
|
Gets the object at a specific index in the
|
|
||||||||||
|
Removes an item from the
|
|
||||||||||
|
Removes an item at a specific index in the
Reimplemented from daeArray. |
|
||||||||||||||||
|
Sets a specific index in the
|
|
||||||||||
|
Resets the count of items in a daeArray to an absolute value, if necessary the array storage will grow to the requested size and new elements will be initialized to zero.
|
The documentation for this class was generated from the following file:
- C:/SVN_wf/COLLADA_DOM/include/dae/daeArray.h
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:04 2006 for COLLADA 1.4 DOM by