FUNCTION convert_to_operand
(* SCHEMA engineering_properties_schema; *)
FUNCTION convert_to_operand
(val : maths_value ) : generic_expression;
LOCAL
types : SET OF STRING := stripped_typeof(val);
END_LOCAL;
IF 'GENERIC_EXPRESSION' IN types THEN
RETURN (val);
END_IF;
IF 'MATHS_ATOM' IN types THEN
RETURN (convert_to_literal(val));
END_IF;
IF 'ATOM_BASED_VALUE' IN types THEN
RETURN (make_atom_based_literal(val));
END_IF;
IF 'MATHS_TUPLE' IN types THEN
RETURN (make_maths_tuple_literal(val));
END_IF;
RETURN (?);
END_FUNCTION;
Referenced By
Defintion convert_to_operand is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:18:51-04:00