\hypertarget{a00539_source}{}\doxysection{AAX\+\_\+\+IDisplay\+Delegate\+Decorator.\+h}
\label{a00539_source}\index{AAX\_IDisplayDelegateDecorator.h@{AAX\_IDisplayDelegateDecorator.h}}
\mbox{\hyperlink{a00539}{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\ 2014-\/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\_IDISPLAYDELEGATEDECORATOR\_H}}
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#define\ AAX\_IDISPLAYDELEGATEDECORATOR\_H}}
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00467}{AAX\_IDisplayDelegate.h}}"{}}}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00039\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00040\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{a02221}{AAX\_IDisplayDelegate}}<T>}
\DoxyCodeLine{00041\ \{}
\DoxyCodeLine{00042\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00055\ \ \ \ \ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02221}{AAX\_IDisplayDelegate<T>}}\&\ displayDelegate);}
\DoxyCodeLine{00056\ \ \ \ \ }
\DoxyCodeLine{00069\ \ \ \ \ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator}}\&\ other);}
\DoxyCodeLine{00070\ \ \ \ \ }
\DoxyCodeLine{00076\ \ \ \ \ \mbox{\hyperlink{a02225_a65993ca0ac3d206e9526985190e2add9}{\string~AAX\_IDisplayDelegateDecorator}}()\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00077\ \ \ \ \ }
\DoxyCodeLine{00095\ \ \ \ \ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator<T>}}*\ \ \ \mbox{\hyperlink{a02225_a8e2ad7312467089a9112ba6460fe0e5b}{Clone}}()\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00096\ \ \ \ \ }
\DoxyCodeLine{00111\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02225_ada5780cfa332ac7946bf95aa65ae96f5}{ValueToString}}(T\ value,\ \mbox{\hyperlink{a01933}{AAX\_CString}}*\ valueString)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00112\ \ \ \ \ }
\DoxyCodeLine{00129\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02225_ada5780cfa332ac7946bf95aa65ae96f5}{ValueToString}}(T\ value,\ int32\_t\ maxNumChars,\ \mbox{\hyperlink{a01933}{AAX\_CString}}*\ valueString)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00130\ }
\DoxyCodeLine{00145\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02225_a18d19293f3eca619cb5bb7f1ffde1a8d}{StringToValue}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01933}{AAX\_CString}}\&\ valueString,\ T*\ value)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00533_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00146\ }
\DoxyCodeLine{00147\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00148\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{a02221}{AAX\_IDisplayDelegate<T>}}*\ \ \ \ \ \ \ mWrappedDisplayDelegate;}
\DoxyCodeLine{00149\ \ \ \ \ }
\DoxyCodeLine{00151\ \ \ \ \ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator}}()\ \ \ \ \ \ \ \ \{\ \}\ }
\DoxyCodeLine{00152\ \};}
\DoxyCodeLine{00153\ }
\DoxyCodeLine{00154\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00155\ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator<T>::AAX\_IDisplayDelegateDecorator}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02221}{AAX\_IDisplayDelegate<T>}}\&\ displayDelegate)\ \ :}
\DoxyCodeLine{00156\ \ \ \ \ \mbox{\hyperlink{a02221}{AAX\_IDisplayDelegate}}<T>(),}
\DoxyCodeLine{00157\ \ \ \ \ mWrappedDisplayDelegate(displayDelegate.Clone())}
\DoxyCodeLine{00158\ \{}
\DoxyCodeLine{00159\ }
\DoxyCodeLine{00160\ \}}
\DoxyCodeLine{00161\ }
\DoxyCodeLine{00162\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00163\ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator<T>::AAX\_IDisplayDelegateDecorator}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator}}\&\ other)\ :}
\DoxyCodeLine{00164\ \ \ \ \ mWrappedDisplayDelegate(other.mWrappedDisplayDelegate-\/>Clone())}
\DoxyCodeLine{00165\ \{}
\DoxyCodeLine{00166\ \ \ \ \ }
\DoxyCodeLine{00167\ \}}
\DoxyCodeLine{00168\ }
\DoxyCodeLine{00169\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00170\ \mbox{\hyperlink{a02225_a65993ca0ac3d206e9526985190e2add9}{AAX\_IDisplayDelegateDecorator<T>::\string~AAX\_IDisplayDelegateDecorator}}()}
\DoxyCodeLine{00171\ \{}
\DoxyCodeLine{00172\ \ \ \ \ \textcolor{keyword}{delete}\ mWrappedDisplayDelegate;}
\DoxyCodeLine{00173\ \}}
\DoxyCodeLine{00174\ }
\DoxyCodeLine{00175\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00176\ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator<T>}}*\ \ \ \mbox{\hyperlink{a02225_a8e2ad7312467089a9112ba6460fe0e5b}{AAX\_IDisplayDelegateDecorator<T>::Clone}}()\textcolor{keyword}{\ const}}
\DoxyCodeLine{00177\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00178\ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a02225}{AAX\_IDisplayDelegateDecorator}}(*\textcolor{keyword}{this});}
\DoxyCodeLine{00179\ \}}
\DoxyCodeLine{00180\ }
\DoxyCodeLine{00181\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00182\ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02225_ada5780cfa332ac7946bf95aa65ae96f5}{AAX\_IDisplayDelegateDecorator<T>::ValueToString}}(T\ value,\ \mbox{\hyperlink{a01933}{AAX\_CString}}*\ valueString)\textcolor{keyword}{\ const\ }}
\DoxyCodeLine{00183\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00184\ \ \ \ \ \textcolor{keywordflow}{return}\ mWrappedDisplayDelegate-\/>ValueToString(value,\ valueString);}
\DoxyCodeLine{00185\ \}}
\DoxyCodeLine{00186\ }
\DoxyCodeLine{00187\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00188\ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02225_ada5780cfa332ac7946bf95aa65ae96f5}{AAX\_IDisplayDelegateDecorator<T>::ValueToString}}(T\ value,\ int32\_t\ maxNumChars,\ \mbox{\hyperlink{a01933}{AAX\_CString}}*\ valueString)\textcolor{keyword}{\ const\ }}
\DoxyCodeLine{00189\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00190\ \ \ \ \ \textcolor{keywordflow}{return}\ mWrappedDisplayDelegate-\/>ValueToString(value,\ maxNumChars,\ valueString);}
\DoxyCodeLine{00191\ \}}
\DoxyCodeLine{00192\ }
\DoxyCodeLine{00193\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00194\ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02225_a18d19293f3eca619cb5bb7f1ffde1a8d}{AAX\_IDisplayDelegateDecorator<T>::StringToValue}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01933}{AAX\_CString}}\&\ valueString,\ T*\ value)\textcolor{keyword}{\ const}}
\DoxyCodeLine{00195\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00196\ \ \ \ \ \textcolor{keywordflow}{return}\ mWrappedDisplayDelegate-\/>StringToValue(valueString,\ value);}
\DoxyCodeLine{00197\ \}}
\DoxyCodeLine{00198\ }
\DoxyCodeLine{00199\ }
\DoxyCodeLine{00200\ }
\DoxyCodeLine{00201\ }
\DoxyCodeLine{00202\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//AAX\_IDISPLAYDELEGATEDECORATOR\_H}}
\DoxyCodeLine{00203\ }
\DoxyCodeLine{00204\ }
\DoxyCodeLine{00205\ }

\end{DoxyCode}
