v8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | Friends | List of all members
v8::FunctionCallbackInfo< T > Class Template Reference

#include <v8.h>

Public Member Functions

V8_INLINE int Length () const
 
V8_INLINE Local< Valueoperator[] (int i) const
 
V8_INLINE Local< FunctionCallee () const
 
V8_INLINE Local< ObjectThis () const
 
V8_INLINE Local< ObjectHolder () const
 
V8_INLINE bool IsConstructCall () const
 
V8_INLINE Local< ValueData () const
 
V8_INLINE IsolateGetIsolate () const
 
V8_INLINE ReturnValue< T > GetReturnValue () const
 

Static Public Attributes

static const int kArgsLength = 7
 

Protected Member Functions

V8_INLINE FunctionCallbackInfo (internal::Object **implicit_args, internal::Object **values, int length, bool is_construct_call)
 

Protected Attributes

internal::Object ** implicit_args_
 
internal::Object ** values_
 
int length_
 
int is_construct_call_
 

Static Protected Attributes

static const int kHolderIndex = 0
 
static const int kIsolateIndex = 1
 
static const int kReturnValueDefaultValueIndex = 2
 
static const int kReturnValueIndex = 3
 
static const int kDataIndex = 4
 
static const int kCalleeIndex = 5
 
static const int kContextSaveIndex = 6
 

Friends

class internal::FunctionCallbackArguments
 
class internal::CustomArguments< FunctionCallbackInfo >
 

Detailed Description

template<typename T>
class v8::FunctionCallbackInfo< T >

The argument information given to function call callbacks. This class provides access to information about the context of the call, including the receiver, the number and values of arguments, and the holder of the function.

Constructor & Destructor Documentation

template<typename T >
v8::FunctionCallbackInfo< T >::FunctionCallbackInfo ( internal::Object **  implicit_args,
internal::Object **  values,
int  length,
bool  is_construct_call 
)
protected

Member Function Documentation

template<typename T >
Local< Function > v8::FunctionCallbackInfo< T >::Callee ( ) const
template<typename T >
Local< Value > v8::FunctionCallbackInfo< T >::Data ( ) const
template<typename T >
Isolate * v8::FunctionCallbackInfo< T >::GetIsolate ( ) const
template<typename T >
ReturnValue< T > v8::FunctionCallbackInfo< T >::GetReturnValue ( ) const
template<typename T >
Local< Object > v8::FunctionCallbackInfo< T >::Holder ( ) const
template<typename T >
bool v8::FunctionCallbackInfo< T >::IsConstructCall ( ) const
template<typename T >
int v8::FunctionCallbackInfo< T >::Length ( ) const
template<typename T >
Local< Value > v8::FunctionCallbackInfo< T >::operator[] ( int  i) const
template<typename T >
Local< Object > v8::FunctionCallbackInfo< T >::This ( ) const

Friends And Related Function Documentation

template<typename T >
friend class internal::CustomArguments< FunctionCallbackInfo >
friend
template<typename T >
friend class internal::FunctionCallbackArguments
friend

Member Data Documentation

template<typename T >
internal::Object** v8::FunctionCallbackInfo< T >::implicit_args_
protected
template<typename T >
int v8::FunctionCallbackInfo< T >::is_construct_call_
protected
template<typename T >
const int v8::FunctionCallbackInfo< T >::kArgsLength = 7
static
template<typename T >
const int v8::FunctionCallbackInfo< T >::kCalleeIndex = 5
staticprotected
template<typename T >
const int v8::FunctionCallbackInfo< T >::kContextSaveIndex = 6
staticprotected
template<typename T >
const int v8::FunctionCallbackInfo< T >::kDataIndex = 4
staticprotected
template<typename T >
const int v8::FunctionCallbackInfo< T >::kHolderIndex = 0
staticprotected
template<typename T >
const int v8::FunctionCallbackInfo< T >::kIsolateIndex = 1
staticprotected
template<typename T >
const int v8::FunctionCallbackInfo< T >::kReturnValueDefaultValueIndex = 2
staticprotected
template<typename T >
const int v8::FunctionCallbackInfo< T >::kReturnValueIndex = 3
staticprotected
template<typename T >
int v8::FunctionCallbackInfo< T >::length_
protected
template<typename T >
internal::Object** v8::FunctionCallbackInfo< T >::values_
protected

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