Jamba  3.0.2
pongasoft::VST::CStringParamSerializer< size > Class Template Reference

#include <ParamSerializers.h>

Inherits pongasoft::VST::IParamSerializer< char[size]>.

Public Types

using ParamType = char[size]
 
- Public Types inherited from pongasoft::VST::IParamSerializer< char[size]>
using ParamType = char
 

Public Member Functions

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
 
- Public Member Functions inherited from pongasoft::VST::IParamSerializer< char[size]>
virtual tresult readFromStream (IBStreamer &iStreamer, ParamType &oValue) const=0
 
virtual std::string toString (ParamType const &iValue, int32 iPrecision) const
 
virtual tresult writeToStream (const ParamType &iValue, IBStreamer &oStreamer) const=0
 
virtual void writeToStream (ParamType const &iValue, std::ostream &oStream) const
 

Detailed Description

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
sizeof the string saved/restored

Member Typedef Documentation

◆ ParamType

template<int size = 128>
using pongasoft::VST::CStringParamSerializer< size >::ParamType = char[size]

Member Function Documentation

◆ readFromStream()

template<int size = 128>
tresult pongasoft::VST::CStringParamSerializer< size >::readFromStream ( IBStreamer &  iStreamer,
ParamType oValue 
) const
inlineoverride

◆ writeToStream() [1/2]

template<int size = 128>
tresult pongasoft::VST::CStringParamSerializer< size >::writeToStream ( const ParamType iValue,
IBStreamer &  oStreamer 
) const
inlineoverride

◆ writeToStream() [2/2]

template<int size = 128>
void pongasoft::VST::CStringParamSerializer< size >::writeToStream ( ParamType const &  iValue,
std::ostream &  oStream 
) const
inlineoverride

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