v8toolkit
0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
|
#include <functional>
#include <memory>
#include <map>
#include <vector>
#include <set>
#include <EASTL/vector_set.h>
#include "class_parser.h"
Go to the source code of this file.
Classes | |
class | v8toolkit::V8ClassWrapper< T > |
class | v8toolkit::WrappedClassBase |
class | v8toolkit::JSWrapper< T > |
class | Uninteresting |
class | OnlyUsedInTemplate |
class | TemplatedClass< T, i > |
class | FooGrandParent |
class | FooParent |
class | v8toolkit::EmptyFactoryBase |
class | v8toolkit::FlexibleParent< class,... > |
struct | v8toolkit::TypeList<... > |
class | v8toolkit::CppFactory< Base, Child, ExternalTypeList, ParentType, FactoryBase > |
Namespaces | |
v8toolkit | |
class v8toolkit::V8ClassWrapper |
Provides a mechanism for creating javascript-ready objects from an arbitrary C++ class Can provide a JS constructor method or wrap objects created in another c++ function
Const types should not be wrapped directly. Instead, a const version of a non-const type will automatically be created and populated with read-only members and any const-qualified method added to the non-const version.
All members/methods must be added, then finalize() called, then any desired constructors may be created.
class TemplatedClass |
class v8toolkit::EmptyFactoryBase |
struct v8toolkit::TypeList |
class v8toolkit::CppFactory |
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.