FUNCTION verify_rep_type_for_resource_property

(* SCHEMA integrated_cnc_schema; *)
FUNCTION verify_rep_type_for_resource_property (
    crd : 	characterized_resource_definition;
    prop_name : STRING;
    rep_types : SET OF STRING
    ): LOGICAL;

    RETURN (0 = SIZEOF (QUERY (prop <*
            get_resource_property (crd, prop_name) | NOT
            (0 < SIZEOF (QUERY (prep <* USEDIN (prop, 'INTEGRATED_CNC_SCHEMA.'+
               'RESOURCE_PROPERTY_REPRESENTATION.PROPERTY') |

               (SIZEOF(rep_types * TYPEOF(prep.representation)) =
                SIZEOF(rep_types))
                )))
        )));
END_FUNCTION; -- 10303-238: integrated_cnc_schema

Referenced By

Defintion verify_rep_type_for_resource_property is references by the following definitions:
DefinitionType
 machining_cutting_component ENTITY
 machining_execution_resource ENTITY


[Top Level Definitions]

Generated by STEP ToolsTM EXPRESS to HTML Converter
on 2010-01-12T10:42:26-02:00