Advanced Software Engineering
Advanced_Software_Engineering.Verbs.Value.ValueStorage Class Reference

The storage for all the values More...

Public Member Functions

 ValueStorage ()
 Create a new ValueStorage More...
 
void Reset ()
 Reset the ValueStorage More...
 
void IncreaseStack ()
 Increase the stack More...
 
void DecreaseStack ()
 Decrease the stack More...
 
void SetVariable (string name, IValue value)
 Set a variable More...
 
IValue GetVariable (string name)
 Gets the variable at the first available stack More...
 
bool CheckVariableExists (string name)
 Check if the variable exists in the first available stack More...
 

Detailed Description

The storage for all the values

Constructor & Destructor Documentation

◆ ValueStorage()

Advanced_Software_Engineering.Verbs.Value.ValueStorage.ValueStorage ( )

Create a new ValueStorage

Member Function Documentation

◆ CheckVariableExists()

bool Advanced_Software_Engineering.Verbs.Value.ValueStorage.CheckVariableExists ( string  name)

Check if the variable exists in the first available stack

Parameters
namevariable name
Returns
IValue

◆ DecreaseStack()

void Advanced_Software_Engineering.Verbs.Value.ValueStorage.DecreaseStack ( )

Decrease the stack

◆ GetVariable()

IValue Advanced_Software_Engineering.Verbs.Value.ValueStorage.GetVariable ( string  name)

Gets the variable at the first available stack

Parameters
namethe names of the variable
Returns
IValue

◆ IncreaseStack()

void Advanced_Software_Engineering.Verbs.Value.ValueStorage.IncreaseStack ( )

Increase the stack

◆ Reset()

void Advanced_Software_Engineering.Verbs.Value.ValueStorage.Reset ( )

Reset the ValueStorage

◆ SetVariable()

void Advanced_Software_Engineering.Verbs.Value.ValueStorage.SetVariable ( string  name,
IValue  value 
)

Set a variable

Parameters
nameVariable name
valuethe IValue

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