Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
dart_converter.h File Reference
#include <string>
#include <type_traits>
#include <vector>
#include "third_party/dart/runtime/include/dart_api.h"
#include "tonic/common/macros.h"
#include "tonic/logging/dart_error.h"

Go to the source code of this file.

Classes

struct  tonic::DartConverter< T, Enable >
 
struct  tonic::DartConverterTypes< T >
 
struct  tonic::DartConverter< void >
 
struct  tonic::DartConverter< bool >
 
struct  tonic::DartConverterInteger< T >
 
struct  tonic::DartConverter< int >
 
struct  tonic::DartConverter< long int >
 
struct  tonic::DartConverter< unsigned >
 
struct  tonic::DartConverter< long long >
 
struct  tonic::DartConverter< unsigned long >
 
struct  tonic::DartConverter< unsigned long long >
 
struct  tonic::DartConverter< double >
 
struct  tonic::DartConverter< T, typename std::enable_if< std::is_enum< T >::value >::type >
 
struct  tonic::DartConverter< std::string >
 
struct  tonic::DartConverter< std::u16string >
 
struct  tonic::DartConverter< const char * >
 
struct  tonic::DartListFactory< T, Enable >
 
struct  tonic::DartConverter< std::vector< T > >
 
struct  tonic::DartConverter< Dart_Handle >
 

Namespaces

namespace  tonic
 

Functions

Dart_Handle tonic::LookupNonNullableType (const std::string &library_name, const std::string &type_name)
 
template<typename T , std::enable_if_t< std::is_same< std::string, T >::value, int > = 0>
Dart_Handle tonic::ToDartTypeHandle ()
 
template<typename T >
Dart_Handle tonic::CreateZeroInitializedDartObject (Dart_Handle type_handle_or_null=::Dart_Null())
 
template<typename T >
Dart_Handle tonic::ToDart (const T &object)
 
Dart_Handle tonic::StdStringToDart (const std::string &val)
 
std::string tonic::StdStringFromDart (Dart_Handle handle)
 
Dart_Handle tonic::ToDart (const char *val)