<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\hypertarget{gtvarcopyattrall_8f90}{}\section{gtdata/gtvarcopyattrall.f90 File Reference}
\label{gtvarcopyattrall_8f90}\index{gtdata/gtvarcopyattrall.\+f90@{gtdata/gtvarcopyattrall.\+f90}}
\subsection*{Functions/\+Subroutines}
\begin{DoxyCompactItemize}
\item 
subroutine \hyperlink{gtvarcopyattrall_8f90_ab9a802e1417b52ab22fe9bd863be2ed1}{gtvarcopyattrall} (to, from, err, global)
\end{DoxyCompactItemize}


\subsection{Function/\+Subroutine Documentation}
\mbox{\Hypertarget{gtvarcopyattrall_8f90_ab9a802e1417b52ab22fe9bd863be2ed1}\label{gtvarcopyattrall_8f90_ab9a802e1417b52ab22fe9bd863be2ed1}} 
\index{gtvarcopyattrall.\+f90@{gtvarcopyattrall.\+f90}!gtvarcopyattrall@{gtvarcopyattrall}}
\index{gtvarcopyattrall@{gtvarcopyattrall}!gtvarcopyattrall.\+f90@{gtvarcopyattrall.\+f90}}
\subsubsection{\texorpdfstring{gtvarcopyattrall()}{gtvarcopyattrall()}}
{\footnotesize\ttfamily subroutine gtvarcopyattrall (\begin{DoxyParamCaption}\item[{type(gt\+\_\+variable), intent(inout)}]{to,  }\item[{type(gt\+\_\+variable), intent(inout)}]{from,  }\item[{logical, intent(out), optional}]{err,  }\item[{logical, intent(in), optional}]{global }\end{DoxyParamCaption})}



Definition at line 14 of file gtvarcopyattrall.\+f90.



References dc\+\_\+url\+::gt\+\_\+plus, gtvarcopyattr(), and dc\+\_\+types\+::string.


