|
Jamba C++ API 7.5.0
|
This implementation simply cast T to an int32 (and vice-versa). More...
#include <ParamSerializers.h>
Inherits IDiscreteConverter< T >.
Public Member Functions | |
| tresult | convertFromDiscreteValue (int32 iDiscreteValue, T &oValue) const override |
| tresult | convertToDiscreteValue (T const &iValue, int32 &oDiscreteValue) const override |
| int32 | getStepCount () const override |
| StaticCastDiscreteConverter (int32 iStepCount) | |
Protected Attributes | |
| int32 | fStepCount |
This implementation simply cast T to an int32 (and vice-versa).
For example, it works for any numerical types or enums. And it works for any struct or class that defines:
|
inlineexplicit |
|
inlineoverridevirtual |
Implements IDiscreteConverter< T >.
|
inlineoverridevirtual |
Implements IDiscreteConverter< T >.
|
inlineoverridevirtual |
Implements IDiscreteConverter< T >.
|
protected |