\hypertarget{group__object__functions}{}\section{Object Functions}
\label{group__object__functions}\index{Object Functions@{Object Functions}}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
any \hyperlink{group__object__functions_ga4f111eda639231f3ae3d8da481575847}{Qore\+::call\+Object\+Method} (object obj, string method,...)
\begin{DoxyCompactList}\small\item\em Calls a method of an object, passing the remainder of the arguments to the function as arguments to the method. \end{DoxyCompactList}\item 
nothing \hyperlink{group__object__functions_ga861f336da074c21b56e747f402fa42e8}{Qore\+::call\+Object\+Method} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
any \hyperlink{group__object__functions_gad8ddca1773daff755355a7ac084d8a1b}{Qore\+::call\+Object\+Method\+Args} (object obj, string method, \+\_\+\+\_\+7\+\_\+ softlist varg)
\begin{DoxyCompactList}\small\item\em Calls a method of an object, using the optional third argument as the argument list to the method. \end{DoxyCompactList}\item 
nothing \hyperlink{group__object__functions_ga79bd6285b75f19740d2584018d4aee3f}{Qore\+::call\+Object\+Method\+Args} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\item 
any \hyperlink{group__object__functions_ga3d7016acaf32d36ff262c20c12608e1f}{Qore\+::call\+\_\+pseudo} (any val, string meth,...)
\begin{DoxyCompactList}\small\item\em calls a pseudo-\/method on the given value \end{DoxyCompactList}\item 
any \hyperlink{group__object__functions_ga84fc0d10bd4723814c87823e723e355d}{Qore\+::call\+\_\+pseudo\+\_\+args} (any val, string meth, \+\_\+\+\_\+7\+\_\+ softlist argv)
\begin{DoxyCompactList}\small\item\em calls a pseudo-\/method on the given value with arguments given as a list \end{DoxyCompactList}\item 
list \hyperlink{group__object__functions_ga88b51a14acbe008f2e60fca211b98a50}{Qore\+::get\+Method\+List} (object obj)
\begin{DoxyCompactList}\small\item\em Returns a list of strings of the names of the methods of the class of the object passed as a parameter. \end{DoxyCompactList}\item 
nothing \hyperlink{group__object__functions_ga380a58621dd27a188a2c8325cce1f9ff}{Qore\+::get\+Method\+List} ()
\begin{DoxyCompactList}\small\item\em This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Object functions 

\subsection{Function Documentation}
\hypertarget{group__object__functions_ga3d7016acaf32d36ff262c20c12608e1f}{}\index{Object Functions@{Object Functions}!call\+\_\+pseudo@{call\+\_\+pseudo}}
\index{call\+\_\+pseudo@{call\+\_\+pseudo}!Object Functions@{Object Functions}}
\subsubsection[{call\+\_\+pseudo}]{\setlength{\rightskip}{0pt plus 5cm}any Qore\+::call\+\_\+pseudo (
\begin{DoxyParamCaption}
\item[{any}]{val, }
\item[{string}]{meth, }
\item[{}]{...}
\end{DoxyParamCaption}
)}\label{group__object__functions_ga3d7016acaf32d36ff262c20c12608e1f}


calls a pseudo-\/method on the given value 


\begin{DoxyParams}{Parameters}
{\em val} & the value to call the pseudo-\/method on \\
\hline
{\em meth} & the string method name of the pseudo-\/method to call \\
\hline
{\em ...} & any other arguments to the method\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the return value of the pseudo-\/method
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_qore_1_1zzz8valuezzz9}{Qore\+::zzz8valuezzz9} for the class hierarchy of pseudo-\/classes
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
this function can be used for security to ensure that a given pseudo-\/method of the \hyperlink{class_qore_1_1zzz8objectzzz9}{Qore\+::zzz8objectzzz9} class is called, as by default if a method of the same name is implemented by the object's class, the class method will be called instead.
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+5 
\end{DoxySince}
\hypertarget{group__object__functions_ga84fc0d10bd4723814c87823e723e355d}{}\index{Object Functions@{Object Functions}!call\+\_\+pseudo\+\_\+args@{call\+\_\+pseudo\+\_\+args}}
\index{call\+\_\+pseudo\+\_\+args@{call\+\_\+pseudo\+\_\+args}!Object Functions@{Object Functions}}
\subsubsection[{call\+\_\+pseudo\+\_\+args}]{\setlength{\rightskip}{0pt plus 5cm}any Qore\+::call\+\_\+pseudo\+\_\+args (
\begin{DoxyParamCaption}
\item[{any}]{val, }
\item[{string}]{meth, }
\item[{\+\_\+\+\_\+7\+\_\+ softlist}]{argv}
\end{DoxyParamCaption}
)}\label{group__object__functions_ga84fc0d10bd4723814c87823e723e355d}


