\doxysection{WObject\+Size.\+h}
\hypertarget{a00116_source}{}\label{a00116_source}\index{WObjectSize.h@{WObjectSize.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#include\ "{}../AgvSensor/ObjectSize.h"{}}}
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ "{}../AgvSensor/Enumerations.h"{}}}
\DoxyCodeLine{00004\ }
\DoxyCodeLine{00005\ \textcolor{keyword}{using\ namespace\ }\mbox{\hyperlink{a00582}{WEnumerations}};}
\DoxyCodeLine{00006\ }
\DoxyCodeLine{00007\ \textcolor{keyword}{namespace\ }\mbox{\hyperlink{a00575}{Com}}\ \{}
\DoxyCodeLine{00008\ \ \ \ \ \textcolor{keyword}{namespace\ }AgvSensorWrapper\ \{}
\DoxyCodeLine{00009\ \ \ \ \ \ \ \ \ \textcolor{keyword}{namespace\ }Structs\ \{}
\DoxyCodeLine{00010\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{public\ ref\ class}\ \mbox{\hyperlink{a00658}{WObjectSize}}}
\DoxyCodeLine{00011\ \ \ \ \ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00012\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{public}:}
\DoxyCodeLine{00013\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00658_a998b6168fba170e44dff7c7fe4d56827}{WObjectSize}}()\ \{}
\DoxyCodeLine{00014\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \_objectSize\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00622}{ObjectSize}}();}
\DoxyCodeLine{00015\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00016\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00658_aca21d8183f112a00a684710ee88b0e39}{WObjectSize}}(\mbox{\hyperlink{a00658}{WObjectSize}}\string^\ toCopy)\ \{}
\DoxyCodeLine{00017\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \_objectSize\ =\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a00622}{ObjectSize}}();}
\DoxyCodeLine{00018\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00658_a775d6a5ff16815f905d533e4f6a7306c}{Protection}}\ =\ toCopy-\/>\mbox{\hyperlink{a00658_a775d6a5ff16815f905d533e4f6a7306c}{Protection}};}
\DoxyCodeLine{00019\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Warning1\ =\ toCopy-\/>Warning1;}
\DoxyCodeLine{00020\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Warning2\ =\ toCopy-\/>Warning2;}
\DoxyCodeLine{00021\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00022\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00658_a225fa0320661d7b300847b41c6d40853}{\string~WObjectSize}}()\ \{}
\DoxyCodeLine{00023\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{delete}(\_objectSize);}
\DoxyCodeLine{00024\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{property}\ \mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ \mbox{\hyperlink{a00658_a775d6a5ff16815f905d533e4f6a7306c}{Protection}}\ \{}
\DoxyCodeLine{00028\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ get()\ \{}
\DoxyCodeLine{00029\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\textcolor{keyword}{>}(\_objectSize-\/>GetProtection());}
\DoxyCodeLine{00030\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00031\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ x)\ \{}
\DoxyCodeLine{00032\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \_objectSize-\/>SetProtection((NativeObjSizeEnum)x);}
\DoxyCodeLine{00033\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00034\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00035\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{property}\ \mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ Warning1\ \{}
\DoxyCodeLine{00036\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ get()\ \{}
\DoxyCodeLine{00037\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\textcolor{keyword}{>}(\_objectSize-\/>GetWarning1());}
\DoxyCodeLine{00038\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00039\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ x)\ \{}
\DoxyCodeLine{00040\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \_objectSize-\/>SetWarning1((NativeObjSizeEnum)x);}
\DoxyCodeLine{00041\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00042\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00043\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{property}\ \mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ Warning2\ \{}
\DoxyCodeLine{00044\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ get()\ \{}
\DoxyCodeLine{00045\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \ \textcolor{keyword}{static\_cast<}\mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\textcolor{keyword}{>}(\_objectSize-\/>GetWarning2());}
\DoxyCodeLine{00046\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00047\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ set(\mbox{\hyperlink{a00582_ae9c47a217859f6b430dc7df939f8f353}{ObjSizeEnum}}\ x)\ \{}
\DoxyCodeLine{00048\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \_objectSize-\/>SetWarning2((NativeObjSizeEnum)x);}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{property}\ \mbox{\hyperlink{a00622}{ObjectSize}}*\ \_\_native\ \{}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00622}{ObjectSize}}*\ get()\ \{}
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \_objectSize;}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00057\ }
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ operator==\ (\mbox{\hyperlink{a00658_a998b6168fba170e44dff7c7fe4d56827}{WObjectSize}}\string^\ pComp1,\ \mbox{\hyperlink{a00658_a998b6168fba170e44dff7c7fe4d56827}{WObjectSize}}\string^\ pComp2)\ \{}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ pComp1-\/>Protection\ ==\ pComp2-\/>Protection}
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \&\&\ pComp1-\/>Warning1\ ==\ pComp2-\/>Warning1}
\DoxyCodeLine{00061\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \&\&\ pComp1-\/>Warning2\ ==\ pComp2-\/>Warning2;}
\DoxyCodeLine{00062\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ operator!=\ (\mbox{\hyperlink{a00658_a998b6168fba170e44dff7c7fe4d56827}{WObjectSize}}\string^\ pComp1,\ \mbox{\hyperlink{a00658_a998b6168fba170e44dff7c7fe4d56827}{WObjectSize}}\string^\ pComp2)\ \{}
\DoxyCodeLine{00065\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ pComp1-\/>Protection\ !=\ pComp2-\/>Protection}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ||\ pComp1-\/>Warning1\ !=\ pComp2-\/>Warning1}
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ||\ pComp1-\/>Warning2\ !=\ pComp2-\/>Warning2;}
\DoxyCodeLine{00068\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00070\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{private}:}
\DoxyCodeLine{00071\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a00622}{ObjectSize}}*\ \_objectSize;}
\DoxyCodeLine{00072\ \ \ \ \ \ \ \ \ \ \ \ \ \};}
\DoxyCodeLine{00073\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00074\ \ \ \ \ \}}
\DoxyCodeLine{00075\ \}}
\DoxyCodeLine{00076\ }

\end{DoxyCode}
