Urho3D
|
Script array class. More...
#include <Addons.h>
Public Member Functions | |
CScriptArray (asUINT length, asIObjectType *ot) | |
CScriptArray (asUINT length, void *defVal, asIObjectType *ot) | |
void | AddRef () const |
void | Release () const |
asIObjectType * | GetArrayObjectType () const |
int | GetArrayTypeId () const |
int | GetElementTypeId () const |
void | Reserve (asUINT maxElements) |
void | Resize (asUINT numElements) |
asUINT | GetSize () const |
bool | IsEmpty () const |
void * | At (asUINT index) |
const void * | At (asUINT index) const |
void | SetValue (asUINT index, void *value) |
CScriptArray & | operator= (const CScriptArray &) |
bool | operator== (const CScriptArray &) const |
void | InsertAt (asUINT index, void *value) |
void | RemoveAt (asUINT index) |
void | InsertLast (void *value) |
void | RemoveLast () |
void | SortAsc () |
void | SortDesc () |
void | SortAsc (asUINT index, asUINT count) |
void | SortDesc (asUINT index, asUINT count) |
void | Sort (asUINT index, asUINT count, bool asc) |
void | Reverse () |
int | Find (void *value) const |
int | Find (asUINT index, void *value) const |
int | GetRefCount () |
void | SetFlag () |
bool | GetFlag () |
void | EnumReferences (asIScriptEngine *engine) |
void | ReleaseAllHandles (asIScriptEngine *engine) |
Protected Attributes | |
int | refCount |
bool | gcFlag |
asIObjectType * | objType |
SArrayBuffer * | buffer |
int | elementSize |
int | subTypeId |
Script array class.