\hypertarget{a00407}{}\doxysection{AAX\+\_\+\+Endian\+Swap.\+h File Reference}
\label{a00407}\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
{\ttfamily \#include $<$algorithm$>$}\newline


\doxysubsection{Description}
Utility functions for byte-\/swapping. Used by \mbox{\hyperlink{a01817}{AAX\+\_\+\+CChunk\+Data\+Parser}}. 

\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{a00407_a8bad80e5aaa9c0a227bf53589dfa181b}{ENDIANSWAP\+\_\+H}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$class T $>$ }\\void \mbox{\hyperlink{a00407_a121ee6a20eb996039b0f187db0a2cc8e}{AAX\+\_\+\+Endian\+Swap\+In\+Place}} (T $\ast$the\+DataP)
\begin{DoxyCompactList}\small\item\em Byte swap data in-\/place. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\T \mbox{\hyperlink{a00407_a5caa5e68dec3f028697b64ad04f0cb5c}{AAX\+\_\+\+Endian\+Swap}} (T the\+Data)
\begin{DoxyCompactList}\small\item\em Make a byte-\/swapped copy of data. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\void \mbox{\hyperlink{a00407_a2aa4dc892c77aa0ed29e84a5f29c9538}{AAX\+\_\+\+Big\+Endian\+Native\+Swap\+In\+Place}} (T $\ast$the\+DataP)
\begin{DoxyCompactList}\small\item\em Convert data in-\/place between Big Endian and native byte ordering. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\T \mbox{\hyperlink{a00407_a7387790d73eed6c54af682c7afd9e463}{AAX\+\_\+\+Big\+Endian\+Native\+Swap}} (T the\+Data)
\begin{DoxyCompactList}\small\item\em Copy and convert data between Big Endian and native byte ordering. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\void \mbox{\hyperlink{a00407_af4164bdfb3807edcd582e0289a6ed59a}{AAX\+\_\+\+Little\+Endian\+Native\+Swap\+In\+Place}} (T $\ast$the\+DataP)
\begin{DoxyCompactList}\small\item\em Convert data in-\/place from the native byte ordering to Little Endian byte ordering. \end{DoxyCompactList}\item 
{\footnotesize template$<$class T $>$ }\\T \mbox{\hyperlink{a00407_a49f57c502ff278b26260b1744da99633}{AAX\+\_\+\+Little\+Endian\+Native\+Swap}} (T the\+Data)
\begin{DoxyCompactList}\small\item\em Copy and convert data from the native byte ordering to Little Endian byte ordering. \end{DoxyCompactList}\item 
{\footnotesize template$<$class Iter $>$ }\\void \mbox{\hyperlink{a00407_ae58f8ce3c8247e07d49e17c011ec5366}{AAX\+\_\+\+Endian\+Swap\+Sequence\+In\+Place}} (Iter beginI, Iter endI)
\begin{DoxyCompactList}\small\item\em Byte swap a sequence of data in-\/place. \end{DoxyCompactList}\item 
{\footnotesize template$<$class Iter $>$ }\\void \mbox{\hyperlink{a00407_ae9e72785a26249cd3e3c05baf8c9ce70}{AAX\+\_\+\+Big\+Endian\+Native\+Swap\+Sequence\+In\+Place}} (Iter beginI, Iter endI)
\begin{DoxyCompactList}\small\item\em Convert an sequence of data in-\/place between Big Endian and native byte ordering. \end{DoxyCompactList}\item 
{\footnotesize template$<$class Iter $>$ }\\void \mbox{\hyperlink{a00407_a4d8bcdfb048c8124f1f2886537e65678}{AAX\+\_\+\+Little\+Endian\+Native\+Swap\+Sequence\+In\+Place}} (Iter beginI, Iter endI)
\begin{DoxyCompactList}\small\item\em Convert an sequence of data in-\/place from the native byte ordering to Little Endian byte ordering. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{a00407_a8bad80e5aaa9c0a227bf53589dfa181b}\label{a00407_a8bad80e5aaa9c0a227bf53589dfa181b}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!ENDIANSWAP\_H@{ENDIANSWAP\_H}}
\index{ENDIANSWAP\_H@{ENDIANSWAP\_H}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{ENDIANSWAP\_H}{ENDIANSWAP\_H}}
{\footnotesize\ttfamily \#define ENDIANSWAP\+\_\+H}



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{a00407_a121ee6a20eb996039b0f187db0a2cc8e}\label{a00407_a121ee6a20eb996039b0f187db0a2cc8e}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_EndianSwapInPlace@{AAX\_EndianSwapInPlace}}
\index{AAX\_EndianSwapInPlace@{AAX\_EndianSwapInPlace}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_EndianSwapInPlace()}{AAX\_EndianSwapInPlace()}}
{\footnotesize\ttfamily template$<$class T $>$ \\
void AAX\+\_\+\+Endian\+Swap\+In\+Place (\begin{DoxyParamCaption}\item[{T $\ast$}]{the\+DataP }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Byte swap data in-\/place. 



Referenced by \mbox{\hyperlink{a00407_a2aa4dc892c77aa0ed29e84a5f29c9538}{AAX\+\_\+\+Big\+Endian\+Native\+Swap\+In\+Place()}}, \mbox{\hyperlink{a00407_a5caa5e68dec3f028697b64ad04f0cb5c}{AAX\+\_\+\+Endian\+Swap()}}, \mbox{\hyperlink{a00407_ae58f8ce3c8247e07d49e17c011ec5366}{AAX\+\_\+\+Endian\+Swap\+Sequence\+In\+Place()}}, and \mbox{\hyperlink{a00407_af4164bdfb3807edcd582e0289a6ed59a}{AAX\+\_\+\+Little\+Endian\+Native\+Swap\+In\+Place()}}.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_a121ee6a20eb996039b0f187db0a2cc8e_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{a00407_a5caa5e68dec3f028697b64ad04f0cb5c}\label{a00407_a5caa5e68dec3f028697b64ad04f0cb5c}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_EndianSwap@{AAX\_EndianSwap}}
\index{AAX\_EndianSwap@{AAX\_EndianSwap}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_EndianSwap()}{AAX\_EndianSwap()}}
{\footnotesize\ttfamily template$<$class T $>$ \\
T AAX\+\_\+\+Endian\+Swap (\begin{DoxyParamCaption}\item[{T}]{the\+Data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Make a byte-\/swapped copy of data. 



References \mbox{\hyperlink{a00407_a121ee6a20eb996039b0f187db0a2cc8e}{AAX\+\_\+\+Endian\+Swap\+In\+Place()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=343pt]{a00407_a5caa5e68dec3f028697b64ad04f0cb5c_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{a00407_a2aa4dc892c77aa0ed29e84a5f29c9538}\label{a00407_a2aa4dc892c77aa0ed29e84a5f29c9538}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_BigEndianNativeSwapInPlace@{AAX\_BigEndianNativeSwapInPlace}}
\index{AAX\_BigEndianNativeSwapInPlace@{AAX\_BigEndianNativeSwapInPlace}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_BigEndianNativeSwapInPlace()}{AAX\_BigEndianNativeSwapInPlace()}}
{\footnotesize\ttfamily template$<$class T $>$ \\
void AAX\+\_\+\+Big\+Endian\+Native\+Swap\+In\+Place (\begin{DoxyParamCaption}\item[{T $\ast$}]{the\+DataP }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Convert data in-\/place between Big Endian and native byte ordering. 



References \mbox{\hyperlink{a00407_a121ee6a20eb996039b0f187db0a2cc8e}{AAX\+\_\+\+Endian\+Swap\+In\+Place()}}.



Referenced by \mbox{\hyperlink{a00407_a7387790d73eed6c54af682c7afd9e463}{AAX\+\_\+\+Big\+Endian\+Native\+Swap()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_a2aa4dc892c77aa0ed29e84a5f29c9538_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_a2aa4dc892c77aa0ed29e84a5f29c9538_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{a00407_a7387790d73eed6c54af682c7afd9e463}\label{a00407_a7387790d73eed6c54af682c7afd9e463}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_BigEndianNativeSwap@{AAX\_BigEndianNativeSwap}}
\index{AAX\_BigEndianNativeSwap@{AAX\_BigEndianNativeSwap}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_BigEndianNativeSwap()}{AAX\_BigEndianNativeSwap()}}
{\footnotesize\ttfamily template$<$class T $>$ \\
T AAX\+\_\+\+Big\+Endian\+Native\+Swap (\begin{DoxyParamCaption}\item[{T}]{the\+Data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Copy and convert data between Big Endian and native byte ordering. 



References \mbox{\hyperlink{a00407_a2aa4dc892c77aa0ed29e84a5f29c9538}{AAX\+\_\+\+Big\+Endian\+Native\+Swap\+In\+Place()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_a7387790d73eed6c54af682c7afd9e463_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{a00407_af4164bdfb3807edcd582e0289a6ed59a}\label{a00407_af4164bdfb3807edcd582e0289a6ed59a}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_LittleEndianNativeSwapInPlace@{AAX\_LittleEndianNativeSwapInPlace}}
\index{AAX\_LittleEndianNativeSwapInPlace@{AAX\_LittleEndianNativeSwapInPlace}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_LittleEndianNativeSwapInPlace()}{AAX\_LittleEndianNativeSwapInPlace()}}
{\footnotesize\ttfamily template$<$class T $>$ \\
void AAX\+\_\+\+Little\+Endian\+Native\+Swap\+In\+Place (\begin{DoxyParamCaption}\item[{T $\ast$}]{the\+DataP }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Convert data in-\/place from the native byte ordering to Little Endian byte ordering. 



References \mbox{\hyperlink{a00407_a121ee6a20eb996039b0f187db0a2cc8e}{AAX\+\_\+\+Endian\+Swap\+In\+Place()}}.



Referenced by \mbox{\hyperlink{a00407_a49f57c502ff278b26260b1744da99633}{AAX\+\_\+\+Little\+Endian\+Native\+Swap()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_af4164bdfb3807edcd582e0289a6ed59a_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_af4164bdfb3807edcd582e0289a6ed59a_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{a00407_a49f57c502ff278b26260b1744da99633}\label{a00407_a49f57c502ff278b26260b1744da99633}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_LittleEndianNativeSwap@{AAX\_LittleEndianNativeSwap}}
\index{AAX\_LittleEndianNativeSwap@{AAX\_LittleEndianNativeSwap}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_LittleEndianNativeSwap()}{AAX\_LittleEndianNativeSwap()}}
{\footnotesize\ttfamily template$<$class T $>$ \\
T AAX\+\_\+\+Little\+Endian\+Native\+Swap (\begin{DoxyParamCaption}\item[{T}]{the\+Data }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Copy and convert data from the native byte ordering to Little Endian byte ordering. 



References \mbox{\hyperlink{a00407_af4164bdfb3807edcd582e0289a6ed59a}{AAX\+\_\+\+Little\+Endian\+Native\+Swap\+In\+Place()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_a49f57c502ff278b26260b1744da99633_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{a00407_ae58f8ce3c8247e07d49e17c011ec5366}\label{a00407_ae58f8ce3c8247e07d49e17c011ec5366}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_EndianSwapSequenceInPlace@{AAX\_EndianSwapSequenceInPlace}}
\index{AAX\_EndianSwapSequenceInPlace@{AAX\_EndianSwapSequenceInPlace}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_EndianSwapSequenceInPlace()}{AAX\_EndianSwapSequenceInPlace()}}
{\footnotesize\ttfamily template$<$class Iter $>$ \\
void AAX\+\_\+\+Endian\+Swap\+Sequence\+In\+Place (\begin{DoxyParamCaption}\item[{Iter}]{beginI,  }\item[{Iter}]{endI }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Byte swap a sequence of data in-\/place. 



References \mbox{\hyperlink{a00407_a121ee6a20eb996039b0f187db0a2cc8e}{AAX\+\_\+\+Endian\+Swap\+In\+Place()}}.



Referenced by \mbox{\hyperlink{a00407_ae9e72785a26249cd3e3c05baf8c9ce70}{AAX\+\_\+\+Big\+Endian\+Native\+Swap\+Sequence\+In\+Place()}}, and \mbox{\hyperlink{a00407_a4d8bcdfb048c8124f1f2886537e65678}{AAX\+\_\+\+Little\+Endian\+Native\+Swap\+Sequence\+In\+Place()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_ae58f8ce3c8247e07d49e17c011ec5366_cgraph}
\end{center}
\end{figure}
Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_ae58f8ce3c8247e07d49e17c011ec5366_icgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{a00407_ae9e72785a26249cd3e3c05baf8c9ce70}\label{a00407_ae9e72785a26249cd3e3c05baf8c9ce70}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_BigEndianNativeSwapSequenceInPlace@{AAX\_BigEndianNativeSwapSequenceInPlace}}
\index{AAX\_BigEndianNativeSwapSequenceInPlace@{AAX\_BigEndianNativeSwapSequenceInPlace}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_BigEndianNativeSwapSequenceInPlace()}{AAX\_BigEndianNativeSwapSequenceInPlace()}}
{\footnotesize\ttfamily template$<$class Iter $>$ \\
void AAX\+\_\+\+Big\+Endian\+Native\+Swap\+Sequence\+In\+Place (\begin{DoxyParamCaption}\item[{Iter}]{beginI,  }\item[{Iter}]{endI }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Convert an sequence of data in-\/place between Big Endian and native byte ordering. 



References \mbox{\hyperlink{a00407_ae58f8ce3c8247e07d49e17c011ec5366}{AAX\+\_\+\+Endian\+Swap\+Sequence\+In\+Place()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_ae9e72785a26249cd3e3c05baf8c9ce70_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{a00407_a4d8bcdfb048c8124f1f2886537e65678}\label{a00407_a4d8bcdfb048c8124f1f2886537e65678}} 
\index{AAX\_EndianSwap.h@{AAX\_EndianSwap.h}!AAX\_LittleEndianNativeSwapSequenceInPlace@{AAX\_LittleEndianNativeSwapSequenceInPlace}}
\index{AAX\_LittleEndianNativeSwapSequenceInPlace@{AAX\_LittleEndianNativeSwapSequenceInPlace}!AAX\_EndianSwap.h@{AAX\_EndianSwap.h}}
\doxysubsubsection{\texorpdfstring{AAX\_LittleEndianNativeSwapSequenceInPlace()}{AAX\_LittleEndianNativeSwapSequenceInPlace()}}
{\footnotesize\ttfamily template$<$class Iter $>$ \\
void AAX\+\_\+\+Little\+Endian\+Native\+Swap\+Sequence\+In\+Place (\begin{DoxyParamCaption}\item[{Iter}]{beginI,  }\item[{Iter}]{endI }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Convert an sequence of data in-\/place from the native byte ordering to Little Endian byte ordering. 



References \mbox{\hyperlink{a00407_ae58f8ce3c8247e07d49e17c011ec5366}{AAX\+\_\+\+Endian\+Swap\+Sequence\+In\+Place()}}.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{a00407_a4d8bcdfb048c8124f1f2886537e65678_cgraph}
\end{center}
\end{figure}
