Arbor 3: FSM & BT Graph Editor  3.4.0
FlexibleField< T > Class Template Reference

A base class for dealing with flexible types with multiple reference methods. More...

Inheritance diagram for FlexibleField< T >:
FlexibleFieldBase IFlexibleField

Public Member Functions

override object GetValueObject ()
 Return the value as object. More...
 
 FlexibleField ()
 FlexibleField default constructor More...
 
 FlexibleField (T value)
 FlexibleField constructor More...
 
 FlexibleField (AnyParameterReference parameter)
 FlexibleField constructor More...
 
 FlexibleField (InputSlotAny slot)
 FlexibleField constructor More...
 

Static Public Member Functions

static operator T (FlexibleField< T > flexible)
 Cast FlexibleField to T. More...
 
static operator FlexibleField< T > (T value)
 Cast T to FlexibleField. More...
 

Properties

override System.Type fieldType [get]
 It returns a field type. More...
 
FlexibleType type [get]
 It returns a type More...
 
Parameter parameter [get]
 It return a Paramter. More...
 
value [get]
 It returns a value More...
 
- Properties inherited from FlexibleFieldBase
abstract System.Type fieldType [get]
 It returns a field type. More...
 

Detailed Description

A base class for dealing with flexible types with multiple reference methods.

To use it, inherit T by specifying a user-defined class.

Template Parameters
TSerializable type

Constructor & Destructor Documentation

FlexibleField default constructor

FlexibleField ( value)

FlexibleField constructor

Parameters
valueValue

FlexibleField constructor

Parameters
parameterParameter

FlexibleField constructor

Parameters
slotSlot

Member Function Documentation

override object GetValueObject ( )
virtual

Return the value as object.

Returns
The value object

Implements FlexibleFieldBase.

static operator FlexibleField< T > ( value)
explicitstatic

Cast T to FlexibleField.

Parameters
valueT
static operator T ( FlexibleField< T >  flexible)
explicitstatic

Cast FlexibleField to T.

Parameters
flexibleFlexibleField

Property Documentation

override System.Type fieldType
get

It returns a field type.

Parameter parameter
get

It return a Paramter.

It is null if Type is other than Parameter.

FlexibleType type
get

It returns a type

T value
get

It returns a value