IsExceptTernary Data Member Function

Returns true if the specified <Type> pointer is the first type and not any subsequent type. This is useful for performing strict tests that eliminate subclasses.

Prototype

int32 IsExceptTernary( Type p_oType, TypeInformation p_oIsType, TypeInformation p_oTypeInfoA, TypeInformation p_oTypeInfoB, TypeInformation p_oTypeInfoC )

Parameters

Parameter Type Parameter Name Documentation
<Type>p_oTypeA pointer to any object derived from <Type>.
TypeInformationp_oIsTypeThe matching <TypeInformation> pointer.
TypeInformationp_oTypeInfoAReject any object of this type.
TypeInformationp_oTypeInfoBReject any object of this type.
TypeInformationp_oTypeInfoCReject any object of this type.

Examples

Copy Text To Clipboard

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