\begin{DoxyCode}
14   \textcolor{comment}{!}
15   \textcolor{comment}{!== 螻樊ｧ縺ｮ繧ｳ繝斐�}
16   \textcolor{comment}{!}
17   \textcolor{comment}{! 螟画焚 *from* 縺ｮ蜈ｨ縺ｦ縺ｮ螻樊ｧ繧貞､画焚 *to* 縺ｸ繧ｳ繝斐�縺励∪縺吶�}
18   \textcolor{comment}{!}
19   \textcolor{comment}{! 繝�ヵ繧ｩ繝ｫ繝医〒縺ｯ螟ｧ蝓溷ｱ樊ｧ繧ゅさ繝斐�縺励∪縺吶′縲±
20   \textcolor{comment}{! *global* 縺ｫ .false. 繧剃ｸ弱∴繧句�ｴ蜷医∝､ｧ蝓溷ｱ樊ｧ繧偵さ繝斐�縺励∪縺帙ｓ縲�}
21   \textcolor{comment}{!}
22   \textcolor{comment}{! *Copy\_Attr* 縺ｯ 2 縺､縺ｮ繧ｵ繝悶Ν繝ｼ繝√Φ縺ｮ邱冗ｧｰ蜷阪〒縺ゅｊ縲±
23   \textcolor{comment}{! 莉悶↓繧ょｱ樊ｧ繧呈欠螳壹＠縺ｦ繧ｳ繝斐�縺吶ｋ譁ｹ豕輔ｂ縺ゅｊ縺ｾ縺吶�}
24   \textcolor{comment}{! 荳願ｨ倥�繧ｵ繝悶Ν繝ｼ繝√Φ繧貞盾辣ｧ縺上□縺輔＞縲�}
25   \textcolor{comment}{!}
26   \textcolor{keywordtype}{use }\hyperlink{namespacegtdata__types}{gtdata\_types}\textcolor{keywordtype}{, only}: gt\_variable
27   \textcolor{keywordtype}{use }gtdata\_generic\textcolor{keywordtype}{, only}: \hyperlink{interfacegtdata__netcdf__generic_1_1attr__rewind}{attr\_rewind}, \hyperlink{interfacegtdata__netcdf__generic_1_1attr__next}{attr\_next}, 
      \hyperlink{gtvarcopyattr_8f90_a97952364067d4f0af511a36197c517b4}{gtvarcopyattr}
28   \textcolor{keywordtype}{use }dc\_present\textcolor{keywordtype}{,only}:present\_and\_true, present\_and\_false
29   \textcolor{keywordtype}{use }\hyperlink{namespacedc__url}{dc\_url}\textcolor{keywordtype}{,   only}: \hyperlink{namespacedc__url_a373b7d2195c21ebf1458e79ad72dce0d}{gt\_plus}
30   \textcolor{keywordtype}{use }\hyperlink{namespacedc__error}{dc\_error}\textcolor{keywordtype}{, only}: dumperror
31   \textcolor{keywordtype}{use }dc\_trace\textcolor{keywordtype}{, only}: beginsub, endsub, dbgmessage
32   \textcolor{keywordtype}{use }\hyperlink{namespacedc__types}{dc\_types}\textcolor{keywordtype}{, only}: \hyperlink{namespacedc__types_adb76910ff05e3b9fe3436567f8f8dac6}{string}
33   \textcolor{keywordtype}{type}(gt\_variable), \textcolor{keywordtype}{intent(inout)}:: to
34   \textcolor{keywordtype}{type}(gt\_variable), \textcolor{keywordtype}{intent(inout)}:: from
35   \textcolor{keywordtype}{logical}, \textcolor{keywordtype}{intent(out)}, \textcolor{keywordtype}{optional}:: err
36   \textcolor{keywordtype}{logical}, \textcolor{keywordtype}{intent(in)}, \textcolor{keywordtype}{optional}:: global
37   \textcolor{keywordtype}{character(len = *)}, \textcolor{keywordtype}{parameter}:: subnam = \textcolor{stringliteral}{"GTVarCopyAttrAll"}
38   \textcolor{keywordtype}{character(len = STRING)}:: aname
39   \textcolor{keywordtype}{logical}:: end
40 \textcolor{keywordflow}{continue}
41   \textcolor{keywordflow}{if} (\textcolor{keyword}{present}(err)) err = .false.
42   \textcolor{keyword}{call }beginsub(subnam)
43   \textcolor{keyword}{call }\hyperlink{interfacegtdata__netcdf__generic_1_1attr__rewind}{attr\_rewind}(from)
44   \textcolor{keywordflow}{do}
45     \textcolor{keyword}{call }\hyperlink{interfacegtdata__netcdf__generic_1_1attr__next}{attr\_next}(from, aname, end)
46     \textcolor{keywordflow}{if} (end) \textcolor{keywordflow}{exit}
47     \textcolor{keywordflow}{if} ( (present\_and\_false(global)) .and. (aname(1:1) == \hyperlink{namespacedc__url_a373b7d2195c21ebf1458e79ad72dce0d}{gt\_plus}) ) \textcolor{keywordflow}{then}
48       \textcolor{keyword}{call }dbgmessage(\textcolor{stringliteral}{"Ignored attr=%c"}, c1=aname)
49       cycle
50 \textcolor{keywordflow}{    end if}
51     \textcolor{keyword}{call }dbgmessage(\textcolor{stringliteral}{"Copied attr=%c"}, c1=aname)
52     \textcolor{keyword}{call }\hyperlink{gtvarcopyattr_8f90_a97952364067d4f0af511a36197c517b4}{gtvarcopyattr}(to=to, attrname=aname, from=from, err=err)
53     \textcolor{keywordflow}{if} (present\_and\_true(err)) err = .false.
54 \textcolor{keywordflow}{  enddo}
55   \textcolor{keyword}{call }endsub(subnam)
\end{DoxyCode}
Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gtvarcopyattrall_8f90_ab9a802e1417b52ab22fe9bd863be2ed1_cgraph}
\end{center}
\end{figure}
</pre></body></html>