JUCE: VariantConverter< Type > Struct Template Reference

JUCE

Static Public Member Functions | List of all members
VariantConverter< Type > Struct Template Reference
juce_core » containers

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 | ) |
| static

References gl::v.

## ◆ toVar()

template<typename Type >

static var VariantConverter< Type >::toVar | ( | const Type & | t | ) |
| static

References gl::t.

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

- juce_Variant.h