Arbor 3: FSM & BT Graph Editor  3.1.3
ClassExtendsAttribute Class Reference

Attribute to restrict to classes inherited from the type specified for the field of type ClassTypeReference. More...

Inheritance diagram for ClassExtendsAttribute:
ClassTypeConstraintAttribute

Public Member Functions

 ClassExtendsAttribute (Type baseType)
 Create a ClassExtendsAttribute with a specified type. More...
 
override bool IsConstraintSatisfied (Type type)
 Whether the constraint is satisfied is judged. More...
 

Detailed Description

Attribute to restrict to classes inherited from the type specified for the field of type ClassTypeReference.

Constructor & Destructor Documentation

ClassExtendsAttribute ( Type  baseType)

Create a ClassExtendsAttribute with a specified type.

Parameters
baseTypeBasic type

Member Function Documentation

override bool IsConstraintSatisfied ( Type  type)
virtual

Whether the constraint is satisfied is judged.

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

Implements ClassTypeConstraintAttribute.