\hypertarget{class_ogre_1_1_embedded_zip_archive_factory}{}\section{Ogre\+:\+:Embedded\+Zip\+Archive\+Factory Class Reference}
\label{class_ogre_1_1_embedded_zip_archive_factory}\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}


Specialisation of \hyperlink{class_ogre_1_1_zip_archive_factory}{Zip\+Archive\+Factory} for embedded Zip files.  




{\ttfamily \#include $<$Ogre\+Zip.\+h$>$}



Inheritance diagram for Ogre\+:\+:Embedded\+Zip\+Archive\+Factory\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=332pt]{class_ogre_1_1_embedded_zip_archive_factory__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef bool($\ast$ \hyperlink{class_ogre_1_1_embedded_zip_archive_factory_a9ef899ac1ebf7ab54f115c8ced9ff433}{Decrypt\+Embedded\+Zip\+File\+Func}) (size\+\_\+t pos, void $\ast$buf, size\+\_\+t len)
\begin{DoxyCompactList}\small\item\em a function type to decrypt embedded zip file \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_a5af58e0e7685eddfd25f2c241ccc1a5c}{Embedded\+Zip\+Archive\+Factory} ()
\item 
virtual \hyperlink{class_ogre_1_1_embedded_zip_archive_factory_ab2ec7ad5b0989ef7088dc77ef9b7351f}{$\sim$\+Embedded\+Zip\+Archive\+Factory} ()
\item 
virtual \hyperlink{class_ogre_1_1_archive}{Archive} $\ast$ \hyperlink{class_ogre_1_1_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}{create\+Instance} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name) \hyperlink{_ogre_platform_8h_a11162eebee0099930c48076229cc6f04}{O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD}
\begin{DoxyCompactList}\small\item\em Creates a new object. \end{DoxyCompactList}\item 
\hyperlink{class_ogre_1_1_archive}{Archive} $\ast$ \hyperlink{class_ogre_1_1_embedded_zip_archive_factory_aaae296fd892af01d1505ba36bedb0848}{create\+Instance} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, bool read\+Only)
\begin{DoxyCompactList}\small\item\em Creates a new object. \end{DoxyCompactList}\item 
void \hyperlink{class_ogre_1_1_zip_archive_factory_a84f0bbc7ca53b6e525a9a774a03341fe}{destroy\+Instance} (\hyperlink{class_ogre_1_1_archive}{Archive} $\ast$ptr)
\begin{DoxyCompactList}\small\item\em Destroys an object which was created by this factory. \end{DoxyCompactList}\item 
const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \& \hyperlink{class_ogre_1_1_embedded_zip_archive_factory_aad4203d69a8382413bd74530318edee3}{get\+Type} (void) const
\begin{DoxyCompactList}\small\item\em Returns the factory type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \hyperlink{class_ogre_1_1_embedded_zip_archive_factory_aa2c388afbb8ff7dfb301bbe95495ed6b}{add\+Embbedded\+File} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name, const \hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8} $\ast$file\+Data, size\+\_\+t file\+Size, \hyperlink{class_ogre_1_1_embedded_zip_archive_factory_a9ef899ac1ebf7ab54f115c8ced9ff433}{Decrypt\+Embedded\+Zip\+File\+Func} decrypt\+Func)
\begin{DoxyCompactList}\small\item\em Add an embedded file to the embedded file list. \end{DoxyCompactList}\item 
static void \hyperlink{class_ogre_1_1_embedded_zip_archive_factory_a2ce05ec837366adb88a8b9f573085478}{remove\+Embbedded\+File} (const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&name)
\begin{DoxyCompactList}\small\item\em Remove an embedded file to the embedded file list. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Specialisation of \hyperlink{class_ogre_1_1_zip_archive_factory}{Zip\+Archive\+Factory} for embedded Zip files. 



