<HTML><HEAD><link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY><TITLE>%mqc_check_comp_ref_sets</TITLE><H1>%mqc_check_comp_ref_sets </H1><P CLASS="Paragraph">Classname: <B>%mqc_check_comp_ref_sets </B></P><P CLASS="Paragraph">Inherits from: <B><A href=..\checkmate\xug_base_checker.html>%ug_base_checker </A></B></P><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"> </PRE><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">
<B>Description:</B>
     This checker provides a function that analyzes the reference set and makes a
     validation only if the reference set is set correctly to the component part of an
     Assembly file.
     For example, if the reference set of a component is SOLID when it is added to
     assembly, then the component must be added into SOLID reference set of the parent
     assembly.
Parameters:
    (Boolean)  disabled?        -  If it is true, the checker is disabled.
                                   Default is False.
    (Boolean)  save_log_in_part -  The flag indicates whether the checking results can
                                   be saved to the part file
                                   Default is True.
    (Integer)  log_type         -  Indicate which logging type to use to report the violation.
                                   1 - LOG_ERROR,
                                   2 - LOG_WARNING,
                                   3 - LOG_INFO,
                                   Default is 1 to log error.
    (String)   log_msg          -  User defined message to be added when the system
                                   reports the violation.
                                   Default is an empty string.
Results:
    PASS    --      Function returns that the reference set is set correctly to the
                    Assembly file.
    FAILED  --      Function returns that the reference set is not set correctly to
                    the Assembly file.
</PRE><PRE><FONT COLOR= blue>DefClass: %mqc_check_comp_ref_sets( %ug_base_checker );
</FONT></PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( String )              %test_category: "Assemblies";
   ( String )              %displayed_name: "Check Component Reference Sets";
   
</SPAN></FONT></PRE></DIV><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( Boolean Parameter )   disabled?: False;
   ( Boolean Parameter )   save_log_in_part: True;
</SPAN></FONT></PRE></DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">  parameter for log_option                                       </PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   (Integer Parameter )         log_type: 1;
</SPAN></FONT></PRE></DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">  parameter for log_message     </PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( list )                     log_type_option: { LOG_ERROR, LOG_WARNING, LOG_INFO};
   ( string )                   log_type_label: "Log Option";
</SPAN></FONT></PRE></DIV><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( string Parameter )         log_msg: "";
</SPAN></FONT></PRE></DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">  checking ... </PRE><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( string )                   log_msg_label: "Log Message";
   
</SPAN></FONT></PRE></DIV><DIV><PRE STYLE=\"text-align : left;\" CLASS=\"Code\"><FONT COLOR=blue>   ( Any Uncached )   do_check:  ug_mqc_checkCompRefSets( nth( log_type:, log_type_option: ), 
                                                          log_msg: );                         

</SPAN></FONT></PRE></DIV></TABLE><p class=EndLine>&nbsp;</p><p class=blank>&nbsp;</p></BODY></HTML>