VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

Public Member Functions | List of all members
IValueConverter Class Referenceabstract
Standalone Library

Value converter interface More...

`#include <ivalue.h>`

Inheritance diagram for IValueConverter:

## Public Member Functions
virtual UTF8String | valueAsString (IValue::Type value) const =0
| Convert value to string. More...
virtual IValue::Type | stringAsValue (const UTF8String &string) const =0
| Convert string to value. More...
virtual IValue::Type | plainToNormalized (IValue::Type plain) const =0
| Convert plain to normalized value. More...
virtual IValue::Type | normalizedToPlain (IValue::Type normalized) const =0
| Convert normalized to plain value. More...
Public Member Functions inherited from Interface
virtual | ~Interface () noexcept
| Interface ()=default
| Interface (const Interface &)=delete
| Interface (Interface &&)=delete
Interface & | operator= (const Interface &)=delete
Interface & | operator= (Interface &&)=delete
template<typename T >
const auto | dynamicCast () const
template<typename T >
auto | dynamicCast ()

## Detailed Description

Value converter interface

## Member Function Documentation

## ◆ normalizedToPlain()

virtual IValue::Type normalizedToPlain | ( | IValue::Type | normalized | ) | const
| pure virtual

Convert normalized to plain value.

## ◆ plainToNormalized()

virtual IValue::Type plainToNormalized | ( | IValue::Type | plain | ) | const
| pure virtual

Convert plain to normalized value.

## ◆ stringAsValue()

virtual IValue::Type stringAsValue | ( | const UTF8String & | string | ) | const
| pure virtual

Convert string to value.

## ◆ valueAsString()

virtual UTF8String valueAsString | ( | IValue::Type | value | ) | const
| pure virtual

Convert value to string.

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

- ivalue.h