|
RioEngine
0.1
My first attempt to create a 3D WYSIWYG Game Engine
|
#include <carray.h>
Public Member Functions | |
| CArray (T *_array, unsigned int size) | |
| CArray. More... | |
| CArray (const CArray &_array) | |
| CArray. More... | |
| T | objectAtIndex (unsigned int index) const |
| T * | data () const |
| unsigned int | size () const |
| std::vector< T > * | toStdVector () const |
| ~CArray () | |
Public Member Functions inherited from CObject | |
| CObject () | |
| CObject (const CObject &object) | |
| CObject & | operator= (const CObject &object) |
| CObject * | retain () |
| unsigned int | release () const |
| CObject * | autorelease () |
| unsigned int | retainCount () const |
| bool | isValidCObject () const |
| virtual | ~CObject () |
Static Public Member Functions | |
| static CArray * | fromStdVector (std::vector< T > *vec) |
| static CArray * | fromBtAlignedObjectArray (btAlignedObjectArray< T > *vec) |
Static Public Member Functions inherited from CObject | |
| static void | safeRetain (void *pointer) |
| template<class T > | |
| static void | safeRelease (T *pointer) |
| template<class T > | |
| static void | safeReleaseArray (T *array) |
| static void | safeRelease (const char *pointer) |
Protected Attributes | |
| unsigned int | m_size |
| T * | m_array |
Additional Inherited Members | |
Protected Member Functions inherited from CObject | |
| virtual void | copyValuesFromObject (const CObject &object) |
Very simple Array Wrapper class that holds an array of the specified type along with its size. It is immutable once initalized. PS: Very shallow compared to std::vector, but it was very fun to work with it!
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |