Dump dependency to toml table
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(compiler_t), | 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 |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | ierr |
subroutine compiler_dump(self, table, error) !> Instance of the serializable object class(compiler_t), intent(inout) :: self !> Data structure type(toml_table), intent(inout) :: table !> Error handling type(error_t), allocatable, intent(out) :: error integer :: ierr call set_value(table, "id", self%id, error, 'compiler_t') if (allocated(error)) return call set_string(table, "fc", self%fc, error, 'compiler_t') if (allocated(error)) return call set_string(table, "cc", self%cc, error, 'compiler_t') if (allocated(error)) return call set_string(table, "cxx", self%cxx, error, 'compiler_t') if (allocated(error)) return call set_value(table, "echo", self%echo, error, 'compiler_t') if (allocated(error)) return call set_value(table, "verbose", self%verbose, error, 'compiler_t') if (allocated(error)) return end subroutine compiler_dump