\hypertarget{class_qore_1_1zzz8callrefzzz9}{}\doxysection{Qore\+::zzz8callrefzzz9 Class Reference}
\label{class_qore_1_1zzz8callrefzzz9}\index{Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}}


Methods in this pseudo-\/class can be executed on \mbox{\hyperlink{expressions_call_reference}{call references}}.  




{\ttfamily \#include $<$Pseudo\+\_\+\+QC\+\_\+\+Callref.\+dox.\+h$>$}



Inheritance diagram for Qore\+::zzz8callrefzzz9\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=148pt]{class_qore_1_1zzz8callrefzzz9__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{class_qore_1_1zzz8callrefzzz9_a51595cfbda83bbed8fe486c744728c8b}{callp}} ()
\begin{DoxyCompactList}\small\item\em Returns \mbox{\hyperlink{basic_data_types_True}{True}} because this is a callable type. \end{DoxyCompactList}\item 
auto \mbox{\hyperlink{class_qore_1_1zzz8callrefzzz9_a4aed92bb45469836693cf23a6f2fd02c}{exec}} (...)
\begin{DoxyCompactList}\small\item\em Evaluates the code with the arguments given and returns the result. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8callrefzzz9_a97100bbe7d1e17609fabaeb48ca048c2}{type\+Code}} ()
\begin{DoxyCompactList}\small\item\em Returns \mbox{\hyperlink{group__type__code__constants_gaa27f1bed5a2cc4ef4e62c7c2897f564d}{Qore\+::\+NT\+\_\+\+CALLREF}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_qore_1_1zzz8callrefzzz9_ab9a08ccf2e9011a241d1de53c2773ce5}{val}} ()
\begin{DoxyCompactList}\small\item\em Returns \mbox{\hyperlink{basic_data_types_True}{True}}. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Methods in this pseudo-\/class can be executed on \mbox{\hyperlink{expressions_call_reference}{call references}}. 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_qore_1_1zzz8callrefzzz9_a51595cfbda83bbed8fe486c744728c8b}\label{class_qore_1_1zzz8callrefzzz9_a51595cfbda83bbed8fe486c744728c8b}} 
\index{Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}!callp@{callp}}
\index{callp@{callp}!Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}}
\doxysubsubsection{\texorpdfstring{callp()}{callp()}}
{\footnotesize\ttfamily bool Qore\+::zzz8callrefzzz9\+::callp (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \mbox{\hyperlink{basic_data_types_True}{True}} because this is a callable type. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{if} (n.callp())}
\DoxyCodeLine{    printf(\textcolor{stringliteral}{"{}the result of calling the value: \%y\(\backslash\)n"{}}, n());}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{basic_data_types_True}{True}} because this is a callable type 
\end{DoxyReturn}
\mbox{\Hypertarget{class_qore_1_1zzz8callrefzzz9_a4aed92bb45469836693cf23a6f2fd02c}\label{class_qore_1_1zzz8callrefzzz9_a4aed92bb45469836693cf23a6f2fd02c}} 
\index{Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}!exec@{exec}}
\index{exec@{exec}!Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}}
\doxysubsubsection{\texorpdfstring{exec()}{exec()}}
{\footnotesize\ttfamily auto Qore\+::zzz8callrefzzz9\+::exec (\begin{DoxyParamCaption}\item[{}]{... }\end{DoxyParamCaption})}



Evaluates the code with the arguments given and returns the result. 


\begin{DoxyParams}{Parameters}
{\em ...} & the arguments to the code to be called\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the return value of the code called 
\end{DoxyReturn}
\mbox{\Hypertarget{class_qore_1_1zzz8callrefzzz9_a97100bbe7d1e17609fabaeb48ca048c2}\label{class_qore_1_1zzz8callrefzzz9_a97100bbe7d1e17609fabaeb48ca048c2}} 
\index{Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}!typeCode@{typeCode}}
\index{typeCode@{typeCode}!Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}}
\doxysubsubsection{\texorpdfstring{typeCode()}{typeCode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8callrefzzz9\+::type\+Code (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \mbox{\hyperlink{group__type__code__constants_gaa27f1bed5a2cc4ef4e62c7c2897f564d}{Qore\+::\+NT\+\_\+\+CALLREF}}. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{switch (c.typeCode()) \{}
\DoxyCodeLine{    case NT\_CALLREF:}
\DoxyCodeLine{        printf(\textcolor{stringliteral}{"{}\%y: is a call reference\(\backslash\)n"{}}, c);}
\DoxyCodeLine{        \textcolor{keywordflow}{break};}
\DoxyCodeLine{\}}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__type__code__constants_gaa27f1bed5a2cc4ef4e62c7c2897f564d}{Qore\+::\+NT\+\_\+\+CALLREF}} 
\end{DoxyReturn}
\mbox{\Hypertarget{class_qore_1_1zzz8callrefzzz9_ab9a08ccf2e9011a241d1de53c2773ce5}\label{class_qore_1_1zzz8callrefzzz9_ab9a08ccf2e9011a241d1de53c2773ce5}} 
\index{Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}!val@{val}}
\index{val@{val}!Qore::zzz8callrefzzz9@{Qore::zzz8callrefzzz9}}
\doxysubsubsection{\texorpdfstring{val()}{val()}}
{\footnotesize\ttfamily bool Qore\+::zzz8callrefzzz9\+::val (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \mbox{\hyperlink{basic_data_types_True}{True}}. 

\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{bool b = c.val();}

\end{DoxyCode}

\end{DoxyParagraph}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{basic_data_types_True}{True}}
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}

\begin{DoxyItemize}
\item \mbox{\hyperlink{parse_directives_perl-bool-eval}{\%perl-\/bool-\/eval}}
\item \mbox{\hyperlink{parse_directives_strict-bool-eval}{\%strict-\/bool-\/eval}} 
\end{DoxyItemize}
\end{DoxySeeAlso}
