<HTML>
<HEAD>
<link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY>
<TITLE>ug_mqc_checkLayerOfCategory</TITLE>
<H1>ug_mqc_checkLayerOfCategory</H1><H4>Synopsis</H4><PRE><FONT COLOR = blue>Defun: ug_mqc_checkLayerOfCategory(
       String, $query_category,
       Integer, $check_direction,
       String, $layerArray,
       Name, $log_type,
       String, $log_msg )
@{...} Integer;

</FONT></PRE><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">
DesignLogic=no
FunctionBuilder=no

<B>Description:</B>
Checks the category against the layer_mask.
This function will add the checking results to MQC log.

<B>Input:</B>
    (String)   query_category   -  Name of the category to be checked
    (Integer)  check_direction  -  This value can only be one of the following three choices:
                                     1: INCLUDE_ALL  - category must contain the specified layers
                                     2: INCLUDE_ONLY - the specified layers must contain layers
                                                       of the category
                                     3: MUTUAL       - category must contain the specified layers and
                                                       the specified layers must contain layers
                                                       of the category
    (String)   layerArray       -  Layers to check if matching to layer_mask of the category
    (Name)     log_type         -  LOG_NONE, LOG_ERROR, LOG_WARNING, LOG_INFO, LOG_ANY
    (String)   log_msg          -  User defined log message

<B>Input Arguments:</B>
query_category
check_direction
layerArray
log_type
log_msg

<B>Returns:</B>
0 - no error
otherwise, Error - The category does not contain the specified layers AND/OR
                   The layers do not contain the category layers
Note:
    The function is replaced by mqc_checkLayerOfCategory.

<B>See Also:</B>
mqc_checkLayerOfCategory
</PRE></FONT></PRE>
<p class=EndLine>&nbsp;</p>
<p class=blank>&nbsp;</p>
</BODY>
</HTML>
