\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader}{\section{Generic\-Reader$<$ H\-Type, Port\-Tag $>$ Class Template Reference}
\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader}\index{Generic\-Reader$<$ H\-Type, Port\-Tag $>$@{Generic\-Reader$<$ H\-Type, Port\-Tag $>$}}
}


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

Inheritance diagram for Generic\-Reader$<$ H\-Type, Port\-Tag $>$\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.040892cm]{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a7a86be965f5df4f74b65fb6e71332135}{Generic\-Reader} (const std\-::string \&\hyperlink{_boost_graph_example_tests_8cc_a8ad72759d07f18eaf8f6690e5dfb747c}{name}, const std\-::string \&category, const std\-::string \&package, const std\-::string \&state\-Filename)
\item 
virtual void \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a61af3e60b94ae3e748f6fbac1e794af7}{execute} ()
\item 
\hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1d4c1507eda0cfdfed4a8015716aad11}{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T} (0, Filename, \hyperlink{class_s_c_i_run_1_1_string}{String})
\item 
\hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a30bc014d7d4fddbde1bee1df21d03165}{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T} (1, File\-Loaded, \hyperlink{class_s_c_i_run_1_1_string}{String})
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual bool \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a26fdfc457a75776a26965e60aa720388}{use\-Custom\-Importer} (const std\-::string \&filename) const =0
\item 
virtual bool \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a7be6cef7655233c6ae9ef4247512e860}{call\-\_\-importer} (const std\-::string \&filename, H\-Type \&handle)
\end{DoxyCompactItemize}
\subsection*{Static Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
static bool \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_acde73c899ec0618eeb8ae54b0a823f39}{file\-\_\-exists} (const std\-::string \&filename)
\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1987d426278f7aa44643e6b36f6ea1d3}{filename\-\_\-}
\item 
\hyperlink{struct_s_c_i_run_1_1_dataflow_1_1_networks_1_1_module_1_1_static_port_name}{Static\-Port\-Name}$<$ typename \\*
H\-Type\-::element\-\_\-type, 0 $>$ \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a571ecef547fb47a022a97699e22d3381}{object\-Port\-Name\-\_\-}
\item 
time\-\_\-t \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1adfd255a3ebd6f84eaac01532cfa596}{old\-\_\-filemodification\-\_\-}
\end{DoxyCompactItemize}
\subsection*{Static Protected Attributes}
\begin{DoxyCompactItemize}
\item 
static \hyperlink{class_s_c_i_run_1_1_core_1_1_thread_1_1_mutex}{Core\-::\-Thread\-::\-Mutex} \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a10047b0da695d71756a6d14c285cee78}{file\-Check\-Mutex\-\_\-}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a7a86be965f5df4f74b65fb6e71332135}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!Generic\-Reader@{Generic\-Reader}}
\index{Generic\-Reader@{Generic\-Reader}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{Generic\-Reader}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Generic\-Reader} (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{name, }
\item[{const std\-::string \&}]{category, }
\item[{const std\-::string \&}]{package, }
\item[{const std\-::string \&}]{state\-Filename}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a7a86be965f5df4f74b65fb6e71332135}


\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a7be6cef7655233c6ae9ef4247512e860}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!call\-\_\-importer@{call\-\_\-importer}}
\index{call\-\_\-importer@{call\-\_\-importer}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{call\-\_\-importer}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool call\-\_\-importer (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{filename, }
\item[{H\-Type \&}]{handle}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [protected]}, {\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a7be6cef7655233c6ae9ef4247512e860}


Reimplemented in \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_read_field_module_a63bb968bc45f6ff6ed651e8f737e0881}{Read\-Field\-Module}.

\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a61af3e60b94ae3e748f6fbac1e794af7}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!execute@{execute}}
\index{execute@{execute}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}void execute (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a61af3e60b94ae3e748f6fbac1e794af7}
\begin{DoxyRefDesc}{Todo}
\item[\hyperlink{todo__todo000528}{Todo}]\-: this will be a common pattern for file loading. Perhaps it will be a base class method someday... \end{DoxyRefDesc}


Implements \hyperlink{class_s_c_i_run_1_1_dataflow_1_1_networks_1_1_executable_object_ad202bdf85b060603989ff7dcb1be7072}{Executable\-Object}.



