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

#include <v8_class_wrapper.h>

Inheritance diagram for v8toolkit::DestructorBehavior_LeaveAlone:
Inheritance graph
[legend]
Collaboration diagram for v8toolkit::DestructorBehavior_LeaveAlone:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Helper to not do anything to the underlying C++ object when the corresponding javascript object is garbage collected

Definition at line 111 of file v8_class_wrapper.h.

Constructor & Destructor Documentation

v8toolkit::DestructorBehavior_LeaveAlone::DestructorBehavior_LeaveAlone ( )
inline

Definition at line 112 of file v8_class_wrapper.h.

Member Function Documentation

void v8toolkit::DestructorBehavior_LeaveAlone::operator() ( v8::Isolate *  isolate,
const void *  void_object 
) const
inlineoverridevirtual

Implements v8toolkit::DestructorBehavior.

Definition at line 116 of file v8_class_wrapper.h.

References V8TOOLKIT_DEBUG.

bool v8toolkit::DestructorBehavior_LeaveAlone::destructive ( ) const
inlineoverridevirtual

Implements v8toolkit::DestructorBehavior.

Definition at line 119 of file v8_class_wrapper.h.

virtual std::string v8toolkit::DestructorBehavior_LeaveAlone::name ( ) const
inlineoverridevirtual

Implements v8toolkit::DestructorBehavior.

Definition at line 123 of file v8_class_wrapper.h.


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