\hypertarget{class_json_1_1_batch_allocator}{}\doxysection{Json\+::Batch\+Allocator$<$ Allocated\+Type, object\+Per\+Allocation $>$ Class Template Reference}
\label{class_json_1_1_batch_allocator}\index{Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$@{Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$}}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_json_1_1_batch_allocator_a031e753885fcb007c20511e15f84d1a4}\label{class_json_1_1_batch_allocator_a031e753885fcb007c20511e15f84d1a4}} 
typedef Allocated\+Type {\bfseries Type}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{class_json_1_1_batch_allocator_a96aae4d9032847b074e72a0cf32bc9ea}\label{class_json_1_1_batch_allocator_a96aae4d9032847b074e72a0cf32bc9ea}} 
{\bfseries Batch\+Allocator} (unsigned int objects\+Per\+Page=255)
\item 
Allocated\+Type $\ast$ \mbox{\hyperlink{class_json_1_1_batch_allocator_a4909756c2d33bd0f07662e88e4f850dd}{allocate}} ()
\item 
void \mbox{\hyperlink{class_json_1_1_batch_allocator_aceb116aceb6bb5bbcfd05433abc04ba5}{release}} (Allocated\+Type $\ast$object)
\end{DoxyCompactItemize}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_json_1_1_batch_allocator_a4909756c2d33bd0f07662e88e4f850dd}\label{class_json_1_1_batch_allocator_a4909756c2d33bd0f07662e88e4f850dd}} 
\index{Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$@{Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$}!allocate@{allocate}}
\index{allocate@{allocate}!Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$@{Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$}}
\doxysubsubsection{\texorpdfstring{allocate()}{allocate()}}
{\footnotesize\ttfamily template$<$typename Allocated\+Type , const unsigned int object\+Per\+Allocation$>$ \\
Allocated\+Type$\ast$ \mbox{\hyperlink{class_json_1_1_batch_allocator}{Json\+::\+Batch\+Allocator}}$<$ Allocated\+Type, object\+Per\+Allocation $>$\+::allocate (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

allocate space for an array of object\+Per\+Allocation object. \begin{DoxyWarning}{Warning}
it is the responsability of the caller to call objects constructors. 
\end{DoxyWarning}
\mbox{\Hypertarget{class_json_1_1_batch_allocator_aceb116aceb6bb5bbcfd05433abc04ba5}\label{class_json_1_1_batch_allocator_aceb116aceb6bb5bbcfd05433abc04ba5}} 
\index{Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$@{Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$}!release@{release}}
\index{release@{release}!Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$@{Json::BatchAllocator$<$ AllocatedType, objectPerAllocation $>$}}
\doxysubsubsection{\texorpdfstring{release()}{release()}}
{\footnotesize\ttfamily template$<$typename Allocated\+Type , const unsigned int object\+Per\+Allocation$>$ \\
void \mbox{\hyperlink{class_json_1_1_batch_allocator}{Json\+::\+Batch\+Allocator}}$<$ Allocated\+Type, object\+Per\+Allocation $>$\+::release (\begin{DoxyParamCaption}\item[{Allocated\+Type $\ast$}]{object }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Release the object. \begin{DoxyWarning}{Warning}
it is the responsability of the caller to actually destruct the object. 
\end{DoxyWarning}


The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
src/\+V\+N\+Media\+Client\+N\+E\+T/json\+\_\+batchallocator.\+h\end{DoxyCompactItemize}
