fdoc

subroutineshared_summaryprivate

subroutine shared_summary(list, ids, b)

Write the summary of the procedures ids, if they all have the same one.

Arguments

NameTypeIntentAttributesDescription
listtype(entity_list_t)in

the entities

idsintegerindimension(:)

the procedures

btype(buffer_t)inout

the HTML

Calls

Source

Show the code
subroutine shared_summary(list, ids, b)
    type(entity_list_t), intent(in) :: list !! the entities
    integer, intent(in) :: ids(:)           !! the procedures
    type(buffer_t), intent(inout) :: b      !! the HTML
    integer :: j

    do j = 1, size(ids)
        if (.not. allocated(list%box(ids(j))%e%summary)) return
        if (list%box(ids(j))%e%summary /= list%box(ids(1))%e%summary) return
    end do
    call add(b, list%box(ids(1))%e%summary//achar(10))
end subroutine shared_summary

Graphs

Calls

Called by