\section{TPProto::Command\-Result Class Reference}
\label{classTPProto_1_1CommandResult}\index{TPProto::CommandResult@{TPProto::CommandResult}}
\doxyref{Command}{p.}{classTPProto_1_1Command} result.  


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

Inheritance diagram for TPProto::Command\-Result::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTPProto_1_1CommandResult}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Command\-Result} ()\label{classTPProto_1_1CommandResult_f82f2f35cce7535e63351f77dc041d7a}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
virtual {\bf $\sim$Command\-Result} ()\label{classTPProto_1_1CommandResult_3ea019f89b509cb5e9b1c2a61435a49a}

\begin{CompactList}\small\item\em Required virtual destructor. \item\end{CompactList}\item 
void {\bf pack\-Buffer} ({\bf Buffer} $\ast$buf)
\begin{CompactList}\small\item\em Pack into a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, Assert(0). \item\end{CompactList}\item 
bool {\bf unpack\-Buffer} ({\bf Buffer} $\ast$buf)
\begin{CompactList}\small\item\em Unpack from a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}. \item\end{CompactList}\item 
uint32\_\-t {\bf get\-Status} ()
\begin{CompactList}\small\item\em Gets the return status of the command. \item\end{CompactList}\item 
std::string {\bf get\-Message} ()
\begin{CompactList}\small\item\em Gets the command output message string. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
\doxyref{Command}{p.}{classTPProto_1_1Command} result. 



\subsection{Member Function Documentation}
\index{TPProto::CommandResult@{TPProto::Command\-Result}!packBuffer@{packBuffer}}
\index{packBuffer@{packBuffer}!TPProto::CommandResult@{TPProto::Command\-Result}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Command\-Result::pack\-Buffer ({\bf Buffer} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1CommandResult_10ba0b7c39516baa168dc3704e41fc94}


Pack into a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, Assert(0). 

This \doxyref{Frame}{p.}{classTPProto_1_1Frame} does not get sent to the server, so this method asserts zero. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]\doxyref{Buffer}{p.}{classTPProto_1_1Buffer} to pack into, ignored. \end{description}
\end{Desc}


Implements {\bf TPProto::Frame} \doxyref{}{p.}{classTPProto_1_1Frame_67b50ee76e90385e56f04202ce1da67e}.\index{TPProto::CommandResult@{TPProto::Command\-Result}!unpackBuffer@{unpackBuffer}}
\index{unpackBuffer@{unpackBuffer}!TPProto::CommandResult@{TPProto::Command\-Result}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool TPProto::Command\-Result::unpack\-Buffer ({\bf Buffer} $\ast$ {\em buf})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1CommandResult_4b7c0d3f826128ec11baa60a6b064ce9}


Unpack from a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]The \doxyref{Buffer}{p.}{classTPProto_1_1Buffer} to unpack from. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]True if successful. \end{Desc}


Implements {\bf TPProto::Frame} \doxyref{}{p.}{classTPProto_1_1Frame_fe220a4229f471a3cc6a143f7a27e321}.\index{TPProto::CommandResult@{TPProto::Command\-Result}!getStatus@{getStatus}}
\index{getStatus@{getStatus}!TPProto::CommandResult@{TPProto::Command\-Result}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}uint32\_\-t TPProto::Command\-Result::get\-Status ()}\label{classTPProto_1_1CommandResult_4ec556382814fd44d5f2535c1589086e}


Gets the return status of the command. 

\begin{Desc}
\item[Returns:]The return status. \end{Desc}
\index{TPProto::CommandResult@{TPProto::Command\-Result}!getMessage@{getMessage}}
\index{getMessage@{getMessage}!TPProto::CommandResult@{TPProto::Command\-Result}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}std::string TPProto::Command\-Result::get\-Message ()}\label{classTPProto_1_1CommandResult_fb0dc96e8c305459f3bad137a94d13da}


Gets the command output message string. 

\begin{Desc}
\item[Returns:]The output message string. \end{Desc}


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