\hypertarget{classutil_1_1FileIO}{}\section{util\+:\+:File\+IO Class Reference} \label{classutil_1_1FileIO}\index{util\+::\+File\+IO@{util\+::\+File\+IO}} {\ttfamily \#include $<$File\+I\+O.\+h$>$} \subsection*{Static Public Member Functions} \begin{DoxyCompactItemize} \item static void \hyperlink{classutil_1_1FileIO_acfce3977f435f2b024984da05408dfb4}{Read\+C\+SV} (core\+::\+Vector3d \&values, const std\+::string \&filename, const char \&delimiter=\textquotesingle{};\textquotesingle{}) \item static void \hyperlink{classutil_1_1FileIO_a5d145cb872989165f76d00c343170bc5}{Read\+C\+SV} (core\+::\+Vector2d \&values, const std\+::string \&filename, const char \&delimiter=\textquotesingle{};\textquotesingle{}) \end{DoxyCompactItemize} \subsection{Detailed Description} Utility class for file in-\/ and output. \subsection{Member Function Documentation} \index{util\+::\+File\+IO@{util\+::\+File\+IO}!Read\+C\+SV@{Read\+C\+SV}} \index{Read\+C\+SV@{Read\+C\+SV}!util\+::\+File\+IO@{util\+::\+File\+IO}} \subsubsection[{\texorpdfstring{Read\+C\+S\+V(core\+::\+Vector3d \&values, const std\+::string \&filename, const char \&delimiter=\textquotesingle{};\textquotesingle{})}{ReadCSV(core::Vector3d \&values, const std::string \&filename, const char \&delimiter=';')}}]{\setlength{\rightskip}{0pt plus 5cm}void util\+::\+File\+I\+O\+::\+Read\+C\+SV ( \begin{DoxyParamCaption} \item[{core\+::\+Vector3d \&}]{values, } \item[{const std\+::string \&}]{filename, } \item[{const char \&}]{delimiter = {\ttfamily \textquotesingle{};\textquotesingle{}}} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{classutil_1_1FileIO_acfce3977f435f2b024984da05408dfb4}{}\label{classutil_1_1FileIO_acfce3977f435f2b024984da05408dfb4} Reads a C\+SV file and stores the values in a 3D array. The first dimension is the first value of each row, used as a index to bundle multiple rows with the same first value into a single vector. The second dimension is the row in the row bundle. The third dimension is the value in that row. \begin{DoxyParams}{Parameters} {\em values} & The 3D array of values to store the read values in \\ \hline {\em filename} & The filename to read from \\ \hline {\em delimiter} & The delimiter used to separate the values in the file \\ \hline \end{DoxyParams} \index{util\+::\+File\+IO@{util\+::\+File\+IO}!Read\+C\+SV@{Read\+C\+SV}} \index{Read\+C\+SV@{Read\+C\+SV}!util\+::\+File\+IO@{util\+::\+File\+IO}} \subsubsection[{\texorpdfstring{Read\+C\+S\+V(core\+::\+Vector2d \&values, const std\+::string \&filename, const char \&delimiter=\textquotesingle{};\textquotesingle{})}{ReadCSV(core::Vector2d \&values, const std::string \&filename, const char \&delimiter=';')}}]{\setlength{\rightskip}{0pt plus 5cm}void util\+::\+File\+I\+O\+::\+Read\+C\+SV ( \begin{DoxyParamCaption} \item[{core\+::\+Vector2d \&}]{values, } \item[{const std\+::string \&}]{filename, } \item[{const char \&}]{delimiter = {\ttfamily \textquotesingle{};\textquotesingle{}}} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\hypertarget{classutil_1_1FileIO_a5d145cb872989165f76d00c343170bc5}{}\label{classutil_1_1FileIO_a5d145cb872989165f76d00c343170bc5} Reads a C\+SV file and stores the values in a 2D array. The first dimension is the row and the second the value in that row. \begin{DoxyParams}{Parameters} {\em values} & The 2D array of values to store the read values in \\ \hline {\em filename} & The filename to read from \\ \hline {\em delimiter} & The delimiter used to separate the values in the file \\ \hline \end{DoxyParams} The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} \item util/File\+I\+O.\+h\item util/File\+I\+O.\+cpp\end{DoxyCompactItemize}