|
Advanced Software Engineering
|
Expression values are used when there are two IValues that need to be added or subtracted or anything from each other. More...
Public Member Functions | |
| ExpressionValue (IValue variable1, IValue variable2, int operation) | |
| Create a new Expression Value based on the two IValues More... | |
| ExpressionValue (IValue variable1, IValue variable2, string operation) | |
| Create a new Expression Value based on the two IValues More... | |
| string | GetDescription () |
| Describes the expression More... | |
| string | GetOriginalType () |
| Get the type of the expression More... | |
| bool | IsInitialised () |
| Expressions are always initialised More... | |
| bool | ToBool () |
| Gets the bool of the result More... | |
| Color | ToColor () |
| Gets the color of the result More... | |
| double | ToDouble () |
| Gets the double value of the result More... | |
| int | ToInt () |
| Gets the int of the result More... | |
| IValue | Clone () |
| Clones the value of the result More... | |
Static Public Attributes | |
| const int | ADD = 0 |
| An operation denoting addition More... | |
| const int | SUBTRACT = 1 |
| An operation denoting subtraction More... | |
| const int | MULTIPLY = 2 |
| An operation denoting multiplication More... | |
| const int | DIVIDE = 3 |
| An operation denoting division More... | |
Expression values are used when there are two IValues that need to be added or subtracted or anything from each other.
| IValue Advanced_Software_Engineering.Verbs.Value.ExpressionValue.Clone | ( | ) |
Clones the value of the result
Implements Advanced_Software_Engineering.Verbs.Value.IValue.
| string Advanced_Software_Engineering.Verbs.Value.ExpressionValue.GetDescription | ( | ) |
Describes the expression
Implements Advanced_Software_Engineering.Verbs.Value.IValue.
| string Advanced_Software_Engineering.Verbs.Value.ExpressionValue.GetOriginalType | ( | ) |
Get the type of the expression
Implements Advanced_Software_Engineering.Verbs.Value.IValue.
| bool Advanced_Software_Engineering.Verbs.Value.ExpressionValue.IsInitialised | ( | ) |
Expressions are always initialised
Implements Advanced_Software_Engineering.Verbs.Value.IValue.
| bool Advanced_Software_Engineering.Verbs.Value.ExpressionValue.ToBool | ( | ) |
Gets the bool of the result
Implements Advanced_Software_Engineering.Verbs.Value.IValue.
| Color Advanced_Software_Engineering.Verbs.Value.ExpressionValue.ToColor | ( | ) |
Gets the color of the result
Implements Advanced_Software_Engineering.Verbs.Value.IValue.
| double Advanced_Software_Engineering.Verbs.Value.ExpressionValue.ToDouble | ( | ) |
Gets the double value of the result
Implements Advanced_Software_Engineering.Verbs.Value.IValue.
| int Advanced_Software_Engineering.Verbs.Value.ExpressionValue.ToInt | ( | ) |
Gets the int of the result
Implements Advanced_Software_Engineering.Verbs.Value.IValue.
|
static |
An operation denoting addition
|
static |
An operation denoting division
|
static |
An operation denoting multiplication
|
static |
An operation denoting subtraction