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

#include <v8_class_wrapper.h>

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

Public Member Functions

 DestructorBehavior_Delete ()
 
void operator() (v8::Isolate *isolate, const void *void_object) const override
 
bool destructive () const override
 
virtual std::string name () const override
 

Detailed Description

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

Helper to delete a C++ object when the corresponding javascript object is garbage collected

Definition at line 87 of file v8_class_wrapper.h.

Constructor & Destructor Documentation

Definition at line 88 of file v8_class_wrapper.h.

Member Function Documentation

template<class T >
void v8toolkit::DestructorBehavior_Delete< T >::operator() ( v8::Isolate *  isolate,
const void *  void_object 
) const
inlineoverridevirtual

Implements v8toolkit::DestructorBehavior.

Definition at line 91 of file v8_class_wrapper.h.

References V8TOOLKIT_DEBUG.

template<class T >
bool v8toolkit::DestructorBehavior_Delete< T >::destructive ( ) const
inlineoverridevirtual

Implements v8toolkit::DestructorBehavior.

Definition at line 97 of file v8_class_wrapper.h.

template<class T >
virtual std::string v8toolkit::DestructorBehavior_Delete< T >::name ( ) const
inlineoverridevirtual

Implements v8toolkit::DestructorBehavior.

Definition at line 101 of file v8_class_wrapper.h.


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