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::Any< T > Struct Template Reference

#include <v8helpers.h>

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

Public Member Functions

 Any (T data)
 
virtual ~Any ()
 
get ()
 

Public Attributes

data
 
std::string type_name
 

Detailed Description

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

Best used for types that are intrinsically pointers like std::shared_ptr or std::exception_ptr

Definition at line 585 of file v8helpers.h.

Constructor & Destructor Documentation

template<class T>
v8toolkit::Any< T >::Any ( data)
inline

Definition at line 586 of file v8helpers.h.

template<class T>
virtual v8toolkit::Any< T >::~Any ( )
inlinevirtual

Definition at line 587 of file v8helpers.h.

Member Function Documentation

template<class T>
T v8toolkit::Any< T >::get ( )
inline

Definition at line 589 of file v8helpers.h.

Member Data Documentation

template<class T>
T v8toolkit::Any< T >::data

Definition at line 588 of file v8helpers.h.

std::string v8toolkit::AnyBase::type_name
inherited

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