Jamba C++ API
5.1.1
|
A parameter backed by a UTF8String. More...
#include <GUIParamSerializers.h>
Inherits IParamSerializer< UTF8String >.
Public Member Functions | |
tresult | readFromStream (IBStreamer &iStreamer, ParamType &oValue) const override |
This method should read from the stream and populate oValue accordingly (aka deserialization) More... | |
tresult | writeToStream (const ParamType &iValue, IBStreamer &oStreamer) const override |
This method should write iValue to the stream (aka serialization) More... | |
void | writeToStream (ParamType const &iValue, std::ostream &oStream) const override |
By default, this implementation simply writes the value to the stream IF it is possible (determined at compilation time). More... | |
Public Member Functions inherited from IParamSerializer< UTF8String > | |
virtual std::string | toString (ParamType const &iValue, int32 iPrecision) const |
Additional Inherited Members | |
Public Types inherited from IParamSerializer< UTF8String > | |
using | ParamType = UTF8String |
A parameter backed by a UTF8String.
size | max size of the string saved/restored |
|
inlineoverridevirtual |
This method should read from the stream and populate oValue
accordingly (aka deserialization)
kResultOk
if reading was successful, kResultFalse
otherwise (or kNotImplemented
if not supported) Reimplemented from IParamSerializer< UTF8String >.
|
inlineoverridevirtual |
This method should write iValue
to the stream (aka serialization)
kResultOk
if writing was successful, kResultFalse
otherwise (or kNotImplemented
if not supported) Reimplemented from IParamSerializer< UTF8String >.
|
inlineoverridevirtual |
By default, this implementation simply writes the value to the stream IF it is possible (determined at compilation time).
Doesn't do anything if not. Subclasses can redefine this behavior.
Reimplemented from IParamSerializer< UTF8String >.