JUCE  v5.4.1-191-g0ab5e696f
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::VariantConverter< Type > Struct Template Reference

This template-overloaded class can be used to convert between var and custom types. More...

#include <juce_Variant.h>

Static Public Member Functions

static Type fromVar (const var &v)
 
static var toVar (const Type &t)
 

Detailed Description

template<typename Type>
struct juce::VariantConverter< Type >

This template-overloaded class can be used to convert between var and custom types.

{Core}

Member Function Documentation

◆ fromVar()

template<typename Type >
static Type juce::VariantConverter< Type >::fromVar ( const var v)
inlinestatic

◆ toVar()

template<typename Type >
static var juce::VariantConverter< Type >::toVar ( const Type &  t)
inlinestatic

References juce::var::toString().


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