v3.9.1 Documentation
Fungus.StringVariable Class Reference

String variable type. More...

Inheritance diagram for Fungus.StringVariable:
Fungus.VariableBase< string >

Public Member Functions

virtual bool Evaluate (CompareOperator compareOperator, string stringValue)
 
override void Apply (SetOperator setOperator, string value)
 
- Public Member Functions inherited from Fungus.VariableBase< string >
override void OnReset ()
 Callback to reset the variable if the Flowchart is reset. More...
 
override string ToString ()
 
virtual void Apply (SetOperator setOperator, T value)
 

Static Public Attributes

static readonly CompareOperator [] compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }
 
static readonly SetOperator [] setOperators = { SetOperator.Assign }
 

Additional Inherited Members

- Protected Member Functions inherited from Fungus.VariableBase< string >
virtual void Start ()
 
- Protected Attributes inherited from Fungus.VariableBase< string >
value
 
startValue
 
- Properties inherited from Fungus.VariableBase< string >
virtual T Value [get, set]
 

Detailed Description

String variable type.

Definition at line 14 of file StringVariable.cs.

Member Function Documentation

◆ Apply()

override void Fungus.StringVariable.Apply ( SetOperator  setOperator,
string  value 
)

Definition at line 42 of file StringVariable.cs.

◆ Evaluate()

virtual bool Fungus.StringVariable.Evaluate ( CompareOperator  compareOperator,
string  stringValue 
)
virtual

Definition at line 19 of file StringVariable.cs.

Member Data Documentation

◆ compareOperators

readonly CompareOperator [] Fungus.StringVariable.compareOperators = { CompareOperator.Equals, CompareOperator.NotEquals }
static

Definition at line 16 of file StringVariable.cs.

◆ setOperators

readonly SetOperator [] Fungus.StringVariable.setOperators = { SetOperator.Assign }
static

Definition at line 17 of file StringVariable.cs.


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