Library Function lick_ckvariants_fetch

function lick_ckblktypes_fetch = lick_ckvariants_fetch(hSys, sCkType)

Checks all blocks found in system <hSys> for appropriate variant subsystem and variant model reference usage. Required check parameters are retrieved from the current check configuration.

Check result structure <sctCkRes> always contains member <jExclLibs>, a java.util.HashSet with the libraries excluded from checks. Other members of that struct depend on the rule selected (see below).

Check type <sCkType> selects the rule to be checked (all from MAB 5.0) and might be one out of:

- 'na_0020', check result structure <sctCkRes> will contain additional members: * <jBadInVrntSubs>, a java.util.ArrayList containing subsystem variants with an input count differeng from the input count of the parenting variant subsystem. * <jBadOutVrntSubs>, a java.util.ArrayList containing subsystem variants with an output count differeng from the output count of the parenting variant subsystem. * <jBadInVrntMdlRef>, a java.util.ArrayList containing containing subsystem variant model references with an input count differeng from the input count of the parenting variant subsystem. * <jBadOutVrntMdlRef>, a java.util.ArrayList containing subsystem variant model references with an output count differeng from the output count of the parenting variant subsystem.

- 'na_0036', check result structure <sctCkRes> will contain additional members: * <jBadIncmpltVrntSubs>, a java.util.ArrayList containing variant subsystems where there is no default defined and the variant conditions do not cover the variables full value range. * <jBadVrntEval>, a java.util.ArrayList containing variant subsystems where variant conditions could not be evaluated. Each entry is a java.util.ArrayList itself comprised of the variant subsystem handle as first enty and a descriptive string of the error as second.

- 'na_0037', check result structure <sctCkRes> will contain additional members * <jBadMultVrntVars>, a java.util.ArrayList containing variant subsystems where the variant conditions use more than a single variable. * <jBadVrntEval>, a java.util.ArrayList containing variant subsystems where variant conditions could not be evaluated. Each entry is a java.util.ArrayList itself comprised of the variant subsystem handle as first enty and a descriptive string of the error as second.