\hypertarget{a01990}{}\doxysection{AAX\+\_\+\+Checked\+Result Class Reference}
\label{a01990}\index{AAX\_CheckedResult@{AAX\_CheckedResult}}


{\ttfamily \#include $<$AAX\+\_\+\+Exception.\+h$>$}



\doxysubsection{Description}
Error checker convenience class for \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}

Implicitly convertable to an \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}.

Provides an overloaded {\ttfamily \mbox{\hyperlink{a01990_aecaead00a6a260a93ac771ecae413f16}{operator=()}}} which will throw an \mbox{\hyperlink{a01986}{AAX\+::\+Exception\+::\+Result\+Error}} if assigned a non-\/success result.

\begin{DoxyWarning}{Warning}
Never use this class outside of an exception catch scope
\end{DoxyWarning}
If the host supports \mbox{\hyperlink{a00740_ab53f1d6a94f8b6ebb3a101f71bfe4e82}{AAX\+\_\+\+TRACE}} tracing, a log is emitted when the exception is thrown. A stacktrace is added if the host\textquotesingle{}s trace priority filter level is set to \mbox{\hyperlink{a00740_a68d0297c90a8d294e19ea781f8cda96a}{k\+AAX\+\_\+\+Trace\+\_\+\+Priority\+\_\+\+Lowest}}

When an error is encountered, \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} throws an \mbox{\hyperlink{a01990_a36fd71afc6d62993c1dd96e1ca9fcc0e}{AAX\+\_\+\+Checked\+Result\+::\+Exception}} exception and clears its internal result value.


\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00620}{AAX\_Exception.h}}"{}}}
\DoxyCodeLine{\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ SomeCheckedMethod()}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ result\ =\ \mbox{\hyperlink{a00539_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\_SUCCESS}};}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{\ \ \ \ \mbox{\hyperlink{a01990}{AAX\_CheckedResult}}\ cr;}
\DoxyCodeLine{\ \ \ \ cr\ =\ ResultFunc1();}
\DoxyCodeLine{\ \ \ \ cr\ =\ ResultFunc2();}
\DoxyCodeLine{\ \ \}}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{catch}\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{a01986}{AAX\_CheckedResult::Exception}}\&\ ex)}
\DoxyCodeLine{\ \ \{}
\DoxyCodeLine{\ \ \ \ \textcolor{comment}{//\ handle\ exception;\ do\ not\ rethrow}}
\DoxyCodeLine{\ \ \ \ result\ =\ ex.\mbox{\hyperlink{a01986_ad7773300e7e3920726ad6ffe508d3547}{Result}}();}
\DoxyCodeLine{\ \ \}}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{catch}\ (...)}
\DoxyCodeLine{\ \ \{}
\DoxyCodeLine{\ \ \ \ result\ =\ \mbox{\hyperlink{a00539_a5f8c7439f3a706c4f8315a9609811937a48a5ec1530ce351b081413c73097928f}{AAX\_ERROR\_UNKNOWN\_EXCEPTION}};}
\DoxyCodeLine{\ \ \}}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{return}\ result;}
\DoxyCodeLine{\}}

\end{DoxyCode}


\begin{DoxyNote}{Note}
The \mbox{\hyperlink{a00948}{AAX}} Library method which calls {\ttfamily \mbox{\hyperlink{a00889_gae0d356eef326f77cbb972e48946d4892}{Get\+Effect\+Descriptions()}}} on the plug-\/in includes an appropriate exception handler, so \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} objects may be used within a plug-\/in\textquotesingle{}s describe code without additional catch scopes.
\end{DoxyNote}

\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00620}{AAX\_Exception.h}}"{}}}
\DoxyCodeLine{\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ \mbox{\hyperlink{a00889_gae0d356eef326f77cbb972e48946d4892}{GetEffectDescriptions}}(\ \mbox{\hyperlink{a02210}{AAX\_ICollection}}\ *\ outCollection\ )}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \mbox{\hyperlink{a01990}{AAX\_CheckedResult}}\ cr;}
\DoxyCodeLine{\ \ cr\ =\ MyDescriptionSubroutine1();}
\DoxyCodeLine{\ \ cr\ =\ outCollection-\/>\mbox{\hyperlink{a02210_a5ff114b8c4da2081515186f2faf65c8c}{AddEffect}}(...);}
\DoxyCodeLine{\ \ \textcolor{comment}{//\ etc.}}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{return}\ cr;}
\DoxyCodeLine{\}}

\end{DoxyCode}


It is assumed that the exception handler will resolve any error state and that the \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} may therefore continue to be used from a clean state following the exception catch block.

