6 #include "hpl1/engine/libraries/angelscript/angelscript.h" 15 #ifndef AS_USE_STLNAMES 16 #define AS_USE_STLNAMES 0 21 #ifndef AS_USE_ACCESSORS 22 #define AS_USE_ACCESSORS 0 33 static void SetMemoryFunctions(asALLOCFUNC_t allocFunc, asFREEFUNC_t freeFunc);
47 int GetArrayTypeId()
const;
48 int GetElementTypeId()
const;
51 asUINT GetSize()
const;
57 void Reserve(asUINT maxElements);
60 void Resize(asUINT numElements);
63 void *At(asUINT index);
64 const void *At(asUINT index)
const;
70 void SetValue(asUINT index,
void *value);
79 void InsertAt(asUINT index,
void *value);
81 void InsertLast(
void *value);
82 void RemoveAt(asUINT index);
84 void RemoveRange(asUINT start, asUINT count);
87 void SortAsc(asUINT startAt, asUINT count);
88 void SortDesc(asUINT startAt, asUINT count);
89 void Sort(asUINT startAt, asUINT count,
bool asc);
92 int Find(
void *value)
const;
93 int Find(asUINT startAt,
void *value)
const;
94 int FindByRef(
void *ref)
const;
95 int FindByRef(asUINT startAt,
void *ref)
const;
108 mutable int refCount;
111 SArrayBuffer *buffer;
122 bool Less(
const void *a,
const void *b,
bool asc);
123 void *GetArrayItemPointer(
int index);
124 void *GetDataPointer(
void *buffer);
125 void Copy(
void *dst,
void *src);
126 void Swap(
void *a,
void *b);
128 bool CheckMaxSize(asUINT numElements);
129 void Resize(
int delta, asUINT at);
130 void CreateBuffer(SArrayBuffer **buf, asUINT numElements);
131 void DeleteBuffer(SArrayBuffer *buf);
132 void CopyBuffer(SArrayBuffer *dst, SArrayBuffer *src);
133 void Construct(SArrayBuffer *buf, asUINT start, asUINT end);
134 void Destruct(SArrayBuffer *buf, asUINT start, asUINT end);
135 bool Equals(
const void *a,
const void *b,
asIScriptContext *ctx, SArrayCache *cache)
const;
Definition: angelscript.h:1083
Definition: angelscript.h:863
Definition: scriptarray.h:30
Definition: angelscript.h:639
Definition: angelscript.h:1011