\hypertarget{_environment_8h}{\section{Core/\-Utils/\-Legacy/\-Environment.h File Reference}
\label{_environment_8h}\index{Core/\-Utils/\-Legacy/\-Environment.\-h@{Core/\-Utils/\-Legacy/\-Environment.\-h}}
}


Interface to setting environemnt variables and parsing .rc files.  


{\ttfamily \#include $<$string$>$}\\*
{\ttfamily \#include $<$map$>$}\\*
{\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_a8ccde8f3f93cdac8adf3c385415aa749}{create\-\_\-environment\-\_\-defaults} (std\-::map$<$ std\-::string, std\-::string $>$ \&env\-Map)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} void \hyperlink{namespace_s_c_i_run_a5a6ea3a2d673eeedba2837b105337cea}{create\-\_\-sci\-\_\-environment} (char $\ast$$\ast$env, char $\ast$execname)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} void \hyperlink{namespace_s_c_i_run_aa03bba60021a4bd50b4597d17f85a1fc}{find\-\_\-and\-\_\-parse\-\_\-rcfile} (const std\-::string \&rcfile)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_a4cd8d337bc307acf6c10b35c593c3429}{parse\-\_\-rcfile} (const char $\ast$file)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} void \hyperlink{namespace_s_c_i_run_abdbc26c63f7137cd7dbd1dacf3e7e475}{copy\-\_\-and\-\_\-parse\-\_\-scirunrc} ()
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_a774203829d4dde0dc658e08a296addb4}{update\-\_\-rcfile} (const std\-::string \&key, const std\-::string \&value)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} void \hyperlink{namespace_s_c_i_run_a11c0b93b839b0571ef2dab5caea04350}{sci\-\_\-putenv} (const std\-::string \&key, const std\-::string \&val)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} const char $\ast$ \hyperlink{namespace_s_c_i_run_a19f87d1db05eff38c4da4aa796f49fc4}{sci\-\_\-getenv} (const std\-::string \&key)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_aa6a08d6cace7514f4a27855c7df0750b}{sci\-\_\-getenv\-\_\-p} (const std\-::string \&key)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::map$<$ std\-::string, \\*
std\-::string $>$ \& \hyperlink{namespace_s_c_i_run_afcf7e921df8cbb9f1a05d52aece053dd}{get\-\_\-sci\-\_\-environment} ()
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} bool \hyperlink{namespace_s_c_i_run_a533820f66171df671c71acb1a1734c80}{replace\-\_\-environment\-\_\-variables} (std\-::string \&str)
\item 
\hyperlink{_testing_2_utils_2share_8h_ae4d3c4d41d63cd70cd0bf71be40330aa}{S\-C\-I\-S\-H\-A\-R\-E} std\-::string \hyperlink{namespace_s_c_i_run_a2c34a763aaff13fa7a1882e01266ad5f}{get\-\_\-example\-\_\-nets\-\_\-dir} (const std\-::string \&objdir)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface to setting environemnt variables and parsing .rc files. \begin{DoxyAuthor}{Author}
Mc\-Kay Davis Scientific Computing and Imaging Institute University of Utah 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
January 2004 
\end{DoxyDate}
