\hypertarget{a00548_source}{}\doxysection{AAX\+\_\+\+IDisplay\+Delegate\+Decorator.\+h}
\label{a00548_source}\index{AAX\_IDisplayDelegateDecorator.h@{AAX\_IDisplayDelegateDecorator.h}}
\mbox{\hyperlink{a00548}{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-\/2024\ Avid\ Technology,\ Inc.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ \ All\ rights\ reserved.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ \ This\ file\ is\ part\ of\ the\ Avid\ AAX\ SDK.}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ \ The\ AAX\ SDK\ is\ subject\ to\ commercial\ or\ open-\/source\ licensing.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ \ By\ using\ the\ AAX\ SDK,\ you\ agree\ to\ the\ terms\ of\ both\ the\ Avid\ AAX\ SDK\ License}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ \ Agreement\ and\ Avid\ Privacy\ Policy.}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ \ AAX\ SDK\ License:\ https://developer.avid.com/aax}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ \ Privacy\ Policy:\ https://www.avid.com/legal/privacy-\/policy-\/statement}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ \ Or:\ You\ may\ also\ use\ this\ code\ under\ the\ terms\ of\ the\ GPL\ v3\ (see}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *\ \ www.gnu.org/licenses).}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ \ }}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ \ THE\ AAX\ SDK\ IS\ PROVIDED\ "{}AS\ IS"{}\ WITHOUT\ ANY\ WARRANTY,\ AND\ ALL\ WARRANTIES,\ WHETHER}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ \ EXPRESSED\ OR\ IMPLIED,\ INCLUDING\ MERCHANTABILITY\ AND\ FITNESS\ FOR\ PURPOSE,\ ARE}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ \ DISCLAIMED.}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00032\ \textcolor{comment}{/*================================================================================================*/}}
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \textcolor{preprocessor}{\#ifndef\ AAX\_IDISPLAYDELEGATEDECORATOR\_H}}
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#define\ AAX\_IDISPLAYDELEGATEDECORATOR\_H}}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{a00476}{AAX\_IDisplayDelegate.h}}"{}}}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00052\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00053\ \textcolor{keyword}{class\ }\mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator}}\ :\ \textcolor{keyword}{public}\ \mbox{\hyperlink{a02242}{AAX\_IDisplayDelegate}}<T>}
\DoxyCodeLine{00054\ \{}
\DoxyCodeLine{00055\ \textcolor{keyword}{public}:}
\DoxyCodeLine{00068\ \ \ \ \ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02242}{AAX\_IDisplayDelegate<T>}}\&\ displayDelegate);}
\DoxyCodeLine{00069\ \ \ \ \ }
\DoxyCodeLine{00082\ \ \ \ \ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator}}\&\ other);}
\DoxyCodeLine{00083\ \ \ \ \ }
\DoxyCodeLine{00089\ \ \ \ \ \mbox{\hyperlink{a02246_a65993ca0ac3d206e9526985190e2add9}{\string~AAX\_IDisplayDelegateDecorator}}()\ \mbox{\hyperlink{a00542_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00090\ \ \ \ \ }
\DoxyCodeLine{00108\ \ \ \ \ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator<T>}}*\ \ \ \mbox{\hyperlink{a02246_a8e2ad7312467089a9112ba6460fe0e5b}{Clone}}()\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00542_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00109\ \ \ \ \ }
\DoxyCodeLine{00124\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02246_ada5780cfa332ac7946bf95aa65ae96f5}{ValueToString}}(T\ value,\ \mbox{\hyperlink{a01946}{AAX\_CString}}*\ valueString)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00542_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00125\ \ \ \ \ }
\DoxyCodeLine{00142\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02246_ada5780cfa332ac7946bf95aa65ae96f5}{ValueToString}}(T\ value,\ int32\_t\ maxNumChars,\ \mbox{\hyperlink{a01946}{AAX\_CString}}*\ valueString)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00542_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00143\ }
\DoxyCodeLine{00158\ \ \ \ \ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02246_a18d19293f3eca619cb5bb7f1ffde1a8d}{StringToValue}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01946}{AAX\_CString}}\&\ valueString,\ T*\ value)\ \textcolor{keyword}{const}\ \mbox{\hyperlink{a00542_ac2f24a5172689ae684344abdcce55463}{AAX\_OVERRIDE}};}
\DoxyCodeLine{00159\ }
\DoxyCodeLine{00160\ \textcolor{keyword}{private}:}
\DoxyCodeLine{00161\ \ \ \ \ \textcolor{keyword}{const}\ \mbox{\hyperlink{a02242}{AAX\_IDisplayDelegate<T>}}*\ \ \ \ \ \ \ mWrappedDisplayDelegate;}
\DoxyCodeLine{00162\ \ \ \ \ }
\DoxyCodeLine{00164\ \ \ \ \ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator}}()\ \ \ \ \ \ \ \ \{\ \}\ }
\DoxyCodeLine{00165\ \};}
\DoxyCodeLine{00166\ }
\DoxyCodeLine{00167\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00168\ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator<T>::AAX\_IDisplayDelegateDecorator}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02242}{AAX\_IDisplayDelegate<T>}}\&\ displayDelegate)\ \ :}
\DoxyCodeLine{00169\ \ \ \ \ \mbox{\hyperlink{a02242}{AAX\_IDisplayDelegate}}<T>(),}
\DoxyCodeLine{00170\ \ \ \ \ mWrappedDisplayDelegate(displayDelegate.Clone())}
\DoxyCodeLine{00171\ \{}
\DoxyCodeLine{00172\ }
\DoxyCodeLine{00173\ \}}
\DoxyCodeLine{00174\ }
\DoxyCodeLine{00175\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00176\ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator<T>::AAX\_IDisplayDelegateDecorator}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator}}\&\ other)\ :}
\DoxyCodeLine{00177\ \ \ \ \ mWrappedDisplayDelegate(other.mWrappedDisplayDelegate-\/>Clone())}
\DoxyCodeLine{00178\ \{}
\DoxyCodeLine{00179\ \ \ \ \ }
\DoxyCodeLine{00180\ \}}
\DoxyCodeLine{00181\ }
\DoxyCodeLine{00182\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00183\ \mbox{\hyperlink{a02246_a65993ca0ac3d206e9526985190e2add9}{AAX\_IDisplayDelegateDecorator<T>::\string~AAX\_IDisplayDelegateDecorator}}()}
\DoxyCodeLine{00184\ \{}
\DoxyCodeLine{00185\ \ \ \ \ \textcolor{keyword}{delete}\ mWrappedDisplayDelegate;}
\DoxyCodeLine{00186\ \}}
\DoxyCodeLine{00187\ }
\DoxyCodeLine{00188\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00189\ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator<T>}}*\ \ \ \mbox{\hyperlink{a02246_a8e2ad7312467089a9112ba6460fe0e5b}{AAX\_IDisplayDelegateDecorator<T>::Clone}}()\textcolor{keyword}{\ const}}
\DoxyCodeLine{00190\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00191\ \ \ \ \ \textcolor{keywordflow}{return}\ \textcolor{keyword}{new}\ \mbox{\hyperlink{a02246}{AAX\_IDisplayDelegateDecorator}}(*\textcolor{keyword}{this});}
\DoxyCodeLine{00192\ \}}
\DoxyCodeLine{00193\ }
\DoxyCodeLine{00194\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00195\ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02246_ada5780cfa332ac7946bf95aa65ae96f5}{AAX\_IDisplayDelegateDecorator<T>::ValueToString}}(T\ value,\ \mbox{\hyperlink{a01946}{AAX\_CString}}*\ valueString)\textcolor{keyword}{\ const\ }}
\DoxyCodeLine{00196\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00197\ \ \ \ \ \textcolor{keywordflow}{return}\ mWrappedDisplayDelegate-\/>ValueToString(value,\ valueString);}
\DoxyCodeLine{00198\ \}}
\DoxyCodeLine{00199\ }
\DoxyCodeLine{00200\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00201\ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02246_ada5780cfa332ac7946bf95aa65ae96f5}{AAX\_IDisplayDelegateDecorator<T>::ValueToString}}(T\ value,\ int32\_t\ maxNumChars,\ \mbox{\hyperlink{a01946}{AAX\_CString}}*\ valueString)\textcolor{keyword}{\ const\ }}
\DoxyCodeLine{00202\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00203\ \ \ \ \ \textcolor{keywordflow}{return}\ mWrappedDisplayDelegate-\/>ValueToString(value,\ maxNumChars,\ valueString);}
\DoxyCodeLine{00204\ \}}
\DoxyCodeLine{00205\ }
\DoxyCodeLine{00206\ \textcolor{keyword}{template}\ <\textcolor{keyword}{typename}\ T>}
\DoxyCodeLine{00207\ \textcolor{keywordtype}{bool}\ \ \ \ \ \ \ \ \mbox{\hyperlink{a02246_a18d19293f3eca619cb5bb7f1ffde1a8d}{AAX\_IDisplayDelegateDecorator<T>::StringToValue}}(\textcolor{keyword}{const}\ \mbox{\hyperlink{a01946}{AAX\_CString}}\&\ valueString,\ T*\ value)\textcolor{keyword}{\ const}}
\DoxyCodeLine{00208\ \textcolor{keyword}{}\{}
\DoxyCodeLine{00209\ \ \ \ \ \textcolor{keywordflow}{return}\ mWrappedDisplayDelegate-\/>StringToValue(valueString,\ value);}
\DoxyCodeLine{00210\ \}}
\DoxyCodeLine{00211\ }
\DoxyCodeLine{00212\ }
\DoxyCodeLine{00213\ }
\DoxyCodeLine{00214\ }
\DoxyCodeLine{00215\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//AAX\_IDISPLAYDELEGATEDECORATOR\_H}}
\DoxyCodeLine{00216\ }
\DoxyCodeLine{00217\ }
\DoxyCodeLine{00218\ }

\end{DoxyCode}
