Limited support
This feature is only present in Portal 2: Community Edition. Type: array<class T>
Methods
opIndex
T& operator[](uint index)
opIndex
const T& operator[](uint index) const
opForBegin
uint opForBegin() const
opForEnd
bool opForEnd(uint) const
opForNext
uint opForNext(uint) const
opForValue0
const T& opForValue0(uint index) const
opForValue1
uint opForValue1(uint index) const
opAssign
T[]& operator=(const T[]&in)
insertAt
void insertAt(uint index, const T&in value)
insertAt
void insertAt(uint index, const T[]&inout arr)
insertLast
void insertLast(const T&in value)
removeAt
void removeAt(uint index)
removeLast
void removeLast()
removeRange
void removeRange(uint start, uint count)
length
uint length() const
reserve
void reserve(uint length)
resize
void resize(uint length)
sortAsc
void sortAsc()
sortAsc
void sortAsc(uint startAt, uint count)
sortDesc
void sortDesc()
sortDesc
void sortDesc(uint startAt, uint count)
reverse
void reverse()
find
int find(const T&in value) const
find
int find(uint startAt, const T&in value) const
findByRef
int findByRef(const T&in value) const
findByRef
int findByRef(uint startAt, const T&in value) const
opEquals
bool operator==(const T[]&in) const
isEmpty
bool isEmpty() const
sort
void sort(T[]::less&in, uint startAt = 0, uint count = uint(-1))