v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Classes | Namespaces | Typedefs | Functions | Variables
sample.cpp File Reference
#include "class_parser.h"
#include <functional>
#include "sample2.h"
Include dependency graph for sample.cpp:

Go to the source code of this file.

Classes

class  A
 
class  B
 
class  NeedIncludeForTemplatedType< T >
 
class  v8::Local< class >
 
class  HelperClass
 
class  ThisShouldNotMatch
 
class  WrappedClass
 
class  WrappedClassDerived
 
class  DoNotWrapEvenThoughInheritsFromWrapped
 
class  Test::MyTemplate< vector< T > >
 
class  v8toolkit::CppFactory< Base, Child, ExternalTypeList, ParentType, FactoryBase >
 
class  v8toolkit::CppFactory< Base, Child, TypeList< ExternalConstructorParams... >, ParentType, FactoryBase >
 
class  DerivedFromWrappedClassBase< T >
 
class  UnwrappedClassThatIsUsed
 
class  Foo
 

Namespaces

 v8
 
 Test
 
 v8toolkit
 

Typedefs

using asdf = int
 
using V8TOOLKIT_WRAPPED_CLASS = DerivedFromWrappedClassBase< int >
 

Functions

int main ()
 

Variables

class V8TOOLKIT_SKIP DoNotWrapEvenThoughInheritsFromWrapped
 
template<class = char>
class V8TOOLKIT_WRAPPED_CLASS Test::MyTemplate
 

Class Documentation

class NeedIncludeForTemplatedType

template<class T>
class NeedIncludeForTemplatedType< T >

Definition at line 26 of file sample.cpp.

class v8::Local

template<class>
class v8::Local< class >

Definition at line 30 of file sample.cpp.

class HelperClass

Definition at line 46 of file sample.cpp.

Class Members
typedef function< int(char)> Callback
class Test::MyTemplate< vector< T > >

template<class T>
class Test::MyTemplate< vector< T > >

Definition at line 95 of file sample.cpp.

class v8toolkit::CppFactory

template<class Base, class Child, class ExternalTypeList = TypeList<>, template< class, class... > class ParentType = FlexibleParent, class FactoryBase = EmptyFactoryBase>
class v8toolkit::CppFactory< Base, Child, ExternalTypeList, ParentType, FactoryBase >

Returns a pure-C++ object of type Child which inherits from type Base. It's Base type and ConstructorArgs... must match with the Factory it is associated with. You can have it inherit from a type that inherits from v8toolkit::Factory but v8toolkit::Factory must be in the inheritance chain somewhere

Definition at line 110 of file sample.cpp.

class UnwrappedClassThatIsUsed

Definition at line 134 of file sample.cpp.

Typedef Documentation

using asdf = int

Definition at line 100 of file sample.cpp.

Definition at line 265 of file sample.cpp.

Function Documentation

int main ( )

Definition at line 268 of file sample.cpp.

References DerivedFromWrappedClassBase< T >::function_in_templated_class(), and Foo::templated_function().

Here is the call graph for this function:

Variable Documentation

Definition at line 89 of file sample.cpp.