AddTypeRule Data Member Function

Adds a rule to this object. A rule consists of a <TypeInformation> pointer and a Boolean value that indicates whether or not the rule requires an exact match.

Prototype

int32 AddTypeRule( TypeInformation p_oTypeInfo, int32 p_nExactMatch )

Parameters

Parameter Type Parameter Name Documentation
TypeInformationp_oTypeInfoA <TypeInformation> object that defines the type that constitutes a match.
int32p_nExactMatchAn <int32> by value. 0 means a subclass match is acceptable and 1 means an exact match is required.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.