Jamba C++ API  5.1.1
PercentParamConverter Class Reference

A trivial percent converter. More...

#include <ParamConverters.h>

Inherits IParamConverter< Percent >.

Public Member Functions

double denormalize (ParamValue iNormalizedValue) const override
 
ParamValue normalize (double const &iValue) const override
 
void toString (ParamType const &iValue, String128 oString, int32 iPrecision) const override
 
- Public Member Functions inherited from IParamConverter< Percent >
virtual int32 getStepCount () const
 
virtual std::string toString (ParamType const &iValue, int32 iPrecision) const
 

Additional Inherited Members

- Public Types inherited from IParamConverter< Percent >
using ParamType = Percent
 

Detailed Description

A trivial percent converter.

The toString method returns the value as a percentage (precision is used to adjust how many digits to use for display)

Member Function Documentation

◆ denormalize()

double denormalize ( ParamValue  iNormalizedValue) const
inlineoverridevirtual

◆ normalize()

ParamValue normalize ( double const &  iValue) const
inlineoverridevirtual

◆ toString()

void toString ( ParamType const &  iValue,
String128  oString,
int32  iPrecision 
) const
inlineoverridevirtual

Reimplemented from IParamConverter< Percent >.


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