FUNCTION stripped_typeof
(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
FUNCTION stripped_typeof
(arg : GENERIC : G ) : SET OF STRING;
LOCAL
types : SET OF STRING := TYPEOF(arg);
stypes : SET OF STRING := [];
n : INTEGER := LENGTH(schema_prefix);
END_LOCAL;
REPEAT i := 1 TO SIZEOF(types);
IF (LENGTH(types[i]) > n) AND (types[i][ 1 : n ] = schema_prefix) THEN
stypes := stypes + [ types[i][ (n + 1) : LENGTH(types[i]) ] ];
ELSE
stypes := stypes + [ types[i] ];
END_IF;
END_REPEAT;
RETURN (stypes);
END_FUNCTION;
Referenced By
Defintion stripped_typeof is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2020-07-28T17:02:20-04:00