本文整理汇总了C++中createRawTemplate函数的典型用法代码示例。如果您正苦于以下问题:C++ createRawTemplate函数的具体用法?C++ createRawTemplate怎么用?C++ createRawTemplate使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了createRawTemplate函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: rawTemplateMap
v8::Persistent<v8::FunctionTemplate> V8PerIsolateData::rawTemplate(WrapperTypeInfo* info, WrapperWorldType currentWorldType)
{
TemplateMap& templates = rawTemplateMap(currentWorldType);
TemplateMap::iterator result = templates.find(info);
if (result != templates.end())
return result->value;
v8::HandleScope handleScope;
v8::Persistent<v8::FunctionTemplate> templ = createRawTemplate(m_isolate);
templates.add(info, templ);
return templ;
}
示例2: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8TestException::GetRawTemplate()
{
V8PerIsolateData* data = V8PerIsolateData::current();
V8PerIsolateData::TemplateMap::iterator result = data->rawTemplateMap().find(&info);
if (result != data->rawTemplateMap().end())
return result->value;
v8::HandleScope handleScope;
v8::Persistent<v8::FunctionTemplate> templ = createRawTemplate();
data->rawTemplateMap().add(&info, templ);
return templ;
}
示例3: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8HTMLTableCaptionElement::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8HTMLTableCaptionElementRawCache = createRawTemplate();
return V8HTMLTableCaptionElementRawCache;
}
示例4: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8Float32Array::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8Float32ArrayRawCache = createRawTemplate();
return V8Float32ArrayRawCache;
}
示例5: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8WebGLRenderbuffer::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8WebGLRenderbufferRawCache = createRawTemplate();
return V8WebGLRenderbufferRawCache;
}
示例6: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8SQLError::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8SQLErrorRawCache = createRawTemplate();
return V8SQLErrorRawCache;
}
示例7: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8DOMStringMap::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8DOMStringMapRawCache = createRawTemplate();
return V8DOMStringMapRawCache;
}
示例8: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8VoidCallback::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8VoidCallbackRawCache = createRawTemplate();
return V8VoidCallbackRawCache;
}
示例9: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8HTMLDataGridColElement::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8HTMLDataGridColElementRawCache = createRawTemplate();
return V8HTMLDataGridColElementRawCache;
}
示例10: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8IDBIndex::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8IDBIndexRawCache = createRawTemplate();
return V8IDBIndexRawCache;
}
示例11: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8Geolocation::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8GeolocationRawCache = createRawTemplate();
return V8GeolocationRawCache;
}
示例12: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8HTMLBlockquoteElement::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8HTMLBlockquoteElementRawCache = createRawTemplate();
return V8HTMLBlockquoteElementRawCache;
}
示例13: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8WebGLUniformLocation::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8WebGLUniformLocationRawCache = createRawTemplate();
return V8WebGLUniformLocationRawCache;
}
示例14: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8SVGAnimatedBoolean::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8SVGAnimatedBooleanRawCache = createRawTemplate();
return V8SVGAnimatedBooleanRawCache;
}
示例15: createRawTemplate
v8::Persistent<v8::FunctionTemplate> V8SVGPathSegCurvetoQuadraticSmoothAbs::GetRawTemplate()
{
static v8::Persistent<v8::FunctionTemplate> V8SVGPathSegCurvetoQuadraticSmoothAbsRawCache = createRawTemplate();
return V8SVGPathSegCurvetoQuadraticSmoothAbsRawCache;
}