Arbor 3: FSM & BT Graph Editor  3.5.3
FlexibleEnumAny Class Reference

Class to handle a flexible enum type reference method there is more than one. More...

Inheritance diagram for FlexibleEnumAny:
IFlexibleField

Public Member Functions

 FlexibleEnumAny ()
 FlexibleEnumAny default constructor More...
 
 FlexibleEnumAny (int value)
 FlexibleEnumAny constructor More...
 
 FlexibleEnumAny (AnyParameterReference parameter)
 FlexibleEnumAny constructor More...
 
 FlexibleEnumAny (InputSlotAny slot)
 FlexibleEnumAny constructor More...
 
GetEnumValue< T > ()
 Returns the enum type value. More...
 
object GetValueObject ()
 Return the value as object. More...
 

Static Public Member Functions

static operator int (FlexibleEnumAny flexible)
 Cast FlexibleEnumAny to int. More...
 
static operator FlexibleEnumAny (int value)
 Cast int to FlexibleEnumAny. More...
 

Properties

FlexibleType type [get]
 It returns a type More...
 
Parameter parameter [get]
 It return a Paramter. More...
 
int value [get]
 It returns a value More...
 

Detailed Description

Class to handle a flexible enum type reference method there is more than one.

Available Attributes :

Constructor & Destructor Documentation

FlexibleEnumAny default constructor

FlexibleEnumAny ( int  value)

FlexibleEnumAny constructor

Parameters
valueValue

FlexibleEnumAny constructor

Parameters
parameterParameter

FlexibleEnumAny constructor

Parameters
slotSlot

Member Function Documentation

T GetEnumValue< T > ( )

Returns the enum type value.

Template Parameters
TType of enum
Returns
Value of enum type
Type Constraints
T :struct 
object GetValueObject ( )

Return the value as object.

Returns
The value object

Implements IFlexibleField.

static operator FlexibleEnumAny ( int  value)
explicitstatic

Cast int to FlexibleEnumAny.

Parameters
valueint
static operator int ( FlexibleEnumAny  flexible)
explicitstatic

Cast FlexibleEnumAny to int.

Parameters
flexibleFlexibleEnumAny

Property Documentation

Parameter parameter
get

It return a Paramter.

It is null if Type is other than Parameter.

FlexibleType type
get

It returns a type

int value
get

It returns a value