\hypertarget{_file_utils_8h}{\section{Core/\-Utils/\-Legacy/\-File\-Utils.h File Reference}
\label{_file_utils_8h}\index{Core/\-Utils/\-Legacy/\-File\-Utils.\-h@{Core/\-Utils/\-Legacy/\-File\-Utils.\-h}}
}
{\ttfamily \#include $<$map$>$}\\*
{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include $<$vector$>$}\\*
{\ttfamily \#include $<$boost/filesystem.\-hpp$>$}\\*
{\ttfamily \#include $<$Core/\-Utils/\-Legacy/share.\-h$>$}\\*
\subsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespace_s_c_i_run}{S\-C\-I\-Run}
\begin{DoxyCompactList}\small\item\em S\-T\-L datatypes needed. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} void \hyperlink{namespace_s_c_i_run_ab5404e78438787bd150cfdc8aa2ab07b}{Insert\-String\-In\-File} (char $\ast$filename, const char $\ast$match, const char $\ast$insert)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::map$<$ int, char $\ast$ $>$ $\ast$ \hyperlink{namespace_s_c_i_run_ad86cf56451cfc5990b7c636e0310340f}{Get\-Filenames\-Ending\-With} (const char $\ast$dir, const char $\ast$ext)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::vector$<$ std\-::string $>$ \hyperlink{namespace_s_c_i_run_a2f14d2978a5ca3110bac0771c7cfc67f}{Get\-Filenames\-Starting\-With} (const std\-::string \&dir, const std\-::string \&prefix)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::vector$<$ std\-::string $>$ \hyperlink{namespace_s_c_i_run_ae36fe811e92e5175d957fe3cfd3fe01a}{Get\-Filenames\-In\-Sequence} (const std\-::string \&dir, const std\-::string \&ref)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::pair\\*
$<$ std\-::string, std\-::string $>$ \hyperlink{namespace_s_c_i_run_a12a2a58a609f29442e631c462a5f97eb}{split\-\_\-filename} (std\-::string fname)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::string \hyperlink{namespace_s_c_i_run_a5ec5f0f10d8d5247260b8ae81daa7492}{find\-File\-In\-Path} (const std\-::string \&filename, const std\-::string \&path)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_af295556110259ee1b870f17331485951}{valid\-File} (const std\-::string \&filename)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_a473c233ea0e2ff83af1f888f79aabce4}{valid\-File} (const boost\-::filesystem\-::path \&filename)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_a05438ad13655b3c98eab19adb2a12354}{valid\-Dir} (const std\-::string \&dirname)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_aa776f4fae1fd1a8f85bcae5de3211b64}{valid\-Dir} (const boost\-::filesystem\-::path \&dirname)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_a3b9d74fc6b2438b252f8d2f2cd201e42}{is\-Sym\-Link} (const boost\-::filesystem\-::path \&filename)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_aba8d12f1502fd3d33ca5d0cdcdf745f9}{test\-Filesystem} (std\-::string directory\-Path)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::string \hyperlink{namespace_s_c_i_run_ab3e74843212636fc588b29c2fa35b311}{autocomplete} (const std\-::string \&)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::string \hyperlink{namespace_s_c_i_run_abdab1aa6479dd5361b0ffe76ebb6a43e}{canonicalize} (std\-::string)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::string \hyperlink{namespace_s_c_i_run_a6827d7451474c7a81edb906f8c68b0ef}{substitute\-Tilde} (const std\-::string \&dirstr)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} void \hyperlink{namespace_s_c_i_run_ac837e426d0de4a6b3f1b07c1f6ef4352}{convert\-To\-Windows\-Path} (std\-::string \&unix\-Path)
\item 
void \hyperlink{namespace_s_c_i_run_a979ec7025083f936c459acb822a860f5}{convert\-To\-Unix\-Path} (std\-::string \&win\-Path)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} int \hyperlink{namespace_s_c_i_run_a26ca6700d09fbf0286d5b9bef6163fa9}{copy\-File} (const boost\-::filesystem\-::path \&src, const boost\-::filesystem\-::path \&dest)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} int \hyperlink{namespace_s_c_i_run_a72befc33aab1b9caafa2ce2188324c32}{move\-File} (const boost\-::filesystem\-::path \&src, const boost\-::filesystem\-::path \&dest)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} int \hyperlink{namespace_s_c_i_run_a4aa181dbd0424fe200874f7d03fe1319}{delete\-File} (const boost\-::filesystem\-::path \&filename)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} int \hyperlink{namespace_s_c_i_run_a1feed5a4643393bfdcf5affcc6d43d2a}{copy\-Dir} (std\-::string src, std\-::string dest)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} int \hyperlink{namespace_s_c_i_run_a0638c9fba3b9c694d7da8b1e498c1f69}{delete\-Dir} (const boost\-::filesystem\-::path \&filename)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} int \hyperlink{namespace_s_c_i_run_a409802936576bdc300ea58a4b89e3f60}{get\-Num\-Non\-Empty\-Lines} (char $\ast$filename)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Chris Moulding University of Utah 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
Sept 2000 
\end{DoxyDate}
