v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Member Functions | Protected Attributes | List of all members
v8toolkit::WrapAsMostDerivedBase< T > Struct Template Referenceabstract

#include <v8_class_wrapper.h>

Inheritance diagram for v8toolkit::WrapAsMostDerivedBase< T >:
Inheritance graph
[legend]
Collaboration diagram for v8toolkit::WrapAsMostDerivedBase< T >:
Collaboration graph
[legend]

Public Member Functions

 WrapAsMostDerivedBase (v8::Isolate *isolate)
 
virtual ~WrapAsMostDerivedBase ()=default
 
virtual v8::Local< v8::Object > operator() (T *cpp_object, DestructorBehavior &destructor_behavior) const =0
 

Protected Attributes

v8::Isolate * isolate
 

Detailed Description

template<class T>
struct v8toolkit::WrapAsMostDerivedBase< T >

Definition at line 147 of file v8_class_wrapper.h.

Constructor & Destructor Documentation

template<class T >
v8toolkit::WrapAsMostDerivedBase< T >::WrapAsMostDerivedBase ( v8::Isolate *  isolate)
inline

Definition at line 152 of file v8_class_wrapper.h.

template<class T >
virtual v8toolkit::WrapAsMostDerivedBase< T >::~WrapAsMostDerivedBase ( )
virtualdefault

Member Function Documentation

template<class T >
virtual v8::Local<v8::Object> v8toolkit::WrapAsMostDerivedBase< T >::operator() ( T *  cpp_object,
DestructorBehavior destructor_behavior 
) const
pure virtual

Member Data Documentation

template<class T >
v8::Isolate* v8toolkit::WrapAsMostDerivedBase< T >::isolate
protected

Definition at line 149 of file v8_class_wrapper.h.


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