\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream}{\section{Binary\-Swap\-Piostream Class Reference}
\label{class_s_c_i_run_1_1_binary_swap_piostream}\index{Binary\-Swap\-Piostream@{Binary\-Swap\-Piostream}}
}


{\ttfamily \#include $<$Pstreams.\-h$>$}

Inheritance diagram for Binary\-Swap\-Piostream\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{class_s_c_i_run_1_1_binary_swap_piostream}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a21678c55bcefaba51e2349e756ede0f2}{Binary\-Swap\-Piostream} (const std\-::string \&filename, \hyperlink{class_s_c_i_run_1_1_piostream_a224b9163917ac32fc95a60d8c1eec3aa}{Direction} d, const int \&v=-\/1, \hyperlink{namespace_s_c_i_run_1_1_core_1_1_logging_a93cd7de5b4907a727577e603069b390e}{Core\-::\-Logging\-::\-Logger\-Handle} pr=\hyperlink{namespace_s_c_i_run_1_1_core_1_1_logging_a93cd7de5b4907a727577e603069b390e}{Core\-::\-Logging\-::\-Logger\-Handle}())
\item 
\hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a604da62324ab3a415fa3ce2aa7b5ad7d}{Binary\-Swap\-Piostream} (int fd, \hyperlink{class_s_c_i_run_1_1_piostream_a224b9163917ac32fc95a60d8c1eec3aa}{Direction} \hyperlink{class_s_c_i_run_1_1_piostream_a58d94fa8f7ddf189cd6eabdea4f2346c}{dir}, const int \&v=-\/1, \hyperlink{namespace_s_c_i_run_1_1_core_1_1_logging_a93cd7de5b4907a727577e603069b390e}{Core\-::\-Logging\-::\-Logger\-Handle} pr=\hyperlink{namespace_s_c_i_run_1_1_core_1_1_logging_a93cd7de5b4907a727577e603069b390e}{Core\-::\-Logging\-::\-Logger\-Handle}())
\item 
virtual \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a9f127d4be5a4466ac4e8b83b41c12bc2}{$\sim$\-Binary\-Swap\-Piostream} ()
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_ad72c6010c120eda35b25cf67335051f1}{io} (short \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a798130dd3222f4946c93c11f72aedfb3}{io} (unsigned short \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_acf9e6608e3d3e0a311a21d0b113c9926}{io} (int \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a9dbd61444f1cd828d8d29a75b54ebe87}{io} (unsigned int \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a47063721ff5aefcd38a3ed3817631c4d}{io} (long \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_aa1fe0a34f5e82edcc37ca43fbe95901f}{io} (unsigned long \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_ac1bf348fcfc8c7569e94873efe1987ea}{io} (long long \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a258ac6ba657dd07eccdecf8bbcc77f89}{io} (unsigned long long \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a38315d6e7e076e013a4138874f79a684}{io} (double \&)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a68e76517c103fab093cf7ffc080836a2}{io} (float \&)
\item 
virtual bool \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_ad432bea3430d69ee6b9e28881efbaf07}{supports\-\_\-block\-\_\-io} ()
\item 
virtual bool \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a946589fb86c58dbf50cd7dabcf78688b}{block\-\_\-io} (void $\ast$, size\-\_\-t, size\-\_\-t)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual const char $\ast$ \hyperlink{class_s_c_i_run_1_1_binary_swap_piostream_a058ab600be67cc3f3c5b78b5ea1749c4}{endianness} ()
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a21678c55bcefaba51e2349e756ede0f2}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!Binary\-Swap\-Piostream@{Binary\-Swap\-Piostream}}
\index{Binary\-Swap\-Piostream@{Binary\-Swap\-Piostream}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{Binary\-Swap\-Piostream}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Binary\-Swap\-Piostream} (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{filename, }
\item[{{\bf Direction}}]{d, }
\item[{const int \&}]{v = {\ttfamily -\/1}, }
\item[{{\bf Core\-::\-Logging\-::\-Logger\-Handle}}]{pr = {\ttfamily {\bf Core\-::\-Logging\-::\-Logger\-Handle}()}}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a21678c55bcefaba51e2349e756ede0f2}
\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a604da62324ab3a415fa3ce2aa7b5ad7d}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!Binary\-Swap\-Piostream@{Binary\-Swap\-Piostream}}
\index{Binary\-Swap\-Piostream@{Binary\-Swap\-Piostream}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{Binary\-Swap\-Piostream}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Binary\-Swap\-Piostream} (
\begin{DoxyParamCaption}
\item[{int}]{fd, }
\item[{{\bf Direction}}]{dir, }
\item[{const int \&}]{v = {\ttfamily -\/1}, }
\item[{{\bf Core\-::\-Logging\-::\-Logger\-Handle}}]{pr = {\ttfamily {\bf Core\-::\-Logging\-::\-Logger\-Handle}()}}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a604da62324ab3a415fa3ce2aa7b5ad7d}
\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a9f127d4be5a4466ac4e8b83b41c12bc2}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!$\sim$\-Binary\-Swap\-Piostream@{$\sim$\-Binary\-Swap\-Piostream}}
\index{$\sim$\-Binary\-Swap\-Piostream@{$\sim$\-Binary\-Swap\-Piostream}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{$\sim$\-Binary\-Swap\-Piostream}]{\setlength{\rightskip}{0pt plus 5cm}$\sim${\bf Binary\-Swap\-Piostream} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a9f127d4be5a4466ac4e8b83b41c12bc2}


