Advanced Software Engineering
Advanced_Software_Engineering.Verbs.Flow.ForChunk Class Reference

A ForChunk is similar to a WhileChunk. It executes a specific number of times. More...

Inheritance diagram for Advanced_Software_Engineering.Verbs.Flow.ForChunk:
Advanced_Software_Engineering.Verbs.Flow.VerbChunk Advanced_Software_Engineering.Verbs.Flow.IVerbChunk Advanced_Software_Engineering.IVerb Advanced_Software_Engineering.Verbs.Flow.IVerbChunk Advanced_Software_Engineering.IVerb Advanced_Software_Engineering.IVerb Advanced_Software_Engineering.IVerb

Public Member Functions

 ForChunk (ValueStorage valueStorage, IValue conditional)
 A For Loop object More...
 
 ForChunk (ValueStorage valueStorage, IValue conditional, IVerb oneLineVerb)
 A For Loop object More...
 
new void ExecuteVerb ()
 Executes the chunk the number of specified times More...
 
- Public Member Functions inherited from Advanced_Software_Engineering.Verbs.Flow.VerbChunk
 VerbChunk (List< IVerb > verbs)
 Create a new VerbChunk with verbs in it. More...
 
 VerbChunk ()
 Create an empty VerbChunk More...
 
void AddVerb (IVerb verb)
 Adds a verb to the verb list More...
 
void ExecuteVerb ()
 Executes all of the verbs in order More...
 
IVerb[] GetVerbs ()
 Returns all of the verbs stored More...
 
string GetDescription ()
 Gets a description of every verb More...
 

Detailed Description

A ForChunk is similar to a WhileChunk. It executes a specific number of times.

Constructor & Destructor Documentation

◆ ForChunk() [1/2]

Advanced_Software_Engineering.Verbs.Flow.ForChunk.ForChunk ( ValueStorage  valueStorage,
IValue  conditional 
)

A For Loop object

Parameters
valueStorageThe ValueStorage for increasing and decreasing the stack
conditionalPreferably Value.ValueTypes.IntValue, the number of times the loop should execute.

◆ ForChunk() [2/2]

Advanced_Software_Engineering.Verbs.Flow.ForChunk.ForChunk ( ValueStorage  valueStorage,
IValue  conditional,
IVerb  oneLineVerb 
)

A For Loop object

Parameters
valueStorageThe ValueStorage for increasing and decreasing the stack
conditionalPreferably Value.ValueTypes.IntValue, the number of times the loop should execute.
oneLineVerbA verb to execute in a single line

Member Function Documentation

◆ ExecuteVerb()

new void Advanced_Software_Engineering.Verbs.Flow.ForChunk.ExecuteVerb ( )

Executes the chunk the number of specified times

Implements Advanced_Software_Engineering.Verbs.Flow.IVerbChunk.


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