#include <v8.h>
v8::Handle< T >を継承しています。
Public メソッド | |
Local () | |
template<class S > | |
Local (Local< S > that) | |
template<class S > | |
Local (S *that) | |
Static Public メソッド | |
template<class S > | |
static Local< T > | Cast (Local< S > that) |
static Local< T > | New (Handle< T > that) |
A light-weight stack-allocated object handle. All operations that return objects from within v8 return them in local handles. They are created within HandleScopes, and all local handles allocated within a handle scope are destroyed when the handle scope is destroyed. Hence it is not necessary to explicitly deallocate local handles.
This check fails when trying to convert between incompatible handles. For example, converting from a Handle<String> to a Handle<Number>.
Create a local handle for the content of another handle. The referee is kept alive by the local handle even when the original handle is destroyed/disposed.
参照先 v8::HandleScope::CreateHandle(), v8::Handle< T >::IsEmpty(), と T.