\hypertarget{a02598}{
\section{mln::io::fld Namespace Reference}
\label{da/d37/a02598}\index{mln::io::fld@{mln::io::fld}}
}


Namespace of pgm input/output handling.  


\subsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{a00254}{fld\_\-header}
\begin{DoxyCompactList}\small\item\em Define the header structure of an AVS field data file. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename I $>$ }\\void \hyperlink{a02598_a39649570c680765af2cb35984cb79f02}{load} (\hyperlink{a00044}{Image}$<$ I $>$ \&ima\_\-, const char $\ast$filename)
\begin{DoxyCompactList}\small\item\em Load an image from an AVS field file. \item\end{DoxyCompactList}\item 
\hyperlink{a00254}{fld\_\-header} \hyperlink{a02598_a9415af370f33829e7d2307af50ddcfd9}{read\_\-header} (std::istream \&ins)
\begin{DoxyCompactList}\small\item\em Read the header form an AVS field file. \item\end{DoxyCompactList}\item 
void \hyperlink{a02598_afee76801df95dfaecee8f281ced412d6}{write\_\-header} (std::ostream \&file, const \hyperlink{a00254}{fld\_\-header} \&h)
\begin{DoxyCompactList}\small\item\em Write the AVS header in a file. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Namespace of pgm input/output handling. 

\subsection{Function Documentation}
\hypertarget{a02598_a39649570c680765af2cb35984cb79f02}{
\index{mln::io::fld@{mln::io::fld}!load@{load}}
\index{load@{load}!mln::io::fld@{mln::io::fld}}
\subsubsection[{load}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename I $>$ void mln::io::fld::load (
\begin{DoxyParamCaption}
\item[{Image$<$ I $>$ \&}]{ ima\_\-, }
\item[{const char $\ast$}]{ filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d37/a02598_a39649570c680765af2cb35984cb79f02}


Load an image from an AVS field file. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in,out]} {\em ima\_\-}]The image to load. \item[\mbox{\tt[in]} {\em filename}]The path to the AVS file. \end{DoxyParams}


Definition at line 198 of file fld/load.hh.



References mln::box$<$ P $>$::pmax(), mln::box$<$ P $>$::pmin(), and read\_\-header().

\hypertarget{a02598_a9415af370f33829e7d2307af50ddcfd9}{
\index{mln::io::fld@{mln::io::fld}!read\_\-header@{read\_\-header}}
\index{read\_\-header@{read\_\-header}!mln::io::fld@{mln::io::fld}}
\subsubsection[{read\_\-header}]{\setlength{\rightskip}{0pt plus 5cm}{\bf fld\_\-header} mln::io::fld::read\_\-header (
\begin{DoxyParamCaption}
\item[{std::istream \&}]{ ins}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d37/a02598_a9415af370f33829e7d2307af50ddcfd9}


Read the header form an AVS field file. 


\begin{DoxyParams}{Parameters}
\item[{\em ins}]The file to read.\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The header. 
\end{DoxyReturn}


Definition at line 73 of file fld/load\_\-header.hh.



Referenced by load().

\hypertarget{a02598_afee76801df95dfaecee8f281ced412d6}{
\index{mln::io::fld@{mln::io::fld}!write\_\-header@{write\_\-header}}
\index{write\_\-header@{write\_\-header}!mln::io::fld@{mln::io::fld}}
\subsubsection[{write\_\-header}]{\setlength{\rightskip}{0pt plus 5cm}void mln::io::fld::write\_\-header (
\begin{DoxyParamCaption}
\item[{std::ostream \&}]{ file, }
\item[{const fld\_\-header \&}]{ h}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{da/d37/a02598_afee76801df95dfaecee8f281ced412d6}


Write the AVS header in a file. 


\begin{DoxyParams}{Parameters}
\item[{\em file}]The file to write. \item[{\em h}]The AVS header. \end{DoxyParams}


Definition at line 58 of file write\_\-header.hh.

