C# Class PclUnit.Constraints.Pieces.ConstraintBuilder.OperatorStack

OperatorStack is a type-safe stack for holding ConstraintOperators
Afficher le fichier Open project: jbtule/PclUnit

Méthodes publiques

Méthode Description
OperatorStack ( ConstraintBuilder builder ) : System

Initializes a new instance of the T:OperatorStack class.

Pop ( ) : ConstraintOperator

Pops the topmost operator from the stack.

Push ( ConstraintOperator op ) : void

Pushes the specified operator onto the stack.

Method Details

OperatorStack() public méthode

Initializes a new instance of the T:OperatorStack class.
public OperatorStack ( ConstraintBuilder builder ) : System
builder ConstraintBuilder The builder.
Résultat System

Pop() public méthode

Pops the topmost operator from the stack.
public Pop ( ) : ConstraintOperator
Résultat ConstraintOperator

Push() public méthode

Pushes the specified operator onto the stack.
public Push ( ConstraintOperator op ) : void
op ConstraintOperator The op.
Résultat void