NCEPLIBS-bufr
12.0.0
|
Check whether a string is in the string cache. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | string (STR, LUN, I1, IO) |
This subroutine checks to see if a user-specified character string is in the string cache (arrays in common blocks /stcach/ and /stords/). More... | |
subroutine string | ( | character*(*) | STR, |
LUN, | |||
I1, | |||
IO | |||
) |
This subroutine checks to see if a user-specified character string is in the string cache (arrays in common blocks /stcach/ and /stords/).
If it is not in the cache, it must call the bufr archive library parsing subroutine parusr() to perform the task of separating and checking the individual "pieces" (i.e., mnemonics) so that it can then be added to the cache. If it is already in the cache, then this extra work does not need to be performed. The mnemonic string cache is a performance enhancing device which saves time when the same mnemonic strings are encountered in a user program, over and over again (the typical scenario).
[in] | STR | - character*(*): string of blank-separated mnemonics. |
[in] | LUN | - integer: I/O stream index into internal memory arrays. |
[out] | I1 | - integer: a number greater than or equal to the number of blank-separated mnemonics in STR. |
[in] | IO | - integer: status indicator for BUFR file associated with LUN:
|
Definition at line 27 of file string.f.
References bort2(), moda_msgcwd::inode, modv_mxs::mxs, and parusr().
Referenced by ufbevn(), ufbget(), ufbin3(), ufbint(), ufbovr(), ufbrep(), ufbstp(), ufbtab(), and ufbtam().