calls a pseudo-\/method on the given value with arguments given as a list 


\begin{DoxyParams}{Parameters}
{\em val} & the value to call the pseudo-\/method on \\
\hline
{\em meth} & the string method name of the pseudo-\/method to call \\
\hline
{\em argv} & any other arguments to the method\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the return value of the pseudo-\/method
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{class_qore_1_1zzz8valuezzz9}{Qore\+::zzz8valuezzz9} for the class hierarchy of pseudo-\/classes
\end{DoxySeeAlso}
\begin{DoxyNote}{Note}
this function can be used for security to ensure that a given pseudo-\/method of the \hyperlink{class_qore_1_1zzz8objectzzz9}{Qore\+::zzz8objectzzz9} class is called, as by default if a method of the same name is implemented by the object's class, the class method will be called instead.
\end{DoxyNote}
\begin{DoxySince}{Since}
Qore 0.\+8.\+8 
\end{DoxySince}
\hypertarget{group__object__functions_ga4f111eda639231f3ae3d8da481575847}{}\index{Object Functions@{Object Functions}!call\+Object\+Method@{call\+Object\+Method}}
\index{call\+Object\+Method@{call\+Object\+Method}!Object Functions@{Object Functions}}
\subsubsection[{call\+Object\+Method}]{\setlength{\rightskip}{0pt plus 5cm}any Qore\+::call\+Object\+Method (
\begin{DoxyParamCaption}
\item[{object}]{obj, }
\item[{string}]{method, }
\item[{}]{...}
\end{DoxyParamCaption}
)}\label{group__object__functions_ga4f111eda639231f3ae3d8da481575847}


Calls a method of an object, passing the remainder of the arguments to the function as arguments to the method. 


\begin{DoxyParams}{Parameters}
{\em obj} & the object to use for the call \\
\hline
{\em method} & the method to call \\
\hline
{\em ...} & any additional arguments to the method\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value returned by the method call
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}
my any $result = \hyperlink{group__object__functions_ga4f111eda639231f3ae3d8da481575847}{callObjectMethod}($obj, \textcolor{stringliteral}{"method"}, $arg1, $arg2);
\end{DoxyCode}

\end{DoxyParagraph}

\begin{DoxyExceptions}{Exceptions}
{\em M\+E\+T\+H\+O\+D-\/\+D\+O\+E\+S-\/\+N\+O\+T-\/\+E\+X\+I\+S\+T} & The named method does not exist in this class \\
\hline
{\em I\+L\+L\+E\+G\+A\+L-\/\+E\+X\+P\+L\+I\+C\+I\+T-\/\+M\+E\+T\+H\+O\+D-\/\+C\+A\+L\+L} & The named method may not be called explicitly \\
\hline
{\em M\+E\+T\+H\+O\+D-\/\+I\+S-\/\+P\+R\+I\+V\+A\+T\+E} & The named method is private and therefore can only be called within the class \\
\hline
{\em B\+A\+S\+E-\/\+C\+L\+A\+S\+S-\/\+I\+S-\/\+P\+R\+I\+V\+A\+T\+E} & The named method is a member of a privately inherited base class\\
\hline
\end{DoxyExceptions}
\begin{DoxyNote}{Note}
the method called could cause additional exceptions to be thrown 
\end{DoxyNote}
\hypertarget{group__object__functions_ga861f336da074c21b56e747f402fa42e8}{}\index{Object Functions@{Object Functions}!call\+Object\+Method@{call\+Object\+Method}}
\index{call\+Object\+Method@{call\+Object\+Method}!Object Functions@{Object Functions}}
\subsubsection[{call\+Object\+Method}]{\setlength{\rightskip}{0pt plus 5cm}nothing Qore\+::call\+Object\+Method (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__object__functions_ga861f336da074c21b56e747f402fa42e8}


This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\hyperlink{code_flags_RUNTIME_NOOP}{R\+U\+N\+T\+I\+M\+E\+\_\+\+N\+O\+O\+P} 
\end{DoxyParagraph}
\hypertarget{group__object__functions_gad8ddca1773daff755355a7ac084d8a1b}{}\index{Object Functions@{Object Functions}!call\+Object\+Method\+Args@{call\+Object\+Method\+Args}}
\index{call\+Object\+Method\+Args@{call\+Object\+Method\+Args}!Object Functions@{Object Functions}}
\subsubsection[{call\+Object\+Method\+Args}]{\setlength{\rightskip}{0pt plus 5cm}any Qore\+::call\+Object\+Method\+Args (
\begin{DoxyParamCaption}
\item[{object}]{obj, }
\item[{string}]{method, }
\item[{\+\_\+\+\_\+7\+\_\+ softlist}]{varg}
\end{DoxyParamCaption}
)}\label{group__object__functions_gad8ddca1773daff755355a7ac084d8a1b}


Calls a method of an object, using the optional third argument as the argument list to the method. 


\begin{DoxyParams}{Parameters}
{\em obj} & the object to use for the call \\
\hline
{\em method} & the method to call \\
\hline
{\em varg} & any additional arguments to the method\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the value returned by the method call
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}
my any $result = \hyperlink{group__object__functions_gad8ddca1773daff755355a7ac084d8a1b}{callObjectMethodArgs}($obj, \textcolor{stringliteral}{"method"}, $arglist);
\end{DoxyCode}

