add_table Interface

public interface add_table

Interface to build new tables


Module Procedures

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

Create a new TOML table 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 table

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

Pointer to the newly created table

integer, intent(out), optional :: stat

Status of operation

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

Create a new TOML table 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 table

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

Pointer to the newly created table

integer, intent(out), optional :: stat

Status of operation

private subroutine add_table_to_array(array, ptr, stat)

Create a new TOML table inside an existing array

Arguments

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

Instance of the TOML array

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

Pointer to the newly created table

integer, intent(out), optional :: stat

Status of operation