v8  3.11.10 (node 0.8.28)
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 1950 of file v8.h.

Member Function Documentation

◆ Set() [1/2]

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

Definition at line 4175 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 1960 of file v8.h.

◆ ObjectTemplate

friend class ObjectTemplate
friend

Definition at line 1959 of file v8.h.


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