1 | \hypertarget{namespacemod__oasis__string}{}\section{mod\+\_\+oasis\+\_\+string Module Reference} |
---|
2 | \label{namespacemod__oasis__string}\index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
3 | |
---|
4 | |
---|
5 | Character string manipulation methods. |
---|
6 | |
---|
7 | |
---|
8 | \subsection*{Functions/\+Subroutines} |
---|
9 | \begin{DoxyCompactItemize} |
---|
10 | \item |
---|
11 | integer function, public \hyperlink{namespacemod__oasis__string_a54c5d197eba9bcb7fa7f71b200f8e5e6}{oasis\+\_\+string\+\_\+countchar} (str, char, rc) |
---|
12 | \begin{DoxyCompactList}\small\item\em Count number of occurances of a single character in a string. \end{DoxyCompactList}\item |
---|
13 | character(len=len(str)) function, public \hyperlink{namespacemod__oasis__string_a832ff1d26d766bee361ef9669efacda6}{oasis\+\_\+string\+\_\+toupper} (str) |
---|
14 | \begin{DoxyCompactList}\small\item\em Convert the input string to upper-\/case. \end{DoxyCompactList}\item |
---|
15 | character(len=len(str)) function, public \hyperlink{namespacemod__oasis__string_af339c54c982092a80960a5241ccae1fa}{oasis\+\_\+string\+\_\+tolower} (str) |
---|
16 | \begin{DoxyCompactList}\small\item\em Convert the input string to lower-\/case. \end{DoxyCompactList}\item |
---|
17 | character(len=len(str)) function, public \hyperlink{namespacemod__oasis__string_a8f2289f6a9d1e9940204bbeb82b89f33}{oasis\+\_\+string\+\_\+getparentdir} (str) |
---|
18 | \begin{DoxyCompactList}\small\item\em Get the parent directory pathname. \end{DoxyCompactList}\item |
---|
19 | integer function, public \hyperlink{namespacemod__oasis__string_afae0db32f2cf0b6beb00829f8f016e48}{oasis\+\_\+string\+\_\+lastindex} (string, substr, rc) |
---|
20 | \begin{DoxyCompactList}\small\item\em Get the index of the last occurance of a substring within a string. \end{DoxyCompactList}\item |
---|
21 | integer function, public \hyperlink{namespacemod__oasis__string_a600ed4bd6221a0195d242076217377b4}{oasis\+\_\+string\+\_\+endindex} (string, substr, rc) |
---|
22 | \begin{DoxyCompactList}\small\item\em Get the ending index of the first occurance of a substring within string. \end{DoxyCompactList}\item |
---|
23 | subroutine, public \hyperlink{namespacemod__oasis__string_a1d525e36684a0a574b74a2aace51324a}{oasis\+\_\+string\+\_\+leftalign} (str, rc) |
---|
24 | \begin{DoxyCompactList}\small\item\em Remove leading white space. \end{DoxyCompactList}\item |
---|
25 | subroutine, public \hyperlink{namespacemod__oasis__string_af123aee419f09309d1ded79ae41243bd}{oasis\+\_\+string\+\_\+alphanum} (str, rc) |
---|
26 | \begin{DoxyCompactList}\small\item\em Remove all non alpha numeric characters from string. \end{DoxyCompactList}\item |
---|
27 | subroutine, public \hyperlink{namespacemod__oasis__string_a465ffaf8d7c5462f3de8595934d58c8d}{oasis\+\_\+string\+\_\+betweentags} (string, start\+Tag, end\+Tag, substr, rc) |
---|
28 | \begin{DoxyCompactList}\small\item\em Get the substring found between the start and end strings. \end{DoxyCompactList}\item |
---|
29 | subroutine, public \hyperlink{namespacemod__oasis__string_a2f7bae9ccc5d2c48c14f3a1525a6c234}{oasis\+\_\+string\+\_\+parsecftunit} (string, unit, bdate, bsec, rc) |
---|
30 | \begin{DoxyCompactList}\small\item\em Parse CF time unit into a delta string name and a base time in yyyymmdd. \end{DoxyCompactList}\item |
---|
31 | subroutine, public \hyperlink{namespacemod__oasis__string_aaf462e055c2c6136ef5d142d03355673}{oasis\+\_\+string\+\_\+clean} (string, rc) |
---|
32 | \begin{DoxyCompactList}\small\item\em Clean a string, set it to blank. \end{DoxyCompactList}\item |
---|
33 | logical function, public \hyperlink{namespacemod__oasis__string_ae8c50e9742e1f24cc0d7bfa9d476cd95}{oasis\+\_\+string\+\_\+listisvalid} (list, rc) |
---|
34 | \begin{DoxyCompactList}\small\item\em Determine whether string is a valid list. \end{DoxyCompactList}\item |
---|
35 | subroutine, public \hyperlink{namespacemod__oasis__string_a4d3a28944ce786f4d8d8a9555c63f8cd}{oasis\+\_\+string\+\_\+listgetname} (list, k, name, rc) |
---|
36 | \begin{DoxyCompactList}\small\item\em Get name of k-\/th field in list. \end{DoxyCompactList}\item |
---|
37 | subroutine, public \hyperlink{namespacemod__oasis__string_a8b9648bf4eb3a2373f1fac49e572436f}{oasis\+\_\+string\+\_\+listintersect} (list1, list2, listout, rc) |
---|
38 | \begin{DoxyCompactList}\small\item\em Get intersection of two fields lists, write into third list. \end{DoxyCompactList}\item |
---|
39 | subroutine, public \hyperlink{namespacemod__oasis__string_a3482d80f258c8062e8dd0d4eff8135b7}{oasis\+\_\+string\+\_\+listunion} (list1, list2, listout, rc) |
---|
40 | \begin{DoxyCompactList}\small\item\em Get union of two fields lists, write into third list. \end{DoxyCompactList}\item |
---|
41 | subroutine, public \hyperlink{namespacemod__oasis__string_adb1544a078e3abd743749f857fca5aee}{oasis\+\_\+string\+\_\+listmerge} (list1, list2, listout, rc) |
---|
42 | \begin{DoxyCompactList}\small\item\em Merge two lists into a third list. \end{DoxyCompactList}\item |
---|
43 | subroutine, public \hyperlink{namespacemod__oasis__string_a47bd1c6d7ee6ea7dcec169fa140481aa}{oasis\+\_\+string\+\_\+listappend} (list, listadd, rc) |
---|
44 | \begin{DoxyCompactList}\small\item\em Append one list to another. \end{DoxyCompactList}\item |
---|
45 | subroutine, public \hyperlink{namespacemod__oasis__string_a7df42cce90ae7fa5eceb0b9f2e4bf169}{oasis\+\_\+string\+\_\+listprepend} (listadd, list, rc) |
---|
46 | \begin{DoxyCompactList}\small\item\em Prepend one list to another. \end{DoxyCompactList}\item |
---|
47 | integer function, public \hyperlink{namespacemod__oasis__string_a66bedb9c90f129c44087bf3f3c26bdb7}{oasis\+\_\+string\+\_\+listgetindexf} (string, fld\+Str) |
---|
48 | \begin{DoxyCompactList}\small\item\em Get the index of a field in a list. \end{DoxyCompactList}\item |
---|
49 | subroutine, public \hyperlink{namespacemod__oasis__string_a6e2bf29a9030f16e3a58d0302ab793f2}{oasis\+\_\+string\+\_\+listgetindex} (string, fld\+Str, k\+Fld, print, rc) |
---|
50 | \begin{DoxyCompactList}\small\item\em Get the index of a field in a string. \end{DoxyCompactList}\item |
---|
51 | integer function, public \hyperlink{namespacemod__oasis__string_a15a49e6a71df520424402a753be10bb1}{oasis\+\_\+string\+\_\+listgetnum} (str) |
---|
52 | \begin{DoxyCompactList}\small\item\em return number of fields in string list \end{DoxyCompactList}\item |
---|
53 | subroutine, public \hyperlink{namespacemod__oasis__string_a4229e0726d97fc10f17027caea332daf}{oasis\+\_\+string\+\_\+listsetdel} (cflag) |
---|
54 | \begin{DoxyCompactList}\small\item\em Set field delimeter character in lists. \end{DoxyCompactList}\item |
---|
55 | subroutine, public \hyperlink{namespacemod__oasis__string_a0ed07993c2e7d09baffe933c6075f154}{oasis\+\_\+string\+\_\+listgetdel} (del) |
---|
56 | \begin{DoxyCompactList}\small\item\em Get field delimeter character in lists. \end{DoxyCompactList}\item |
---|
57 | subroutine, public \hyperlink{namespacemod__oasis__string_a10977c4902f912074ef3effd86630a24}{oasis\+\_\+string\+\_\+setabort} (flag) |
---|
58 | \begin{DoxyCompactList}\small\item\em Set local oasis\+\_\+string abort flag, true = abort, false = print and continue. \end{DoxyCompactList}\item |
---|
59 | subroutine, public \hyperlink{namespacemod__oasis__string_af5c49843654a2bc9ccedf2934571329d}{oasis\+\_\+string\+\_\+setdebug} (i\+Flag) |
---|
60 | \begin{DoxyCompactList}\small\item\em Set local oasis\+\_\+string debug level, 0 = production. \end{DoxyCompactList}\item |
---|
61 | subroutine \hyperlink{namespacemod__oasis__string_a86c2c26b793c41219bc833beb992d0e3}{oasis\+\_\+string\+\_\+abort} (string) |
---|
62 | \begin{DoxyCompactList}\small\item\em Supports aborts in the string module. \end{DoxyCompactList}\end{DoxyCompactItemize} |
---|
63 | \subsection*{Variables} |
---|
64 | \begin{DoxyCompactItemize} |
---|
65 | \item |
---|
66 | character(len=1), save \hyperlink{namespacemod__oasis__string_aa6f905efb4869a52d8bb2414e82bb0a7}{listdel} = \char`\"{}\+:\char`\"{} |
---|
67 | \item |
---|
68 | character(len=2), save \hyperlink{namespacemod__oasis__string_a9b40ad6f4785bd4765a24b6337185513}{listdel2} = \char`\"{}\+::\char`\"{} |
---|
69 | \item |
---|
70 | logical, save \hyperlink{namespacemod__oasis__string_a59e9b1145c7c14506941e6495b237395}{doabort} = .true. |
---|
71 | \item |
---|
72 | integer(ip\+\_\+i4\+\_\+p), save \hyperlink{namespacemod__oasis__string_a84408befb8bedabf75507eb4d690cea9}{debug} = 0 |
---|
73 | \end{DoxyCompactItemize} |
---|
74 | |
---|
75 | |
---|
76 | \subsection{Detailed Description} |
---|
77 | Character string manipulation methods. |
---|
78 | |
---|
79 | These methods work generally on character strings, but also, more particularly on lists. A list is a character string that contains substrings separated by a delimeter. That delimeter can be set by the user but the default is \char`\"{}\+:\char`\"{}. Colon delimeted lists are used in O\+A\+S\+IS and M\+CT mainly to instantiate a list of fields, such as \char`\"{}temperature\+:humidity\+:zonal\+\_\+velocity\+:meridiona\+\_\+velocity\char`\"{}. |
---|
80 | |
---|
81 | \subsection{Function/\+Subroutine Documentation} |
---|
82 | \mbox{\Hypertarget{namespacemod__oasis__string_a86c2c26b793c41219bc833beb992d0e3}\label{namespacemod__oasis__string_a86c2c26b793c41219bc833beb992d0e3}} |
---|
83 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+abort@{oasis\+\_\+string\+\_\+abort}} |
---|
84 | \index{oasis\+\_\+string\+\_\+abort@{oasis\+\_\+string\+\_\+abort}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
85 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+abort()}{oasis\_string\_abort()}} |
---|
86 | {\footnotesize\ttfamily subroutine mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+abort (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in), optional}]{string }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}} |
---|
87 | |
---|
88 | |
---|
89 | |
---|
90 | Supports aborts in the string module. |
---|
91 | |
---|
92 | |
---|
93 | \begin{DoxyParams}[1]{Parameters} |
---|
94 | \mbox{\tt in} & {\em string} & error string \\ |
---|
95 | \hline |
---|
96 | \end{DoxyParams} |
---|
97 | |
---|
98 | |
---|
99 | Definition at line 1680 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
100 | |
---|
101 | \mbox{\Hypertarget{namespacemod__oasis__string_af123aee419f09309d1ded79ae41243bd}\label{namespacemod__oasis__string_af123aee419f09309d1ded79ae41243bd}} |
---|
102 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+alphanum@{oasis\+\_\+string\+\_\+alphanum}} |
---|
103 | \index{oasis\+\_\+string\+\_\+alphanum@{oasis\+\_\+string\+\_\+alphanum}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
104 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+alphanum()}{oasis\_string\_alphanum()}} |
---|
105 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+alphanum (\begin{DoxyParamCaption}\item[{character($\ast$), intent(inout)}]{str, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
106 | |
---|
107 | |
---|
108 | |
---|
109 | Remove all non alpha numeric characters from string. |
---|
110 | |
---|
111 | |
---|
112 | \begin{DoxyParams}[1]{Parameters} |
---|
113 | \mbox{\tt in,out} & {\em str} & input and output string\\ |
---|
114 | \hline |
---|
115 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
116 | \hline |
---|
117 | \end{DoxyParams} |
---|
118 | |
---|
119 | |
---|
120 | Definition at line 452 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
121 | |
---|
122 | \mbox{\Hypertarget{namespacemod__oasis__string_a465ffaf8d7c5462f3de8595934d58c8d}\label{namespacemod__oasis__string_a465ffaf8d7c5462f3de8595934d58c8d}} |
---|
123 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+betweentags@{oasis\+\_\+string\+\_\+betweentags}} |
---|
124 | \index{oasis\+\_\+string\+\_\+betweentags@{oasis\+\_\+string\+\_\+betweentags}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
125 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+betweentags()}{oasis\_string\_betweentags()}} |
---|
126 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+betweentags (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{string, }\item[{character($\ast$), intent(in)}]{start\+Tag, }\item[{character($\ast$), intent(in)}]{end\+Tag, }\item[{character($\ast$), intent(out)}]{substr, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
127 | |
---|
128 | |
---|
129 | |
---|
130 | Get the substring found between the start and end strings. |
---|
131 | |
---|
132 | |
---|
133 | \begin{DoxyParams}[1]{Parameters} |
---|
134 | \mbox{\tt in} & {\em string} & input string to search\\ |
---|
135 | \hline |
---|
136 | \mbox{\tt in} & {\em starttag} & start string\\ |
---|
137 | \hline |
---|
138 | \mbox{\tt in} & {\em endtag} & end string\\ |
---|
139 | \hline |
---|
140 | \mbox{\tt out} & {\em substr} & output sub-\/string between tags\\ |
---|
141 | \hline |
---|
142 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
143 | \hline |
---|
144 | \end{DoxyParams} |
---|
145 | |
---|
146 | |
---|
147 | Definition at line 508 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
148 | |
---|
149 | \mbox{\Hypertarget{namespacemod__oasis__string_aaf462e055c2c6136ef5d142d03355673}\label{namespacemod__oasis__string_aaf462e055c2c6136ef5d142d03355673}} |
---|
150 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+clean@{oasis\+\_\+string\+\_\+clean}} |
---|
151 | \index{oasis\+\_\+string\+\_\+clean@{oasis\+\_\+string\+\_\+clean}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
152 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+clean()}{oasis\_string\_clean()}} |
---|
153 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+clean (\begin{DoxyParamCaption}\item[{character($\ast$), intent(inout)}]{string, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
154 | |
---|
155 | |
---|
156 | |
---|
157 | Clean a string, set it to blank. |
---|
158 | |
---|
159 | |
---|
160 | \begin{DoxyParams}[1]{Parameters} |
---|
161 | \mbox{\tt in,out} & {\em string} & char string\\ |
---|
162 | \hline |
---|
163 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
164 | \hline |
---|
165 | \end{DoxyParams} |
---|
166 | |
---|
167 | |
---|
168 | Definition at line 750 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
169 | |
---|
170 | \mbox{\Hypertarget{namespacemod__oasis__string_a54c5d197eba9bcb7fa7f71b200f8e5e6}\label{namespacemod__oasis__string_a54c5d197eba9bcb7fa7f71b200f8e5e6}} |
---|
171 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+countchar@{oasis\+\_\+string\+\_\+countchar}} |
---|
172 | \index{oasis\+\_\+string\+\_\+countchar@{oasis\+\_\+string\+\_\+countchar}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
173 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+countchar()}{oasis\_string\_countchar()}} |
---|
174 | {\footnotesize\ttfamily integer function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+countchar (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{str, }\item[{character(1), intent(in)}]{char, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
175 | |
---|
176 | |
---|
177 | |
---|
178 | Count number of occurances of a single character in a string. |
---|
179 | |
---|
180 | |
---|
181 | \begin{DoxyParams}[1]{Parameters} |
---|
182 | \mbox{\tt in} & {\em str} & string to search\\ |
---|
183 | \hline |
---|
184 | \mbox{\tt in} & {\em char} & char to search for\\ |
---|
185 | \hline |
---|
186 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
187 | \hline |
---|
188 | \end{DoxyParams} |
---|
189 | |
---|
190 | |
---|
191 | Definition at line 103 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
192 | |
---|
193 | \mbox{\Hypertarget{namespacemod__oasis__string_a600ed4bd6221a0195d242076217377b4}\label{namespacemod__oasis__string_a600ed4bd6221a0195d242076217377b4}} |
---|
194 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+endindex@{oasis\+\_\+string\+\_\+endindex}} |
---|
195 | \index{oasis\+\_\+string\+\_\+endindex@{oasis\+\_\+string\+\_\+endindex}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
196 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+endindex()}{oasis\_string\_endindex()}} |
---|
197 | {\footnotesize\ttfamily integer function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+endindex (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{string, }\item[{character($\ast$), intent(in)}]{substr, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
198 | |
---|
199 | |
---|
200 | |
---|
201 | Get the ending index of the first occurance of a substring within string. |
---|
202 | |
---|
203 | |
---|
204 | \begin{DoxyParams}[1]{Parameters} |
---|
205 | \mbox{\tt in} & {\em string} & string to search\\ |
---|
206 | \hline |
---|
207 | \mbox{\tt in} & {\em substr} & sub-\/string to search for\\ |
---|
208 | \hline |
---|
209 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
210 | \hline |
---|
211 | \end{DoxyParams} |
---|
212 | |
---|
213 | |
---|
214 | Definition at line 339 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
215 | |
---|
216 | \mbox{\Hypertarget{namespacemod__oasis__string_a8f2289f6a9d1e9940204bbeb82b89f33}\label{namespacemod__oasis__string_a8f2289f6a9d1e9940204bbeb82b89f33}} |
---|
217 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+getparentdir@{oasis\+\_\+string\+\_\+getparentdir}} |
---|
218 | \index{oasis\+\_\+string\+\_\+getparentdir@{oasis\+\_\+string\+\_\+getparentdir}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
219 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+getparentdir()}{oasis\_string\_getparentdir()}} |
---|
220 | {\footnotesize\ttfamily character(len=len(str)) function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+getparentdir (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{str }\end{DoxyParamCaption})} |
---|
221 | |
---|
222 | |
---|
223 | |
---|
224 | Get the parent directory pathname. |
---|
225 | |
---|
226 | |
---|
227 | \begin{DoxyParams}[1]{Parameters} |
---|
228 | \mbox{\tt in} & {\em str} & input string\\ |
---|
229 | \hline |
---|
230 | \end{DoxyParams} |
---|
231 | \begin{DoxyReturn}{Returns} |
---|
232 | return directory path |
---|
233 | \end{DoxyReturn} |
---|
234 | |
---|
235 | |
---|
236 | Definition at line 246 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
237 | |
---|
238 | \mbox{\Hypertarget{namespacemod__oasis__string_afae0db32f2cf0b6beb00829f8f016e48}\label{namespacemod__oasis__string_afae0db32f2cf0b6beb00829f8f016e48}} |
---|
239 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+lastindex@{oasis\+\_\+string\+\_\+lastindex}} |
---|
240 | \index{oasis\+\_\+string\+\_\+lastindex@{oasis\+\_\+string\+\_\+lastindex}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
241 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+lastindex()}{oasis\_string\_lastindex()}} |
---|
242 | {\footnotesize\ttfamily integer function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+lastindex (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{string, }\item[{character($\ast$), intent(in)}]{substr, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
243 | |
---|
244 | |
---|
245 | |
---|
246 | Get the index of the last occurance of a substring within a string. |
---|
247 | |
---|
248 | |
---|
249 | \begin{DoxyParams}[1]{Parameters} |
---|
250 | \mbox{\tt in} & {\em string} & input string to search\\ |
---|
251 | \hline |
---|
252 | \mbox{\tt in} & {\em substr} & sub-\/string to search for\\ |
---|
253 | \hline |
---|
254 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
255 | \hline |
---|
256 | \end{DoxyParams} |
---|
257 | |
---|
258 | |
---|
259 | Definition at line 294 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
260 | |
---|
261 | \mbox{\Hypertarget{namespacemod__oasis__string_a1d525e36684a0a574b74a2aace51324a}\label{namespacemod__oasis__string_a1d525e36684a0a574b74a2aace51324a}} |
---|
262 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+leftalign@{oasis\+\_\+string\+\_\+leftalign}} |
---|
263 | \index{oasis\+\_\+string\+\_\+leftalign@{oasis\+\_\+string\+\_\+leftalign}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
264 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+leftalign()}{oasis\_string\_leftalign()}} |
---|
265 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+leftalign (\begin{DoxyParamCaption}\item[{character($\ast$), intent(inout)}]{str, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
266 | |
---|
267 | |
---|
268 | |
---|
269 | Remove leading white space. |
---|
270 | |
---|
271 | |
---|
272 | \begin{DoxyParams}[1]{Parameters} |
---|
273 | \mbox{\tt in,out} & {\em str} & input and returned string\\ |
---|
274 | \hline |
---|
275 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
276 | \hline |
---|
277 | \end{DoxyParams} |
---|
278 | |
---|
279 | |
---|
280 | Definition at line 398 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
281 | |
---|
282 | \mbox{\Hypertarget{namespacemod__oasis__string_a47bd1c6d7ee6ea7dcec169fa140481aa}\label{namespacemod__oasis__string_a47bd1c6d7ee6ea7dcec169fa140481aa}} |
---|
283 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listappend@{oasis\+\_\+string\+\_\+listappend}} |
---|
284 | \index{oasis\+\_\+string\+\_\+listappend@{oasis\+\_\+string\+\_\+listappend}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
285 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listappend()}{oasis\_string\_listappend()}} |
---|
286 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listappend (\begin{DoxyParamCaption}\item[{character($\ast$), intent(inout)}]{list, }\item[{character($\ast$), intent(in)}]{listadd, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
287 | |
---|
288 | |
---|
289 | |
---|
290 | Append one list to another. |
---|
291 | |
---|
292 | |
---|
293 | \begin{DoxyParams}[1]{Parameters} |
---|
294 | \mbox{\tt in,out} & {\em list} & input and output list\\ |
---|
295 | \hline |
---|
296 | \mbox{\tt in} & {\em listadd} & list to append\\ |
---|
297 | \hline |
---|
298 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
299 | \hline |
---|
300 | \end{DoxyParams} |
---|
301 | |
---|
302 | |
---|
303 | Definition at line 1141 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
304 | |
---|
305 | \mbox{\Hypertarget{namespacemod__oasis__string_a0ed07993c2e7d09baffe933c6075f154}\label{namespacemod__oasis__string_a0ed07993c2e7d09baffe933c6075f154}} |
---|
306 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listgetdel@{oasis\+\_\+string\+\_\+listgetdel}} |
---|
307 | \index{oasis\+\_\+string\+\_\+listgetdel@{oasis\+\_\+string\+\_\+listgetdel}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
308 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listgetdel()}{oasis\_string\_listgetdel()}} |
---|
309 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listgetdel (\begin{DoxyParamCaption}\item[{character($\ast$), intent(out)}]{del }\end{DoxyParamCaption})} |
---|
310 | |
---|
311 | |
---|
312 | |
---|
313 | Get field delimeter character in lists. |
---|
314 | |
---|
315 | |
---|
316 | \begin{DoxyParams}[1]{Parameters} |
---|
317 | \mbox{\tt out} & {\em del} & field delimeter \\ |
---|
318 | \hline |
---|
319 | \end{DoxyParams} |
---|
320 | |
---|
321 | |
---|
322 | Definition at line 1563 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
323 | |
---|
324 | \mbox{\Hypertarget{namespacemod__oasis__string_a6e2bf29a9030f16e3a58d0302ab793f2}\label{namespacemod__oasis__string_a6e2bf29a9030f16e3a58d0302ab793f2}} |
---|
325 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listgetindex@{oasis\+\_\+string\+\_\+listgetindex}} |
---|
326 | \index{oasis\+\_\+string\+\_\+listgetindex@{oasis\+\_\+string\+\_\+listgetindex}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
327 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listgetindex()}{oasis\_string\_listgetindex()}} |
---|
328 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listgetindex (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{string, }\item[{character($\ast$), intent(in)}]{fld\+Str, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out)}]{k\+Fld, }\item[{logical, intent(in), optional}]{print, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
329 | |
---|
330 | |
---|
331 | |
---|
332 | Get the index of a field in a string. |
---|
333 | |
---|
334 | |
---|
335 | \begin{DoxyParams}[1]{Parameters} |
---|
336 | \mbox{\tt in} & {\em string} & input list\\ |
---|
337 | \hline |
---|
338 | \mbox{\tt in} & {\em fldstr} & name of field\\ |
---|
339 | \hline |
---|
340 | \mbox{\tt out} & {\em kfld} & index of field in list\\ |
---|
341 | \hline |
---|
342 | \mbox{\tt in} & {\em print} & print switch\\ |
---|
343 | \hline |
---|
344 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
345 | \hline |
---|
346 | \end{DoxyParams} |
---|
347 | |
---|
348 | |
---|
349 | Definition at line 1313 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
350 | |
---|
351 | \mbox{\Hypertarget{namespacemod__oasis__string_a66bedb9c90f129c44087bf3f3c26bdb7}\label{namespacemod__oasis__string_a66bedb9c90f129c44087bf3f3c26bdb7}} |
---|
352 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listgetindexf@{oasis\+\_\+string\+\_\+listgetindexf}} |
---|
353 | \index{oasis\+\_\+string\+\_\+listgetindexf@{oasis\+\_\+string\+\_\+listgetindexf}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
354 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listgetindexf()}{oasis\_string\_listgetindexf()}} |
---|
355 | {\footnotesize\ttfamily integer function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listgetindexf (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{string, }\item[{character($\ast$), intent(in)}]{fld\+Str }\end{DoxyParamCaption})} |
---|
356 | |
---|
357 | |
---|
358 | |
---|
359 | Get the index of a field in a list. |
---|
360 | |
---|
361 | |
---|
362 | \begin{DoxyParams}[1]{Parameters} |
---|
363 | \mbox{\tt in} & {\em string} & input string\\ |
---|
364 | \hline |
---|
365 | \mbox{\tt in} & {\em fldstr} & name of field \\ |
---|
366 | \hline |
---|
367 | \end{DoxyParams} |
---|
368 | |
---|
369 | |
---|
370 | Definition at line 1270 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
371 | |
---|
372 | \mbox{\Hypertarget{namespacemod__oasis__string_a4d3a28944ce786f4d8d8a9555c63f8cd}\label{namespacemod__oasis__string_a4d3a28944ce786f4d8d8a9555c63f8cd}} |
---|
373 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listgetname@{oasis\+\_\+string\+\_\+listgetname}} |
---|
374 | \index{oasis\+\_\+string\+\_\+listgetname@{oasis\+\_\+string\+\_\+listgetname}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
375 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listgetname()}{oasis\_string\_listgetname()}} |
---|
376 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listgetname (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{list, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(in)}]{k, }\item[{character($\ast$), intent(out)}]{name, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
377 | |
---|
378 | |
---|
379 | |
---|
380 | Get name of k-\/th field in list. |
---|
381 | |
---|
382 | |
---|
383 | \begin{DoxyParams}[1]{Parameters} |
---|
384 | \mbox{\tt in} & {\em list} & input list\\ |
---|
385 | \hline |
---|
386 | \mbox{\tt in} & {\em k} & index of field\\ |
---|
387 | \hline |
---|
388 | \mbox{\tt out} & {\em name} & k-\/th name in list\\ |
---|
389 | \hline |
---|
390 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
391 | \hline |
---|
392 | \end{DoxyParams} |
---|
393 | |
---|
394 | |
---|
395 | Definition at line 861 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
396 | |
---|
397 | \mbox{\Hypertarget{namespacemod__oasis__string_a15a49e6a71df520424402a753be10bb1}\label{namespacemod__oasis__string_a15a49e6a71df520424402a753be10bb1}} |
---|
398 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listgetnum@{oasis\+\_\+string\+\_\+listgetnum}} |
---|
399 | \index{oasis\+\_\+string\+\_\+listgetnum@{oasis\+\_\+string\+\_\+listgetnum}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
400 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listgetnum()}{oasis\_string\_listgetnum()}} |
---|
401 | {\footnotesize\ttfamily integer function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listgetnum (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{str }\end{DoxyParamCaption})} |
---|
402 | |
---|
403 | |
---|
404 | |
---|
405 | return number of fields in string list |
---|
406 | |
---|
407 | |
---|
408 | \begin{DoxyParams}[1]{Parameters} |
---|
409 | \mbox{\tt in} & {\em str} & input list \\ |
---|
410 | \hline |
---|
411 | \end{DoxyParams} |
---|
412 | |
---|
413 | |
---|
414 | Definition at line 1475 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
415 | |
---|
416 | \mbox{\Hypertarget{namespacemod__oasis__string_a8b9648bf4eb3a2373f1fac49e572436f}\label{namespacemod__oasis__string_a8b9648bf4eb3a2373f1fac49e572436f}} |
---|
417 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listintersect@{oasis\+\_\+string\+\_\+listintersect}} |
---|
418 | \index{oasis\+\_\+string\+\_\+listintersect@{oasis\+\_\+string\+\_\+listintersect}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
419 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listintersect()}{oasis\_string\_listintersect()}} |
---|
420 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listintersect (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{list1, }\item[{character($\ast$), intent(in)}]{list2, }\item[{character($\ast$), intent(out)}]{listout, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
421 | |
---|
422 | |
---|
423 | |
---|
424 | Get intersection of two fields lists, write into third list. |
---|
425 | |
---|
426 | |
---|
427 | \begin{DoxyParams}[1]{Parameters} |
---|
428 | \mbox{\tt in} & {\em list1} & input list 1\\ |
---|
429 | \hline |
---|
430 | \mbox{\tt in} & {\em list2} & input list 2\\ |
---|
431 | \hline |
---|
432 | \mbox{\tt out} & {\em listout} & output list\\ |
---|
433 | \hline |
---|
434 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
435 | \hline |
---|
436 | \end{DoxyParams} |
---|
437 | |
---|
438 | |
---|
439 | Definition at line 947 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
440 | |
---|
441 | \mbox{\Hypertarget{namespacemod__oasis__string_ae8c50e9742e1f24cc0d7bfa9d476cd95}\label{namespacemod__oasis__string_ae8c50e9742e1f24cc0d7bfa9d476cd95}} |
---|
442 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listisvalid@{oasis\+\_\+string\+\_\+listisvalid}} |
---|
443 | \index{oasis\+\_\+string\+\_\+listisvalid@{oasis\+\_\+string\+\_\+listisvalid}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
444 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listisvalid()}{oasis\_string\_listisvalid()}} |
---|
445 | {\footnotesize\ttfamily logical function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listisvalid (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{list, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
446 | |
---|
447 | |
---|
448 | |
---|
449 | Determine whether string is a valid list. |
---|
450 | |
---|
451 | |
---|
452 | \begin{DoxyParams}[1]{Parameters} |
---|
453 | \mbox{\tt in} & {\em list} & list/string\\ |
---|
454 | \hline |
---|
455 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
456 | \hline |
---|
457 | \end{DoxyParams} |
---|
458 | |
---|
459 | |
---|
460 | Definition at line 795 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
461 | |
---|
462 | \mbox{\Hypertarget{namespacemod__oasis__string_adb1544a078e3abd743749f857fca5aee}\label{namespacemod__oasis__string_adb1544a078e3abd743749f857fca5aee}} |
---|
463 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listmerge@{oasis\+\_\+string\+\_\+listmerge}} |
---|
464 | \index{oasis\+\_\+string\+\_\+listmerge@{oasis\+\_\+string\+\_\+listmerge}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
465 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listmerge()}{oasis\_string\_listmerge()}} |
---|
466 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listmerge (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{list1, }\item[{character($\ast$), intent(in)}]{list2, }\item[{character($\ast$), intent(out)}]{listout, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
467 | |
---|
468 | |
---|
469 | |
---|
470 | Merge two lists into a third list. |
---|
471 | |
---|
472 | |
---|
473 | \begin{DoxyParams}[1]{Parameters} |
---|
474 | \mbox{\tt in} & {\em list1} & input list 1\\ |
---|
475 | \hline |
---|
476 | \mbox{\tt in} & {\em list2} & input list 2\\ |
---|
477 | \hline |
---|
478 | \mbox{\tt out} & {\em listout} & output list\\ |
---|
479 | \hline |
---|
480 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
481 | \hline |
---|
482 | \end{DoxyParams} |
---|
483 | |
---|
484 | |
---|
485 | Definition at line 1074 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
486 | |
---|
487 | \mbox{\Hypertarget{namespacemod__oasis__string_a7df42cce90ae7fa5eceb0b9f2e4bf169}\label{namespacemod__oasis__string_a7df42cce90ae7fa5eceb0b9f2e4bf169}} |
---|
488 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listprepend@{oasis\+\_\+string\+\_\+listprepend}} |
---|
489 | \index{oasis\+\_\+string\+\_\+listprepend@{oasis\+\_\+string\+\_\+listprepend}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
490 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listprepend()}{oasis\_string\_listprepend()}} |
---|
491 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listprepend (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{listadd, }\item[{character($\ast$), intent(inout)}]{list, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
492 | |
---|
493 | |
---|
494 | |
---|
495 | Prepend one list to another. |
---|
496 | |
---|
497 | |
---|
498 | |
---|
499 | Definition at line 1206 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
500 | |
---|
501 | \mbox{\Hypertarget{namespacemod__oasis__string_a4229e0726d97fc10f17027caea332daf}\label{namespacemod__oasis__string_a4229e0726d97fc10f17027caea332daf}} |
---|
502 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listsetdel@{oasis\+\_\+string\+\_\+listsetdel}} |
---|
503 | \index{oasis\+\_\+string\+\_\+listsetdel@{oasis\+\_\+string\+\_\+listsetdel}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
504 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listsetdel()}{oasis\_string\_listsetdel()}} |
---|
505 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listsetdel (\begin{DoxyParamCaption}\item[{character(len=1), intent(in)}]{cflag }\end{DoxyParamCaption})} |
---|
506 | |
---|
507 | |
---|
508 | |
---|
509 | Set field delimeter character in lists. |
---|
510 | |
---|
511 | |
---|
512 | \begin{DoxyParams}[1]{Parameters} |
---|
513 | \mbox{\tt in} & {\em cflag} & field delimeter \\ |
---|
514 | \hline |
---|
515 | \end{DoxyParams} |
---|
516 | |
---|
517 | |
---|
518 | Definition at line 1521 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
519 | |
---|
520 | \mbox{\Hypertarget{namespacemod__oasis__string_a3482d80f258c8062e8dd0d4eff8135b7}\label{namespacemod__oasis__string_a3482d80f258c8062e8dd0d4eff8135b7}} |
---|
521 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+listunion@{oasis\+\_\+string\+\_\+listunion}} |
---|
522 | \index{oasis\+\_\+string\+\_\+listunion@{oasis\+\_\+string\+\_\+listunion}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
523 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+listunion()}{oasis\_string\_listunion()}} |
---|
524 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+listunion (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{list1, }\item[{character($\ast$), intent(in)}]{list2, }\item[{character($\ast$), intent(out)}]{listout, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
525 | |
---|
526 | |
---|
527 | |
---|
528 | Get union of two fields lists, write into third list. |
---|
529 | |
---|
530 | |
---|
531 | \begin{DoxyParams}[1]{Parameters} |
---|
532 | \mbox{\tt in} & {\em list1} & input list 1\\ |
---|
533 | \hline |
---|
534 | \mbox{\tt in} & {\em list2} & input list 2\\ |
---|
535 | \hline |
---|
536 | \mbox{\tt out} & {\em listout} & output list 3\\ |
---|
537 | \hline |
---|
538 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
539 | \hline |
---|
540 | \end{DoxyParams} |
---|
541 | |
---|
542 | |
---|
543 | Definition at line 1005 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
544 | |
---|
545 | \mbox{\Hypertarget{namespacemod__oasis__string_a2f7bae9ccc5d2c48c14f3a1525a6c234}\label{namespacemod__oasis__string_a2f7bae9ccc5d2c48c14f3a1525a6c234}} |
---|
546 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+parsecftunit@{oasis\+\_\+string\+\_\+parsecftunit}} |
---|
547 | \index{oasis\+\_\+string\+\_\+parsecftunit@{oasis\+\_\+string\+\_\+parsecftunit}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
548 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+parsecftunit()}{oasis\_string\_parsecftunit()}} |
---|
549 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+parsecftunit (\begin{DoxyParamCaption}\item[{character($\ast$), intent(in)}]{string, }\item[{character($\ast$), intent(out)}]{unit, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out)}]{bdate, }\item[{real(ip\+\_\+r8\+\_\+p), intent(out)}]{bsec, }\item[{integer(ip\+\_\+i4\+\_\+p), intent(out), optional}]{rc }\end{DoxyParamCaption})} |
---|
550 | |
---|
551 | |
---|
552 | |
---|
553 | Parse CF time unit into a delta string name and a base time in yyyymmdd. |
---|
554 | |
---|
555 | |
---|
556 | \begin{DoxyParams}[1]{Parameters} |
---|
557 | \mbox{\tt in} & {\em string} & string to search\\ |
---|
558 | \hline |
---|
559 | \mbox{\tt out} & {\em unit} & delta time unit\\ |
---|
560 | \hline |
---|
561 | \mbox{\tt out} & {\em bdate} & base date yyyymmdd\\ |
---|
562 | \hline |
---|
563 | \mbox{\tt out} & {\em bsec} & base seconds\\ |
---|
564 | \hline |
---|
565 | \mbox{\tt out} & {\em rc} & return code \\ |
---|
566 | \hline |
---|
567 | \end{DoxyParams} |
---|
568 | |
---|
569 | |
---|
570 | Definition at line 605 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
571 | |
---|
572 | \mbox{\Hypertarget{namespacemod__oasis__string_a10977c4902f912074ef3effd86630a24}\label{namespacemod__oasis__string_a10977c4902f912074ef3effd86630a24}} |
---|
573 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+setabort@{oasis\+\_\+string\+\_\+setabort}} |
---|
574 | \index{oasis\+\_\+string\+\_\+setabort@{oasis\+\_\+string\+\_\+setabort}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
575 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+setabort()}{oasis\_string\_setabort()}} |
---|
576 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+setabort (\begin{DoxyParamCaption}\item[{logical, intent(in)}]{flag }\end{DoxyParamCaption})} |
---|
577 | |
---|
578 | |
---|
579 | |
---|
580 | Set local oasis\+\_\+string abort flag, true = abort, false = print and continue. |
---|
581 | |
---|
582 | |
---|
583 | \begin{DoxyParams}[1]{Parameters} |
---|
584 | \mbox{\tt in} & {\em flag} & abort flag \\ |
---|
585 | \hline |
---|
586 | \end{DoxyParams} |
---|
587 | |
---|
588 | |
---|
589 | Definition at line 1599 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
590 | |
---|
591 | \mbox{\Hypertarget{namespacemod__oasis__string_af5c49843654a2bc9ccedf2934571329d}\label{namespacemod__oasis__string_af5c49843654a2bc9ccedf2934571329d}} |
---|
592 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+setdebug@{oasis\+\_\+string\+\_\+setdebug}} |
---|
593 | \index{oasis\+\_\+string\+\_\+setdebug@{oasis\+\_\+string\+\_\+setdebug}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
594 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+setdebug()}{oasis\_string\_setdebug()}} |
---|
595 | {\footnotesize\ttfamily subroutine, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+setdebug (\begin{DoxyParamCaption}\item[{integer(ip\+\_\+i4\+\_\+p), intent(in)}]{i\+Flag }\end{DoxyParamCaption})} |
---|
596 | |
---|
597 | |
---|
598 | |
---|
599 | Set local oasis\+\_\+string debug level, 0 = production. |
---|
600 | |
---|
601 | |
---|
602 | \begin{DoxyParams}[1]{Parameters} |
---|
603 | \mbox{\tt in} & {\em iflag} & requested debug level \\ |
---|
604 | \hline |
---|
605 | \end{DoxyParams} |
---|
606 | |
---|
607 | |
---|
608 | Definition at line 1647 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
609 | |
---|
610 | \mbox{\Hypertarget{namespacemod__oasis__string_af339c54c982092a80960a5241ccae1fa}\label{namespacemod__oasis__string_af339c54c982092a80960a5241ccae1fa}} |
---|
611 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+tolower@{oasis\+\_\+string\+\_\+tolower}} |
---|
612 | \index{oasis\+\_\+string\+\_\+tolower@{oasis\+\_\+string\+\_\+tolower}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
613 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+tolower()}{oasis\_string\_tolower()}} |
---|
614 | {\footnotesize\ttfamily character(len=len(str)) function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+tolower (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{str }\end{DoxyParamCaption})} |
---|
615 | |
---|
616 | |
---|
617 | |
---|
618 | Convert the input string to lower-\/case. |
---|
619 | |
---|
620 | |
---|
621 | \begin{DoxyParams}[1]{Parameters} |
---|
622 | \mbox{\tt in} & {\em str} & input string to convert to lower case\\ |
---|
623 | \hline |
---|
624 | \end{DoxyParams} |
---|
625 | \begin{DoxyReturn}{Returns} |
---|
626 | output converted string |
---|
627 | \end{DoxyReturn} |
---|
628 | |
---|
629 | |
---|
630 | Definition at line 199 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
631 | |
---|
632 | \mbox{\Hypertarget{namespacemod__oasis__string_a832ff1d26d766bee361ef9669efacda6}\label{namespacemod__oasis__string_a832ff1d26d766bee361ef9669efacda6}} |
---|
633 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!oasis\+\_\+string\+\_\+toupper@{oasis\+\_\+string\+\_\+toupper}} |
---|
634 | \index{oasis\+\_\+string\+\_\+toupper@{oasis\+\_\+string\+\_\+toupper}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
635 | \subsubsection{\texorpdfstring{oasis\+\_\+string\+\_\+toupper()}{oasis\_string\_toupper()}} |
---|
636 | {\footnotesize\ttfamily character(len=len(str)) function, public mod\+\_\+oasis\+\_\+string\+::oasis\+\_\+string\+\_\+toupper (\begin{DoxyParamCaption}\item[{character(len=$\ast$), intent(in)}]{str }\end{DoxyParamCaption})} |
---|
637 | |
---|
638 | |
---|
639 | |
---|
640 | Convert the input string to upper-\/case. |
---|
641 | |
---|
642 | |
---|
643 | \begin{DoxyParams}[1]{Parameters} |
---|
644 | \mbox{\tt in} & {\em str} & input string to convert to upper case\\ |
---|
645 | \hline |
---|
646 | \end{DoxyParams} |
---|
647 | \begin{DoxyReturn}{Returns} |
---|
648 | output converted string |
---|
649 | \end{DoxyReturn} |
---|
650 | |
---|
651 | |
---|
652 | Definition at line 152 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
653 | |
---|
654 | |
---|
655 | |
---|
656 | \subsection{Variable Documentation} |
---|
657 | \mbox{\Hypertarget{namespacemod__oasis__string_a84408befb8bedabf75507eb4d690cea9}\label{namespacemod__oasis__string_a84408befb8bedabf75507eb4d690cea9}} |
---|
658 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!debug@{debug}} |
---|
659 | \index{debug@{debug}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
660 | \subsubsection{\texorpdfstring{debug}{debug}} |
---|
661 | {\footnotesize\ttfamily integer(ip\+\_\+i4\+\_\+p), save mod\+\_\+oasis\+\_\+string\+::debug = 0\hspace{0.3cm}{\ttfamily [private]}} |
---|
662 | |
---|
663 | |
---|
664 | |
---|
665 | Definition at line 83 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
666 | |
---|
667 | \mbox{\Hypertarget{namespacemod__oasis__string_a59e9b1145c7c14506941e6495b237395}\label{namespacemod__oasis__string_a59e9b1145c7c14506941e6495b237395}} |
---|
668 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!doabort@{doabort}} |
---|
669 | \index{doabort@{doabort}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
670 | \subsubsection{\texorpdfstring{doabort}{doabort}} |
---|
671 | {\footnotesize\ttfamily logical, save mod\+\_\+oasis\+\_\+string\+::doabort = .true.\hspace{0.3cm}{\ttfamily [private]}} |
---|
672 | |
---|
673 | |
---|
674 | |
---|
675 | Definition at line 82 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
676 | |
---|
677 | \mbox{\Hypertarget{namespacemod__oasis__string_aa6f905efb4869a52d8bb2414e82bb0a7}\label{namespacemod__oasis__string_aa6f905efb4869a52d8bb2414e82bb0a7}} |
---|
678 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!listdel@{listdel}} |
---|
679 | \index{listdel@{listdel}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
680 | \subsubsection{\texorpdfstring{listdel}{listdel}} |
---|
681 | {\footnotesize\ttfamily character(len=1), save mod\+\_\+oasis\+\_\+string\+::listdel = \char`\"{}\+:\char`\"{}\hspace{0.3cm}{\ttfamily [private]}} |
---|
682 | |
---|
683 | |
---|
684 | |
---|
685 | Definition at line 80 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
686 | |
---|
687 | \mbox{\Hypertarget{namespacemod__oasis__string_a9b40ad6f4785bd4765a24b6337185513}\label{namespacemod__oasis__string_a9b40ad6f4785bd4765a24b6337185513}} |
---|
688 | \index{mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}!listdel2@{listdel2}} |
---|
689 | \index{listdel2@{listdel2}!mod\+\_\+oasis\+\_\+string@{mod\+\_\+oasis\+\_\+string}} |
---|
690 | \subsubsection{\texorpdfstring{listdel2}{listdel2}} |
---|
691 | {\footnotesize\ttfamily character(len=2), save mod\+\_\+oasis\+\_\+string\+::listdel2 = \char`\"{}\+::\char`\"{}\hspace{0.3cm}{\ttfamily [private]}} |
---|
692 | |
---|
693 | |
---|
694 | |
---|
695 | Definition at line 81 of file mod\+\_\+oasis\+\_\+string.\+F90. |
---|
696 | |
---|