v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Static Public Member Functions | List of all members
v8toolkit::CastToNative< T, class > Struct Template Reference

#include <casts.hpp>

Public Member Functions

template<class U = T>
void operator() (v8::Isolate *isolate, v8::Local< v8::Value > value) const
 

Static Public Member Functions

static constexpr bool callable ()
 

Detailed Description

template<typename T, class>
struct v8toolkit::CastToNative< T, class >

Casts from a boxed Javascript type to a native type

Definition at line 42 of file casts.hpp.

Member Function Documentation

template<typename T, class >
template<class U = T>
std::function< Return(Params...)> v8toolkit::CastToNative< Return, Params >::operator() ( v8::Isolate *  isolate,
v8::Local< v8::Value >  value 
) const
inline

Definition at line 108 of file casts.hpp.

Referenced by v8toolkit::CastToJS< eastl::vector< T, Rest... > >::operator()().

Here is the caller graph for this function:

template<typename T, class >
static constexpr bool v8toolkit::CastToNative< T, class >::callable ( )
inlinestatic

Definition at line 117 of file casts.hpp.


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