\hypertarget{a00788_source}{}\doxysection{AAX\+\_\+\+CBinary\+Display\+Delegate.\+h}
\label{a00788_source}\index{AAX\_CBinaryDisplayDelegate.h@{AAX\_CBinaryDisplayDelegate.h}}
\mbox{\hyperlink{a00788}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ \ Copyright\ 2013-\/2017,\ 2019,\ 2023\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ CONFIDENTIAL:\ this\ document\ contains\ confidential\ information\ of\ Avid.\ Do}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ not\ disclose\ to\ any\ third\ party.\ Use\ of\ the\ information\ contained\ in\ this}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ document\ is\ subject\ to\ an\ Avid\ SDK\ license.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00012\ }
\DoxyCodeLine{00019\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ }
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#ifndef\ AAX\_CBINARYDISPLAYDELEGATE\_H}}
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#define\ AAX\_CBINARYDISPLAYDELEGATE\_H}}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00467}{AAX\_IDisplayDelegate.h}}"{}}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00413}{AAX\_CString.h}}"{}}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#include\ <vector>}}
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#ifdef\ WINDOWS\_VERSION}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#include\ <algorithm>}}
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#include\ <algorithm>}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00046\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00047\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{a02221}{AAX\_IDisplayDelegate}}<T>}
\DoxyCodeLine{00048\ \{}
\DoxyCodeLine{00049\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00058\ \ \ \ \ \mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ falseString,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ trueString);}
\DoxyCodeLine{00059\ \ \ \ \ \mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate}}\&\ other);}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \ \ \ \ \textcolor{comment}{//Virtual\ Overrides}}
\DoxyCodeLine{00062\ \ \ \ \ \mbox{\hyperlink{a02221}{AAX\_IDisplayDelegate<T>}}*\ \mbox{\hyperlink{a01805_ac0f060429501b13e2f79babbcfdda9ab}{Clone}}()\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00063\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01805_a37fc0647f758a9ff0d47595ba110ecdd}{ValueToString}}(T\ value,\ \mbox{\hyperlink{a01933}{AAX\_CString}}*\ valueString)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00064\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01805_a37fc0647f758a9ff0d47595ba110ecdd}{ValueToString}}(T\ value,\ int32\_t\ maxNumChars,\ \mbox{\hyperlink{a01933}{AAX\_CString}}*\ valueString)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00065\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01805_ac707b7ca0e5fafdc4133959d8b7c5035}{StringToValue}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01933}{AAX\_CString}}\&\ valueString,\ T*\ value)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00066\ \ \ \ \ }
\DoxyCodeLine{00067\ \ \ \ \ \textcolor{comment}{//\ AAX\_CBinaryDisplayDelegate}}
\DoxyCodeLine{00068\ \ \ \ \ \textcolor{keyword}{virtual}\ \textcolor{keywordtype}{void}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01805_a3e6702d7c53a7f0a0f29ecf1ecd4b9b7}{AddShortenedStrings}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ falseString,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ trueString,\ \textcolor{keywordtype}{int}\ iStrLength);}
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00070\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00071\ \ \ \ \ \mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate}}();\ \ \ \ \ \textcolor{comment}{//private\ contructor\ to\ prevent\ its\ use\ externally.}}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00073\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{a01933}{AAX\_CString}}\ \ \ \ \ \ \ \ mFalseString;}
\DoxyCodeLine{00074\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{a01933}{AAX\_CString}}\ \ \ \ \ \ \ \ mTrueString;}
\DoxyCodeLine{00075\ \ \ \ \ uint32\_t\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mMaxStrLength;}
\DoxyCodeLine{00076\ \ \ \ \ }
\DoxyCodeLine{00077\ \ \ \ \ \textcolor{keyword}{struct\ }StringTable}
\DoxyCodeLine{00078\ \ \ \ \ \{}
\DoxyCodeLine{00079\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ mStrLength;}
\DoxyCodeLine{00080\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01933}{AAX\_CString}}\ \ \ \ \ \ \ \ \ \ mFalseString;}
\DoxyCodeLine{00081\ \ \ \ \ \ \ \ \ \mbox{\hyperlink{a01933}{AAX\_CString}}\ \ \ \ \ \ \ \ \ \ mTrueString;}
\DoxyCodeLine{00082\ \ \ \ \ \};}
\DoxyCodeLine{00083\ \ \ \ \ \textcolor{keyword}{static}\ \textcolor{keywordtype}{bool}\ StringTableSortFunc(\textcolor{keyword}{struct}\ StringTable\ i,\ \textcolor{keyword}{struct}\ StringTable\ j)}
\DoxyCodeLine{00084\ \ \ \ \ \{}
\DoxyCodeLine{00085\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ (i.mStrLength\ <\ j.mStrLength);}
\DoxyCodeLine{00086\ \ \ \ \ \}}
\DoxyCodeLine{00087\ \ \ \ \ }
\DoxyCodeLine{00088\ \ \ \ \ std::vector<struct\ StringTable>\ mShortenedStrings;}
\DoxyCodeLine{00089\ \};}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00091\ }
\DoxyCodeLine{00092\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00093\ \mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate<T>::AAX\_CBinaryDisplayDelegate}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ falseString,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ trueString)\ :}
\DoxyCodeLine{00094\ \ \ \ \ mFalseString(falseString),}
\DoxyCodeLine{00095\ \ \ \ \ mTrueString(trueString),}
\DoxyCodeLine{00096\ \ \ \ \ mMaxStrLength(0)}
\DoxyCodeLine{00097\ \{}
\DoxyCodeLine{00098\ \ \ \ \ mMaxStrLength\ =\ (std::max)(mMaxStrLength,\ mFalseString.\mbox{\hyperlink{a01933_a34ccfa250b53a721417f32d4a74bfed6}{Length}}());}
\DoxyCodeLine{00099\ \ \ \ \ mMaxStrLength\ =\ (std::max)(mMaxStrLength,\ mTrueString.\mbox{\hyperlink{a01933_a34ccfa250b53a721417f32d4a74bfed6}{Length}}());}
\DoxyCodeLine{00100\ \}}
\DoxyCodeLine{00101\ }
\DoxyCodeLine{00102\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00103\ \mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate<T>::AAX\_CBinaryDisplayDelegate}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate}}\&\ other)\ :}
\DoxyCodeLine{00104\ \ \ \ \ mFalseString(other.mFalseString),}
\DoxyCodeLine{00105\ \ \ \ \ mTrueString(other.mTrueString),}
\DoxyCodeLine{00106\ \ \ \ \ mMaxStrLength(other.mMaxStrLength)}
\DoxyCodeLine{00107\ \{}
\DoxyCodeLine{00108\ \ \ \ \ \textcolor{keywordflow}{if}\ (\ other.mShortenedStrings.size()\ >\ 0\ )}
\DoxyCodeLine{00109\ \ \ \ \ \{}
\DoxyCodeLine{00110\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{for}\ (\ \textcolor{keywordtype}{size\_t}\ i\ =\ 0;\ i\ <\ other.mShortenedStrings.size();\ i++\ )}
\DoxyCodeLine{00111\ \ \ \ \ \ \ \ \ \ \ \ \ mShortenedStrings.push\_back(\ other.mShortenedStrings.at(i)\ );}
\DoxyCodeLine{00112\ \ \ \ \ \}}
\DoxyCodeLine{00113\ \}}
\DoxyCodeLine{00114\ }
\DoxyCodeLine{00115\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00116\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{a01805_a3e6702d7c53a7f0a0f29ecf1ecd4b9b7}{AAX\_CBinaryDisplayDelegate<T>::AddShortenedStrings}}(\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ falseString,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}*\ trueString,\ \textcolor{keywordtype}{int}\ iStrLength)}
\DoxyCodeLine{00117\ \{}
\DoxyCodeLine{00118\ \ \ \ \ \textcolor{keyword}{struct\ }StringTable\ shortendTable;}
\DoxyCodeLine{00119\ \ \ \ \ shortendTable.mStrLength\ =\ iStrLength;}
\DoxyCodeLine{00120\ \ \ \ \ shortendTable.mFalseString\ =\ \mbox{\hyperlink{a01933}{AAX\_CString}}(falseString);}
\DoxyCodeLine{00121\ \ \ \ \ shortendTable.mTrueString\ =\ \mbox{\hyperlink{a01933}{AAX\_CString}}(trueString);}
\DoxyCodeLine{00122\ \ \ \ \ mShortenedStrings.push\_back(shortendTable);}
\DoxyCodeLine{00123\ \ \ \ \ }
\DoxyCodeLine{00124\ \ \ \ \ \textcolor{comment}{//\ keep\ structure\ sorted\ by\ str\ lengths}}
\DoxyCodeLine{00125\ \ \ \ \ std::sort(mShortenedStrings.begin(),\ mShortenedStrings.end(),\ AAX\_CBinaryDisplayDelegate::StringTableSortFunc\ );}
\DoxyCodeLine{00126\ \}}
\DoxyCodeLine{00127\ }
\DoxyCodeLine{00128\ }
\DoxyCodeLine{00129\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00130\ \mbox{\hyperlink{a02221}{AAX\_IDisplayDelegate<T>}}*\ \ \ \ \ \mbox{\hyperlink{a01805_ac0f060429501b13e2f79babbcfdda9ab}{AAX\_CBinaryDisplayDelegate<T>::Clone}}()\textcolor{keyword}{\ const}}
\DoxyCodeLine{00131\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00132\ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a01805}{AAX\_CBinaryDisplayDelegate}}(*\textcolor{keyword}{this});}
\DoxyCodeLine{00133\ \}}
\DoxyCodeLine{00134\ }
\DoxyCodeLine{00135\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00136\ \textcolor{keywordtype}{bool}\ \ \ \ \mbox{\hyperlink{a01805_a37fc0647f758a9ff0d47595ba110ecdd}{AAX\_CBinaryDisplayDelegate<T>::ValueToString}}(T\ value,\ \mbox{\hyperlink{a01933}{AAX\_CString}}*\ valueString)\textcolor{keyword}{\ const}}
\DoxyCodeLine{00137\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00138\ \ \ \ \ \textcolor{keywordflow}{if}\ (value)}
\DoxyCodeLine{00139\ \ \ \ \ \ \ \ \ *valueString\ =\ mTrueString;}
\DoxyCodeLine{00140\ \ \ \ \ \textcolor{keywordflow}{else}}
\DoxyCodeLine{00141\ \ \ \ \ \ \ \ \ *valueString\ =\ mFalseString;}
\DoxyCodeLine{00142\ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00143\ \}}
\DoxyCodeLine{00144\ }
\DoxyCodeLine{00145\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00146\ \textcolor{keywordtype}{bool}\ \ \ \ \mbox{\hyperlink{a01805_a37fc0647f758a9ff0d47595ba110ecdd}{AAX\_CBinaryDisplayDelegate<T>::ValueToString}}(T\ value,\ int32\_t\ maxNumChars,\ \mbox{\hyperlink{a01933}{AAX\_CString}}*\ valueString)\textcolor{keyword}{\ const}}
\DoxyCodeLine{00147\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00148\ \ \ \ \ \textcolor{comment}{//\ if\ we\ don't\ ahve\ any\ shortened\ strings,\ just\ return\ the\ full\ length\ version}}
\DoxyCodeLine{00149\ \ \ \ \ \textcolor{keywordflow}{if}\ (\ mShortenedStrings.size()\ ==\ 0\ )}
\DoxyCodeLine{00150\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ this-\/>ValueToString(value,\ valueString);}
\DoxyCodeLine{00151\ \ \ \ \ }
\DoxyCodeLine{00152\ \ \ \ \ \textcolor{comment}{//\ first\ see\ if\ requested\ length\ is\ longer\ than\ normal\ strings}}
\DoxyCodeLine{00153\ \ \ \ \ \textcolor{keyword}{const}\ uint32\_t\ maxNumCharsUnsigned\ =\ (0\ <=\ maxNumChars)\ ?\ \textcolor{keyword}{static\_cast<}uint32\_t\textcolor{keyword}{>}(maxNumChars)\ :\ 0;}
\DoxyCodeLine{00154\ \ \ \ \ \textcolor{keywordflow}{if}\ (\ maxNumCharsUnsigned\ >=\ mMaxStrLength\ )}
\DoxyCodeLine{00155\ \ \ \ \ \{}
\DoxyCodeLine{00156\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (value)}
\DoxyCodeLine{00157\ \ \ \ \ \ \ \ \ \ \ \ \ *valueString\ =\ mTrueString;}
\DoxyCodeLine{00158\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}}
\DoxyCodeLine{00159\ \ \ \ \ \ \ \ \ \ \ \ \ *valueString\ =\ mFalseString;}
\DoxyCodeLine{00160\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00161\ \ \ \ \ \}}
\DoxyCodeLine{00162\ \ \ \ \ }
\DoxyCodeLine{00163\ \ \ \ \ \textcolor{comment}{//\ iterate\ through\ shortened\ strings\ from\ longest\ to\ shortest}}
\DoxyCodeLine{00164\ \ \ \ \ \textcolor{comment}{//\ taking\ the\ first\ set\ that\ is\ short\ enough}}
\DoxyCodeLine{00165\ \ \ \ \ \textcolor{keywordflow}{for}\ (\ \textcolor{keywordtype}{int}\ i\ =\ \textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{int}\textcolor{keyword}{>}(mShortenedStrings.size())-\/1;\ i\ >=\ 0;\ i-\/-\/\ )}
\DoxyCodeLine{00166\ \ \ \ \ \{}
\DoxyCodeLine{00167\ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct\ }StringTable\ shortStrings\ =\ mShortenedStrings.at(\textcolor{keyword}{static\_cast<}\textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\textcolor{keyword}{>}(i));}
\DoxyCodeLine{00168\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (\ shortStrings.mStrLength\ <=\ maxNumChars\ )}
\DoxyCodeLine{00169\ \ \ \ \ \ \ \ \ \{}
\DoxyCodeLine{00170\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{if}\ (value)}
\DoxyCodeLine{00171\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *valueString\ =\ shortStrings.mTrueString;}
\DoxyCodeLine{00172\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{else}}
\DoxyCodeLine{00173\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ *valueString\ =\ shortStrings.mFalseString;}
\DoxyCodeLine{00174\ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00175\ \ \ \ \ \ \ \ \ \}}
\DoxyCodeLine{00176\ \ \ \ \ \}}
\DoxyCodeLine{00177\ }
\DoxyCodeLine{00178\ \ \ \ \ \textcolor{comment}{//\ if\ we\ can't\ find\ one\ short\ enough,\ just\ use\ the\ shortest\ version\ we\ can\ find}}
\DoxyCodeLine{00179\ \ \ \ \ \textcolor{keyword}{struct\ }StringTable\ shortestStrings\ =\ mShortenedStrings.at(0);}
\DoxyCodeLine{00180\ \ \ \ \ \textcolor{keywordflow}{if}\ (value)}
\DoxyCodeLine{00181\ \ \ \ \ \ \ \ \ *valueString\ =\ shortestStrings.mTrueString;}
\DoxyCodeLine{00182\ \ \ \ \ \textcolor{keywordflow}{else}}
\DoxyCodeLine{00183\ \ \ \ \ \ \ \ \ *valueString\ =\ shortestStrings.mFalseString;}
\DoxyCodeLine{00184\ \ \ \ \ }
\DoxyCodeLine{00185\ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00186\ \}}
\DoxyCodeLine{00187\ }
\DoxyCodeLine{00188\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00189\ \textcolor{keywordtype}{bool}\ \ \ \ \mbox{\hyperlink{a01805_ac707b7ca0e5fafdc4133959d8b7c5035}{AAX\_CBinaryDisplayDelegate<T>::StringToValue}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01933}{AAX\_CString}}\&\ valueString,\ T*\ value)\textcolor{keyword}{\ const}}
\DoxyCodeLine{00190\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00191\ \ \ \ \ \textcolor{keywordflow}{if}\ (valueString\ ==\ mTrueString)}
\DoxyCodeLine{00192\ \ \ \ \ \{}
\DoxyCodeLine{00193\ \ \ \ \ \ \ \ \ *value\ =\ (T)(\textcolor{keyword}{true});}
\DoxyCodeLine{00194\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00195\ \ \ \ \ \}}
\DoxyCodeLine{00196\ \ \ \ \ \textcolor{keywordflow}{if}\ (valueString\ ==\ mFalseString)}
\DoxyCodeLine{00197\ \ \ \ \ \{}
\DoxyCodeLine{00198\ \ \ \ \ \ \ \ \ *value\ =\ (T)(\textcolor{keyword}{false});}
\DoxyCodeLine{00199\ \ \ \ \ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{true};}
\DoxyCodeLine{00200\ \ \ \ \ \}}
\DoxyCodeLine{00201\ \ \ \ \ *value\ =\ (T)(\textcolor{keyword}{false});}
\DoxyCodeLine{00202\ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{false};}
\DoxyCodeLine{00203\ \}}
\DoxyCodeLine{00204\ \ \ \ \ }
\DoxyCodeLine{00205\ }
\DoxyCodeLine{00206\ }
\DoxyCodeLine{00207\ }
\DoxyCodeLine{00208\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//AAX\_CBINARYDISPLAYDELEGATE\_H}}

\end{DoxyCode}
