\section{DCOPReply Class Reference}
\label{classDCOPReply}\index{DCOPReply@{DCOPReply}}
Represents the return value of a {\bf DCOPRef}{\rm (p.\,\pageref{classDCOPRef})}:call() or {\bf DCOPRef}{\rm (p.\,\pageref{classDCOPRef})}:send() invocation.  


{\tt \#include $<$dcopref.h$>$}

Collaboration diagram for DCOPReply:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=89pt]{classDCOPReply__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
template$<$class T$>$ {\bf operator T} ()
\item 
template$<$class T$>$ bool {\bf get} (T \&t, const char $\ast$tname)
\item 
template$<$class T$>$ bool {\bf get} (T \&t)
\item 
bool {\bf is\-Valid} () const 
\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
{\bf QByte\-Array} {\bf data}
\item 
{\bf QCString} {\bf type}
\end{CompactItemize}


\subsection{Detailed Description}
Represents the return value of a {\bf DCOPRef}{\rm (p.\,\pageref{classDCOPRef})}:call() or {\bf DCOPRef}{\rm (p.\,\pageref{classDCOPRef})}:send() invocation. 

\begin{Desc}
\item[See also:]{\bf DCOPRef}{\rm (p.\,\pageref{classDCOPRef})} 

{\bf DCOPRef::call()}{\rm (p.\,\pageref{classDCOPRef_a16})} 

{\bf DCOPArg}{\rm (p.\,\pageref{classDCOPArg})} \end{Desc}
\begin{Desc}
\item[Since:]3.1 \end{Desc}




Definition at line 44 of file dcopref.h.

\subsection{Member Function Documentation}
\index{DCOPReply@{DCOPReply}!operator T@{operator T}}
\index{operator T@{operator T}!DCOPReply@{DCOPReply}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ DCOPReply::operator T ()\hspace{0.3cm}{\tt  [inline]}}\label{classDCOPReply_a0}


Casts the value to the type {\tt T}. 

Requires that the type {\tt T} suppports {\bf QData\-Stream} deserialisation and has a function dcop\-Type\-Name(T). This is true for most basic types. 

Definition at line 54 of file dcopref.h.\index{DCOPReply@{DCOPReply}!get@{get}}
\index{get@{get}!DCOPReply@{DCOPReply}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ bool DCOPReply::get (T \& {\em t}, const char $\ast$ {\em tname})\hspace{0.3cm}{\tt  [inline]}}\label{classDCOPReply_a1}


Retrieves the value from the type {\tt T}. 

Requires that the type {\tt T} suppports {\bf QData\-Stream} deserialisation. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em t}]the type will be written here, if successful \item[{\em tname}]the signature type name \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise \end{Desc}


Definition at line 70 of file dcopref.h.\index{DCOPReply@{DCOPReply}!get@{get}}
\index{get@{get}!DCOPReply@{DCOPReply}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ bool DCOPReply::get (T \& {\em t})\hspace{0.3cm}{\tt  [inline]}}\label{classDCOPReply_a2}


Retrieves the value from the type {\tt T}. 

Requires that the type {\tt T} suppports {\bf QData\-Stream} deserialisation and has a function dcop\-Type\-Name(T). This is true for most basic types. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em t}]the type will be written here, if successful \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if successful, false otherwise \end{Desc}


Definition at line 86 of file dcopref.h.\index{DCOPReply@{DCOPReply}!isValid@{isValid}}
\index{isValid@{isValid}!DCOPReply@{DCOPReply}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool DCOPReply::is\-Valid () const\hspace{0.3cm}{\tt  [inline]}}\label{classDCOPReply_a3}


Checks whether the type is valid. 

\begin{Desc}
\item[Returns:]true if valid, false otherwise \end{Desc}


Definition at line 99 of file dcopref.h.

\subsection{Member Data Documentation}
\index{DCOPReply@{DCOPReply}!data@{data}}
\index{data@{data}!DCOPReply@{DCOPReply}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QByte\-Array} {\bf DCOPReply::data}}\label{classDCOPReply_o0}


The serialized data. 



Definition at line 102 of file dcopref.h.\index{DCOPReply@{DCOPReply}!type@{type}}
\index{type@{type}!DCOPReply@{DCOPReply}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QCString} {\bf DCOPReply::type}}\label{classDCOPReply_o1}


The name of the type, or 0 if unknown. 



Definition at line 104 of file dcopref.h.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
dcopref.h\item 
dcopref.cpp\end{CompactItemize}
