\hypertarget{interfacedc__clock_1_1tochar}{}\section{dc\+\_\+clock\+:\+:tochar Interface Reference}
\label{interfacedc__clock_1_1tochar}\index{dc\+\_\+clock\+::tochar@{dc\+\_\+clock\+::tochar}}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
character(string) function \hyperlink{interfacedc__clock_1_1tochar_a6f256f584b98dd1d91fbcf501d2f4895}{dcclocktochar0} (clk)
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 199 of file dc\+\_\+clock.\+f90.



\subsection{Member Function/\+Subroutine Documentation}
\mbox{\Hypertarget{interfacedc__clock_1_1tochar_a6f256f584b98dd1d91fbcf501d2f4895}\label{interfacedc__clock_1_1tochar_a6f256f584b98dd1d91fbcf501d2f4895}} 
\index{dc\+\_\+clock\+::tochar@{dc\+\_\+clock\+::tochar}!dcclocktochar0@{dcclocktochar0}}
\index{dcclocktochar0@{dcclocktochar0}!dc\+\_\+clock\+::tochar@{dc\+\_\+clock\+::tochar}}
\subsubsection{\texorpdfstring{dcclocktochar0()}{dcclocktochar0()}}
{\footnotesize\ttfamily character(string) function dc\+\_\+clock\+::tochar\+::dcclocktochar0 (\begin{DoxyParamCaption}\item[{type(\hyperlink{structdc__clock_1_1clock}{clock}), intent(in)}]{clk }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [private]}}



Definition at line 443 of file dc\+\_\+clock.\+f90.


\begin{DoxyCode}
443     \textcolor{comment}{!}
444     \textcolor{comment}{!=== CPU 時間を適当に整形して文字型変数に変換}
445     \textcolor{comment}{!}
446     \textcolor{comment}{! CPU 時間に関して適当に整形を行い, 文字型変数に変換して返します.}
447     \textcolor{comment}{!}
448     \textcolor{comment}{! 第一引数 *clk* に対して DCClockCreate}
449     \textcolor{comment}{! による初期化が行われていない場合, 空文字が返ります.}
450     \textcolor{comment}{!}
451     \textcolor{keywordtype}{use }\hyperlink{namespacedc__string}{dc\_string}\textcolor{keywordtype}{, only}: \hyperlink{interfacedc__string_1_1cprintf}{cprintf}
452     \textcolor{keywordtype}{use }\hyperlink{namespacedc__date}{dc\_date}\textcolor{keywordtype}{, only}: \hyperlink{interfacedc__date__generic_1_1evalsec}{evalsec}
453     \textcolor{keywordtype}{implicit none}
454     \textcolor{keywordtype}{type}(clock), \textcolor{keywordtype}{intent(in)}:: clk
455     \textcolor{keywordtype}{character(STRING)}:: result
456     \textcolor{keywordtype}{character(20)}:: clk\_name
457   \textcolor{keywordflow}{continue}
458     clk\_name = clk % name
459     \textcolor{keywordflow}{if} (clk % initialized) \textcolor{keywordflow}{then}
460       result = \hyperlink{interfacedc__string_1_1cprintf}{cprintf}(\textcolor{stringliteral}{' %c%c  %c'}, c1 = clk\_name, &
461         & c2=trim(result\_value\_form(clk % elapsed\_time)), &
462         & c3=trim(fit\_unit\_value(clk % elapsed\_time)))
463     \textcolor{keywordflow}{else}
464       result = \textcolor{stringliteral}{''}
465 \textcolor{keywordflow}{    end if}
\end{DoxyCode}


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