Advanced Software Engineering
Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue Class Reference

Variable value is responsible for setting up values for UpdateVariable to then update More...

Inheritance diagram for Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue:
Advanced_Software_Engineering.Verbs.Value.IValue

Public Member Functions

 VariableValue (ValueStorage storage, string variableName)
 The new VariableValue More...
 
string GetDescription ()
 Gets the description of the IValue More...
 
string GetOriginalType ()
 Gets the original type of the IValue More...
 
bool IsInitialised ()
 Get the initialised state of the IValue More...
 
bool ToBool ()
 Converts the IValue to a boolean More...
 
Color ToColor ()
 Converts the IValue to a color More...
 
double ToDouble ()
 Converts the IValue to a double More...
 
int ToInt ()
 Converts the IValue to an integer More...
 
IValue Clone ()
 Clone the value and return it More...
 

Detailed Description

Variable value is responsible for setting up values for UpdateVariable to then update

Constructor & Destructor Documentation

◆ VariableValue()

Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.VariableValue ( ValueStorage  storage,
string  variableName 
)

The new VariableValue

Parameters
storagethe storage to use
variableNamevariable name

Member Function Documentation

◆ Clone()

IValue Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.Clone ( )

Clone the value and return it

Returns
Cloned IValue

Implements Advanced_Software_Engineering.Verbs.Value.IValue.

◆ GetDescription()

string Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.GetDescription ( )

Gets the description of the IValue

Returns
description of the IValue

Implements Advanced_Software_Engineering.Verbs.Value.IValue.

◆ GetOriginalType()

string Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.GetOriginalType ( )

Gets the original type of the IValue

Returns
original type of the IValue

Implements Advanced_Software_Engineering.Verbs.Value.IValue.

◆ IsInitialised()

bool Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.IsInitialised ( )

Get the initialised state of the IValue

Returns
initialised state of the IValue

Implements Advanced_Software_Engineering.Verbs.Value.IValue.

◆ ToBool()

bool Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.ToBool ( )

Converts the IValue to a boolean

Returns
Boolean value of the IValue

Implements Advanced_Software_Engineering.Verbs.Value.IValue.

◆ ToColor()

Color Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.ToColor ( )

Converts the IValue to a color

Returns
Color value of the IValue

Implements Advanced_Software_Engineering.Verbs.Value.IValue.

◆ ToDouble()

double Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.ToDouble ( )

Converts the IValue to a double

Returns
Double value of the IValue

Implements Advanced_Software_Engineering.Verbs.Value.IValue.

◆ ToInt()

int Advanced_Software_Engineering.Verbs.Value.ValueTypes.VariableValue.ToInt ( )

Converts the IValue to an integer

Returns
Int value of the IValue

Implements Advanced_Software_Engineering.Verbs.Value.IValue.


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