\end{DoxyParagraph}

\begin{DoxyExceptions}{Exceptions}
{\em M\+E\+T\+H\+O\+D-\/\+D\+O\+E\+S-\/\+N\+O\+T-\/\+E\+X\+I\+S\+T} & The named method does not exist in this class \\
\hline
{\em I\+L\+L\+E\+G\+A\+L-\/\+E\+X\+P\+L\+I\+C\+I\+T-\/\+M\+E\+T\+H\+O\+D-\/\+C\+A\+L\+L} & The named method may not be called explicitly \\
\hline
{\em M\+E\+T\+H\+O\+D-\/\+I\+S-\/\+P\+R\+I\+V\+A\+T\+E} & The named method is private and therefore can only be called within the class \\
\hline
{\em B\+A\+S\+E-\/\+C\+L\+A\+S\+S-\/\+I\+S-\/\+P\+R\+I\+V\+A\+T\+E} & The named method is a member of a privately inherited base class\\
\hline
\end{DoxyExceptions}
\begin{DoxyNote}{Note}
the method called could cause additional exceptions to be thrown 
\end{DoxyNote}
\hypertarget{group__object__functions_ga79bd6285b75f19740d2584018d4aee3f}{}\index{Object Functions@{Object Functions}!call\+Object\+Method\+Args@{call\+Object\+Method\+Args}}
\index{call\+Object\+Method\+Args@{call\+Object\+Method\+Args}!Object Functions@{Object Functions}}
\subsubsection[{call\+Object\+Method\+Args}]{\setlength{\rightskip}{0pt plus 5cm}nothing Qore\+::call\+Object\+Method\+Args (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__object__functions_ga79bd6285b75f19740d2584018d4aee3f}


This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\hyperlink{code_flags_RUNTIME_NOOP}{R\+U\+N\+T\+I\+M\+E\+\_\+\+N\+O\+O\+P} 
\end{DoxyParagraph}
\hypertarget{group__object__functions_ga88b51a14acbe008f2e60fca211b98a50}{}\index{Object Functions@{Object Functions}!get\+Method\+List@{get\+Method\+List}}
\index{get\+Method\+List@{get\+Method\+List}!Object Functions@{Object Functions}}
\subsubsection[{get\+Method\+List}]{\setlength{\rightskip}{0pt plus 5cm}list Qore\+::get\+Method\+List (
\begin{DoxyParamCaption}
\item[{object}]{obj}
\end{DoxyParamCaption}
)}\label{group__object__functions_ga88b51a14acbe008f2e60fca211b98a50}


Returns a list of strings of the names of the methods of the class of the object passed as a parameter. 

\begin{DoxyParagraph}{Code Flags\+:}
\hyperlink{code_flags_CONSTANT}{C\+O\+N\+S\+T\+A\+N\+T}
\end{DoxyParagraph}

\begin{DoxyParams}{Parameters}
{\em obj} & an object of the class to get the method list from\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
a list of strings of the names of the methods of the class of the object passed as a parameter; returns all methods in the class, both private and public but does not return inherited methods
\end{DoxyReturn}
\begin{DoxyParagraph}{Example\+:}

\begin{DoxyCode}
my list $l = \hyperlink{group__object__functions_ga88b51a14acbe008f2e60fca211b98a50}{getMethodList}($obj);
\end{DoxyCode}
 
\end{DoxyParagraph}
\hypertarget{group__object__functions_ga380a58621dd27a188a2c8325cce1f9ff}{}\index{Object Functions@{Object Functions}!get\+Method\+List@{get\+Method\+List}}
\index{get\+Method\+List@{get\+Method\+List}!Object Functions@{Object Functions}}
\subsubsection[{get\+Method\+List}]{\setlength{\rightskip}{0pt plus 5cm}nothing Qore\+::get\+Method\+List (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\label{group__object__functions_ga380a58621dd27a188a2c8325cce1f9ff}


This function variant does nothing at all; it is only included for backwards-\/compatibility with qore prior to version 0.\+8.\+0 for functions that would ignore type errors in arguments. 

\begin{DoxyParagraph}{Code Flags\+:}
\hyperlink{code_flags_RUNTIME_NOOP}{R\+U\+N\+T\+I\+M\+E\+\_\+\+N\+O\+O\+P} 
\end{DoxyParagraph}