Reimplemented in \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_read_field_module_a61af3e60b94ae3e748f6fbac1e794af7}{Read\-Field\-Module}.

\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_acde73c899ec0618eeb8ae54b0a823f39}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!file\-\_\-exists@{file\-\_\-exists}}
\index{file\-\_\-exists@{file\-\_\-exists}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{file\-\_\-exists}]{\setlength{\rightskip}{0pt plus 5cm}bool file\-\_\-exists (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{filename}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [protected]}}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_acde73c899ec0618eeb8ae54b0a823f39}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1d4c1507eda0cfdfed4a8015716aad11}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T@{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T}}
\index{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T@{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}I\-N\-P\-U\-T\-\_\-\-P\-O\-R\-T (
\begin{DoxyParamCaption}
\item[{0}]{, }
\item[{Filename}]{, }
\item[{{\bf String}}]{}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1d4c1507eda0cfdfed4a8015716aad11}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a30bc014d7d4fddbde1bee1df21d03165}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T@{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T}}
\index{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T@{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T}]{\setlength{\rightskip}{0pt plus 5cm}O\-U\-T\-P\-U\-T\-\_\-\-P\-O\-R\-T (
\begin{DoxyParamCaption}
\item[{1}]{, }
\item[{File\-Loaded}]{, }
\item[{{\bf String}}]{}
\end{DoxyParamCaption}
)}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a30bc014d7d4fddbde1bee1df21d03165}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a26fdfc457a75776a26965e60aa720388}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!use\-Custom\-Importer@{use\-Custom\-Importer}}
\index{use\-Custom\-Importer@{use\-Custom\-Importer}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{use\-Custom\-Importer}]{\setlength{\rightskip}{0pt plus 5cm}virtual bool use\-Custom\-Importer (
\begin{DoxyParamCaption}
\item[{const std\-::string \&}]{filename}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [protected]}, {\ttfamily [pure virtual]}}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a26fdfc457a75776a26965e60aa720388}


Implemented in \hyperlink{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_read_field_module_a7c83b7259fe274ba47fb18bafb53272a}{Read\-Field\-Module}.



\subsection{Member Data Documentation}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a10047b0da695d71756a6d14c285cee78}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!file\-Check\-Mutex\-\_\-@{file\-Check\-Mutex\-\_\-}}
\index{file\-Check\-Mutex\-\_\-@{file\-Check\-Mutex\-\_\-}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{file\-Check\-Mutex\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Core\-::\-Thread\-::\-Mutex} file\-Check\-Mutex\-\_\-\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [protected]}}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a10047b0da695d71756a6d14c285cee78}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1987d426278f7aa44643e6b36f6ea1d3}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!filename\-\_\-@{filename\-\_\-}}
\index{filename\-\_\-@{filename\-\_\-}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{filename\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string filename\-\_\-\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1987d426278f7aa44643e6b36f6ea1d3}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a571ecef547fb47a022a97699e22d3381}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!object\-Port\-Name\-\_\-@{object\-Port\-Name\-\_\-}}
\index{object\-Port\-Name\-\_\-@{object\-Port\-Name\-\_\-}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{object\-Port\-Name\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Static\-Port\-Name}$<$typename H\-Type\-::element\-\_\-type, 0$>$ object\-Port\-Name\-\_\-\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a571ecef547fb47a022a97699e22d3381}
\hypertarget{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1adfd255a3ebd6f84eaac01532cfa596}{\index{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}!old\-\_\-filemodification\-\_\-@{old\-\_\-filemodification\-\_\-}}
\index{old\-\_\-filemodification\-\_\-@{old\-\_\-filemodification\-\_\-}!SCIRun::Modules::DataIO::GenericReader@{S\-C\-I\-Run\-::\-Modules\-::\-Data\-I\-O\-::\-Generic\-Reader}}
\subsubsection[{old\-\_\-filemodification\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}time\-\_\-t old\-\_\-filemodification\-\_\-\hspace{0.3cm}{\ttfamily [protected]}}}\label{class_s_c_i_run_1_1_modules_1_1_data_i_o_1_1_generic_reader_a1adfd255a3ebd6f84eaac01532cfa596}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Modules/\-Data\-I\-O/\hyperlink{_data_i_o_2_generic_reader_8h}{Generic\-Reader.\-h}\end{DoxyCompactItemize}
