JUCE  v5.1.1-3-g1a0b28c73
JUCE API
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 VariantConverter< Type >

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

Member Function Documentation

◆ fromVar()

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

◆ toVar()

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

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