test_diagnosis_t Interface

public interface test_diagnosis_t

Functions

private elemental module function construct_from_character(test_passed, diagnostics_string) result(test_diagnosis)

The result is a test_diagnosis_t object with the components defined by the dummy arguments

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: test_passed
character(len=*), intent(in) :: diagnostics_string

Return Value type(test_diagnosis_t)

private elemental module function construct_from_string_t(test_passed, diagnostics_string) result(test_diagnosis)

The result is a test_diagnosis_t object with the components defined by the dummy arguments

Arguments

Type IntentOptional Attributes Name
logical, intent(in) :: test_passed
type(string_t), intent(in) :: diagnostics_string

Return Value type(test_diagnosis_t)

private elemental module function copy_construct_from_character(diagnosis, diagnostics_string) result(test_diagnosis)

The result is a copy of the provided test_diagnosis_t object, with the optional appended string

Arguments

Type IntentOptional Attributes Name
type(test_diagnosis_t), intent(in) :: diagnosis
character(len=*), intent(in), optional :: diagnostics_string

Return Value type(test_diagnosis_t)

private elemental module function copy_construct_from_string_t(diagnosis, diagnostics_string) result(test_diagnosis)

The result is a copy of the provided test_diagnosis_t object, with the appended string

Arguments

Type IntentOptional Attributes Name
type(test_diagnosis_t), intent(in) :: diagnosis
type(string_t), intent(in) :: diagnostics_string

Return Value type(test_diagnosis_t)