daeArray Class Reference
#include <daeArray.h>
Inheritance diagram for daeArray:
Detailed Description
COLLADA C++ class that implements storage for resizable array containers.
Public Member Functions | |
daeArray () | |
Constructor. | |
daeArray (const daeArray &cpy) | |
Copy Constructor. | |
virtual | ~daeArray () |
Destructor. | |
virtual void | clear () |
Clears the contents of the array. | |
void | setElementSize (size_t elementSize) |
Sets the size of an element in the array when creating a daeArray of a specific type. | |
void | setRawCount (size_t cnt) |
Grows the array to the specified size and sets the daeArray to that size. | |
size_t | getCapacity () const |
Gets the current capacity of the array, the biggest it can get without incurring a realloc. | |
size_t | getCount () const |
Gets the number of items stored in this daeArray . | |
size_t | getElementSize () const |
Gets the size of an element in this array. | |
daeMemoryRef | getRawData () const |
Gets a pointer to the memory where the raw data for this daeArray is stored. | |
void | grow (size_t sz) |
Increases the size of the daeArray . | |
virtual daeInt | removeIndex (size_t index) |
Removes an item at a specific index in the daeArray . | |
Protected Attributes | |
size_t | _count |
size_t | _capacity |
daeMemoryRef | _data |
size_t | _elementSize |
daeAtomicType * | _type |
Member Function Documentation
|
|
Gets the current capacity of the array, the biggest it can get without incurring a realloc.
|
|
Gets the number of items stored in this
|
|
Gets the size of an element in this array.
|
|
Gets a pointer to the memory where the raw data for this
|
|
Increases the size of the
|
|
|
Sets the size of an element in the array when creating a
|
|
Grows the array to the specified size and sets the
|
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/dae/daeArray.h
- C:/SVN_wf/COLLADA_DOM/src/dae/daeArray.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:46:45 2006 for COLLADA 1.4 DOM by 1.4.3