\doxysection{include/cerr.h File Reference} \label{cerr_8h}\index{include/cerr.h@{include/cerr.h}} {\ttfamily \#include $<$stdbool.\+h$>$}\newline {\ttfamily \#include $<$stdio.\+h$>$}\newline {\ttfamily \#include $<$stdlib.\+h$>$}\newline {\ttfamily \#include $<$string.\+h$>$}\newline {\ttfamily \#include $<$assert.\+h$>$}\newline {\ttfamily \#include \char`\"{}cmem.\+h\char`\"{}}\newline Include dependency graph for cerr.\+h\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{cerr_8h__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{cerr_8h__dep__incl} \end{center} \end{figure} \doxysubsection*{Data Structures} \begin{DoxyCompactItemize} \item struct \textbf{ \+\_\+\+CERR} \begin{DoxyCompactList}\small\item\em エラーを表すデータ型 \end{DoxyCompactList}\item struct \textbf{ \+\_\+\+CERRLIST} \begin{DoxyCompactList}\small\item\em エラーリストのデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Typedefs} \begin{DoxyCompactItemize} \item typedef struct \textbf{ \+\_\+\+CERR} \textbf{ CERR} \begin{DoxyCompactList}\small\item\em エラーを表すデータ型 \end{DoxyCompactList}\item typedef struct \textbf{ \+\_\+\+CERRLIST} \textbf{ CERRLIST} \begin{DoxyCompactList}\small\item\em エラーリストのデータ型 \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Enumerations} \begin{DoxyCompactItemize} \item enum \{ \textbf{ CERRSTRSIZE} = 10 , \textbf{ CERRMSGSIZE} = 70 \} \end{DoxyCompactItemize} \doxysubsection*{Functions} \begin{DoxyCompactItemize} \item void \textbf{ cerr\+\_\+init} () \begin{DoxyCompactList}\small\item\em エラーを初期化する \end{DoxyCompactList}\item void \textbf{ addcerrlist} (int cerrc, \textbf{ CERR} cerrv[$\,$]) \begin{DoxyCompactList}\small\item\em エラーリストを作成・追加する \end{DoxyCompactList}\item void \textbf{ printcerrlist} () \begin{DoxyCompactList}\small\item\em エラーリストを表示する \end{DoxyCompactList}\item void \textbf{ setcerr} (int num, const char $\ast$str) \begin{DoxyCompactList}\small\item\em 現在のエラーを設定する \end{DoxyCompactList}\item char $\ast$ \textbf{ getcerrmsg} (int num) \begin{DoxyCompactList}\small\item\em エラー番号に対応するエラーメッセージを返す \end{DoxyCompactList}\item void \textbf{ freecerr} () \begin{DoxyCompactList}\small\item\em エラーリストと現在のエラーを解放する \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Variables} \begin{DoxyCompactItemize} \item \textbf{ CERR} $\ast$ \textbf{ cerr} \begin{DoxyCompactList}\small\item\em 現在のエラー \end{DoxyCompactList}\item \textbf{ CERRLIST} $\ast$ \textbf{ cerrlist} \begin{DoxyCompactList}\small\item\em エラーリスト \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection{Typedef Documentation} \mbox{\label{cerr_8h_a3636a4b86cca574b3786f76f5231ffe5}} \index{cerr.h@{cerr.h}!CERR@{CERR}} \index{CERR@{CERR}!cerr.h@{cerr.h}} \doxysubsubsection{CERR} {\footnotesize\ttfamily typedef struct \textbf{ \+\_\+\+CERR} \textbf{ CERR}} エラーを表すデータ型 \mbox{\label{cerr_8h_af4ba0a2c4f974dba021434085a2362e7}} \index{cerr.h@{cerr.h}!CERRLIST@{CERRLIST}} \index{CERRLIST@{CERRLIST}!cerr.h@{cerr.h}} \doxysubsubsection{CERRLIST} {\footnotesize\ttfamily typedef struct \textbf{ \+\_\+\+CERRLIST} \textbf{ CERRLIST}} エラーリストのデータ型 \doxysubsection{Enumeration Type Documentation} \mbox{\label{cerr_8h_adf764cbdea00d65edcd07bb9953ad2b7}} \doxysubsubsection{anonymous enum} {\footnotesize\ttfamily anonymous enum} \begin{DoxyEnumFields}{Enumerator} \raisebox{\heightof{T}}[0pt][0pt]{\index{CERRSTRSIZE@{CERRSTRSIZE}!cerr.h@{cerr.h}}\index{cerr.h@{cerr.h}!CERRSTRSIZE@{CERRSTRSIZE}}}\mbox{\label{cerr_8h_adf764cbdea00d65edcd07bb9953ad2b7a388a5ba12695376b375b9f183f219fcf}} CERRSTRSIZE&エラーメッセージ中に挿入できる文字列のサイズ \\ \hline \raisebox{\heightof{T}}[0pt][0pt]{\index{CERRMSGSIZE@{CERRMSGSIZE}!cerr.h@{cerr.h}}\index{cerr.h@{cerr.h}!CERRMSGSIZE@{CERRMSGSIZE}}}\mbox{\label{cerr_8h_adf764cbdea00d65edcd07bb9953ad2b7acab2c38c38ddd5255ef3c3bd1f7fbe1c}} CERRMSGSIZE&エラーメッセージのサイズ \\ \hline \end{DoxyEnumFields} Definition at line 38 of file cerr.\+h. \doxysubsection{Function Documentation} \mbox{\label{cerr_8h_a4d0e0d9cf66be33e95ca2c73d2ea2c63}} \index{cerr.h@{cerr.h}!addcerrlist@{addcerrlist}} \index{addcerrlist@{addcerrlist}!cerr.h@{cerr.h}} \doxysubsubsection{addcerrlist()} {\footnotesize\ttfamily void addcerrlist (\begin{DoxyParamCaption}\item[{int}]{cerrc, }\item[{\textbf{ CERR}}]{cerrv[$\,$] }\end{DoxyParamCaption})} エラーリストを作成・追加する \begin{DoxyReturn}{Returns} なし \end{DoxyReturn} \begin{DoxyParams}{Parameters} {\em cerrc} & 作成または追加するエラーの数 \\ \hline {\em cerrv} & 作成または追加するエラーの配列 \\ \hline \end{DoxyParams} Definition at line 13 of file cerr.\+c. Here is the call graph for this function\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=210pt]{cerr_8h_a4d0e0d9cf66be33e95ca2c73d2ea2c63_cgraph} \end{center} \end{figure} Here is the caller graph for this function\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{cerr_8h_a4d0e0d9cf66be33e95ca2c73d2ea2c63_icgraph} \end{center} \end{figure} \mbox{\label{cerr_8h_aad046df60c6ebe8da7e7b8e978cfc7e3}} \index{cerr.h@{cerr.h}!cerr\_init@{cerr\_init}} \index{cerr\_init@{cerr\_init}!cerr.h@{cerr.h}} \doxysubsubsection{cerr\_init()} {\footnotesize\ttfamily void cerr\+\_\+init (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} エラーを初期化する \begin{DoxyReturn}{Returns} なし \end{DoxyReturn} Definition at line 3 of file cerr.\+c. Here is the call graph for this function\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=199pt]{cerr_8h_aad046df60c6ebe8da7e7b8e978cfc7e3_cgraph} \end{center} \end{figure} Here is the caller graph for this function\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=170pt]{cerr_8h_aad046df60c6ebe8da7e7b8e978cfc7e3_icgraph} \end{center} \end{figure} \mbox{\label{cerr_8h_a65c28e59d68bcfa27d58323b2af260d6}} \index{cerr.h@{cerr.h}!freecerr@{freecerr}} \index{freecerr@{freecerr}!cerr.h@{cerr.h}} \doxysubsubsection{freecerr()} {\footnotesize\ttfamily void freecerr (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} エラーリストと現在のエラーを解放する \begin{DoxyReturn}{Returns} なし \end{DoxyReturn} Definition at line 72 of file cerr.\+c. Here is the caller graph for this function\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=343pt]{cerr_8h_a65c28e59d68bcfa27d58323b2af260d6_icgraph} \end{center} \end{figure} \mbox{\label{cerr_8h_a6c2b12e211dd31871bd504f6d4a88f20}} \index{cerr.h@{cerr.h}!getcerrmsg@{getcerrmsg}} \index{getcerrmsg@{getcerrmsg}!cerr.h@{cerr.h}} \doxysubsubsection{getcerrmsg()} {\footnotesize\ttfamily char$\ast$ getcerrmsg (\begin{DoxyParamCaption}\item[{int}]{num }\end{DoxyParamCaption})} エラー番号に対応するエラーメッセージを返す \begin{DoxyReturn}{Returns} エラーメッセージ \end{DoxyReturn} \begin{DoxyParams}{Parameters} {\em num} & エラー番号 \\ \hline \end{DoxyParams} Definition at line 58 of file cerr.\+c. Here is the caller graph for this function\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{cerr_8h_a6c2b12e211dd31871bd504f6d4a88f20_icgraph} \end{center} \end{figure} \mbox{\label{cerr_8h_a7b8f833e1dd5d5bfc817dc1ec129a485}} \index{cerr.h@{cerr.h}!printcerrlist@{printcerrlist}} \index{printcerrlist@{printcerrlist}!cerr.h@{cerr.h}} \doxysubsubsection{printcerrlist()} {\footnotesize\ttfamily void printcerrlist (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} エラーリストを表示する \begin{DoxyReturn}{Returns} なし \end{DoxyReturn} Definition at line 32 of file cerr.\+c. \mbox{\label{cerr_8h_ac878972bcd42a554769270aadf8c6bbe}} \index{cerr.h@{cerr.h}!setcerr@{setcerr}} \index{setcerr@{setcerr}!cerr.h@{cerr.h}} \doxysubsubsection{setcerr()} {\footnotesize\ttfamily void setcerr (\begin{DoxyParamCaption}\item[{int}]{num, }\item[{const char $\ast$}]{str }\end{DoxyParamCaption})} 現在のエラーを設定する \begin{DoxyReturn}{Returns} なし \end{DoxyReturn} \begin{DoxyParams}{Parameters} {\em num} & エラー番号 \\ \hline {\em $\ast$str} & エラーメッセージに含まれる文字列 \\ \hline \end{DoxyParams} Definition at line 45 of file cerr.\+c. Here is the call graph for this function\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=194pt]{cerr_8h_ac878972bcd42a554769270aadf8c6bbe_cgraph} \end{center} \end{figure} Here is the caller graph for this function\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{cerr_8h_ac878972bcd42a554769270aadf8c6bbe_icgraph} \end{center} \end{figure} \doxysubsection{Variable Documentation} \mbox{\label{cerr_8h_a253bd93a3781dbfd5cbff9d5b7097adc}} \index{cerr.h@{cerr.h}!cerr@{cerr}} \index{cerr@{cerr}!cerr.h@{cerr.h}} \doxysubsubsection{cerr} {\footnotesize\ttfamily \textbf{ CERR}$\ast$ cerr\hspace{0.3cm}{\ttfamily [extern]}} 現在のエラー Definition at line 9 of file cerr.\+c. \mbox{\label{cerr_8h_aa5b488c279e1100b1c29c6a33073d6d3}} \index{cerr.h@{cerr.h}!cerrlist@{cerrlist}} \index{cerrlist@{cerrlist}!cerr.h@{cerr.h}} \doxysubsubsection{cerrlist} {\footnotesize\ttfamily \textbf{ CERRLIST}$\ast$ cerrlist\hspace{0.3cm}{\ttfamily [extern]}} エラーリスト Definition at line 11 of file cerr.\+c.