\hypertarget{classBWAPI_1_1UpgradeTypeInternal}{\section{\-B\-W\-A\-P\-I\-:\-:\-Upgrade\-Type\-Internal \-Class \-Reference}
\label{classBWAPI_1_1UpgradeTypeInternal}\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
}


\-Collaboration diagram for \-B\-W\-A\-P\-I\-:\-:\-Upgrade\-Type\-Internal\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{classBWAPI_1_1UpgradeTypeInternal__coll__graph}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classBWAPI_1_1UpgradeTypeInternal_ac2be9e790522ca8e8d9be5f919fb5da8}{\-Upgrade\-Type\-Internal} ()
\item 
void \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a7278faf69f7efd44fc063c4a4fba1c7d}{set} (const char $\ast$\hyperlink{classBWAPI_1_1UpgradeTypeInternal_a049a0792d51383e0ee05e15692522cb0}{name}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_ae6356f68bf12c1e92acbc5820dc6aaf0}{mineral\-Price\-Base}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a694cec7dcb40c58f7179fd8fe3fb315c}{mineral\-Price\-Factor}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_ad9bcd0f91b9080bc83358bcff388e5ab}{gas\-Price\-Base}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_ac12351f25caa3d96f5819f20fc054173}{gas\-Price\-Factor}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a6b8457f4ff5065bd4b4cb09b5e71e60c}{upgrade\-Time\-Base}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_ab3992311bcc026d56b2768b818f43cfe}{upgrade\-Time\-Factor}, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a18cc54093718f8164284f528510ad611}{what\-Upgrades}, \hyperlink{classBWAPI_1_1Race}{\-Race} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_aa78b9a100da435a0d2915867254a9cd6}{race}, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a4a5c30ff7b4e136d48c99863525820de}{what\-Uses}, \hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a5f912027e08e2d435bb23d5810a35681}{max\-Repeats}=1, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} req\-Lv1=\hyperlink{namespaceBWAPI_1_1UnitTypes_aed86265448183e399e175695a97ec800}{\-Unit\-Types\-::\-None}, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} req\-Lv2=\hyperlink{namespaceBWAPI_1_1UnitTypes_aed86265448183e399e175695a97ec800}{\-Unit\-Types\-::\-None}, \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} req\-Lv3=\hyperlink{namespaceBWAPI_1_1UnitTypes_aed86265448183e399e175695a97ec800}{\-Unit\-Types\-::\-None})
\end{DoxyCompactItemize}
\subsection*{\-Public \-Attributes}
\begin{DoxyCompactItemize}
\item 
std\-::string \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a049a0792d51383e0ee05e15692522cb0}{name}
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_ae6356f68bf12c1e92acbc5820dc6aaf0}{mineral\-Price\-Base}
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a694cec7dcb40c58f7179fd8fe3fb315c}{mineral\-Price\-Factor}
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_ad9bcd0f91b9080bc83358bcff388e5ab}{gas\-Price\-Base}
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_ac12351f25caa3d96f5819f20fc054173}{gas\-Price\-Factor}
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a6b8457f4ff5065bd4b4cb09b5e71e60c}{upgrade\-Time\-Base}
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_ab3992311bcc026d56b2768b818f43cfe}{upgrade\-Time\-Factor}
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a18cc54093718f8164284f528510ad611}{what\-Upgrades}
\item 
\hyperlink{classBWAPI_1_1Race}{\-Race} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_aa78b9a100da435a0d2915867254a9cd6}{race}
\item 
\hyperlink{Detours_8h_ab5a791e918b09a41addbf5b813175633}{int} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a5f912027e08e2d435bb23d5810a35681}{max\-Repeats}
\item 
std\-::set$<$ \hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} $>$ \hyperlink{classBWAPI_1_1UpgradeTypeInternal_a4a5c30ff7b4e136d48c99863525820de}{what\-Uses}
\item 
\hyperlink{classBWAPI_1_1UnitType}{\-B\-W\-A\-P\-I\-::\-Unit\-Type} \hyperlink{classBWAPI_1_1UpgradeTypeInternal_aa1731a38ddd1399f9e2424f01205697a}{requirement} \mbox{[}3\mbox{]}
\item 
bool \hyperlink{classBWAPI_1_1UpgradeTypeInternal_add39adfa162de94d1f02cfb386db74c0}{valid}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_ac2be9e790522ca8e8d9be5f919fb5da8}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!\-Upgrade\-Type\-Internal@{\-Upgrade\-Type\-Internal}}
\index{\-Upgrade\-Type\-Internal@{\-Upgrade\-Type\-Internal}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{\-Upgrade\-Type\-Internal}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::\-Upgrade\-Type\-Internal} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classBWAPI_1_1UpgradeTypeInternal_ac2be9e790522ca8e8d9be5f919fb5da8}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_a7278faf69f7efd44fc063c4a4fba1c7d}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!set@{set}}
\index{set@{set}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{set}]{\setlength{\rightskip}{0pt plus 5cm}void {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::set} (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name, }
\item[{{\bf int}}]{mineral\-Price\-Base, }
\item[{{\bf int}}]{mineral\-Price\-Factor, }
\item[{{\bf int}}]{gas\-Price\-Base, }
\item[{{\bf int}}]{gas\-Price\-Factor, }
\item[{{\bf int}}]{upgrade\-Time\-Base, }
\item[{{\bf int}}]{upgrade\-Time\-Factor, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{what\-Upgrades, }
\item[{{\bf \-Race}}]{race, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{what\-Uses, }
\item[{{\bf int}}]{max\-Repeats = {\ttfamily 1}, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{req\-Lv1 = {\ttfamily {\bf \-Unit\-Types\-::\-None}}, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{req\-Lv2 = {\ttfamily {\bf \-Unit\-Types\-::\-None}}, }
\item[{{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}}]{req\-Lv3 = {\ttfamily {\bf \-Unit\-Types\-::\-None}}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}\label{classBWAPI_1_1UpgradeTypeInternal_a7278faf69f7efd44fc063c4a4fba1c7d}


\-Here is the caller graph for this function\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classBWAPI_1_1UpgradeTypeInternal_a7278faf69f7efd44fc063c4a4fba1c7d_icgraph}
\end{center}
\end{figure}




\subsection{\-Member \-Data \-Documentation}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_ad9bcd0f91b9080bc83358bcff388e5ab}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!gas\-Price\-Base@{gas\-Price\-Base}}
\index{gas\-Price\-Base@{gas\-Price\-Base}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{gas\-Price\-Base}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::gas\-Price\-Base}}}\label{classBWAPI_1_1UpgradeTypeInternal_ad9bcd0f91b9080bc83358bcff388e5ab}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_ac12351f25caa3d96f5819f20fc054173}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!gas\-Price\-Factor@{gas\-Price\-Factor}}
\index{gas\-Price\-Factor@{gas\-Price\-Factor}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{gas\-Price\-Factor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::gas\-Price\-Factor}}}\label{classBWAPI_1_1UpgradeTypeInternal_ac12351f25caa3d96f5819f20fc054173}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_a5f912027e08e2d435bb23d5810a35681}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!max\-Repeats@{max\-Repeats}}
\index{max\-Repeats@{max\-Repeats}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{max\-Repeats}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::max\-Repeats}}}\label{classBWAPI_1_1UpgradeTypeInternal_a5f912027e08e2d435bb23d5810a35681}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_ae6356f68bf12c1e92acbc5820dc6aaf0}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!mineral\-Price\-Base@{mineral\-Price\-Base}}
\index{mineral\-Price\-Base@{mineral\-Price\-Base}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{mineral\-Price\-Base}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::mineral\-Price\-Base}}}\label{classBWAPI_1_1UpgradeTypeInternal_ae6356f68bf12c1e92acbc5820dc6aaf0}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_a694cec7dcb40c58f7179fd8fe3fb315c}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!mineral\-Price\-Factor@{mineral\-Price\-Factor}}
\index{mineral\-Price\-Factor@{mineral\-Price\-Factor}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{mineral\-Price\-Factor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::mineral\-Price\-Factor}}}\label{classBWAPI_1_1UpgradeTypeInternal_a694cec7dcb40c58f7179fd8fe3fb315c}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_a049a0792d51383e0ee05e15692522cb0}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!name@{name}}
\index{name@{name}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}std\-::string {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::name}}}\label{classBWAPI_1_1UpgradeTypeInternal_a049a0792d51383e0ee05e15692522cb0}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_aa78b9a100da435a0d2915867254a9cd6}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!race@{race}}
\index{race@{race}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{race}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Race} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::race}}}\label{classBWAPI_1_1UpgradeTypeInternal_aa78b9a100da435a0d2915867254a9cd6}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_aa1731a38ddd1399f9e2424f01205697a}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!requirement@{requirement}}
\index{requirement@{requirement}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{requirement}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::requirement}\mbox{[}3\mbox{]}}}\label{classBWAPI_1_1UpgradeTypeInternal_aa1731a38ddd1399f9e2424f01205697a}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_a6b8457f4ff5065bd4b4cb09b5e71e60c}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!upgrade\-Time\-Base@{upgrade\-Time\-Base}}
\index{upgrade\-Time\-Base@{upgrade\-Time\-Base}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{upgrade\-Time\-Base}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::upgrade\-Time\-Base}}}\label{classBWAPI_1_1UpgradeTypeInternal_a6b8457f4ff5065bd4b4cb09b5e71e60c}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_ab3992311bcc026d56b2768b818f43cfe}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!upgrade\-Time\-Factor@{upgrade\-Time\-Factor}}
\index{upgrade\-Time\-Factor@{upgrade\-Time\-Factor}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{upgrade\-Time\-Factor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::upgrade\-Time\-Factor}}}\label{classBWAPI_1_1UpgradeTypeInternal_ab3992311bcc026d56b2768b818f43cfe}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_add39adfa162de94d1f02cfb386db74c0}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!valid@{valid}}
\index{valid@{valid}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{valid}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::valid}}}\label{classBWAPI_1_1UpgradeTypeInternal_add39adfa162de94d1f02cfb386db74c0}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_a18cc54093718f8164284f528510ad611}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!what\-Upgrades@{what\-Upgrades}}
\index{what\-Upgrades@{what\-Upgrades}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{what\-Upgrades}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type} {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::what\-Upgrades}}}\label{classBWAPI_1_1UpgradeTypeInternal_a18cc54093718f8164284f528510ad611}
\hypertarget{classBWAPI_1_1UpgradeTypeInternal_a4a5c30ff7b4e136d48c99863525820de}{\index{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}!what\-Uses@{what\-Uses}}
\index{what\-Uses@{what\-Uses}!BWAPI::UpgradeTypeInternal@{\-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal}}
\subsubsection[{what\-Uses}]{\setlength{\rightskip}{0pt plus 5cm}std\-::set$<${\bf \-B\-W\-A\-P\-I\-::\-Unit\-Type}$>$ {\bf \-B\-W\-A\-P\-I\-::\-Upgrade\-Type\-Internal\-::what\-Uses}}}\label{classBWAPI_1_1UpgradeTypeInternal_a4a5c30ff7b4e136d48c99863525820de}


\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
trunk/bwapi/\-B\-W\-A\-P\-I\-L\-I\-B/\-Source/\hyperlink{UpgradeType_8cpp}{\-Upgrade\-Type.\-cpp}\end{DoxyCompactItemize}
