25 #ifndef AAX_IDISPLAYDELEGATEDECORATOR_H
26 #define AAX_IDISPLAYDELEGATEDECORATOR_H
157 template <
typename T>
160 mWrappedDisplayDelegate(displayDelegate.Clone())
165 template <
typename T>
167 mWrappedDisplayDelegate(other.mWrappedDisplayDelegate->Clone())
172 template <
typename T>
175 delete mWrappedDisplayDelegate;
178 template <
typename T>
184 template <
typename T>
187 return mWrappedDisplayDelegate->ValueToString(value, valueString);
190 template <
typename T>
193 return mWrappedDisplayDelegate->ValueToString(value, maxNumChars, valueString);
196 template <
typename T>
199 return mWrappedDisplayDelegate->StringToValue(valueString, value);
#define AAX_OVERRIDE
override keyword macro
Definition: AAX.h:141
Defines the display behavior for a parameter.
A generic AAX string class with similar functionality to std::string
Definition: AAX_CString.h:46
Classes for parameter value string conversion.
Definition: AAX_IDisplayDelegate.h:69
The base class for all concrete display delegate decorators.
Definition: AAX_IDisplayDelegateDecorator.h:44
bool StringToValue(const AAX_CString &valueString, T *value) const AAX_OVERRIDE
Converts a string to a real parameter value.
Definition: AAX_IDisplayDelegateDecorator.h:197
~AAX_IDisplayDelegateDecorator() AAX_OVERRIDE
Virtual destructor.
Definition: AAX_IDisplayDelegateDecorator.h:173
AAX_IDisplayDelegateDecorator< T > * Clone() const AAX_OVERRIDE
Constructs and returns a copy of the display delegate decorator.
Definition: AAX_IDisplayDelegateDecorator.h:179
bool ValueToString(T value, AAX_CString *valueString) const AAX_OVERRIDE
Converts a string to a real parameter value.
Definition: AAX_IDisplayDelegateDecorator.h:185