20 #include <pluginterfaces/vst/vsttypes.h> 21 #include <base/source/fstreamer.h> 22 #include <pongasoft/logging/logging.h> 30 using namespace Steinberg::Vst;
31 using namespace Steinberg;
47 std::vector<ParamID> fOrder{};
48 inline int getCount()
const {
return static_cast<int>(fOrder.size()); }
64 inline int getCount()
const {
return fSaveOrder->getCount(); }
67 inline void set(
int iIdx, ParamValue iParamValue)
69 DCHECK_F(iIdx >= 0 && iIdx < fSaveOrder->getCount());
70 fValues[iIdx] = iParamValue;
74 virtual tresult readFromStream(
Parameters const *iParameters, IBStreamer &iStreamer);
77 virtual tresult writeToStream(
Parameters const *iParameters, IBStreamer &oStreamer)
const;
80 std::string toString()
const;
85 ParamValue *fValues{
nullptr};
SaveOrder const * fSaveOrder
Definition: NormalizedState.h:84
Definition: Parameters.h:39
int getCount() const
Definition: NormalizedState.h:64
Definition: NormalizedState.h:44
Definition: NormalizedState.h:38
int getCount() const
Definition: NormalizedState.h:48
void set(int iIdx, ParamValue iParamValue)
Definition: NormalizedState.h:67