\hypertarget{class_ogre_1_1_zip_archive_factory}{}\doxysection{Ogre\+::Zip\+Archive\+Factory Class Reference}
\label{class_ogre_1_1_zip_archive_factory}\index{Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}}


Specialisation to allow reading of files from a zip format source archive.  




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



Inheritance diagram for Ogre\+::Zip\+Archive\+Factory\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=332pt]{class_ogre_1_1_zip_archive_factory__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_zip_archive_factory_ab1151aa6471ec8ff2be0f6555be51c8a}{$\sim$\+Zip\+Archive\+Factory}} ()
\item 
virtual \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_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 
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 
\mbox{\hyperlink{class_ogre_1_1_archive}{Archive}} $\ast$ \mbox{\hyperlink{class_ogre_1_1_zip_archive_factory_a51a7ddb1aefbe955cfc3aa466549876c}{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_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_zip_archive_factory_a41f9f9e4204c07c26d4d685d1d41a18c}{get\+Type}} (void) const
\begin{DoxyCompactList}\small\item\em Returns the factory type. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Specialisation to allow reading of files from a zip format source archive. 

This archive format supports all archives compressed in the standard zip format, including iD pk3 files. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_zip_archive_factory_ab1151aa6471ec8ff2be0f6555be51c8a}\label{class_ogre_1_1_zip_archive_factory_ab1151aa6471ec8ff2be0f6555be51c8a}} 
\index{Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}!````~ZipArchiveFactory@{$\sim$ZipArchiveFactory}}
\index{````~ZipArchiveFactory@{$\sim$ZipArchiveFactory}!Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{$\sim$ZipArchiveFactory()}{~ZipArchiveFactory()}}
{\footnotesize\ttfamily virtual Ogre\+::\+Zip\+Archive\+Factory\+::$\sim$\+Zip\+Archive\+Factory (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_ogre_1_1_zip_archive_factory_a41f9f9e4204c07c26d4d685d1d41a18c}\label{class_ogre_1_1_zip_archive_factory_a41f9f9e4204c07c26d4d685d1d41a18c}} 
\index{Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}!getType@{getType}}
\index{getType@{getType}!Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{getType()}{getType()}}
{\footnotesize\ttfamily const \mbox{\hyperlink{namespace_ogre_af73bbdc8bed8a3e6fcd56bb8fa188c45}{String}}\& Ogre\+::\+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}


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



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_aad4203d69a8382413bd74530318edee3}{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}.

\mbox{\Hypertarget{class_ogre_1_1_zip_archive_factory_a51a7ddb1aefbe955cfc3aa466549876c}\label{class_ogre_1_1_zip_archive_factory_a51a7ddb1aefbe955cfc3aa466549876c}} 
\index{Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}}
\doxysubsubsection{\texorpdfstring{createInstance()}{createInstance()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
{\footnotesize\ttfamily \mbox{\hyperlink{class_ogre_1_1_archive}{Archive}}$\ast$ Ogre\+::\+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}


Implements \mbox{\hyperlink{class_ogre_1_1_archive_factory_ac066010038914bc460a192d7d1ce9ce3}{Ogre\+::\+Archive\+Factory}}.



Reimplemented in \mbox{\hyperlink{class_ogre_1_1_embedded_zip_archive_factory_aaae296fd892af01d1505ba36bedb0848}{Ogre\+::\+Embedded\+Zip\+Archive\+Factory}}.

\mbox{\Hypertarget{class_ogre_1_1_zip_archive_factory_a84f0bbc7ca53b6e525a9a774a03341fe}\label{class_ogre_1_1_zip_archive_factory_a84f0bbc7ca53b6e525a9a774a03341fe}} 
\index{Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}!destroyInstance@{destroyInstance}}
\index{destroyInstance@{destroyInstance}!Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}}
\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]}}



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.

\mbox{\Hypertarget{class_ogre_1_1_zip_archive_factory_ac066010038914bc460a192d7d1ce9ce3}\label{class_ogre_1_1_zip_archive_factory_ac066010038914bc460a192d7d1ce9ce3}} 
\index{Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}}
\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_zip_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}\label{class_ogre_1_1_zip_archive_factory_a29c98713d1e9463bc3ab19d17be5635c}} 
\index{Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}}
\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::ZipArchiveFactory@{Ogre::ZipArchiveFactory}!createInstance@{createInstance}}
\index{createInstance@{createInstance}!Ogre::ZipArchiveFactory@{Ogre::ZipArchiveFactory}}
\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().



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