dm_z_compress_types Function

public function dm_z_compress_types(types, z, output) result(rc)

Uses

  • proc~~dm_z_compress_types~~UsesGraph proc~dm_z_compress_types dm_z_compress_types module~dm_string dm_string proc~dm_z_compress_types->module~dm_string module~dm_error dm_error module~dm_string->module~dm_error module~dm_kind dm_kind module~dm_string->module~dm_kind module~dm_error->module~dm_kind module~dm_ascii dm_ascii module~dm_error->module~dm_ascii iso_fortran_env iso_fortran_env module~dm_kind->iso_fortran_env

Serialises derived types types to namelist format and compresses them depending on compression type z. If z is Z_TYPE_ZSTD, the function uses a Zstandard compression context. The serialised and compressed results are returned in output. The function returns E_INVALID if types is unsupported. On error, not all strings of output may be allocated.

Arguments

Type IntentOptional Attributes Name
class(*), intent(inout) :: types(:)

Derived types to serialise and compress.

integer, intent(in) :: z

Output compression enumerator (Z_TYPE_*).

type(string_type), intent(out), allocatable :: output(:)

Serialised and compressed types.

Return Value integer


Calls

proc~~dm_z_compress_types~~CallsGraph proc~dm_z_compress_types dm_z_compress_types interface~dm_z_is_valid dm_z_is_valid proc~dm_z_compress_types->interface~dm_z_is_valid proc~dm_is_error dm_is_error proc~dm_z_compress_types->proc~dm_is_error proc~dm_z_compress_type dm_z_compress_type proc~dm_z_compress_types->proc~dm_z_compress_type proc~dm_zstd_destroy dm_zstd_destroy proc~dm_z_compress_types->proc~dm_zstd_destroy proc~dm_z_type_is_valid dm_z_type_is_valid interface~dm_z_is_valid->proc~dm_z_type_is_valid proc~dm_z_compress_type->interface~dm_z_is_valid proc~dm_z_compress_type->proc~dm_is_error interface~dm_nml_from dm_nml_from proc~dm_z_compress_type->interface~dm_nml_from interface~dm_zstd_compress dm_zstd_compress proc~dm_z_compress_type->interface~dm_zstd_compress proc~dm_zlib_compress dm_zlib_compress proc~dm_z_compress_type->proc~dm_zlib_compress zstd_free_c_ctx zstd_free_c_ctx proc~dm_zstd_destroy->zstd_free_c_ctx zstd_free_d_ctx zstd_free_d_ctx proc~dm_zstd_destroy->zstd_free_d_ctx zstd_is_error zstd_is_error proc~dm_zstd_destroy->zstd_is_error compress compress proc~dm_zlib_compress->compress compress_bound compress_bound proc~dm_zlib_compress->compress_bound