|
3DRadSpace 0.1.0Alpha
3DRadSpace is a free, simple to use, rapid application development game engine.
|
#include <scriptarray.h>

Public Member Functions | |
| void | AddRef () const |
| void | Release () const |
| asITypeInfo * | GetArrayObjectType () const |
| int | GetArrayTypeId () const |
| int | GetElementTypeId () const |
| asUINT | GetSize () const |
| bool | IsEmpty () const |
| void | Reserve (asUINT maxElements) |
| void | Resize (asUINT numElements) |
| 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 | InsertAt (asUINT index, const CScriptArray &arr) |
| void | InsertLast (void *value) |
| void | RemoveAt (asUINT index) |
| void | RemoveLast () |
| void | RemoveRange (asUINT start, asUINT count) |
| void | SortAsc () |
| void | SortDesc () |
| void | SortAsc (asUINT startAt, asUINT count) |
| void | SortDesc (asUINT startAt, asUINT count) |
| void | Sort (asUINT startAt, asUINT count, bool asc) |
| void | Sort (asIScriptFunction *less, asUINT startAt, asUINT count) |
| void | Reverse () |
| int | Find (void *value) const |
| int | Find (asUINT startAt, void *value) const |
| int | FindByRef (void *ref) const |
| int | FindByRef (asUINT startAt, void *ref) const |
| void * | GetBuffer () |
| int | GetRefCount () |
| void | SetFlag () |
| bool | GetFlag () |
| void | EnumReferences (asIScriptEngine *engine) |
| void | ReleaseAllHandles (asIScriptEngine *engine) |
Static Public Member Functions | |
| static void | SetMemoryFunctions (asALLOCFUNC_t allocFunc, asFREEFUNC_t freeFunc) |
| static CScriptArray * | Create (asITypeInfo *ot) |
| static CScriptArray * | Create (asITypeInfo *ot, asUINT length) |
| static CScriptArray * | Create (asITypeInfo *ot, asUINT length, void *defaultValue) |
| static CScriptArray * | Create (asITypeInfo *ot, void *listBuffer) |
Protected Member Functions | |
| CScriptArray (asITypeInfo *ot, void *initBuf) | |
| CScriptArray (asUINT length, asITypeInfo *ot) | |
| CScriptArray (asUINT length, void *defVal, asITypeInfo *ot) | |
| CScriptArray (const CScriptArray &other) | |
| virtual | ~CScriptArray () |
| bool | Less (const void *a, const void *b, bool asc) |
| void * | GetArrayItemPointer (int index) |
| void * | GetDataPointer (void *buffer) |
| void | Copy (void *dst, void *src) |
| void | Swap (void *a, void *b) |
| void | Precache () |
| bool | CheckMaxSize (asUINT numElements) |
| void | Resize (int delta, asUINT at) |
| void | CreateBuffer (SArrayBuffer **buf, asUINT numElements) |
| void | DeleteBuffer (SArrayBuffer *buf) |
| void | CopyBuffer (SArrayBuffer *dst, SArrayBuffer *src) |
| void | Construct (SArrayBuffer *buf, asUINT start, asUINT end) |
| void | Destruct (SArrayBuffer *buf, asUINT start, asUINT end) |
| bool | Equals (const void *a, const void *b, asIScriptContext *ctx, SArrayCache *cache) const |
Protected Attributes | |
| int | refCount |
| bool | gcFlag |
| asITypeInfo * | objType |
| SArrayBuffer * | buffer |
| int | elementSize |
| int | subTypeId |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
| void CScriptArray::AddRef | ( | ) | const |
| void * CScriptArray::At | ( | asUINT | index | ) |
| const void * CScriptArray::At | ( | asUINT | index | ) | const |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
| void CScriptArray::EnumReferences | ( | asIScriptEngine * | engine | ) |
|
protected |
| int CScriptArray::Find | ( | asUINT | startAt, |
| void * | value ) const |
| int CScriptArray::Find | ( | void * | value | ) | const |
| int CScriptArray::FindByRef | ( | asUINT | startAt, |
| void * | ref ) const |
| int CScriptArray::FindByRef | ( | void * | ref | ) | const |
|
protected |
| asITypeInfo * CScriptArray::GetArrayObjectType | ( | ) | const |
| int CScriptArray::GetArrayTypeId | ( | ) | const |
| void * CScriptArray::GetBuffer | ( | ) |
|
protected |
| int CScriptArray::GetElementTypeId | ( | ) | const |
| bool CScriptArray::GetFlag | ( | ) |
| int CScriptArray::GetRefCount | ( | ) |
| asUINT CScriptArray::GetSize | ( | ) | const |
| void CScriptArray::InsertAt | ( | asUINT | index, |
| const CScriptArray & | arr ) |
| void CScriptArray::InsertAt | ( | asUINT | index, |
| void * | value ) |
| void CScriptArray::InsertLast | ( | void * | value | ) |
| bool CScriptArray::IsEmpty | ( | ) | const |
| CScriptArray & CScriptArray::operator= | ( | const CScriptArray & | other | ) |
| bool CScriptArray::operator== | ( | const CScriptArray & | other | ) | const |
|
protected |
| void CScriptArray::Release | ( | ) | const |
| void CScriptArray::ReleaseAllHandles | ( | asIScriptEngine * | engine | ) |
| void CScriptArray::RemoveAt | ( | asUINT | index | ) |
| void CScriptArray::RemoveLast | ( | ) |
| void CScriptArray::RemoveRange | ( | asUINT | start, |
| asUINT | count ) |
| void CScriptArray::Reserve | ( | asUINT | maxElements | ) |
| void CScriptArray::Resize | ( | asUINT | numElements | ) |
|
protected |
| void CScriptArray::Reverse | ( | ) |
| void CScriptArray::SetFlag | ( | ) |
|
static |
| void CScriptArray::SetValue | ( | asUINT | index, |
| void * | value ) |
| void CScriptArray::Sort | ( | asIScriptFunction * | less, |
| asUINT | startAt, | ||
| asUINT | count ) |
| void CScriptArray::Sort | ( | asUINT | startAt, |
| asUINT | count, | ||
| bool | asc ) |
| void CScriptArray::SortAsc | ( | ) |
| void CScriptArray::SortAsc | ( | asUINT | startAt, |
| asUINT | count ) |
| void CScriptArray::SortDesc | ( | ) |
| void CScriptArray::SortDesc | ( | asUINT | startAt, |
| asUINT | count ) |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
protected |