\section{DCOPArg Class Reference}
\label{classDCOPArg}\index{DCOPArg@{DCOPArg}}
A generic DCOP argument.  


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

Collaboration diagram for DCOPArg:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=52pt]{classDCOPArg__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
template$<$class T$>$ {\bf DCOPArg} (const T \&t, const char $\ast$tname\_\-arg)
\item 
template$<$class T$>$ {\bf DCOPArg} (const T \&t)
\end{CompactItemize}
\subsection*{Public Attributes}
\begin{CompactItemize}
\item 
{\bf QByte\-Array} {\bf data}
\item 
const char $\ast$ {\bf tname}
\end{CompactItemize}


\subsection{Detailed Description}
A generic DCOP argument. 

This class allows you to use user-defined argument types for {\bf DCOPRef::call()}{\rm (p.\,\pageref{classDCOPRef_a16})} or {\bf DCOPRef::send()}{\rm (p.\,\pageref{classDCOPRef_a34})}.

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

{\bf DCOPRef}{\rm (p.\,\pageref{classDCOPRef})} 

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




Definition at line 120 of file dcopref.h.

\subsection{Constructor \& Destructor Documentation}
\index{DCOPArg@{DCOPArg}!DCOPArg@{DCOPArg}}
\index{DCOPArg@{DCOPArg}!DCOPArg@{DCOPArg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class T$>$ DCOPArg::DCOPArg (const T \& {\em t}, const char $\ast$ {\em tname\_\-arg})\hspace{0.3cm}{\tt  [inline]}}\label{classDCOPArg_a0}


Creates a DCOPArg for {\bf DCOPRef::call()}{\rm (p.\,\pageref{classDCOPRef_a16})}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em t}]the data that will be written to a {\bf QData\-Stream}. It must overload writing to a {\bf QData\-Stream} using the \char`\"{}$<$$<$\char`\"{} operator \item[{\em tname\_\-arg}]the name of the data that will appear in the function's signature \end{description}
\end{Desc}


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


Creates a DCOPArg for {\bf DCOPRef::call()}{\rm (p.\,\pageref{classDCOPRef_a16})}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em t}]the data that will be written to a {\bf QData\-Stream}. It must overload writing to a {\bf QData\-Stream} using the \char`\"{}$<$$<$\char`\"{} operator. The name of the type will be determined by calling the function dcop\-Type\-Name(T) that must be provided by you. \end{description}
\end{Desc}


Definition at line 144 of file dcopref.h.

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


The serialized data. 



Definition at line 152 of file dcopref.h.\index{DCOPArg@{DCOPArg}!tname@{tname}}
\index{tname@{tname}!DCOPArg@{DCOPArg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ {\bf DCOPArg::tname}}\label{classDCOPArg_o1}


The signature type name of the data. 



Definition at line 154 of file dcopref.h.

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