as2fm.as2fm_common.array_type

Functions

array_value_to_type_info(data_value)

Generate the ArrayInfo from a given instance.

get_array_type_and_sizes(in_sequence)

Extract the type and size(s) of the provided multi-dimensional array.

get_default_expression_for_type(field_type)

Generate a default expression for a field type.

get_padded_array(array_to_pad, ...)

Given a N-Dimensional list, add padding for each level, depending on the provided sizes.

is_array_type(field_type)

Check if the field type is an array type.

is_valid_array(in_sequence)

Check that the array is composed of a list of (int, float, list).

value_to_string_expr(value)

Takes a python object and returns it as a (SCXML compatible) string.

Classes

ArrayInfo(array_type, array_dimensions, ...)

Representation of metadata about an array, including its type, dimensions, and maximum sizes for each dimension.