\section{TPProto::Cache\-None\-Method Class Reference}
\label{classTPProto_1_1CacheNoneMethod}\index{TPProto::CacheNoneMethod@{TPProto::CacheNoneMethod}}
\doxyref{Cache\-Method}{p.}{classTPProto_1_1CacheMethod} that doesn't cache anything class.  


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

Inheritance diagram for TPProto::Cache\-None\-Method::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{classTPProto_1_1CacheNoneMethod}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Cache\-None\-Method} ()\label{classTPProto_1_1CacheNoneMethod_bbc50ff582716639de7bc3098e5b87cd}

\begin{CompactList}\small\item\em Default Constructor. \item\end{CompactList}\item 
{\bf Cache\-None\-Method} (const {\bf Cache\-None\-Method} \&rhs)\label{classTPProto_1_1CacheNoneMethod_da8109608f360d36cd0f13f1335a662e}

\begin{CompactList}\small\item\em Copy Constructor. No fields to copy or zero. \item\end{CompactList}\item 
virtual {\bf $\sim$Cache\-None\-Method} ()\label{classTPProto_1_1CacheNoneMethod_b3ed3aa0ad203d2ae63e906ce1a247a8}

\begin{CompactList}\small\item\em Destructor, virtual. \item\end{CompactList}\item 
virtual void {\bf update} ()\label{classTPProto_1_1CacheNoneMethod_e6e45fb5135d93d36e49c7ee6f1670f4}

\begin{CompactList}\small\item\em Called when the client wants to update the cache. Can do nothing. \item\end{CompactList}\item 
virtual void {\bf get\-By\-Id} (uint32\_\-t id)
\begin{CompactList}\small\item\em Gets a item from the cache by Id. \item\end{CompactList}\item 
virtual void {\bf mark\-Invalid} (uint32\_\-t id)
\begin{CompactList}\small\item\em Marks an item as invalid. If a method wishes to it can refetch it from the server. The pointer to the frame should not be consided valid, and does not get deleted by the \doxyref{Cache\-Method}{p.}{classTPProto_1_1CacheMethod}. \item\end{CompactList}\item 
virtual {\bf Cache\-Method} $\ast$ {\bf clone} ()\label{classTPProto_1_1CacheNoneMethod_6c5adc775f68c1c11ad1beb79a751105}

\begin{CompactList}\small\item\em Returns an empty clone of this \doxyref{Cache\-Method}{p.}{classTPProto_1_1CacheMethod}. body should be return new Cache\-Method\-Name\-Copy\-Constructor(this);. \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void \textbf{get\-Id\-List} ()\label{classTPProto_1_1CacheNoneMethod_b06852225eccda2f32e4f845f2731051}

\item 
void \textbf{receive\-Item} ({\bf Frame} $\ast$frame)\label{classTPProto_1_1CacheNoneMethod_a248cacb72ddd75a99d5e5bda7f1c994}

\item 
void \textbf{receive\-Id\-List} ({\bf Frame} $\ast$frame)\label{classTPProto_1_1CacheNoneMethod_2fa088b4d6b1638da8a0aa92e1a55315}

\end{CompactItemize}


\subsection{Detailed Description}
\doxyref{Cache\-Method}{p.}{classTPProto_1_1CacheMethod} that doesn't cache anything class. 



\subsection{Member Function Documentation}
\index{TPProto::CacheNoneMethod@{TPProto::Cache\-None\-Method}!getById@{getById}}
\index{getById@{getById}!TPProto::CacheNoneMethod@{TPProto::Cache\-None\-Method}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Cache\-None\-Method::get\-By\-Id (uint32\_\-t {\em id})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1CacheNoneMethod_5c3df343df7533b9ec6fe5b9ffcad2da}


Gets a item from the cache by Id. 

Returned by call to \doxyref{Cache::new\-Item}{p.}{classTPProto_1_1Cache_202281d5db63116a41517d794f98c7df} or \doxyref{Cache::existing\-Item}{p.}{classTPProto_1_1Cache_4047c19364373975e47acaaea50665da}

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]The Id of the item to get. \end{description}
\end{Desc}


Implements {\bf TPProto::Cache\-Method} \doxyref{}{p.}{classTPProto_1_1CacheMethod_70241b52891e51e04e27763b08c51b77}.\index{TPProto::CacheNoneMethod@{TPProto::Cache\-None\-Method}!markInvalid@{markInvalid}}
\index{markInvalid@{markInvalid}!TPProto::CacheNoneMethod@{TPProto::Cache\-None\-Method}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TPProto::Cache\-None\-Method::mark\-Invalid (uint32\_\-t {\em id})\hspace{0.3cm}{\tt  [virtual]}}\label{classTPProto_1_1CacheNoneMethod_4ceddfa22902b1d48d5e3c365049056d}


Marks an item as invalid. If a method wishes to it can refetch it from the server. The pointer to the frame should not be consided valid, and does not get deleted by the \doxyref{Cache\-Method}{p.}{classTPProto_1_1CacheMethod}. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em id}]The id of the item that is invalid. \end{description}
\end{Desc}


Implements {\bf TPProto::Cache\-Method} \doxyref{}{p.}{classTPProto_1_1CacheMethod_f0740410842894f1c5f3f35068cd8275}.

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