RelationType.forName

atk.types.RelationType forName(string name)

Get the #AtkRelationType type corresponding to a relation name.

Parameters

namea string which is the (non-localized) name of an ATK relation type.

Returns

the #AtkRelationType enumerated type corresponding to the specified name,

or #ATK_RELATION_NULL if no matching relation type is found.