Public Member Functions | Properties

Romulus.ActionQueue-g< TQ, TAction >.ActionStack Class Reference

Represents a list of available actions to do or undo. More...

Inheritance diagram for Romulus.ActionQueue-g< TQ, TAction >.ActionStack:
IEnumerable

List of all members.

Public Member Functions

TAction Peek ()
 Returns the action at the top of the stack.
TAction Peek (int index)
 Returns the action at the specified depth in the stack.
IEnumerator< TAction > GetEnumerator ()
 Implements IEnumerator.

Properties

int Count [get]
 Gets the number of actions in this stack.
TAction this [int i] [get]
 Gets an action from the specified depth in the stack.

Detailed Description

template<TQ, TAction>
class Romulus::ActionQueue-g< TQ, TAction >::ActionStack

Represents a list of available actions to do or undo.


Member Function Documentation

template<TQ , TAction >
IEnumerator<TAction> Romulus.ActionQueue-g< TQ, TAction >.ActionStack.GetEnumerator (  ) 

Implements IEnumerator.

Returns:
An enumerator.
template<TQ , TAction >
TAction Romulus.ActionQueue-g< TQ, TAction >.ActionStack.Peek (  ) 

Returns the action at the top of the stack.

Returns:
The action at the top of the stack.
template<TQ , TAction >
TAction Romulus.ActionQueue-g< TQ, TAction >.ActionStack.Peek ( int  index  ) 

Returns the action at the specified depth in the stack.

Parameters:
index The depth in the stack from which to retrieve an action.
Returns:
An action from the stack.

Property Documentation

template<TQ , TAction >
int Romulus.ActionQueue-g< TQ, TAction >.ActionStack.Count [get]

Gets the number of actions in this stack.

template<TQ , TAction >
TAction Romulus.ActionQueue-g< TQ, TAction >.ActionStack.this[int i] [get]

Gets an action from the specified depth in the stack.

Parameters:
i The depth in the stack from which to retrieve an action.
Returns:
An action from the stack.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events