add_array Interface

public interface add_array

Interface to build new arrays


Module Procedures

private subroutine add_array_to_table(table, key, ptr, stat)

Create a new TOML array inside an existing table

Arguments

Type IntentOptional Attributes Name
class(toml_table), intent(inout) :: table

Instance of the TOML table

character(kind=tfc, len=*), intent(in) :: key

Key for the new array

type(toml_array), intent(out), pointer :: ptr

Pointer to the newly created array

integer, intent(out), optional :: stat

Status of operation

private subroutine add_array_to_table_key(table, key, ptr, stat)

Create a new TOML array inside an existing table

Arguments

Type IntentOptional Attributes Name
class(toml_table), intent(inout) :: table

Instance of the TOML table

type(toml_key), intent(in) :: key

Key for the new array

type(toml_array), intent(out), pointer :: ptr

Pointer to the newly created array

integer, intent(out), optional :: stat

Status of operation

private subroutine add_array_to_array(array, ptr, stat)

Create a new TOML array inside an existing array

Arguments

Type IntentOptional Attributes Name
class(toml_array), intent(inout) :: array

Instance of the TOML array

type(toml_array), intent(out), pointer :: ptr

Pointer to the newly created array

integer, intent(out), optional :: stat

Status of operation