Adds objects needed for type comparison, including a <TypeInformation> object that represents a sample, a <TypeInformation> object that represents a rule, and an <int32> that specifies whether or not the compared objects must match exactly ( or if subclasses constitute matches ).
int32 AddObjects( TypeInformation p_oSampleTypeInfo, TypeInformation p_oRuleTypeInfo, int32 p_nExactMatch )
Parameter Type | Parameter Name | Documentation |
---|---|---|
TypeInformation | p_oSampleTypeInfo | A pointer to a <TypeInformation> that represents the type that will be compared against the rule. This is referred to as the 'sample' type. |
TypeInformation | p_oRuleTypeInfo | A pointer to a <TypeInformation> that represents rules against which the sample type will be compared. This is referred to as the 'rule' type. |
int32 | p_nExactMatch | An <int32> that where '0' and '1' represent true or false respectively. If true, the sample type must exactly match the rule type. If false, the sample type may be an exact match or a subclass of the rule type. |
None published. Please look for an example in the Scenome Scripting Language code base.