I_Stack (Interface)

Extends: I_Collection

Properties

_Values

Type: I_Immutable_List

Gets an immutable list of the items in the stack.

Methods

Clear

Returns: I_Stack

Empties/Clears/Deletes every item in the stack.

Get

Returns: I_Stack

Gets item at the top of the stack.

Inputs

Name

Type

Description

Item

ANY

Variable to store returned item value.

Outputs

Name

Type

Description

bSuccess

BOOL

Get_Generic

Returns: I_Stack

Gets item at the top of the stack as a generic.

Outputs

Name

Type

Description

Item

T_Generic

Variable to store returned item value

bSuccess

BOOL

Pop

Returns: I_Stack

Removes item at the top of the stack without returning anything.

Outputs

Name

Type

Description

bSuccess

BOOL

Push

Returns: I_Stack

Add item to the top of the stack.

Inputs

Name

Type

Description

Item

ANY

Item to store.

Outputs

Name

Type

Description

bSuccess

BOOL

Push_Generic

Returns: I_Stack

Add generic item to the top of the stack.

Inputs

Name

Type

Description

Item

T_Generic

Item to store.

Outputs

Name

Type

Description

bSuccess

BOOL

Reverse

Returns: I_Stack

Reverses order of items on stack.

Outputs

Name

Type

Description

bSuccess

BOOL