Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_Stack< Class T > Interface Template Reference

Public Member Functions

void Push (T item)
 Push an item to the end of the stack.
 
Pop ()
 Pop an item from the end of the stack (or null if none)
 
bool IsEmpty ()
 Returns true if stack is empty.
 
int Count ()
 Returns the count of elements stored in this stack.
 
void SCR_Stack ()
 Create an empty stack, initialize variables.
 
void ~SCR_Stack ()
 Cleanup, release variables.
 

Protected Attributes

ref array< ref T > m_aArray
 

Constructor & Destructor Documentation

◆ SCR_Stack()

void SCR_Stack< Class T >.SCR_Stack ( )

Create an empty stack, initialize variables.

◆ ~SCR_Stack()

void SCR_Stack< Class T >.~SCR_Stack ( )

Cleanup, release variables.

Member Function Documentation

◆ Count()

int SCR_Stack< Class T >.Count ( )

Returns the count of elements stored in this stack.

◆ IsEmpty()

bool SCR_Stack< Class T >.IsEmpty ( )

Returns true if stack is empty.

◆ Pop()

T SCR_Stack< Class T >.Pop ( )

Pop an item from the end of the stack (or null if none)

◆ Push()

void SCR_Stack< Class T >.Push ( item)

Push an item to the end of the stack.

Member Data Documentation

◆ m_aArray

ref array<ref T> SCR_Stack< Class T >.m_aArray
protected

The documentation for this interface was generated from the following file: