HPL3/Amnesia: Rebirth/Scripting/array

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

array <typename T> has no public fields.

Functions

Return Type Function And Description
int find(const T &in )
int find(uint , const T &in )
void insertAt(uint , const T &in )
void insertBack(const T &in )
void insertLast(const T &in )
uint length()
void pop_back()
void pop_front()
void push_back(const T &in )
void push_front(const T &in )
void removeAt(uint )
void removeFirst()
void removeLast()
void resize(uint )
void reverse()
uint size()
void sortAsc()
void sortAsc(uint , uint )
void sortDesc()
void sortDesc(uint , uint )

Details

find

int find(const T &in )


Parameters

  • ' (T) —

Returns:

  • int

find

int find(uint ,
         const T &in )


Parameters

  • ' (uint) —
  • ' (T) —

Returns:

  • int

insertAt

void insertAt(uint ,
              const T &in )


Parameters

  • ' (uint) —
  • ' (T) —

Returns:

  • void

insertBack

void insertBack(const T &in )


Parameters

  • ' (T) —

Returns:

  • void

insertLast

void insertLast(const T &in )


Parameters

  • ' (T) —

Returns:

  • void

length

uint length()

Returns:

  • uint

pop_back

void pop_back()

Returns:

  • void

pop_front

void pop_front()

Returns:

  • void

push_back

void push_back(const T &in )


Parameters

  • ' (T) —

Returns:

  • void

push_front

void push_front(const T &in )


Parameters

  • ' (T) —

Returns:

  • void

removeAt

void removeAt(uint )


Parameters

  • ' (uint) —

Returns:

  • void

removeFirst

void removeFirst()

Returns:

  • void

removeLast

void removeLast()

Returns:

  • void

resize

void resize(uint )


Parameters

  • ' (uint) —

Returns:

  • void

reverse

void reverse()

Returns:

  • void

size

uint size()

Returns:

  • uint

sortAsc

void sortAsc()

Returns:

  • void

sortAsc

void sortAsc(uint ,
             uint )


Parameters

  • ' (uint) —
  • ' (uint) —

Returns:

  • void

sortDesc

void sortDesc()

Returns:

  • void

sortDesc

void sortDesc(uint ,
              uint )


Parameters

  • ' (uint) —
  • ' (uint) —

Returns:

  • void

References

See all references...