FUNCTION space_dimension
(* SCHEMA engineering_properties_schema; *)
FUNCTION space_dimension
(tspace : tuple_space ) : nonnegative_integer;
LOCAL
types : SET OF STRING := TYPEOF(tspace);
END_LOCAL;
IF schema_prefix + 'UNIFORM_PRODUCT_SPACE' IN types THEN
RETURN (tspace\uniform_product_space.exponent);
END_IF;
IF schema_prefix + 'LISTED_PRODUCT_SPACE' IN types THEN
RETURN (SIZEOF(tspace\listed_product_space.factors));
END_IF;
IF schema_prefix + 'EXTENDED_TUPLE_SPACE' IN types THEN
RETURN (space_dimension(tspace\extended_tuple_space.base));
END_IF;
RETURN (?);
END_FUNCTION;
Referenced By
Defintion space_dimension 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