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

Used for updating the variables More...

Inheritance diagram for Advanced_Software_Engineering.Verbs.Value.UpdateVariable:
Advanced_Software_Engineering.IVerb

Public Member Functions

 UpdateVariable (ValueStorage storage, string name, IValue value)
 Create a new UpdateVariable object More...
 
 UpdateVariable (ValueStorage storage, string name, string value)
 Create a new UpdateVariable object More...
 
void ExecuteVerb ()
 Executes the verb and updates the variable More...
 
string GetDescription ()
 Gets the description of the update More...
 

Detailed Description

Used for updating the variables

Constructor & Destructor Documentation

◆ UpdateVariable() [1/2]

Advanced_Software_Engineering.Verbs.Value.UpdateVariable.UpdateVariable ( ValueStorage  storage,
string  name,
IValue  value 
)

Create a new UpdateVariable object

Parameters
storageThe storage object
nameThe name of the variable
valueThe value of the variable

◆ UpdateVariable() [2/2]

Advanced_Software_Engineering.Verbs.Value.UpdateVariable.UpdateVariable ( ValueStorage  storage,
string  name,
string  value 
)

Create a new UpdateVariable object

Parameters
storageThe storage object
nameThe name of the variable
valueThe expression of the value

Member Function Documentation

◆ ExecuteVerb()

void Advanced_Software_Engineering.Verbs.Value.UpdateVariable.ExecuteVerb ( )

Executes the verb and updates the variable

Implements Advanced_Software_Engineering.IVerb.

◆ GetDescription()

string Advanced_Software_Engineering.Verbs.Value.UpdateVariable.GetDescription ( )

Gets the description of the update

Returns
A string representation of the description of the update

Implements Advanced_Software_Engineering.IVerb.


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