\doxysection{WConfiguration\+Result.\+h}
\hypertarget{a00533_source}{}\label{a00533_source}\index{WConfigurationResult.h@{WConfigurationResult.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ }
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ <List>}}
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <ConfigurationResult.h>}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ "{}WUtilities.h"{}}}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00007\ \textcolor{keyword}{using\ namespace\ }System::Collections;}
\DoxyCodeLine{00008\ \textcolor{keyword}{using\ namespace\ }System::Collections::Generic;}
\DoxyCodeLine{00009\ \textcolor{keyword}{using\ namespace\ }System;}
\DoxyCodeLine{00010\ \textcolor{keyword}{using\ namespace\ }std;}
\DoxyCodeLine{00011\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00633}{WUtils}};}
\DoxyCodeLine{00015\ \textcolor{keyword}{public\ ref\ class}\ \mbox{\hyperlink{a00992}{WConfigurationResult}}}
\DoxyCodeLine{00016\ \{}
\DoxyCodeLine{00017\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00018\ \ \ \ \ \mbox{\hyperlink{a00992_ae517c031d8390a7c75209a68d8b93afa}{WConfigurationResult}}()\ \{}
\DoxyCodeLine{00019\ \ \ \ \ \ \ \ \ \_result\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00860}{ConfigurationResult}}();}
\DoxyCodeLine{00020\ \ \ \ \ \}}
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \ \ \ \ \mbox{\hyperlink{a00992_a9b2719d705b6df44a7d1c0dea4021198}{WConfigurationResult}}(\textcolor{keywordtype}{bool}\ pResult)\ \{}
\DoxyCodeLine{00023\ \ \ \ \ \ \ \ \ \_result\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00860}{ConfigurationResult}}(pResult);}
\DoxyCodeLine{00024\ \ \ \ \ \}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ \ \ \ \mbox{\hyperlink{a00992_ab6b4fb791d7a3dca91edb05bf96866ab}{\string~WConfigurationResult}}()\ \{}
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ \textcolor{keyword}{delete}(\_result);\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00028\ \ \ \ \ \}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{a00992_acf9b06a5fefc4790cdac47009bba72d2}{Result}}\ \{}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{bool}\ get()\ \{}
\DoxyCodeLine{00032\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_result-\/>GetResult();}
\DoxyCodeLine{00033\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{bool}\ x)\ \{}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \ \ \ \ \_result-\/>SetResult(x);}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00038\ \ \ \ \ \}}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keyword}{property}\ List<String\string^>\string^\ Reasons\ \{}
\DoxyCodeLine{00041\ \ \ \ \ \ \ \ \ List<String\string^>\string^\ get()\ \{}
\DoxyCodeLine{00042\ \ \ \ \ \ \ \ \ \ \ \ \ vector<string>\ actual\ =\ \_result-\/>GetReasons();}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \ \ \ \ List<String\string^>\string^\ toReturn\ =\ gcnew\ List<String\string^>();}
\DoxyCodeLine{00044\ \ \ \ \ \ \ \ \ \ \ \ \ String\string^\ toAdd;}
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\textcolor{keywordtype}{int}\ i\ =\ 0;\ i\ <\ actual.size();\ i++)\ \{}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toAdd\ =\ gcnew\ String(actual[i].c\_str());}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ toReturn-\/>Add(toAdd);}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ toReturn;}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \}\ \ \ \ \ \ \ }
\DoxyCodeLine{00052\ \ \ \ \ \}}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \ \ \ \ \textcolor{keywordtype}{void}\ PushReason(String\string^\ pReason)\ \{\ \ \ \ \ \ }
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \_result-\/>PushReason(\mbox{\hyperlink{a01044_abd61f8446cca891042dd652174c59385}{WConverter::ConvertToNativeString}}(pReason));\ \ \ \ \ \ \ }
\DoxyCodeLine{00056\ \ \ \ \ \}}
\DoxyCodeLine{00057\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00058\ \ \ \ \ \mbox{\hyperlink{a00860}{ConfigurationResult}}*\ \_result;}
\DoxyCodeLine{00059\ \};}
\DoxyCodeLine{00060\ }

\end{DoxyCode}
