\hypertarget{interfacedc__string_1_1str__to__logical}{}\section{dc\+\_\+string\+:\+:str\+\_\+to\+\_\+logical Interface Reference}
\label{interfacedc__string_1_1str__to__logical}\index{dc\+\_\+string\+::str\+\_\+to\+\_\+logical@{dc\+\_\+string\+::str\+\_\+to\+\_\+logical}}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
logical function \hyperlink{interfacedc__string_1_1str__to__logical_a75cc66d3895870097ad5af8295e8f971}{str2bool} (string)
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 67 of file dc\+\_\+string.\+f90.



\subsection{Member Function/\+Subroutine Documentation}
\mbox{\Hypertarget{interfacedc__string_1_1str__to__logical_a75cc66d3895870097ad5af8295e8f971}\label{interfacedc__string_1_1str__to__logical_a75cc66d3895870097ad5af8295e8f971}} 
\index{dc\+\_\+string\+::str\+\_\+to\+\_\+logical@{dc\+\_\+string\+::str\+\_\+to\+\_\+logical}!str2bool@{str2bool}}
\index{str2bool@{str2bool}!dc\+\_\+string\+::str\+\_\+to\+\_\+logical@{dc\+\_\+string\+::str\+\_\+to\+\_\+logical}}
\subsubsection{\texorpdfstring{str2bool()}{str2bool()}}
{\footnotesize\ttfamily logical function dc\+\_\+string\+::str\+\_\+to\+\_\+logical\+::str2bool (\begin{DoxyParamCaption}\item[{character(len = $\ast$), intent(in)}]{string }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Definition at line 515 of file dc\+\_\+string.\+f90.


\begin{DoxyCode}
515     \textcolor{comment}{!}
516     \textcolor{comment}{! string で与えられる文字型変数を論理型にして返します。 string}
517     \textcolor{comment}{! が空、 または 0、 0.0、 0.0D0、 0.0d0、 .false.、 .FALSE.、 f、}
518     \textcolor{comment}{! F、 false、 FALSE の場合には <tt>.false.</tt> が返ります。}
519     \textcolor{comment}{! それ以外の場合には <tt>.true.</tt> が返ります。}
520     \textcolor{comment}{!}
521     \textcolor{keywordtype}{character(len = *)}, \textcolor{keywordtype}{intent(in)}:: \hyperlink{namespacedc__types_adb76910ff05e3b9fe3436567f8f8dac6}{string}
522 
523     \textcolor{keywordflow}{continue}
524 
525     \textcolor{keywordflow}{select case}(\hyperlink{namespacedc__types_adb76910ff05e3b9fe3436567f8f8dac6}{string})
526     \textcolor{keywordflow}{case} (\textcolor{stringliteral}{""}, \textcolor{stringliteral}{"0"}, \textcolor{stringliteral}{"0.0"}, \textcolor{stringliteral}{"0.0D0"}, \textcolor{stringliteral}{"0.0d0"}, \textcolor{stringliteral}{".false."}, \textcolor{stringliteral}{".FALSE."}, &
527             & \textcolor{stringliteral}{"f"}, \textcolor{stringliteral}{"F"}, \textcolor{stringliteral}{"false"}, \textcolor{stringliteral}{"FALSE"})
528       result = .false.
529 \textcolor{keywordflow}{    case default}
530       result = .true.
531 \textcolor{keywordflow}{    end select}
\end{DoxyCode}


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