\doxysection{WRaw\+Data\+Error.\+h}
\hypertarget{a00275_source}{}\label{a00275_source}\index{WRawDataError.h@{WRawDataError.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ <RawDataSensor.h>}}
\DoxyCodeLine{00006\ \textcolor{keyword}{public\ ref\ class}\ \mbox{\hyperlink{a00812}{WRawDataError}}}
\DoxyCodeLine{00007\ \{}
\DoxyCodeLine{00008\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00009\ \ \ \ \ \mbox{\hyperlink{a00812_ac664861464692ad40f2ce6e250caffc9}{WRawDataError}}()\ \{}
\DoxyCodeLine{00010\ \ \ \ \ \ \ \ \ \_rawError\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00784}{RawDataError}}();}
\DoxyCodeLine{00011\ \ \ \ \ \}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00013\ \ \ \ \ \mbox{\hyperlink{a00812_add1f89e0e7c87356e99ced2db6b0eec0}{WRawDataError}}(\mbox{\hyperlink{a00812}{WRawDataError}}\string^\ toCopy)\ \{}
\DoxyCodeLine{00014\ \ \ \ \ \ \ \ \ \_rawError\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00784}{RawDataError}}();}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00812_ae77dd6b9b729ff3c80dad0b7dc3c93f9}{ErrorCode}}\ =\ toCopy-\/>\mbox{\hyperlink{a00812_ae77dd6b9b729ff3c80dad0b7dc3c93f9}{ErrorCode}};}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ ErrorDate\ =\ toCopy-\/>ErrorDate;}
\DoxyCodeLine{00017\ \ \ \ \ \}}
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ \ \ \ \ \mbox{\hyperlink{a00812_a1ef114b2378b8b0e9772d7b3d8230d7a}{\string~WRawDataError}}()\ \{}
\DoxyCodeLine{00021\ \ \ \ \ \ \ \ \ \textcolor{keyword}{delete}(\_rawError);}
\DoxyCodeLine{00022\ \ \ \ \ \}}
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{a00812_ae77dd6b9b729ff3c80dad0b7dc3c93f9}{ErrorCode}}\ \{}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ get()\ \{}
\DoxyCodeLine{00025\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_rawError-\/>GetErrorCode();}
\DoxyCodeLine{00026\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{int}\ x)\ \{}
\DoxyCodeLine{00029\ \ \ \ \ \ \ \ \ \ \ \ \ \_rawError-\/>SetErrorCode(x);}
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00031\ \ \ \ \ \}}
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keyword}{property}\ \textcolor{keywordtype}{int}\ ErrorDate\ \{}
\DoxyCodeLine{00033\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ get()\ \{}
\DoxyCodeLine{00034\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_rawError-\/>GetErrorDate();}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\textcolor{keywordtype}{int}\ x)\ \{}
\DoxyCodeLine{00038\ \ \ \ \ \ \ \ \ \ \ \ \ \_rawError-\/>SetErrorDate(x);}
\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00040\ \ \ \ \ \}}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ operator==\ (\mbox{\hyperlink{a00812}{WRawDataError}}\string^\ pComp1,\ \mbox{\hyperlink{a00812}{WRawDataError}}\string^\ pComp2)\ \{}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (System::Object::ReferenceEquals(pComp1,\ pComp2))}
\DoxyCodeLine{00044\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (System::Object::ReferenceEquals(pComp1,\ \textcolor{keyword}{nullptr})\ ||}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \ \ \ \ System::Object::ReferenceEquals(pComp2,\ \textcolor{keyword}{nullptr}))\ \{}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ pComp1-\/>\mbox{\hyperlink{a00812_ae77dd6b9b729ff3c80dad0b7dc3c93f9}{ErrorCode}}\ ==\ pComp2-\/>\mbox{\hyperlink{a00812_ae77dd6b9b729ff3c80dad0b7dc3c93f9}{ErrorCode}}\ \&\&}
\DoxyCodeLine{00051\ \ \ \ \ \ \ \ \ \ \ \ \ pComp1-\/>ErrorDate\ ==\ pComp2-\/>ErrorDate;}
\DoxyCodeLine{00052\ \ \ \ \ \}}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ operator!=\ (\mbox{\hyperlink{a00812}{WRawDataError}}\string^\ pComp1,\ \mbox{\hyperlink{a00812}{WRawDataError}}\string^\ pComp2)\ \{}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ !(pComp1\ ==\ pComp2);}
\DoxyCodeLine{00056\ \ \ \ \ \}}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00059\ \ \ \ \ \mbox{\hyperlink{a00784}{RawDataError}}*\ \_rawError;}
\DoxyCodeLine{00060\ \};}
\DoxyCodeLine{00061\ }

\end{DoxyCode}
