Read dependency from toml table (no checks made at this stage)
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 |
subroutine compiler_load(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 call get_value(table, "id", self%id, error, 'compiler_t') if (allocated(error)) return call get_value(table, "fc", self%fc) call get_value(table, "cc", self%cc) call get_value(table, "cxx", self%cxx) call get_value(table, "echo", self%echo, error, 'compiler_t') if (allocated(error)) return call get_value(table, "verbose", self%verbose, error, 'compiler_t') if (allocated(error)) return end subroutine compiler_load