\section{TPProto::Get\-By\-Id Class Reference}
\label{classTPProto_1_1GetById}\index{TPProto::GetById@{TPProto::GetById}}
A \doxyref{Frame}{p.}{classTPProto_1_1Frame} to get Properties from the server.  


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

Inheritance diagram for TPProto::Get\-By\-Id::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=12cm]{classTPProto_1_1GetById}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Get\-By\-Id} ()\label{classTPProto_1_1GetById_b28eeee65d21214253b310db31397e06}

\begin{CompactList}\small\item\em Default constructor. \item\end{CompactList}\item 
virtual {\bf $\sim$Get\-By\-Id} ()\label{classTPProto_1_1GetById_a60ee8cf6ea9def06366a19b34f0891a}

\begin{CompactList}\small\item\em Destructor. \item\end{CompactList}\item 
void {\bf pack\-Buffer} ({\bf Buffer} $\ast$buf)
\begin{CompactList}\small\item\em Pack this \doxyref{Get\-By\-Id}{p.}{classTPProto_1_1GetById} \doxyref{Frame}{p.}{classTPProto_1_1Frame} into a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}. \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}, always false. \item\end{CompactList}\item 
void {\bf add\-Id} (unsigned int id)
\begin{CompactList}\small\item\em Adds a single id to get. \item\end{CompactList}\item 
void {\bf add\-Ids} (std::set$<$ unsigned int $>$ ids)
\begin{CompactList}\small\item\em Adds a set of ids to the set to request. \item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
A \doxyref{Frame}{p.}{classTPProto_1_1Frame} to get Properties from the server. 



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


Pack this \doxyref{Get\-By\-Id}{p.}{classTPProto_1_1GetById} \doxyref{Frame}{p.}{classTPProto_1_1Frame} into a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]The \doxyref{Buffer}{p.}{classTPProto_1_1Buffer} to pack into. \end{description}
\end{Desc}


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


Unpack from a \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, always false. 

Since \doxyref{Get\-By\-Id}{p.}{classTPProto_1_1GetById} frames are only sent to the server, we should not receive them and therefore this method always returns false. Do not override. \begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em buf}]The \doxyref{Buffer}{p.}{classTPProto_1_1Buffer}, ignored. \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]False always. \end{Desc}


Implements {\bf TPProto::Frame} \doxyref{}{p.}{classTPProto_1_1Frame_fe220a4229f471a3cc6a143f7a27e321}.\index{TPProto::GetById@{TPProto::Get\-By\-Id}!addId@{addId}}
\index{addId@{addId}!TPProto::GetById@{TPProto::Get\-By\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Get\-By\-Id::add\-Id (unsigned int {\em id})}\label{classTPProto_1_1GetById_835ef14832593ef9c3ea50540357d7a6}


Adds a single id to get. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]The id to get. \end{description}
\end{Desc}
\index{TPProto::GetById@{TPProto::Get\-By\-Id}!addIds@{addIds}}
\index{addIds@{addIds}!TPProto::GetById@{TPProto::Get\-By\-Id}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Get\-By\-Id::add\-Ids (std::set$<$ unsigned int $>$ {\em ids})}\label{classTPProto_1_1GetById_d1f9868998790eee6e419a7e9031d679}


Adds a set of ids to the set to request. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em ids}]The set of ids to get. \end{description}
\end{Desc}


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