\hypertarget{a00611_source}{}\doxysection{AAX\+\_\+\+Exception.\+h}
\label{a00611_source}\index{AAX\_Exception.h@{AAX\_Exception.h}}
\mbox{\hyperlink{a00611}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ \ Copyright\ 2016-\/2017,\ 2023\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ CONFIDENTIAL:\ this\ document\ contains\ confidential\ information\ of\ Avid.\ Do}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ not\ disclose\ to\ any\ third\ party.\ Use\ of\ the\ information\ contained\ in\ this}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ document\ is\ subject\ to\ an\ Avid\ SDK\ license.}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00016\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00017\ }
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#ifndef\ AAXLibrary\_AAX\_Exception\_h}}
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#define\ AAXLibrary\_AAX\_Exception\_h}}
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00728}{AAX\_Assert.h}}"{}}}
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00698}{AAX\_StringUtilities.h}}"{}}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00533}{AAX.h}}"{}}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ <exception>}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ <string>}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#include\ <set>}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#if\ 0}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#pragma\ mark\ -\/}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#pragma\ mark\ AAX::Exception}}
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{a00935}{AAX}}}
\DoxyCodeLine{00039\ \{}
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keyword}{namespace\ }Exception\ \{}
\DoxyCodeLine{00041\ \ \ \ \ \ \ \ \ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01965}{Any}};}
\DoxyCodeLine{00042\ \ \ \ \ \}}
\DoxyCodeLine{00043\ \ \ \ \ }
\DoxyCodeLine{00046\ \ \ \ \ \textcolor{keyword}{inline}\ std::string\ \mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ inStr);}
\DoxyCodeLine{00047\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keyword}{const}\ std::string\&\ \mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(\textcolor{keyword}{const}\ std::string\&\ inStr);\ }
\DoxyCodeLine{00048\ \ \ \ \ \textcolor{keyword}{inline}\ \textcolor{keyword}{const}\ std::string\&\ \mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01965}{Exception::Any}}\&\ inStr);\ }
\DoxyCodeLine{00049\ \ \ \ \ }
\DoxyCodeLine{00050\ \ \ \ \ }
\DoxyCodeLine{00058\ \ \ \ \ \textcolor{keyword}{namespace\ }Exception}
\DoxyCodeLine{00059\ \ \ \ \ \{}
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01965}{Any}}}
\DoxyCodeLine{00074\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00075\ \ \ \ \ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00076\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{virtual}\ \mbox{\hyperlink{a01965_ac8a5ec0e754e887a46d89bc715f21913}{\string~Any}}()\ \{\}}
\DoxyCodeLine{00077\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00080\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{template}\ <\textcolor{keyword}{class}\ C>}
\DoxyCodeLine{00081\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a01965_a35c51844258ed1c71259e98128fa1b49}{Any}}(\textcolor{keyword}{const}\ C\&\ inWhat)}
\DoxyCodeLine{00082\ \ \ \ \ \ \ \ \ \ \ \ \ :\ mDesc(\mbox{\hyperlink{a00935}{AAX}}::\mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(inWhat))}
\DoxyCodeLine{00083\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mFunction()}
\DoxyCodeLine{00084\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mLine()}
\DoxyCodeLine{00085\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mWhat(\mbox{\hyperlink{a00935}{AAX}}::Exception::\mbox{\hyperlink{a01965}{Any}}::CreateWhat(mDesc,\ mFunction,\ mLine))}
\DoxyCodeLine{00086\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00087\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00088\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00091\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{template}\ <\textcolor{keyword}{class}\ C1,\ \textcolor{keyword}{class}\ C2,\ \textcolor{keyword}{class}\ C3>}
\DoxyCodeLine{00092\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a01965_a9578bed0d27f81be2908f93f19034474}{Any}}(\textcolor{keyword}{const}\ C1\&\ inWhat,\ \textcolor{keyword}{const}\ C2\&\ inFunction,\ \textcolor{keyword}{const}\ C3\&\ inLine)}
\DoxyCodeLine{00093\ \ \ \ \ \ \ \ \ \ \ \ \ :\ mDesc(\mbox{\hyperlink{a00935}{AAX}}::\mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(inWhat))}
\DoxyCodeLine{00094\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mFunction(\mbox{\hyperlink{a00935}{AAX}}::\mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(inFunction))}
\DoxyCodeLine{00095\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mLine(\mbox{\hyperlink{a00935}{AAX}}::\mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(inLine))}
\DoxyCodeLine{00096\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mWhat(\mbox{\hyperlink{a00935}{AAX}}::Exception::\mbox{\hyperlink{a01965}{Any}}::CreateWhat(mDesc,\ mFunction,\ mLine))}
\DoxyCodeLine{00097\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00098\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00099\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00100\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ assignment\ operator}}
\DoxyCodeLine{00101\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01965}{Any}}\&\ \mbox{\hyperlink{a01965_a667888fa918946441bd6b03ad022cd65}{operator=}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01965}{Any}}\&\ inOther)}
\DoxyCodeLine{00102\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00103\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mDesc\ =\ inOther.mDesc;}
\DoxyCodeLine{00104\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mFunction\ =\ inOther.mFunction;}
\DoxyCodeLine{00105\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mLine\ =\ inOther.mLine;}
\DoxyCodeLine{00106\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mWhat\ =\ inOther.mWhat;}
\DoxyCodeLine{00107\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};}
\DoxyCodeLine{00108\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00109\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00110\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01965_a9de3a5ad28f7b36c0930dcb71c585855}{AAX\_DEFAULT\_MOVE\_CTOR}}(\mbox{\hyperlink{a01965}{Any}});}
\DoxyCodeLine{00111\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01965_a4a698473997da5ebf0c0092618715234}{AAX\_DEFAULT\_MOVE\_OPER}}(\mbox{\hyperlink{a01965}{Any}});}
\DoxyCodeLine{00112\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00113\ \ \ \ \ \ \ \ \ \textcolor{keyword}{public}:\ \textcolor{comment}{//\ AAX::Exception::Any}}
\DoxyCodeLine{00114\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00115\ \textcolor{preprocessor}{\#ifndef\ AAX\_CPP11\_SUPPORT}}
\DoxyCodeLine{00116\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ implicit\ conversion\ to\ std::string\ (mostly\ for\ AsString())}}
\DoxyCodeLine{00117\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{operator}\ \textcolor{keyword}{const}\ std::string\&(void)\ \textcolor{keyword}{const}\ \{\ \textcolor{keywordflow}{return}\ mWhat;\ \}}
\DoxyCodeLine{00118\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00119\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00120\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ std::string\&\ \mbox{\hyperlink{a01965_a8c5d76e14059360f2cd47dbaf91832dd}{What}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mWhat;\ \}}
\DoxyCodeLine{00121\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ std::string\&\ \mbox{\hyperlink{a01965_a03d6eb1711e12765014cfd7efce50769}{Desc}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mDesc;\ \}}
\DoxyCodeLine{00122\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ std::string\&\ \mbox{\hyperlink{a01965_a1cf209845201a1988ef62642bd4e8a5a}{Function}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mFunction;\ \}}
\DoxyCodeLine{00123\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ std::string\&\ \mbox{\hyperlink{a01965_aefabb3f2983049a7bcbb62c014e78585}{Line}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mLine;\ \}}
\DoxyCodeLine{00124\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00125\ \ \ \ \ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00126\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ std::string\ CreateWhat(\textcolor{keyword}{const}\ std::string\&\ inDesc,\ \textcolor{keyword}{const}\ std::string\&\ inFunc,\ \textcolor{keyword}{const}\ std::string\&\ inLine)}
\DoxyCodeLine{00127\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00128\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ std::string\ whatStr(inDesc);}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\textcolor{keyword}{false}\ ==\ inFunc.empty())\ \{\ whatStr\ +=\ (\textcolor{stringliteral}{"{}\ func:"{}}\ +\ inFunc);\ \}}
\DoxyCodeLine{00130\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\textcolor{keyword}{false}\ ==\ inLine.empty())\ \{\ whatStr\ +=\ (\textcolor{stringliteral}{"{}\ line:"{}}\ +\ inLine);\ \}}
\DoxyCodeLine{00131\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ whatStr;}
\DoxyCodeLine{00132\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00133\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00134\ \ \ \ \ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00135\ \ \ \ \ \ \ \ \ \ \ \ \ std::string\ mDesc;}
\DoxyCodeLine{00136\ \ \ \ \ \ \ \ \ \ \ \ \ std::string\ mFunction;}
\DoxyCodeLine{00137\ \ \ \ \ \ \ \ \ \ \ \ \ std::string\ mLine;}
\DoxyCodeLine{00138\ \ \ \ \ \ \ \ \ \ \ \ \ std::string\ mWhat;}
\DoxyCodeLine{00139\ \ \ \ \ \ \ \ \ \};}
\DoxyCodeLine{00140\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00143\ \ \ \ \ \ \ \ \ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01969}{ResultError}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{a01965}{Any}}}
\DoxyCodeLine{00144\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00145\ \ \ \ \ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00146\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a01969_ad96a8e3b025441353ffd2eb4f25f9126}{ResultError}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inWhatResult)}
\DoxyCodeLine{00147\ \ \ \ \ \ \ \ \ \ \ \ \ :\ \mbox{\hyperlink{a01965}{Any}}(\mbox{\hyperlink{a01969}{ResultError}}::\mbox{\hyperlink{a01969_a55c2ce6a7122bee29558dc16bd860067}{FormatResult}}(inWhatResult))}
\DoxyCodeLine{00148\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mResult(inWhatResult)}
\DoxyCodeLine{00149\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00150\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00151\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00152\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{template}\ <\textcolor{keyword}{class}\ C>}
\DoxyCodeLine{00153\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a01969_adb645fa763b880387217fda5fb08e9ce}{ResultError}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inWhatResult,\ \textcolor{keyword}{const}\ C\&\ inFunction)}
\DoxyCodeLine{00154\ \ \ \ \ \ \ \ \ \ \ \ \ :\ \mbox{\hyperlink{a01965}{Any}}(\mbox{\hyperlink{a01969}{ResultError}}::\mbox{\hyperlink{a01969_a55c2ce6a7122bee29558dc16bd860067}{FormatResult}}(inWhatResult),\ inFunction,\ (const\ char*)NULL)}
\DoxyCodeLine{00155\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mResult(inWhatResult)}
\DoxyCodeLine{00156\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00157\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00158\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00159\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{template}\ <\textcolor{keyword}{class}\ C1,\ \textcolor{keyword}{class}\ C2>}
\DoxyCodeLine{00160\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{explicit}\ \mbox{\hyperlink{a01969_a512d5c7f7c7fdea31d86ef0696768a37}{ResultError}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inWhatResult,\ \textcolor{keyword}{const}\ C1\&\ inFunction,\ \textcolor{keyword}{const}\ C2\&\ inLine)}
\DoxyCodeLine{00161\ \ \ \ \ \ \ \ \ \ \ \ \ :\ \mbox{\hyperlink{a01965}{Any}}(\mbox{\hyperlink{a01969}{ResultError}}::\mbox{\hyperlink{a01969_a55c2ce6a7122bee29558dc16bd860067}{FormatResult}}(inWhatResult),\ inFunction,\ inLine)}
\DoxyCodeLine{00162\ \ \ \ \ \ \ \ \ \ \ \ \ ,\ mResult(inWhatResult)}
\DoxyCodeLine{00163\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00164\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00165\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00166\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ std::string\ \mbox{\hyperlink{a01969_a55c2ce6a7122bee29558dc16bd860067}{FormatResult}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inResult)}
\DoxyCodeLine{00167\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00168\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ std::string(\mbox{\hyperlink{a00935_a354029650cebc5f23636c9984a65ea0d}{AAX::AsStringResult}}(inResult)\ +\ \textcolor{stringliteral}{"{}\ ("{}}\ +\ \mbox{\hyperlink{a00935_ab024a3d9ac9c68350b377b2c70ec4727}{AAX::AsStringInt32}}((int32\_t)inResult)\ +\ \textcolor{stringliteral}{"{})"{}});}
\DoxyCodeLine{00169\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00170\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00171\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \mbox{\hyperlink{a01969_ad7773300e7e3920726ad6ffe508d3547}{Result}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mResult;\ \}}
\DoxyCodeLine{00172\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00173\ \ \ \ \ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00174\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ mResult;}
\DoxyCodeLine{00175\ \ \ \ \ \ \ \ \ \};}
\DoxyCodeLine{00176\ \ \ \ \ \}}
\DoxyCodeLine{00177\ }
\DoxyCodeLine{00178\ \ \ \ \ std::string\ \mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ inStr)}
\DoxyCodeLine{00179\ \ \ \ \ \{}
\DoxyCodeLine{00180\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ inStr\ ?\ std::string(inStr)\ :\ std::string();}
\DoxyCodeLine{00181\ \ \ \ \ \}}
\DoxyCodeLine{00182\ }
\DoxyCodeLine{00183\ \ \ \ \ \textcolor{keyword}{const}\ std::string\&\ \mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(\textcolor{keyword}{const}\ std::string\&\ inStr)}
\DoxyCodeLine{00184\ \ \ \ \ \{}
\DoxyCodeLine{00185\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ inStr;}
\DoxyCodeLine{00186\ \ \ \ \ \}}
\DoxyCodeLine{00187\ }
\DoxyCodeLine{00188\ \ \ \ \ \textcolor{keyword}{const}\ std::string\&\ \mbox{\hyperlink{a00935_a8fbde5607de487515bcb55631bc1377d}{AsString}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01965}{Exception::Any}}\&\ inStr)}
\DoxyCodeLine{00189\ \ \ \ \ \{}
\DoxyCodeLine{00190\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ inStr.\mbox{\hyperlink{a01965_a8c5d76e14059360f2cd47dbaf91832dd}{What}}();}
\DoxyCodeLine{00191\ \ \ \ \ \}}
\DoxyCodeLine{00192\ \}}
\DoxyCodeLine{00193\ }
\DoxyCodeLine{00194\ }
\DoxyCodeLine{00196\ \textcolor{preprocessor}{\#if\ 0}}
\DoxyCodeLine{00197\ \textcolor{preprocessor}{\#pragma\ mark\ -\/}}
\DoxyCodeLine{00198\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00200\ }
\DoxyCodeLine{00313\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01973}{AAX\_CheckedResult}}}
\DoxyCodeLine{00314\ \{}
\DoxyCodeLine{00315\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00316\ \ \ \ \ \textcolor{keyword}{typedef}\ \mbox{\hyperlink{a01969}{AAX::Exception::ResultError}}\ \mbox{\hyperlink{a01973_a36fd71afc6d62993c1dd96e1ca9fcc0e}{Exception}};}
\DoxyCodeLine{00317\ \ \ \ \ }
\DoxyCodeLine{00318\ \ \ \ \ \textcolor{comment}{/*\ non-\/virtual\ destructor\ */}\ \mbox{\hyperlink{a01973_ac8120ba01d2f25608d74533c9d1a9747}{\string~AAX\_CheckedResult}}()\ \{\}}
\DoxyCodeLine{00319\ \ \ \ \ }
\DoxyCodeLine{00321\ \ \ \ \ \mbox{\hyperlink{a01973_aab8a1c36b9be4f6aac93d79d3160dde8}{AAX\_CheckedResult}}()}
\DoxyCodeLine{00322\ \ \ \ \ :\ mCurResult(\mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}})}
\DoxyCodeLine{00323\ \ \ \ \ ,\ mLastError(\mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}})}
\DoxyCodeLine{00324\ \ \ \ \ ,\ mAcceptedResults()}
\DoxyCodeLine{00325\ \ \ \ \ \{}
\DoxyCodeLine{00326\ \ \ \ \ \ \ \ \ Initialize();}
\DoxyCodeLine{00327\ \ \ \ \ \}}
\DoxyCodeLine{00328\ \ \ \ \ }
\DoxyCodeLine{00331\ \ \ \ \ \mbox{\hyperlink{a01973_a03a1d64b0bf359b6a23ae59f6d892859}{AAX\_CheckedResult}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inResult)}
\DoxyCodeLine{00332\ \ \ \ \ :\ mCurResult(inResult)}
\DoxyCodeLine{00333\ \ \ \ \ ,\ mLastError(\mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}})}
\DoxyCodeLine{00334\ \ \ \ \ ,\ mAcceptedResults()}
\DoxyCodeLine{00335\ \ \ \ \ \{}
\DoxyCodeLine{00336\ \ \ \ \ \ \ \ \ Initialize();}
\DoxyCodeLine{00337\ \ \ \ \ \ \ \ \ Check();}
\DoxyCodeLine{00338\ \ \ \ \ \}}
\DoxyCodeLine{00339\ \ \ \ \ }
\DoxyCodeLine{00345\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a01973_af6c4b10c55e959f5f8424514a3cbb68a}{AddAcceptedResult}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inResult)}
\DoxyCodeLine{00346\ \ \ \ \ \{}
\DoxyCodeLine{00347\ \ \ \ \ \ \ \ \ mAcceptedResults.insert(inResult);}
\DoxyCodeLine{00348\ \ \ \ \ \}}
\DoxyCodeLine{00349\ \ \ \ \ }
\DoxyCodeLine{00350\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a01973_a14a7d7cab3e771a38481a7ab5447ea52}{ResetAcceptedResults}}()}
\DoxyCodeLine{00351\ \ \ \ \ \{}
\DoxyCodeLine{00352\ \ \ \ \ \ \ \ \ mAcceptedResults.clear();}
\DoxyCodeLine{00353\ \ \ \ \ \ \ \ \ mAcceptedResults.insert(\mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}});}
\DoxyCodeLine{00354\ \ \ \ \ \}}
\DoxyCodeLine{00355\ \ \ \ \ }
\DoxyCodeLine{00357\ \ \ \ \ \mbox{\hyperlink{a01973}{AAX\_CheckedResult}}\&\ \mbox{\hyperlink{a01973_aecaead00a6a260a93ac771ecae413f16}{operator=}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inResult)}
\DoxyCodeLine{00358\ \ \ \ \ \{}
\DoxyCodeLine{00359\ \ \ \ \ \ \ \ \ mCurResult\ =\ inResult;}
\DoxyCodeLine{00360\ \ \ \ \ \ \ \ \ Check();}
\DoxyCodeLine{00361\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};}
\DoxyCodeLine{00362\ \ \ \ \ \}}
\DoxyCodeLine{00363\ \ \ \ \ }
\DoxyCodeLine{00366\ \ \ \ \ \mbox{\hyperlink{a01973}{AAX\_CheckedResult}}\&\ \mbox{\hyperlink{a01973_a966916546e0c86a42bfd6ee455552dcd}{operator|=}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inResult)}
\DoxyCodeLine{00367\ \ \ \ \ \{}
\DoxyCodeLine{00368\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ this-\/>\mbox{\hyperlink{a01973_aecaead00a6a260a93ac771ecae413f16}{operator=}}(inResult);}
\DoxyCodeLine{00369\ \ \ \ \ \}}
\DoxyCodeLine{00370\ \ \ \ \ }
\DoxyCodeLine{00372\ \ \ \ \ \textcolor{keyword}{operator}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}()\textcolor{keyword}{\ const}}
\DoxyCodeLine{00373\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00374\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ mCurResult;}
\DoxyCodeLine{00375\ \ \ \ \ \}}
\DoxyCodeLine{00376\ \ \ \ \ }
\DoxyCodeLine{00379\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a01973_abacea9ed08e64315cb984fa630815dd7}{Clear}}()}
\DoxyCodeLine{00380\ \ \ \ \ \{}
\DoxyCodeLine{00381\ \ \ \ \ \ \ \ \ mCurResult\ =\ \mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}};}
\DoxyCodeLine{00382\ \ \ \ \ \ \ \ \ mLastError\ =\ \mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}};}
\DoxyCodeLine{00383\ \ \ \ \ \}}
\DoxyCodeLine{00384\ \ \ \ \ }
\DoxyCodeLine{00387\ \ \ \ \ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \mbox{\hyperlink{a01973_af0e297a396bf7ea3dfcdc7f71d85486f}{LastError}}()\textcolor{keyword}{\ const}}
\DoxyCodeLine{00388\ \textcolor{keyword}{\ \ \ \ }\{}
\DoxyCodeLine{00389\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ mLastError;}
\DoxyCodeLine{00390\ \ \ \ \ \}}
\DoxyCodeLine{00391\ \ \ \ \ }
\DoxyCodeLine{00392\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00393\ \ \ \ \ \textcolor{keywordtype}{void}\ Initialize()}
\DoxyCodeLine{00394\ \ \ \ \ \{}
\DoxyCodeLine{00395\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01973_a14a7d7cab3e771a38481a7ab5447ea52}{ResetAcceptedResults}}();}
\DoxyCodeLine{00396\ \ \ \ \ \}}
\DoxyCodeLine{00397\ \ \ \ \ }
\DoxyCodeLine{00398\ \ \ \ \ \textcolor{keywordtype}{void}\ Check()}
\DoxyCodeLine{00399\ \ \ \ \ \{}
\DoxyCodeLine{00400\ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ err\ =\ mCurResult;}
\DoxyCodeLine{00401\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (0\ ==\ mAcceptedResults.count(err))}
\DoxyCodeLine{00402\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00403\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01969}{AAX\_CheckedResult::Exception}}\ ex(err);}
\DoxyCodeLine{00404\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00405\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ error\ state\ is\ now\ captured\ in\ ex}}
\DoxyCodeLine{00406\ \ \ \ \ \ \ \ \ \ \ \ \ mCurResult\ =\ \mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}};}
\DoxyCodeLine{00407\ \ \ \ \ \ \ \ \ \ \ \ \ mLastError\ =\ err;}
\DoxyCodeLine{00408\ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00409\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00728_ac2aa820ece56bb59140ad561218db4b3}{AAX\_TRACE\_RELEASE}}(\mbox{\hyperlink{a00728_a8a6953f26f36747357d5d95f96dcf68d}{kAAX\_Trace\_Priority\_Normal}},\ \textcolor{stringliteral}{"{}AAX\_CheckedResult\ -\/\ throwing\ \%s"{}},\ ex.What().c\_str());}
\DoxyCodeLine{00410\ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00728_ae871829dd7297e4a5ae6c7094f6b5398}{AAX\_STACKTRACE}}(\mbox{\hyperlink{a00728_a68d0297c90a8d294e19ea781f8cda96a}{kAAX\_Trace\_Priority\_Lowest}},\ \textcolor{stringliteral}{"{}"{}});\ \textcolor{comment}{//\ stacktrace\ is\ only\ printed\ for\ debug\ plug-\/in\ builds}}
\DoxyCodeLine{00411\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{throw}\ ex;}
\DoxyCodeLine{00412\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00413\ \ \ \ \ \}}
\DoxyCodeLine{00414\ \ \ \ \ }
\DoxyCodeLine{00415\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00416\ \ \ \ \ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ mCurResult;}
\DoxyCodeLine{00417\ \ \ \ \ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ mLastError;}
\DoxyCodeLine{00418\ \ \ \ \ std::set<AAX\_Result>\ mAcceptedResults;}
\DoxyCodeLine{00419\ \};}
\DoxyCodeLine{00420\ }
\DoxyCodeLine{00421\ }
\DoxyCodeLine{00423\ \textcolor{preprocessor}{\#if\ 0}}
\DoxyCodeLine{00424\ \textcolor{preprocessor}{\#pragma\ mark\ -\/}}
\DoxyCodeLine{00425\ \textcolor{preprocessor}{\#pragma\ mark\ AAX\ exception\ macros}}
\DoxyCodeLine{00426\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00428\ }
\DoxyCodeLine{00444\ \textcolor{preprocessor}{\#define\ AAX\_SWALLOW(...)\ \(\backslash\)}}
\DoxyCodeLine{00445\ \textcolor{preprocessor}{\ \ try\ \{\ if(true)\ \{\ (\ \_\_VA\_ARGS\_\_\ );\ \}\ \}\ \(\backslash\)}}
\DoxyCodeLine{00446\ \textcolor{preprocessor}{\ \ catch\ (const\ AAX\_CheckedResult::Exception\&\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_))\ \{\ \(\backslash\)}}
\DoxyCodeLine{00447\ \textcolor{preprocessor}{\ \ \ \ AAX\_TRACE\_RELEASE(kAAX\_Trace\_Priority\_High,\ "{}\%s\ line\ \%d\ (\%s)\ exception\ caught:\ \%s\ (swallowed)"{}},\ \_\_FILE\_\_,\ \_\_LINE\_\_,\ \_\_FUNCTION\_\_,\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_).What().c\_str());\ \(\backslash\)}
\DoxyCodeLine{00448\ \ \ \}\ do\ \{\}\ while\ (false)}
\DoxyCodeLine{00449\ }
\DoxyCodeLine{00472\ \textcolor{preprocessor}{\#define\ AAX\_SWALLOW\_MULT(...)\ \(\backslash\)}}
\DoxyCodeLine{00473\ \textcolor{preprocessor}{try\ \{\ if(true)\ \{\ \_\_VA\_ARGS\_\_\ \}\ \}\ \(\backslash\)}}
\DoxyCodeLine{00474\ \textcolor{preprocessor}{catch\ (const\ AAX\_CheckedResult::Exception\&\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_))\ \{\ \(\backslash\)}}
\DoxyCodeLine{00475\ \textcolor{preprocessor}{AAX\_TRACE\_RELEASE(kAAX\_Trace\_Priority\_High,\ "{}\%s\ line\ \%d\ (\%s)\ exception\ caught:\ \%s\ (swallowed)"{}},\ \_\_FILE\_\_,\ \_\_LINE\_\_,\ \_\_FUNCTION\_\_,\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_).What().c\_str());\ \(\backslash\)}
\DoxyCodeLine{00476\ \}\ do\ \{\}\ while\ (false)}
\DoxyCodeLine{00477\ }
\DoxyCodeLine{00499\ \textcolor{preprocessor}{\#define\ AAX\_CAPTURE(X,\ ...)\ \(\backslash\)}}
\DoxyCodeLine{00500\ \textcolor{preprocessor}{try\ \{\ if(true)\ \{\ (\ \_\_VA\_ARGS\_\_\ );\ \}\ \}\ \(\backslash\)}}
\DoxyCodeLine{00501\ \textcolor{preprocessor}{catch\ (const\ AAX::Exception::ResultError\&\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_))\ \{\ \(\backslash\)}}
\DoxyCodeLine{00502\ \textcolor{preprocessor}{AAX\_TRACE\_RELEASE(kAAX\_Trace\_Priority\_High,\ "{}\%s\ line\ \%d\ (\%s)\ exception\ caught:\ \%s\ (captured)"{}},\ \_\_FILE\_\_,\ \_\_LINE\_\_,\ \_\_FUNCTION\_\_,\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_).What().c\_str());\ \(\backslash\)}
\DoxyCodeLine{00503\ (X)\ =\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_).Result();\ \(\backslash\)}
\DoxyCodeLine{00504\ \}\ do\ \{\}\ while\ (false)}
\DoxyCodeLine{00505\ }
\DoxyCodeLine{00537\ \textcolor{preprocessor}{\#define\ AAX\_CAPTURE\_MULT(X,\ ...)\ \(\backslash\)}}
\DoxyCodeLine{00538\ \textcolor{preprocessor}{try\ \{\ if(true)\ \{\ \_\_VA\_ARGS\_\_\ \}\ \}\ \(\backslash\)}}
\DoxyCodeLine{00539\ \textcolor{preprocessor}{catch\ (const\ AAX\_CheckedResult::Exception\&\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_))\ \{\ \(\backslash\)}}
\DoxyCodeLine{00540\ \textcolor{preprocessor}{AAX\_TRACE\_RELEASE(kAAX\_Trace\_Priority\_High,\ "{}\%s\ line\ \%d\ (\%s)\ exception\ caught:\ \%s\ (captured)"{}},\ \_\_FILE\_\_,\ \_\_LINE\_\_,\ \_\_FUNCTION\_\_,\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_).What().c\_str());\ \(\backslash\)}
\DoxyCodeLine{00541\ (X)\ =\ AAX\_PREPROCESSOR\_CONCAT(ex,\_\_LINE\_\_).Result();\ \(\backslash\)}
\DoxyCodeLine{00542\ \}\ do\ \{\}\ while\ (false)}
\DoxyCodeLine{00543\ }
\DoxyCodeLine{00544\ }
\DoxyCodeLine{00546\ \textcolor{preprocessor}{\#if\ 0}}
\DoxyCodeLine{00547\ \textcolor{preprocessor}{\#pragma\ mark\ -\/}}
\DoxyCodeLine{00548\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00550\ }
\DoxyCodeLine{00588\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01977}{AAX\_AggregateResult}}}
\DoxyCodeLine{00589\ \{}
\DoxyCodeLine{00590\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00591\ \ \ \ \ \mbox{\hyperlink{a01977_a8534104d582e40a0e2e1aab75dc8528e}{AAX\_AggregateResult}}()\ =\ \textcolor{keywordflow}{default};}
\DoxyCodeLine{00592\ \ \ \ \ }
\DoxyCodeLine{00593\ \ \ \ \ \mbox{\hyperlink{a01977_a09e9058ca4ec5df47741cef7e44cf165}{\string~AAX\_AggregateResult}}()}
\DoxyCodeLine{00594\ \ \ \ \ \{}
\DoxyCodeLine{00595\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (0\ ==\ mNumSucceeded\ \&\&\ 0\ <\ mNumFailed)\ \{}
\DoxyCodeLine{00596\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{00597\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ do\ normal\ logging}}
\DoxyCodeLine{00598\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ this-\/>\mbox{\hyperlink{a01977_a33d04a772b49de8c5413086bcd426c07}{Check}}();}
\DoxyCodeLine{00599\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00600\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{catch}(...)}
\DoxyCodeLine{00601\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00602\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{comment}{//\ can't\ throw\ from\ a\ destructor}}
\DoxyCodeLine{00603\ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00604\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00605\ \ \ \ \ \}}
\DoxyCodeLine{00606\ \ \ \ \ }
\DoxyCodeLine{00608\ \ \ \ \ \mbox{\hyperlink{a01977}{AAX\_AggregateResult}}\&\ \mbox{\hyperlink{a01977_a19c8acd13ef660d9c2f1f6609ec96cfc}{operator=}}(\mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ inResult)}
\DoxyCodeLine{00609\ \ \ \ \ \{}
\DoxyCodeLine{00610\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}}\ ==\ inResult)}
\DoxyCodeLine{00611\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00612\ \ \ \ \ \ \ \ \ \ \ \ \ ++mNumSucceeded;}
\DoxyCodeLine{00613\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00614\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}}
\DoxyCodeLine{00615\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00616\ \ \ \ \ \ \ \ \ \ \ \ \ mLastFailure\ =\ inResult;}
\DoxyCodeLine{00617\ \ \ \ \ \ \ \ \ \ \ \ \ ++mNumFailed;}
\DoxyCodeLine{00618\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00619\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00620\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ *\textcolor{keyword}{this};}
\DoxyCodeLine{00621\ \ \ \ \ \}}
\DoxyCodeLine{00622\ }
\DoxyCodeLine{00624\ \ \ \ \ \textcolor{keyword}{operator}\ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}()}
\DoxyCodeLine{00625\ \ \ \ \ \{}
\DoxyCodeLine{00626\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \textcolor{keyword}{const}\ err\ =\ this-\/>\mbox{\hyperlink{a01977_a0013779e238ac59fd554aa2315658a33}{LastFailure}}();}
\DoxyCodeLine{00627\ \ \ \ \ \ \ \ \ this-\/>\mbox{\hyperlink{a01977_a45d3ebe7f67b352af2773396eac0ba14}{Clear}}();}
\DoxyCodeLine{00628\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ err;}
\DoxyCodeLine{00629\ \ \ \ \ \}}
\DoxyCodeLine{00630\ \ \ \ \ }
\DoxyCodeLine{00631\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a01977_a33d04a772b49de8c5413086bcd426c07}{Check}}()\textcolor{keyword}{\ const\ }\{\ \mbox{\hyperlink{a01973}{AAX\_CheckedResult}}\ tempErr(mLastFailure);\ \}}
\DoxyCodeLine{00632\ \ \ \ \ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a01977_a45d3ebe7f67b352af2773396eac0ba14}{Clear}}()\ \{}
\DoxyCodeLine{00633\ \ \ \ \ \ \ \ \ mLastFailure\ =\ \mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}};}
\DoxyCodeLine{00634\ \ \ \ \ \ \ \ \ mNumFailed\ =\ 0;}
\DoxyCodeLine{00635\ \ \ \ \ \ \ \ \ mNumSucceeded\ =\ 0;}
\DoxyCodeLine{00636\ \ \ \ \ \}}
\DoxyCodeLine{00637\ }
\DoxyCodeLine{00638\ \ \ \ \ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \mbox{\hyperlink{a01977_a0013779e238ac59fd554aa2315658a33}{LastFailure}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mLastFailure;\ \}}
\DoxyCodeLine{00639\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a01977_af566e9d83e13f3df53873e112b90a6d1}{NumFailed}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mNumFailed;\ \}}
\DoxyCodeLine{00640\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a01977_a4b3ef5ae845c708b2f5d4e94f22fbfee}{NumSucceeded}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mNumSucceeded;\ \}}
\DoxyCodeLine{00641\ \ \ \ \ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a01977_aff31a39e4489a273a28efa37e4aac781}{NumAttempted}}()\textcolor{keyword}{\ const\ }\{\ \textcolor{keywordflow}{return}\ mNumFailed+mNumSucceeded;\ \}}
\DoxyCodeLine{00642\ \ \ \ \ }
\DoxyCodeLine{00643\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00644\ \ \ \ \ \mbox{\hyperlink{a00533_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ mLastFailure\{\mbox{\hyperlink{a00530_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}}\};}
\DoxyCodeLine{00645\ \ \ \ \ \textcolor{keywordtype}{int}\ mNumFailed\{0\};}
\DoxyCodeLine{00646\ \ \ \ \ \textcolor{keywordtype}{int}\ mNumSucceeded\{0\};}
\DoxyCodeLine{00647\ \};}
\DoxyCodeLine{00648\ }
\DoxyCodeLine{00649\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