\subsection{Member Typedef Documentation}
\mbox{\Hypertarget{class_ogre_1_1_embedded_zip_archive_factory_a9ef899ac1ebf7ab54f115c8ced9ff433}\label{class_ogre_1_1_embedded_zip_archive_factory_a9ef899ac1ebf7ab54f115c8ced9ff433}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!Decrypt\+Embedded\+Zip\+File\+Func@{Decrypt\+Embedded\+Zip\+File\+Func}}
\index{Decrypt\+Embedded\+Zip\+File\+Func@{Decrypt\+Embedded\+Zip\+File\+Func}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{Decrypt\+Embedded\+Zip\+File\+Func}{DecryptEmbeddedZipFileFunc}}
{\footnotesize\ttfamily typedef bool($\ast$ Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::\+Decrypt\+Embedded\+Zip\+File\+Func) (size\+\_\+t pos, void $\ast$buf, size\+\_\+t len)}



a function type to decrypt embedded zip file 


\begin{DoxyParams}{Parameters}
{\em pos} & pos in file \\
\hline
{\em buf} & current buffer to decrypt \\
\hline
{\em len} & -\/ length of buffer \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
success 
\end{DoxyReturn}


\subsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_embedded_zip_archive_factory_a5af58e0e7685eddfd25f2c241ccc1a5c}\label{class_ogre_1_1_embedded_zip_archive_factory_a5af58e0e7685eddfd25f2c241ccc1a5c}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!Embedded\+Zip\+Archive\+Factory@{Embedded\+Zip\+Archive\+Factory}}
\index{Embedded\+Zip\+Archive\+Factory@{Embedded\+Zip\+Archive\+Factory}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{Embedded\+Zip\+Archive\+Factory()}{EmbeddedZipArchiveFactory()}}
{\footnotesize\ttfamily Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::\+Embedded\+Zip\+Archive\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_embedded_zip_archive_factory_ab2ec7ad5b0989ef7088dc77ef9b7351f}\label{class_ogre_1_1_embedded_zip_archive_factory_ab2ec7ad5b0989ef7088dc77ef9b7351f}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!````~Embedded\+Zip\+Archive\+Factory@{$\sim$\+Embedded\+Zip\+Archive\+Factory}}
\index{````~Embedded\+Zip\+Archive\+Factory@{$\sim$\+Embedded\+Zip\+Archive\+Factory}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{$\sim$\+Embedded\+Zip\+Archive\+Factory()}{~EmbeddedZipArchiveFactory()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::$\sim$\+Embedded\+Zip\+Archive\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_embedded_zip_archive_factory_aad4203d69a8382413bd74530318edee3}\label{class_ogre_1_1_embedded_zip_archive_factory_aad4203d69a8382413bd74530318edee3}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!get\+Type@{get\+Type}}
\index{get\+Type@{get\+Type}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{get\+Type()}{getType()}}
{\footnotesize\ttfamily const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}\& Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::get\+Type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [virtual]}}



Returns the factory type. 

