functionpage_entitypure
pure integer function page_entity(list, id) result(item)
The entity shown in place of id: the interface of the body of a separate module procedure, whose
page is that of both, or else id.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| list | type(entity_list_t) | in | the entities | |
| id | integer | in | the entity |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| item | integer |
Calls
Called by
Source
Show the code
pure integer function page_entity(list, id) result(item)
type(entity_list_t), intent(in) :: list !! the entities
integer, intent(in) :: id !! the entity
item = id
if (list%box(id)%e%visible .or. .not. is_separate_body(list, id)) return
if (is_shown(list, list%box(id)%e%implements)) item = list%box(id)%e%implements
end function page_entity