Jamba C++ API  5.1.1
RawParamSerializer Class Reference

This parameter handles serializing a raw parameter (ParamValue) More...

#include <ParamSerializers.h>

Inherits IParamSerializer< ParamValue >.

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...
 
- Public Member Functions inherited from IParamSerializer< ParamValue >
virtual std::string toString (ParamType const &iValue, int32 iPrecision) const
 
virtual void writeToStream (ParamType const &iValue, std::ostream &oStream) const
 By default, this implementation simply writes the value to the stream IF it is possible (determined at compilation time). More...
 

Additional Inherited Members

- Public Types inherited from IParamSerializer< ParamValue >
using ParamType = ParamValue
 

Detailed Description

This parameter handles serializing a raw parameter (ParamValue)

Member Function Documentation

◆ readFromStream()

tresult readFromStream ( IBStreamer &  iStreamer,
ParamType oValue 
) const
inlineoverridevirtual

This method should read from the stream and populate oValue accordingly (aka deserialization)

Returns
kResultOk if reading was successful, kResultFalse otherwise (or kNotImplemented if not supported)

Reimplemented from IParamSerializer< ParamValue >.

◆ writeToStream()

tresult writeToStream ( const ParamType iValue,
IBStreamer &  oStreamer 
) const
inlineoverridevirtual

This method should write iValue to the stream (aka serialization)

Returns
kResultOk if writing was successful, kResultFalse otherwise (or kNotImplemented if not supported)

Reimplemented from IParamSerializer< ParamValue >.


The documentation for this class was generated from the following file: