\hypertarget{class_qore_1_1zzz8boolzzz9}{}\doxysection{Qore\+::zzz8boolzzz9 Class Reference}
\label{class_qore_1_1zzz8boolzzz9}\index{Qore::zzz8boolzzz9@{Qore::zzz8boolzzz9}}


Methods in this pseudo-\/class can be executed on \mbox{\hyperlink{basic_data_types_boolean}{booling-\/point values}}.  




Inheritance diagram for Qore\+::zzz8boolzzz9\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=140pt]{class_qore_1_1zzz8boolzzz9__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{class_qore_1_1zzz8boolzzz9_a9a417407e6d1fcd5251b5e252a947ea9}{intp}} ()
\begin{DoxyCompactList}\small\item\em Returns \mbox{\hyperlink{basic_data_types_True}{True}} because boolean values can be converted to integers (False = 0, True = 1) \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_qore_1_1zzz8boolzzz9_a96de94283a2c0e52c768b5c095806c15}{strp}} ()
\begin{DoxyCompactList}\small\item\em Returns \mbox{\hyperlink{basic_data_types_True}{True}} because boolean values can be converted to strings (False = {\ttfamily \char`\"{}0\char`\"{}}, True = {\ttfamily \char`\"{}1\char`\"{}}) \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} \mbox{\hyperlink{class_qore_1_1zzz8boolzzz9_ab1dbc0ed03411f54af90e04a8172a56a}{type\+Code}} ()
\begin{DoxyCompactList}\small\item\em Returns \mbox{\hyperlink{group__type__code__constants_ga2d3c90a766ca129ff13d243a27b41c90}{Qore\+::\+NT\+\_\+\+BOOLEAN}}. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{class_qore_1_1zzz8boolzzz9_a9b465aec73db51a1543b0cba3f69cb98}{val}} ()
\begin{DoxyCompactList}\small\item\em Returns itself. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Methods in this pseudo-\/class can be executed on \mbox{\hyperlink{basic_data_types_boolean}{booling-\/point values}}. 

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



Returns \mbox{\hyperlink{basic_data_types_True}{True}} because boolean values can be converted to integers (False = 0, True = 1) 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{basic_data_types_True}{True}} because boolean values can be converted to integers (False = 0, True = 1)
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{if} (n.intp())}
\DoxyCodeLine{    \mbox{\hyperlink{group__string__functions_ga32070517a9f8a70a32ef48f83a6f128e}{printf}}(\textcolor{stringliteral}{"{}\%y: can be converted to an integer: \%d\(\backslash\)n"{}}, n, \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}}(n));}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_qore_1_1zzz8boolzzz9_a96de94283a2c0e52c768b5c095806c15}\label{class_qore_1_1zzz8boolzzz9_a96de94283a2c0e52c768b5c095806c15}} 
\index{Qore::zzz8boolzzz9@{Qore::zzz8boolzzz9}!strp@{strp}}
\index{strp@{strp}!Qore::zzz8boolzzz9@{Qore::zzz8boolzzz9}}
\doxysubsubsection{\texorpdfstring{strp()}{strp()}}
{\footnotesize\ttfamily bool Qore\+::zzz8boolzzz9\+::strp (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \mbox{\hyperlink{basic_data_types_True}{True}} because boolean values can be converted to strings (False = {\ttfamily \char`\"{}0\char`\"{}}, True = {\ttfamily \char`\"{}1\char`\"{}}) 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{basic_data_types_True}{True}} because boolean values can be converted to strings (False = {\ttfamily \char`\"{}0\char`\"{}}, True = {\ttfamily \char`\"{}1\char`\"{}})
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{keywordflow}{if} (n.strp())}
\DoxyCodeLine{    \mbox{\hyperlink{group__string__functions_ga32070517a9f8a70a32ef48f83a6f128e}{printf}}(\textcolor{stringliteral}{"{}\%y: can be converted to a string: '\%s'\(\backslash\)n"{}}, n, \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}(n));}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_qore_1_1zzz8boolzzz9_ab1dbc0ed03411f54af90e04a8172a56a}\label{class_qore_1_1zzz8boolzzz9_ab1dbc0ed03411f54af90e04a8172a56a}} 
\index{Qore::zzz8boolzzz9@{Qore::zzz8boolzzz9}!typeCode@{typeCode}}
\index{typeCode@{typeCode}!Qore::zzz8boolzzz9@{Qore::zzz8boolzzz9}}
\doxysubsubsection{\texorpdfstring{typeCode()}{typeCode()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__type__conversion__functions_ga2de8717e92c5f97ccc6511f6062d6502}{int}} Qore\+::zzz8boolzzz9\+::type\+Code (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns \mbox{\hyperlink{group__type__code__constants_ga2d3c90a766ca129ff13d243a27b41c90}{Qore\+::\+NT\+\_\+\+BOOLEAN}}. 

\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{group__type__code__constants_ga2d3c90a766ca129ff13d243a27b41c90}{Qore\+::\+NT\+\_\+\+BOOLEAN}}
\end{DoxyReturn}
\begin{DoxyParagraph}{Code Flags\+:}
\mbox{\hyperlink{code_flags_CONSTANT}{CONSTANT}}
\end{DoxyParagraph}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}{0}
\DoxyCodeLine{switch (b.typeCode()) \{}
\DoxyCodeLine{    case NT\_BOOLEAN:}
\DoxyCodeLine{        \mbox{\hyperlink{group__string__functions_ga32070517a9f8a70a32ef48f83a6f128e}{printf}}(\textcolor{stringliteral}{"{}\%y: is a bool\(\backslash\)n"{}}, b);}
\DoxyCodeLine{        \textcolor{keywordflow}{break};}
\DoxyCodeLine{\}}

\end{DoxyCode}
 
\end{DoxyParagraph}
\mbox{\Hypertarget{class_qore_1_1zzz8boolzzz9_a9b465aec73db51a1543b0cba3f69cb98}\label{class_qore_1_1zzz8boolzzz9_a9b465aec73db51a1543b0cba3f69cb98}} 
\index{Qore::zzz8boolzzz9@{Qore::zzz8boolzzz9}!val@{val}}
\index{val@{val}!Qore::zzz8boolzzz9@{Qore::zzz8boolzzz9}}
\doxysubsubsection{\texorpdfstring{val()}{val()}}
{\footnotesize\ttfamily bool Qore\+::zzz8boolzzz9\+::val (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Returns itself. 

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

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

\end{DoxyCode}

\end{DoxyParagraph}
\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}
