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

#include <v8toolkit.h>

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

Public Member Functions

 WrappedData (T *native_object, SetWeakCallbackData *weak_callback_data)
 
 ~WrappedData ()
 

Public Attributes

AnyBasenative_object
 
std::string native_object_type = demangle<T>()
 
SetWeakCallbackDataweak_callback_data = nullptr
 
T * original_pointer
 

Detailed Description

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

Holds the c++ object to be embedded inside a javascript object along with additional debugging information when requested

Definition at line 58 of file v8toolkit.h.

Constructor & Destructor Documentation

template<class T>
v8toolkit::WrappedData< T >::WrappedData ( T *  native_object,
SetWeakCallbackData weak_callback_data 
)
inline

Definition at line 64 of file v8toolkit.h.

template<class T>
v8toolkit::WrappedData< T >::~WrappedData ( )
inline

Definition at line 70 of file v8toolkit.h.

Member Data Documentation

template<class T>
AnyBase* v8toolkit::WrappedData< T >::native_object

Definition at line 59 of file v8toolkit.h.

template<class T>
std::string v8toolkit::WrappedData< T >::native_object_type = demangle<T>()

Definition at line 60 of file v8toolkit.h.

template<class T>
SetWeakCallbackData* v8toolkit::WrappedData< T >::weak_callback_data = nullptr

Definition at line 61 of file v8toolkit.h.

template<class T>
T* v8toolkit::WrappedData< T >::original_pointer

Definition at line 62 of file v8toolkit.h.


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