A parameter backed by a C type string (char[size]).
More...
#include <ParamSerializers.h>
Inherits IParamSerializer< char[size]>.
|
tresult | readFromStream (IBStreamer &iStreamer, ParamType &oValue) const override |
|
tresult | writeToStream (const ParamType &iValue, IBStreamer &oStreamer) const override |
|
void | writeToStream (ParamType const &iValue, std::ostream &oStream) const override |
|
virtual tresult | readFromStream (IBStreamer &iStreamer, ParamType &oValue) const |
| This method should read from the stream and populate oValue accordingly (aka deserialization) More...
|
|
virtual std::string | toString (ParamType const &iValue, int32 iPrecision) const |
|
virtual tresult | writeToStream (const ParamType &iValue, IBStreamer &oStreamer) const |
| This method should write iValue to the stream (aka serialization) More...
|
|
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...
|
|
template<int size = 128>
class pongasoft::VST::CStringParamSerializer< size >
A parameter backed by a C type string (char[size]).
No memory allocation happens in this case.
- Template Parameters
-
size | of the string saved/restored |
◆ ParamType
◆ readFromStream()
tresult readFromStream |
( |
IBStreamer & |
iStreamer, |
|
|
ParamType & |
oValue |
|
) |
| const |
|
inlineoverride |
◆ writeToStream() [1/2]
tresult writeToStream |
( |
const ParamType & |
iValue, |
|
|
IBStreamer & |
oStreamer |
|
) |
| const |
|
inlineoverride |
◆ writeToStream() [2/2]
void writeToStream |
( |
ParamType const & |
iValue, |
|
|
std::ostream & |
oStream |
|
) |
| const |
|
inlineoverride |
The documentation for this class was generated from the following file: