v8  3.14.5 (node 0.10.48)
V8 is Google's open source JavaScript engine
Template Class Reference

#include <v8.h>

Inheritance diagram for Template:
Collaboration diagram for Template:

Public Member Functions

void Set (Handle< String > name, Handle< Data > value, PropertyAttribute attributes=None)
 
void Set (const char *name, Handle< Data > value)
 

Friends

class ObjectTemplate
 
class FunctionTemplate
 

Detailed Description

The superclass of object and function templates.

Definition at line 1980 of file v8.h.

Member Function Documentation

◆ Set() [1/2]

void Set ( const char *  name,
v8::Handle< Data value 
)
inline

Definition at line 4350 of file v8.h.

References String::New(), and Template::Set().

◆ Set() [2/2]

void Set ( Handle< String name,
Handle< Data value,
PropertyAttribute  attributes = None 
)

Adds a property to each instance created by this template.

Referenced by Template::Set().

Friends And Related Function Documentation

◆ FunctionTemplate

friend class FunctionTemplate
friend

Definition at line 1990 of file v8.h.

◆ ObjectTemplate

friend class ObjectTemplate
friend

Definition at line 1989 of file v8.h.


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