Dump to toml table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(file_scope_flag), | intent(inout) | :: | self |
Instance of the serializable object |
||
type(toml_table), | intent(inout) | :: | table |
Data structure |
||
type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
subroutine file_scope_dump(self, table, error) !> Instance of the serializable object class(file_scope_flag), intent(inout) :: self !> Data structure type(toml_table), intent(inout) :: table !> Error handling type(error_t), allocatable, intent(out) :: error call set_string(table, "file-name", self%file_name, error) if (allocated(error)) return call set_string(table, "flags", self%flags, error) if (allocated(error)) return end subroutine file_scope_dump