Arbor 3: FSM & BT Graph Editor  3.7.8
FlexibleInt Class Reference

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

Inheritance diagram for FlexibleInt:
FlexiblePrimitiveBase IFlexibleField IValueContainer

Public Member Functions

override object GetValueObject ()
 Return the value as object. More...
 
 FlexibleInt ()
 FlexibleInt default constructor More...
 
 FlexibleInt (int value)
 FlexibleInt constructor More...
 
 FlexibleInt (IntParameterReference parameter)
 FlexibleInt constructor More...
 
 FlexibleInt (int minRange, int maxRange)
 FlexibleInt constructor More...
 
 FlexibleInt (InputSlotInt slot)
 FlexibleInt constructor More...
 

Static Public Member Functions

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

Properties

Parameter parameter [get]
 It return a Paramter. More...
 
int value [get]
 It returns a value More...
 
InputSlotInt slot [get]
 It returns a slot More...
 
- Properties inherited from FlexiblePrimitiveBase
FlexiblePrimitiveType type [get]
 It returns a type More...
 

Additional Inherited Members

- Protected Attributes inherited from FlexiblePrimitiveBase
FlexiblePrimitiveType _Type = FlexiblePrimitiveType.Constant
 Reference type of primitive type More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ FlexibleInt() [1/5]

FlexibleInt default constructor

◆ FlexibleInt() [2/5]

FlexibleInt ( int  value)

FlexibleInt constructor

Parameters
valueValue

◆ FlexibleInt() [3/5]

FlexibleInt constructor

Parameters
parameterParameter

◆ FlexibleInt() [4/5]

FlexibleInt ( int  minRange,
int  maxRange 
)

FlexibleInt constructor

Parameters
minRangeMinimum range.
maxRangeMaximum range.

◆ FlexibleInt() [5/5]

FlexibleInt constructor

Parameters
slotSlot

Member Function Documentation

◆ GetValueObject()

override object GetValueObject ( )
virtual

Return the value as object.

Returns
The value object

Implements FlexiblePrimitiveBase.

◆ operator FlexibleInt()

static operator FlexibleInt ( int  value)
explicitstatic

Cast int to FlexibleInt.

Parameters
valueint

◆ operator int()

static operator int ( FlexibleInt  flexible)
explicitstatic

Cast FlexibleInt to int.

Parameters
flexibleFlexibleInt

Property Documentation

◆ parameter

Parameter parameter
get

It return a Paramter.

It is null if Type is other than Parameter.

◆ slot

InputSlotInt slot
get

It returns a slot

◆ value

int value
get

It returns a value