All checks passed!
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(file_scope_flag), | intent(in) | :: | this | |||
class(serializable_t), | intent(in) | :: | that |
logical function file_scope_same(this,that) class(file_scope_flag), intent(in) :: this class(serializable_t), intent(in) :: that file_scope_same = .false. select type (other=>that) type is (file_scope_flag) if (allocated(this%file_name).neqv.allocated(other%file_name)) return if (allocated(this%file_name)) then if (.not.(this%file_name==other%file_name)) return endif if (allocated(this%flags).neqv.allocated(other%flags)) return if (allocated(this%flags)) then if (.not.(this%flags==other%flags)) return endif class default ! Not the same type return end select !> All checks passed! file_scope_same = .true. end function file_scope_same