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
integer,
private
::
n
character(len=64),
private
::
name
integer,
private
::
ncopy
Source Code
function rdb_ocean_derived_catalog_name(idx,buf,cap)result(len_out)&bind(c,name="rdb_ocean_derived_catalog_name")!! Name of derived-catalog entry `idx` (0-based, < the size above).integer(c_int),intent(in),value::idxinteger(c_int),intent(in),value::capcharacter(kind=c_char),intent(out)::buf(cap)integer(c_int)::len_outcharacter(len=64)::nameinteger::n,ncopy,ilen_out=0_c_intif(idx<0_c_int.or.idx>=int(derived_catalog_size(),c_int))return if(cap<=0_c_int)returnname=derived_catalog_name(int(idx)+1)n=len_trim(name)len_out=int(n,c_int)ncopy=min(n,int(cap))do i=1,ncopybuf(i)=name(i:i)end do if(ncopy<cap)buf(ncopy+1)=achar(0)end function rdb_ocean_derived_catalog_name