Flutter Engine
tonic::DartConverter< PTR< T > > Struct Template Reference

#include <dart_wrappable.h>

Static Public Member Functions

static Dart_Handle ToDart (const PTR< T > &val)
 
static PTR< T > FromDart (Dart_Handle handle)
 
static PTR< T > FromArguments (Dart_NativeArguments args, int index, Dart_Handle &exception, bool auto_scope=true)
 
static void SetReturnValue (Dart_NativeArguments args, const PTR< T > &val, bool auto_scope=true)
 

Detailed Description

template<template< typename T > class PTR, typename T>
struct tonic::DartConverter< PTR< T > >

Definition at line 159 of file dart_wrappable.h.

Member Function Documentation

◆ FromArguments()

template<template< typename T > class PTR, typename T >
static PTR<T> tonic::DartConverter< PTR< T > >::FromArguments ( Dart_NativeArguments  args,
int  index,
Dart_Handle &  exception,
bool  auto_scope = true 
)
inlinestatic

Definition at line 168 of file dart_wrappable.h.

171  {
172  return PTR<T>(
173  DartConverter<T*>::FromArguments(args, index, exception, auto_scope));
174  }
G_BEGIN_DECLS FlValue * args

◆ FromDart()

template<template< typename T > class PTR, typename T >
static PTR<T> tonic::DartConverter< PTR< T > >::FromDart ( Dart_Handle  handle)
inlinestatic

Definition at line 164 of file dart_wrappable.h.

164  {
165  return DartConverter<T*>::FromDart(handle);
166  }

◆ SetReturnValue()

template<template< typename T > class PTR, typename T >
static void tonic::DartConverter< PTR< T > >::SetReturnValue ( Dart_NativeArguments  args,
const PTR< T > &  val,
bool  auto_scope = true 
)
inlinestatic

Definition at line 176 of file dart_wrappable.h.

178  {
179  DartConverter<T*>::SetReturnValue(args, val.get());
180  }
G_BEGIN_DECLS FlValue * args

◆ ToDart()

template<template< typename T > class PTR, typename T >
static Dart_Handle tonic::DartConverter< PTR< T > >::ToDart ( const PTR< T > &  val)
inlinestatic

Definition at line 160 of file dart_wrappable.h.

References tonic::ToDart().

160  {
161  return DartConverter<T*>::ToDart(val.get());
162  }
Dart_Handle ToDart(const T &object)

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