\hypertarget{class_ogre_1_1_serializer}{}\doxysection{Ogre\+::Serializer Class Reference}
\label{class_ogre_1_1_serializer}\index{Ogre::Serializer@{Ogre::Serializer}}


Generic class for serialising data to / from binary stream-\/based files.  




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



Inheritance diagram for Ogre\+::Serializer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{class_ogre_1_1_serializer__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39}{Endian}} \{ \mbox{\hyperlink{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39aed60ca999861d8939cf57f19090c70ef}{E\+N\+D\+I\+A\+N\+\_\+\+N\+A\+T\+I\+VE}}, 
\mbox{\hyperlink{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39a7f044c7683a7374276db6e7060f51240}{E\+N\+D\+I\+A\+N\+\_\+\+B\+IG}}, 
\mbox{\hyperlink{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39a10ce3b8f55cba526f6bc8237d8b25cc3}{E\+N\+D\+I\+A\+N\+\_\+\+L\+I\+T\+T\+LE}}
 \}
\begin{DoxyCompactList}\small\item\em The endianness of written files. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_ogre_1_1_serializer_a3268ab522d56e98d88b604255b0f43d4}{Serializer}} ()
\item 
\mbox{\hyperlink{class_ogre_1_1_serializer_a6e038a802f8d1f293e73b4d98f6e297d}{$\sim$\+Serializer}} ()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Generic class for serialising data to / from binary stream-\/based files. 

\begin{DoxyRemark}{Remarks}
This class provides a number of useful methods for exporting / importing data from stream-\/oriented binary files (e.\+g. .mesh and .skeleton). 
\end{DoxyRemark}


\doxysubsection{Member Enumeration Documentation}
\mbox{\Hypertarget{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39}\label{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39}} 
\index{Ogre::Serializer@{Ogre::Serializer}!Endian@{Endian}}
\index{Endian@{Endian}!Ogre::Serializer@{Ogre::Serializer}}
\doxysubsubsection{\texorpdfstring{Endian}{Endian}}
{\footnotesize\ttfamily enum \mbox{\hyperlink{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39}{Ogre\+::\+Serializer\+::\+Endian}}}



The endianness of written files. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{ENDIAN\_NATIVE@{ENDIAN\_NATIVE}!Ogre::Serializer@{Ogre::Serializer}}\index{Ogre::Serializer@{Ogre::Serializer}!ENDIAN\_NATIVE@{ENDIAN\_NATIVE}}}\mbox{\Hypertarget{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39aed60ca999861d8939cf57f19090c70ef}\label{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39aed60ca999861d8939cf57f19090c70ef}} 
E\+N\+D\+I\+A\+N\+\_\+\+N\+A\+T\+I\+VE&Use the platform native endian. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ENDIAN\_BIG@{ENDIAN\_BIG}!Ogre::Serializer@{Ogre::Serializer}}\index{Ogre::Serializer@{Ogre::Serializer}!ENDIAN\_BIG@{ENDIAN\_BIG}}}\mbox{\Hypertarget{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39a7f044c7683a7374276db6e7060f51240}\label{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39a7f044c7683a7374276db6e7060f51240}} 
E\+N\+D\+I\+A\+N\+\_\+\+B\+IG&Use big endian (0x1000 is serialised as 0x10 0x00) \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{ENDIAN\_LITTLE@{ENDIAN\_LITTLE}!Ogre::Serializer@{Ogre::Serializer}}\index{Ogre::Serializer@{Ogre::Serializer}!ENDIAN\_LITTLE@{ENDIAN\_LITTLE}}}\mbox{\Hypertarget{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39a10ce3b8f55cba526f6bc8237d8b25cc3}\label{class_ogre_1_1_serializer_a5122d5a3161fb5fd819d9a0521fe9d39a10ce3b8f55cba526f6bc8237d8b25cc3}} 
E\+N\+D\+I\+A\+N\+\_\+\+L\+I\+T\+T\+LE&Use little endian (0x1000 is serialised as 0x00 0x10) \\
\hline

\end{DoxyEnumFields}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_ogre_1_1_serializer_a3268ab522d56e98d88b604255b0f43d4}\label{class_ogre_1_1_serializer_a3268ab522d56e98d88b604255b0f43d4}} 
\index{Ogre::Serializer@{Ogre::Serializer}!Serializer@{Serializer}}
\index{Serializer@{Serializer}!Ogre::Serializer@{Ogre::Serializer}}
\doxysubsubsection{\texorpdfstring{Serializer()}{Serializer()}}
{\footnotesize\ttfamily Ogre\+::\+Serializer\+::\+Serializer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_ogre_1_1_serializer_a6e038a802f8d1f293e73b4d98f6e297d}\label{class_ogre_1_1_serializer_a6e038a802f8d1f293e73b4d98f6e297d}} 
\index{Ogre::Serializer@{Ogre::Serializer}!````~Serializer@{$\sim$Serializer}}
\index{````~Serializer@{$\sim$Serializer}!Ogre::Serializer@{Ogre::Serializer}}
\doxysubsubsection{\texorpdfstring{$\sim$Serializer()}{~Serializer()}}
{\footnotesize\ttfamily Ogre\+::\+Serializer\+::$\sim$\+Serializer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



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