\begin{DoxyReturn}{Returns}
The factory type. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_ogre_1_1_zip_archive_factory_a41f9f9e4204c07c26d4d685d1d41a18c}{Ogre\+::\+Zip\+Archive\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_embedded_zip_archive_factory_aaae296fd892af01d1505ba36bedb0848}\label{class_ogre_1_1_embedded_zip_archive_factory_aaae296fd892af01d1505ba36bedb0848}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!create\+Instance@{create\+Instance}}
\index{create\+Instance@{create\+Instance}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{create\+Instance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \hyperlink{class_ogre_1_1_archive}{Archive}$\ast$ Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::create\+Instance (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{bool}]{read\+Only }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



Creates a new object. 


\begin{DoxyParams}{Parameters}
{\em name} & Name of the object to create \\
\hline
{\em read\+Only} & whether the \hyperlink{class_ogre_1_1_archive}{Archive} is read only \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An object created by the factory. The type of the object depends on the factory. 
\end{DoxyReturn}


Reimplemented from \hyperlink{class_ogre_1_1_zip_archive_factory_a51a7ddb1aefbe955cfc3aa466549876c}{Ogre\+::\+Zip\+Archive\+Factory}.

\mbox{\Hypertarget{class_ogre_1_1_embedded_zip_archive_factory_aa2c388afbb8ff7dfb301bbe95495ed6b}\label{class_ogre_1_1_embedded_zip_archive_factory_aa2c388afbb8ff7dfb301bbe95495ed6b}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!add\+Embbedded\+File@{add\+Embbedded\+File}}
\index{add\+Embbedded\+File@{add\+Embbedded\+File}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{add\+Embbedded\+File()}{addEmbbeddedFile()}}
{\footnotesize\ttfamily static void Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::add\+Embbedded\+File (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name,  }\item[{const \hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8} $\ast$}]{file\+Data,  }\item[{size\+\_\+t}]{file\+Size,  }\item[{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_a9ef899ac1ebf7ab54f115c8ced9ff433}{Decrypt\+Embedded\+Zip\+File\+Func}}]{decrypt\+Func }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Add an embedded file to the embedded file list. 

\mbox{\Hypertarget{class_ogre_1_1_embedded_zip_archive_factory_a2ce05ec837366adb88a8b9f573085478}\label{class_ogre_1_1_embedded_zip_archive_factory_a2ce05ec837366adb88a8b9f573085478}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!remove\+Embbedded\+File@{remove\+Embbedded\+File}}
\index{remove\+Embbedded\+File@{remove\+Embbedded\+File}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{remove\+Embbedded\+File()}{removeEmbbeddedFile()}}
{\footnotesize\ttfamily static void Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::remove\+Embbedded\+File (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Remove an embedded file to the embedded file list. 

\mbox{\Hypertarget{class_ogre_1_1_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}\label{class_ogre_1_1_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!create\+Instance@{create\+Instance}}
\index{create\+Instance@{create\+Instance}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{create\+Instance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily virtual \hyperlink{class_ogre_1_1_archive}{Archive}$\ast$ Ogre\+::\+Archive\+Factory\+::create\+Instance (\begin{DoxyParamCaption}\item[{const \hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String} \&}]{name }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Creates a new object. 


\begin{DoxyParams}{Parameters}
{\em name} & Name of the object to create \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
An object created by the factory. The type of the object depends on the factory. 
\end{DoxyReturn}


Implements \hyperlink{class_ogre_1_1_factory_obj_a0a4a382d89b01a0c24e27b02af71153a}{Ogre\+::\+Factory\+Obj$<$ Archive $>$}.



References Ogre\+::\+Archive\+Factory\+::create\+Instance().



Referenced by Ogre\+::\+Archive\+Factory\+::create\+Instance().

\mbox{\Hypertarget{class_ogre_1_1_zip_archive_factory_a84f0bbc7ca53b6e525a9a774a03341fe}\label{class_ogre_1_1_zip_archive_factory_a84f0bbc7ca53b6e525a9a774a03341fe}} 
\index{Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}!destroy\+Instance@{destroy\+Instance}}
\index{destroy\+Instance@{destroy\+Instance}!Ogre\+::\+Embedded\+Zip\+Archive\+Factory@{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}
\subsubsection{\texorpdfstring{destroy\+Instance()}{destroyInstance()}}
{\footnotesize\ttfamily void Ogre\+::\+Zip\+Archive\+Factory\+::destroy\+Instance (\begin{DoxyParamCaption}\item[{\hyperlink{class_ogre_1_1_archive}{Archive} $\ast$}]{ptr }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}, {\ttfamily [inherited]}}



Destroys an object which was created by this factory. 


\begin{DoxyParams}{Parameters}
{\em ptr} & Pointer to the object to destroy \\
\hline
\end{DoxyParams}


Implements \hyperlink{class_ogre_1_1_factory_obj_adb934021afa323e7867bd3b52dffe1cc}{Ogre\+::\+Factory\+Obj$<$ Archive $>$}.



References O\+G\+R\+E\+\_\+\+D\+E\+L\+E\+TE.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{_ogre_zip_8h}{Ogre\+Zip.\+h}\end{DoxyCompactItemize}
