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

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

Inheritance diagram for FlexibleBool:
FlexiblePrimitiveBase IFlexibleField IValueContainer

Public Member Functions

override object GetValueObject ()
 Return the value as object. More...
 
 FlexibleBool ()
 FlexibleBool default constructor. More...
 
 FlexibleBool (bool value)
 FlexibleBool default constructor. More...
 
 FlexibleBool (BoolParameterReference parameter)
 FlexibleBool default constructor. More...
 
 FlexibleBool (float probability)
 FlexibleBool default constructor. More...
 
 FlexibleBool (InputSlotBool slot)
 FlexibleBool default constructor. More...
 

Static Public Member Functions

static operator bool (FlexibleBool flexible)
 Cast FlexibleBool to bool. More...
 
static operator FlexibleBool (bool value)
 Cast bool to FlexibleBool. More...
 

Properties

Parameter parameter [get]
 It return a Paramter. More...
 
bool value [get]
 It returns a value 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 bool type reference method there is more than one.

Constructor & Destructor Documentation

◆ FlexibleBool() [1/5]

FlexibleBool default constructor.

◆ FlexibleBool() [2/5]

FlexibleBool ( bool  value)

FlexibleBool default constructor.

Parameters
valueValue

◆ FlexibleBool() [3/5]

FlexibleBool default constructor.

Parameters
parameterParameter

◆ FlexibleBool() [4/5]

FlexibleBool ( float  probability)

FlexibleBool default constructor.

Parameters
probabilityProbability

◆ FlexibleBool() [5/5]

FlexibleBool default constructor.

Parameters
slotSlot

Member Function Documentation

◆ GetValueObject()

override object GetValueObject ( )
virtual

Return the value as object.

Returns
The value object

Implements FlexiblePrimitiveBase.

◆ operator bool()

static operator bool ( FlexibleBool  flexible)
explicitstatic

Cast FlexibleBool to bool.

Parameters
flexibleFlexibleBool

◆ operator FlexibleBool()

static operator FlexibleBool ( bool  value)
explicitstatic

Cast bool to FlexibleBool.

Parameters
valuebool

Property Documentation

◆ parameter

Parameter parameter
get

It return a Paramter.

It is null if Type is other than Parameter.

◆ value

bool value
get

It returns a value