If the previous error value is required then it can be retrieved using \mbox{\hyperlink{a01990_af0e297a396bf7ea3dfcdc7f71d85486f}{AAX\+\_\+\+Checked\+Result\+::\+Last\+Error()}}.


\begin{DoxyCode}{0}
\DoxyCodeLine{\textcolor{comment}{//\ in\ this\ example,\ the\ exception\ is\ handled\ and}}
\DoxyCodeLine{\textcolor{comment}{//\ success\ is\ returned\ from\ MyFunc1()}}
\DoxyCodeLine{\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ MyFunc1()}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \mbox{\hyperlink{a01990}{AAX\_CheckedResult}}\ cr;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{\ \ \ \ cr\ =\ MethodThatReturnsError();}
\DoxyCodeLine{\ \ \}\ \textcolor{keywordflow}{catch}\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{a01986}{AAX::Exception::ResultError}}\&\ ex)\ \{}
\DoxyCodeLine{\ \ \ \ \textcolor{comment}{//\ exception\ is\ fully\ handled\ here}}
\DoxyCodeLine{\ \ \}}
\DoxyCodeLine{\ \ }
\DoxyCodeLine{\ \ \textcolor{comment}{//\ cr\ now\ holds\ a\ success\ value}}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{return}\ cr;}
\DoxyCodeLine{\}}
\DoxyCodeLine{}
\DoxyCodeLine{\textcolor{comment}{//\ in\ this\ example,\ MyFunc2()\ returns\ the\ first}}
\DoxyCodeLine{\textcolor{comment}{//\ non-\/successful\ value\ which\ was\ encountered}}
\DoxyCodeLine{\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\_Result}}\ MyFunc2()}
\DoxyCodeLine{\{}
\DoxyCodeLine{\ \ \mbox{\hyperlink{a01990}{AAX\_CheckedResult}}\ cr;}
\DoxyCodeLine{}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{\ \ \ \ \mbox{\hyperlink{a00620_a8f177823e9388c5163d1b402a9069bce}{AAX\_SWALLOW}}(cr\ =\ MethodThatMayReturnError1());}
\DoxyCodeLine{\ \ \ \ \mbox{\hyperlink{a00620_a8f177823e9388c5163d1b402a9069bce}{AAX\_SWALLOW}}(cr\ =\ MethodThatMayReturnError2());}
\DoxyCodeLine{\ \ \ \ cr\ =\ MethodThatMayReturnError3();}
\DoxyCodeLine{\ \ \}\ \textcolor{keywordflow}{catch}\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{a01986}{AAX::Exception::ResultError}}\&\ ex)\ \{}
\DoxyCodeLine{\ \ \ \ \textcolor{comment}{//\ exception\ might\ not\ be\ fully\ handled}}
\DoxyCodeLine{\ \ \}}
\DoxyCodeLine{\ \ }
\DoxyCodeLine{\ \ \textcolor{comment}{//\ pass\ the\ last\ error\ on\ to\ the\ caller}}
\DoxyCodeLine{\ \ \textcolor{keywordflow}{return}\ cr.\mbox{\hyperlink{a01990_af0e297a396bf7ea3dfcdc7f71d85486f}{LastError}}();}
\DoxyCodeLine{\}}

\end{DoxyCode}


It is possible to add one or more accepted non-\/success values to an \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} so that these values will not trigger exceptions\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{a01990}{AAX\_CheckedResult}}\ cr;}
\DoxyCodeLine{\textcolor{keywordflow}{try}\ \{}
\DoxyCodeLine{\ \ cr.\mbox{\hyperlink{a01990_af6c4b10c55e959f5f8424514a3cbb68a}{AddAcceptedResult}}(AcceptableErrCode);}
\DoxyCodeLine{\ \ cr\ =\ MethodThatReturnsAcceptedError();}
\DoxyCodeLine{\ \ cr\ =\ MethodThatReturnsAnotherError();}
\DoxyCodeLine{\}\ \textcolor{keywordflow}{catch}\ (\textcolor{keyword}{const}\ \mbox{\hyperlink{a01986}{AAX::Exception::ResultError}}\&\ ex)\ \{}
\DoxyCodeLine{\ \ \textcolor{comment}{//\ handle\ the\ exception}}
\DoxyCodeLine{\}}

\end{DoxyCode}
 \doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef \mbox{\hyperlink{a01986}{AAX\+::\+Exception\+::\+Result\+Error}} \mbox{\hyperlink{a01990_a36fd71afc6d62993c1dd96e1ca9fcc0e}{Exception}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a01990_ac8120ba01d2f25608d74533c9d1a9747}{$\sim$\+AAX\+\_\+\+Checked\+Result}} ()
\item 
\mbox{\hyperlink{a01990_aab8a1c36b9be4f6aac93d79d3160dde8}{AAX\+\_\+\+Checked\+Result}} ()
\begin{DoxyCompactList}\small\item\em Construct an \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} in a success state. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a01990_a03a1d64b0bf359b6a23ae59f6d892859}{AAX\+\_\+\+Checked\+Result}} (\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} in\+Result)
\begin{DoxyCompactList}\small\item\em Implicit conversion constructor from \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a01990_af6c4b10c55e959f5f8424514a3cbb68a}{Add\+Accepted\+Result}} (\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} in\+Result)
\begin{DoxyCompactList}\small\item\em Add an expected result which will not result in a throw. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a01990_a14a7d7cab3e771a38481a7ab5447ea52}{Reset\+Accepted\+Results}} ()
\item 
\mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} \& \mbox{\hyperlink{a01990_aecaead00a6a260a93ac771ecae413f16}{operator=}} (\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} in\+Result)
\begin{DoxyCompactList}\small\item\em Assignment to \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} \& \mbox{\hyperlink{a01990_a966916546e0c86a42bfd6ee455552dcd}{operator$\vert$=}} (\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} in\+Result)
\begin{DoxyCompactList}\small\item\em bitwise-\/or assignment to \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} \end{DoxyCompactList}\item 
\mbox{\hyperlink{a01990_a3f35266c39cfcf4211dbaacbf64fc3f8}{operator AAX\+\_\+\+Result}} () const
\begin{DoxyCompactList}\small\item\em Conversion to \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{a01990_abacea9ed08e64315cb984fa630815dd7}{Clear}} ()
\begin{DoxyCompactList}\small\item\em Clears the current result state. \end{DoxyCompactList}\item 
\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} \mbox{\hyperlink{a01990_af0e297a396bf7ea3dfcdc7f71d85486f}{Last\+Error}} () const
\begin{DoxyCompactList}\small\item\em Get the last non-\/success result which was stored in this object, or AAX\+\_\+\+SUCCESS if no non-\/success result was ever stored in this object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{a01990_a36fd71afc6d62993c1dd96e1ca9fcc0e}\label{a01990_a36fd71afc6d62993c1dd96e1ca9fcc0e}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!Exception@{Exception}}
\index{Exception@{Exception}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{Exception}{Exception}}
{\footnotesize\ttfamily typedef \mbox{\hyperlink{a01986}{AAX\+::\+Exception\+::\+Result\+Error}} \mbox{\hyperlink{a01990_a36fd71afc6d62993c1dd96e1ca9fcc0e}{AAX\+\_\+\+Checked\+Result\+::\+Exception}}}



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{a01990_ac8120ba01d2f25608d74533c9d1a9747}\label{a01990_ac8120ba01d2f25608d74533c9d1a9747}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!````~AAX\_CheckedResult@{$\sim$AAX\_CheckedResult}}
\index{````~AAX\_CheckedResult@{$\sim$AAX\_CheckedResult}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{$\sim$AAX\_CheckedResult()}{~AAX\_CheckedResult()}}
{\footnotesize\ttfamily AAX\+\_\+\+Checked\+Result\+::$\sim$\+AAX\+\_\+\+Checked\+Result (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

\mbox{\Hypertarget{a01990_aab8a1c36b9be4f6aac93d79d3160dde8}\label{a01990_aab8a1c36b9be4f6aac93d79d3160dde8}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{AAX\_CheckedResult()}{AAX\_CheckedResult()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily AAX\+\_\+\+Checked\+Result\+::\+AAX\+\_\+\+Checked\+Result (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Construct an \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} in a success state. 

\mbox{\Hypertarget{a01990_a03a1d64b0bf359b6a23ae59f6d892859}\label{a01990_a03a1d64b0bf359b6a23ae59f6d892859}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{AAX\_CheckedResult()}{AAX\_CheckedResult()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily AAX\+\_\+\+Checked\+Result\+::\+AAX\+\_\+\+Checked\+Result (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}}]{in\+Result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Implicit conversion constructor from \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}. 

Implicit conversion is OK in order to support \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} cr = Some\+Func() 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{a01990_af6c4b10c55e959f5f8424514a3cbb68a}\label{a01990_af6c4b10c55e959f5f8424514a3cbb68a}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!AddAcceptedResult@{AddAcceptedResult}}
\index{AddAcceptedResult@{AddAcceptedResult}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{AddAcceptedResult()}{AddAcceptedResult()}}
{\footnotesize\ttfamily void AAX\+\_\+\+Checked\+Result\+::\+Add\+Accepted\+Result (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}}]{in\+Result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Add an expected result which will not result in a throw. 

It is acceptable for some methods to return certain non-\/success values such as \mbox{\hyperlink{a00539_a5f8c7439f3a706c4f8315a9609811937a400d9332b820436d544b658523dacbf0}{AAX\+\_\+\+RESULT\+\_\+\+PACKET\+\_\+\+STREAM\+\_\+\+NOT\+\_\+\+EMPTY}} or \mbox{\hyperlink{a00539_a5f8c7439f3a706c4f8315a9609811937a00457e5c8c821b4f15f102b7c7154c97}{AAX\+\_\+\+RESULT\+\_\+\+NEW\+\_\+\+PACKET\+\_\+\+POSTED}} \mbox{\Hypertarget{a01990_a14a7d7cab3e771a38481a7ab5447ea52}\label{a01990_a14a7d7cab3e771a38481a7ab5447ea52}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!ResetAcceptedResults@{ResetAcceptedResults}}
\index{ResetAcceptedResults@{ResetAcceptedResults}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{ResetAcceptedResults()}{ResetAcceptedResults()}}
{\footnotesize\ttfamily void AAX\+\_\+\+Checked\+Result\+::\+Reset\+Accepted\+Results (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



References \mbox{\hyperlink{a00539_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\+\_\+\+SUCCESS}}.

\mbox{\Hypertarget{a01990_aecaead00a6a260a93ac771ecae413f16}\label{a01990_aecaead00a6a260a93ac771ecae413f16}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!operator=@{operator=}}
\index{operator=@{operator=}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} \& AAX\+\_\+\+Checked\+Result\+::operator= (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}}]{in\+Result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Assignment to \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}. 



Referenced by \mbox{\hyperlink{a01990_a966916546e0c86a42bfd6ee455552dcd}{operator$\vert$=()}}.

Here is the caller graph for this function\+:
% FIG 0
\mbox{\Hypertarget{a01990_a966916546e0c86a42bfd6ee455552dcd}\label{a01990_a966916546e0c86a42bfd6ee455552dcd}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!operator\texttt{"|}=@{operator\texttt{"|}=}}
\index{operator\texttt{"|}=@{operator\texttt{"|}=}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{operator\texttt{"|}=()}{operator|=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{a01990}{AAX\+\_\+\+Checked\+Result}} \& AAX\+\_\+\+Checked\+Result\+::operator$\vert$= (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}}]{in\+Result }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



bitwise-\/or assignment to \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} 

Sometimes used in legacy code to aggregate results into a single AAX\+\_\+\+Result value 

References \mbox{\hyperlink{a01990_aecaead00a6a260a93ac771ecae413f16}{operator=()}}.

Here is the call graph for this function\+:
% FIG 1
\mbox{\Hypertarget{a01990_a3f35266c39cfcf4211dbaacbf64fc3f8}\label{a01990_a3f35266c39cfcf4211dbaacbf64fc3f8}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!operator AAX\_Result@{operator AAX\_Result}}
\index{operator AAX\_Result@{operator AAX\_Result}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{operator AAX\_Result()}{operator AAX\_Result()}}
{\footnotesize\ttfamily AAX\+\_\+\+Checked\+Result\+::operator \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Conversion to \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}}. 

\mbox{\Hypertarget{a01990_abacea9ed08e64315cb984fa630815dd7}\label{a01990_abacea9ed08e64315cb984fa630815dd7}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!Clear@{Clear}}
\index{Clear@{Clear}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{Clear()}{Clear()}}
{\footnotesize\ttfamily void AAX\+\_\+\+Checked\+Result\+::\+Clear (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Clears the current result state. 

Does not affect the set of accepted results 

References \mbox{\hyperlink{a00539_a5f8c7439f3a706c4f8315a9609811937aeddbd1bb67e3a66e6af54a4b4a7a57b3}{AAX\+\_\+\+SUCCESS}}.

\mbox{\Hypertarget{a01990_af0e297a396bf7ea3dfcdc7f71d85486f}\label{a01990_af0e297a396bf7ea3dfcdc7f71d85486f}} 
\index{AAX\_CheckedResult@{AAX\_CheckedResult}!LastError@{LastError}}
\index{LastError@{LastError}!AAX\_CheckedResult@{AAX\_CheckedResult}}
\doxysubsubsection{\texorpdfstring{LastError()}{LastError()}}
{\footnotesize\ttfamily \mbox{\hyperlink{a00542_a4d8f69a697df7f70c3a8e9b8ee130d2f}{AAX\+\_\+\+Result}} AAX\+\_\+\+Checked\+Result\+::\+Last\+Error (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the last non-\/success result which was stored in this object, or AAX\+\_\+\+SUCCESS if no non-\/success result was ever stored in this object. 



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{a00620}{AAX\+\_\+\+Exception.\+h}}\end{DoxyCompactItemize}