\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a946589fb86c58dbf50cd7dabcf78688b}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!block\-\_\-io@{block\-\_\-io}}
\index{block\-\_\-io@{block\-\_\-io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{block\-\_\-io}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool block\-\_\-io (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{, }
\item[{size\-\_\-t}]{, }
\item[{size\-\_\-t}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a946589fb86c58dbf50cd7dabcf78688b}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_afbb44ac5a7e07efa91dad90e4fb191d0}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a058ab600be67cc3f3c5b78b5ea1749c4}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!endianness@{endianness}}
\index{endianness@{endianness}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{endianness}]{\setlength{\rightskip}{0pt plus 5cm}const char $\ast$ endianness (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a058ab600be67cc3f3c5b78b5ea1749c4}
\begin{DoxyRefDesc}{Todo}
\item[\hyperlink{todo__todo000309}{Todo}]S\-C\-I\-R\-U\-N4\-\_\-\-C\-O\-D\-E\-\_\-\-T\-O\-\_\-\-B\-E\-\_\-\-E\-N\-A\-B\-L\-E\-D\-\_\-\-L\-A\-T\-E\-R \end{DoxyRefDesc}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_a058ab600be67cc3f3c5b78b5ea1749c4}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_ad72c6010c120eda35b25cf67335051f1}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{short \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_ad72c6010c120eda35b25cf67335051f1}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_ad72c6010c120eda35b25cf67335051f1}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a798130dd3222f4946c93c11f72aedfb3}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{unsigned short \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a798130dd3222f4946c93c11f72aedfb3}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_a798130dd3222f4946c93c11f72aedfb3}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_acf9e6608e3d3e0a311a21d0b113c9926}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{int \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_acf9e6608e3d3e0a311a21d0b113c9926}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_acf9e6608e3d3e0a311a21d0b113c9926}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a9dbd61444f1cd828d8d29a75b54ebe87}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{unsigned int \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a9dbd61444f1cd828d8d29a75b54ebe87}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_a9dbd61444f1cd828d8d29a75b54ebe87}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a47063721ff5aefcd38a3ed3817631c4d}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{long \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a47063721ff5aefcd38a3ed3817631c4d}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_a47063721ff5aefcd38a3ed3817631c4d}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_aa1fe0a34f5e82edcc37ca43fbe95901f}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{unsigned long \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_aa1fe0a34f5e82edcc37ca43fbe95901f}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_aa1fe0a34f5e82edcc37ca43fbe95901f}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_ac1bf348fcfc8c7569e94873efe1987ea}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{long long \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_ac1bf348fcfc8c7569e94873efe1987ea}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_ac1bf348fcfc8c7569e94873efe1987ea}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a258ac6ba657dd07eccdecf8bbcc77f89}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{unsigned long long \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a258ac6ba657dd07eccdecf8bbcc77f89}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_a258ac6ba657dd07eccdecf8bbcc77f89}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a38315d6e7e076e013a4138874f79a684}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{double \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a38315d6e7e076e013a4138874f79a684}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_a38315d6e7e076e013a4138874f79a684}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_a68e76517c103fab093cf7ffc080836a2}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!io@{io}}
\index{io@{io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{io}]{\setlength{\rightskip}{0pt plus 5cm}void io (
\begin{DoxyParamCaption}
\item[{float \&}]{data}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_a68e76517c103fab093cf7ffc080836a2}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_a68e76517c103fab093cf7ffc080836a2}{Binary\-Piostream}.

\hypertarget{class_s_c_i_run_1_1_binary_swap_piostream_ad432bea3430d69ee6b9e28881efbaf07}{\index{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}!supports\-\_\-block\-\_\-io@{supports\-\_\-block\-\_\-io}}
\index{supports\-\_\-block\-\_\-io@{supports\-\_\-block\-\_\-io}!SCIRun::BinarySwapPiostream@{S\-C\-I\-Run\-::\-Binary\-Swap\-Piostream}}
\subsubsection[{supports\-\_\-block\-\_\-io}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool supports\-\_\-block\-\_\-io (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_binary_swap_piostream_ad432bea3430d69ee6b9e28881efbaf07}


Reimplemented from \hyperlink{class_s_c_i_run_1_1_binary_piostream_ad432bea3430d69ee6b9e28881efbaf07}{Binary\-Piostream}.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Core/\-Persistent/\hyperlink{_pstreams_8h}{Pstreams.\-h}\item 
Core/\-Persistent/\hyperlink{_pstreams_8cc}{Pstreams.\-cc}\end{DoxyCompactItemize}
