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

Class constraint information More...

Public Member Functions

bool IsConstraintSatisfied (System.Type type)
 Determine whether the constraint is satisfied More...
 
System.Type GetConstraintBaseType ()
 Get the base type of constraint. More...
 
string GetConstraintTypeName ()
 Returns the type name of the constraint. More...
 

Public Attributes

System.Type baseType
 Base type More...
 
ClassTypeConstraintAttribute constraintAttribute
 ClassTypeConstraintAttribute More...
 
System.Reflection.FieldInfo constraintFieldInfo
 FieldInfo of the field to which ClassTypeConstraintAttribute is given More...
 
SlotTypeAttribute slotTypeAttribute
 SlotTypeAttribute More...
 

Detailed Description

Class constraint information

Member Function Documentation

◆ GetConstraintBaseType()

System.Type GetConstraintBaseType ( )

Get the base type of constraint.

Returns
Return base type of constraint

◆ GetConstraintTypeName()

string GetConstraintTypeName ( )

Returns the type name of the constraint.

Returns
Type name of the constraint. Returns Any if there are no constraints.

◆ IsConstraintSatisfied()

bool IsConstraintSatisfied ( System.Type  type)

Determine whether the constraint is satisfied

Parameters
typeDetermining type
Returns
Returns true if the constraint is satisfied.

Member Data Documentation

◆ baseType

System.Type baseType

Base type

◆ constraintAttribute

◆ constraintFieldInfo

System.Reflection.FieldInfo constraintFieldInfo

FieldInfo of the field to which ClassTypeConstraintAttribute is given

◆ slotTypeAttribute