\hypertarget{interfacedc__hash_1_1get}{}\section{dc\+\_\+hash\+:\+:get Interface Reference}
\label{interfacedc__hash_1_1get}\index{dc\+\_\+hash\+::get@{dc\+\_\+hash\+::get}}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
subroutine \hyperlink{interfacedc__hash_1_1get_aa42784cd22256dc467ab8eb8e891d2e9}{dchashget0} (hashv, key, value, found)
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 170 of file dc\+\_\+hash.\+f90.



\subsection{Member Function/\+Subroutine Documentation}
\mbox{\Hypertarget{interfacedc__hash_1_1get_aa42784cd22256dc467ab8eb8e891d2e9}\label{interfacedc__hash_1_1get_aa42784cd22256dc467ab8eb8e891d2e9}} 
\index{dc\+\_\+hash\+::get@{dc\+\_\+hash\+::get}!dchashget0@{dchashget0}}
\index{dchashget0@{dchashget0}!dc\+\_\+hash\+::get@{dc\+\_\+hash\+::get}}
\subsubsection{\texorpdfstring{dchashget0()}{dchashget0()}}
{\footnotesize\ttfamily subroutine dc\+\_\+hash\+::get\+::dchashget0 (\begin{DoxyParamCaption}\item[{type(\hyperlink{structdc__hash_1_1hash}{hash}), intent(inout)}]{hashv,  }\item[{character($\ast$), intent(in)}]{key,  }\item[{character($\ast$), intent(out)}]{value,  }\item[{logical, intent(out), optional}]{found }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Definition at line 326 of file dc\+\_\+hash.\+f90.


\begin{DoxyCode}
326     \textcolor{comment}{!}
327     \textcolor{comment}{! *hashv* のキー *key* に関連する値を *value* に返します.}
328     \textcolor{comment}{! *key* に関連する値が存在しない場合は *value* に}
329     \textcolor{comment}{! 空文字を返します.}
330     \textcolor{comment}{!}
331     \textcolor{comment}{! *found* を与えると, *key* に関連する値が見つからなかった}
332     \textcolor{comment}{! 場合に .false. を返します.}
333     \textcolor{comment}{!}
334     \textcolor{keywordtype}{use }\hyperlink{namespacedc__types}{dc\_types}\textcolor{keywordtype}{, only}: \hyperlink{namespacedc__types_adb76910ff05e3b9fe3436567f8f8dac6}{string}
335     \textcolor{keywordtype}{implicit none}
336     \textcolor{keywordtype}{type}(\hyperlink{structdc__hash_1_1hash}{hash}), \textcolor{keywordtype}{intent(inout)} :: hashv
337     \textcolor{keywordtype}{character(*)}, \textcolor{keywordtype}{intent(in)}  :: key
338     \textcolor{keywordtype}{character(*)}, \textcolor{keywordtype}{intent(out)} :: value
339     \textcolor{keywordtype}{logical}, \textcolor{keywordtype}{intent(out)}, \textcolor{keywordtype}{optional} :: found
340     \textcolor{keywordtype}{character(STRING)} :: search\_key, search\_value
341     \textcolor{keywordtype}{logical} :: end
342   \textcolor{keywordflow}{continue}
343     \textcolor{keyword}{call }\hyperlink{interfacedc__hash_1_1dchashrewind}{dchashrewind}(hashv)
344     \textcolor{keywordflow}{do}
345       \textcolor{keyword}{call }\hyperlink{interfacedc__hash_1_1dchashnext}{dchashnext}(hashv, search\_key, search\_value, end)
346       \textcolor{keywordflow}{if} (end) \textcolor{keywordflow}{then}
347         \textcolor{keywordtype}{value} = \textcolor{stringliteral}{''}
348         \textcolor{keywordflow}{if} (\textcolor{keyword}{present}(found)) found = .false.
349         \textcolor{keywordflow}{exit}
350 \textcolor{keywordflow}{      end if}
351 
352       \textcolor{keywordflow}{if} (trim(search\_key) == trim(key)) \textcolor{keywordflow}{then}
353         \textcolor{keywordtype}{value} = search\_value
354         \textcolor{keywordflow}{if} (\textcolor{keyword}{present}(found)) found = .true.
355         \textcolor{keywordflow}{exit}
356 \textcolor{keywordflow}{      end if}
357 \textcolor{keywordflow}{    enddo}
358 
\end{DoxyCode}


The documentation for this interface was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
dc\+\_\+utils/\hyperlink{dc__hash_8f90}{dc\+\_\+hash.\+f90}\end{DoxyCompactItemize}
