41 lines
6.5 KiB
TeX
41 lines
6.5 KiB
TeX
\hypertarget{config_management_8h_source}{}\doxysection{config\+Management.\+h}
|
|
\label{config_management_8h_source}\index{headers/configManagement.h@{headers/configManagement.h}}
|
|
\mbox{\hyperlink{config_management_8h}{Go to the documentation of this file.}}
|
|
\begin{DoxyCode}{0}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00001}00001 }
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00012}00012 \textcolor{preprocessor}{\#ifndef SPACE\_CONFIGMANAGEMENT\_H}}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00013}00013 \textcolor{preprocessor}{\#define SPACE\_CONFIGMANAGEMENT\_H}}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00014}00014 }
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00015}00015 \textcolor{preprocessor}{\#include<climits>}}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00016}00016 }
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00017}00017 \textcolor{comment}{/* This header will only be imported once, but Djalim told me he would hurt me}}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00018}00018 \textcolor{comment}{ * if I didn't move it into his own header file instead of the cpp file*/}}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00019}00019 }
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00020}\mbox{\hyperlink{class_config_builder}{00020}} \textcolor{keyword}{class }\mbox{\hyperlink{class_config_builder}{ConfigBuilder}}\{}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00021}00021 \textcolor{keyword}{public}:}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00022}\mbox{\hyperlink{class_config_builder_a4b4df7371d8b2544f302219631f0b77f}{00022}} \mbox{\hyperlink{struct_config_data}{ConfigData}} \mbox{\hyperlink{class_config_builder_a4b4df7371d8b2544f302219631f0b77f}{collectedData}};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00023}00023 \textcolor{keywordtype}{void} \mbox{\hyperlink{class_config_builder_a408e15906e88336cbc53f19afec65cd6}{parseFile}}(\textcolor{keyword}{const} \textcolor{keywordtype}{string}\& fname);}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00024}00024 \textcolor{keywordtype}{void} \mbox{\hyperlink{class_config_builder_acd69e5a0777a3c9339aa96e8ce2e07a9}{readConfig}}();}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00025}00025 \textcolor{keywordtype}{void} \mbox{\hyperlink{class_config_builder_aab791290aa2d314788fcd9f2c44bf79e}{dumpInternalValues}}() \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00026}00026 \textcolor{keyword}{private}:}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00027}00027 map<string, string> internalValues;}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00028}00028 }
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00029}00029 \textcolor{keyword}{const} \textcolor{keywordtype}{string}\& getString(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key, \textcolor{keyword}{const} \textcolor{keywordtype}{string}\& def) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00030}00030 \textcolor{keyword}{const} \textcolor{keywordtype}{string}\& getString(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00031}00031 \textcolor{keywordtype}{char} getChar(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key, \textcolor{keywordtype}{char} def) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00032}00032 \textcolor{keywordtype}{char} getChar(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00033}00033 \textcolor{keywordtype}{int} getInt(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key, \textcolor{keywordtype}{int} def, \textcolor{keywordtype}{int} min=INT\_MIN, \textcolor{keywordtype}{int} max=INT\_MAX) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00034}00034 \textcolor{keywordtype}{int} getInt(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00035}00035 \textcolor{keywordtype}{void} getColor(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key, nsGraphics::RGBAcolor\& color, \textcolor{keyword}{const} nsGraphics::RGBAcolor\& def) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00036}00036 \textcolor{keywordtype}{void} getColor(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key, nsGraphics::RGBAcolor\& color) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00037}00037 \textcolor{keywordtype}{void} getList(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& key, vector<string>\& vec) \textcolor{keyword}{const};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00038}00038 }
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00039}00039 \textcolor{keywordtype}{void} readGrid(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& baseKey);}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00040}00040 \textcolor{keywordtype}{void} readPlayer(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& baseKey, \mbox{\hyperlink{struct_player_def}{PlayerDef}}\&);}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00041}00041 \textcolor{keywordtype}{void} readInvaderType(\textcolor{keyword}{const} \mbox{\hyperlink{config_data_8h_a7ca3f09edce68ced014650c382bb767c}{configKey}}\& baseKey, \mbox{\hyperlink{struct_invader_type_def}{InvaderTypeDef}}\&);}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00042}00042 \};}
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00043}00043 }
|
|
\DoxyCodeLine{\Hypertarget{config_management_8h_source_l00044}00044 \textcolor{preprocessor}{\#endif}}
|
|
|
|
\end{DoxyCode}
|