Click or drag to resize

IStateStack Interface

Defines the minimum set of operations on any data structure to be used as a stack during traversal. The main difference between StateStacks and "normal" stacks (StackT) is that the Push operation here doesn't take an argument but simply replicates the current state (or rather - memorizes the current state for restoring it later with Push).

Namespace:  Fusee.Xene
Assembly:  Fusee.Xene (in Fusee.Xene.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public interface IStateStack

The IStateStack type exposes the following members.

Properties
  NameDescription
Public propertyDepth
Retrieves the stack's depth.
Top
Methods
  NameDescription
Public methodClear
Clears the stack. The Depth will be reset to zero.
Public methodPop
The stack's Pop operation. Decreases the stack Depth about one and restores the previous state.
Public methodPush
The stack's Push operation. Increases the stack Depth about one and copies the top of stack.
Top
See Also