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


Specialisation of \mbox{\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}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef bool($\ast$ \mbox{\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}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_a5af58e0e7685eddfd25f2c241ccc1a5c}{Embedded\+Zip\+Archive\+Factory}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_ab2ec7ad5b0989ef7088dc77ef9b7351f}{$\sim$\+Embedded\+Zip\+Archive\+Factory}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}{create\+Instance}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) \mbox{\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 
virtual \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}{create\+Instance}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name) \mbox{\hyperlink{_ogre_platform_8h_a11162eebee0099930c48076229cc6f04}{O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD}}
\item 
\mbox{\hyperlink{class_ogre_1_1_archive}{Archive}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_aaae296fd892af01d1505ba36bedb0848}{create\+Instance}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool read\+Only)
\begin{DoxyCompactList}\small\item\em Creates a new object. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_ac066010038914bc460a192d7d1ce9ce3}{create\+Instance}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, bool read\+Only) \mbox{\hyperlink{_ogre_platform_8h_a11162eebee0099930c48076229cc6f04}{O\+G\+R\+E\+\_\+\+N\+O\+D\+I\+S\+C\+A\+RD}}=0
\begin{DoxyCompactList}\small\item\em Creates a new object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{class_ogre_1_1_zip_archive_factory_a84f0bbc7ca53b6e525a9a774a03341fe}{destroy\+Instance}} (\mbox{\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 \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \& \mbox{\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}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void \mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_aa2c388afbb8ff7dfb301bbe95495ed6b}{add\+Embbedded\+File}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name, const \mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} $\ast$file\+Data, size\+\_\+t file\+Size, \mbox{\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 \mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_a2ce05ec837366adb88a8b9f573085478}{remove\+Embbedded\+File}} (const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&name)
\begin{DoxyCompactList}\small\item\em Remove an embedded file to the embedded file list. \end{DoxyCompactList}\end{DoxyCompactItemize}


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

\doxysubsection{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::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!DecryptEmbeddedZipFileFunc@{DecryptEmbeddedZipFileFunc}}
\index{DecryptEmbeddedZipFileFunc@{DecryptEmbeddedZipFileFunc}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{DecryptEmbeddedZipFileFunc}{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}


\doxysubsection{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::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!EmbeddedZipArchiveFactory@{EmbeddedZipArchiveFactory}}
\index{EmbeddedZipArchiveFactory@{EmbeddedZipArchiveFactory}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{EmbeddedZipArchiveFactory()}{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::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!````~EmbeddedZipArchiveFactory@{$\sim$EmbeddedZipArchiveFactory}}
\index{````~EmbeddedZipArchiveFactory@{$\sim$EmbeddedZipArchiveFactory}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{$\sim$EmbeddedZipArchiveFactory()}{~EmbeddedZipArchiveFactory()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::$\sim$\+Embedded\+Zip\+Archive\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}}



\doxysubsection{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::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!getType@{getType}}
\index{getType@{getType}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{getType()}{getType()}}
{\footnotesize\ttfamily const \mbox{\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 \mbox{\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::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{createInstance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}}$\ast$ Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::create\+Instance (\begin{DoxyParamCaption}\item[{const \mbox{\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 \mbox{\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 \mbox{\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::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!addEmbbeddedFile@{addEmbbeddedFile}}
\index{addEmbbeddedFile@{addEmbbeddedFile}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{addEmbbeddedFile()}{addEmbbeddedFile()}}
{\footnotesize\ttfamily static void Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::add\+Embbedded\+File (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}} \&}]{name,  }\item[{const \mbox{\hyperlink{namespace_ogre_a119732ea9d1e88bbddc47b4ac0fa21cb}{uint8}} $\ast$}]{file\+Data,  }\item[{size\+\_\+t}]{file\+Size,  }\item[{\mbox{\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::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!removeEmbbeddedFile@{removeEmbbeddedFile}}
\index{removeEmbbeddedFile@{removeEmbbeddedFile}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{removeEmbbeddedFile()}{removeEmbbeddedFile()}}
{\footnotesize\ttfamily static void Ogre\+::\+Embedded\+Zip\+Archive\+Factory\+::remove\+Embbedded\+File (\begin{DoxyParamCaption}\item[{const \mbox{\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_embedded_zip_archive_factory_ac066010038914bc460a192d7d1ce9ce3}\label{class_ogre_1_1_embedded_zip_archive_factory_ac066010038914bc460a192d7d1ce9ce3}} 
\index{Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{createInstance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}}$\ast$ Ogre\+::\+Archive\+Factory\+::create\+Instance}



Creates a new object. 


\begin{DoxyParams}{Parameters}
{\em name} & Name of the object to create \\
\hline
{\em read\+Only} & whether the \mbox{\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}
\mbox{\Hypertarget{class_ogre_1_1_embedded_zip_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}\label{class_ogre_1_1_embedded_zip_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}} 
\index{Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{createInstance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}}$\ast$ Ogre\+::\+Archive\+Factory\+::create\+Instance\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{class_ogre_1_1_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}\label{class_ogre_1_1_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}} 
\index{Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{createInstance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
{\footnotesize\ttfamily virtual \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}}$\ast$ Ogre\+::\+Archive\+Factory\+::create\+Instance (\begin{DoxyParamCaption}\item[{const \mbox{\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 \mbox{\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::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}!destroyInstance@{destroyInstance}}
\index{destroyInstance@{destroyInstance}!Ogre::EmbeddedZipArchiveFactory@{Ogre::EmbeddedZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{destroyInstance()}{destroyInstance()}}
{\footnotesize\ttfamily void Ogre\+::\+Zip\+Archive\+Factory\+::destroy\+Instance (\begin{DoxyParamCaption}\item[{\mbox{\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 \mbox{\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 
\mbox{\hyperlink{_ogre_zip_8h}{Ogre\+Zip.\+h}}\end{DoxyCompactItemize}
