public function derived_catalog_requires(name) result(req)
The DERIVED_REQ_* code a catalog entry is gated on, -1 for
an unknown name. The DECISION register_derived fails loud on,
exposed as a lookup so the suite can assert it without
provoking error stop — the repo’s standing pattern for
testing a fail-loud rule.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
i
Source Code
function derived_catalog_requires(name)result(req)!! The `DERIVED_REQ_*` code a catalog entry is gated on, `-1` for!! an unknown name. The DECISION `register_derived` fails loud on,!! exposed as a lookup so the suite can assert it without!! provoking `error stop` — the repo's standing pattern for!! testing a fail-loud rule.character(len=*),intent(in)::nameinteger::reqinteger::icall ensure_catalog_initialised()req=-1do i=1,N_CATALOGif(trim(CATALOG(i)%name)==trim(name))thenreq=CATALOG(i)%requiresreturn end if end do end function derived_catalog_requires