Classes | Typedefs | Functions | Variables
Nan::imp Namespace Reference

Classes

struct  Factory< v8::Array >
struct  Factory< v8::Boolean >
struct  Factory< v8::BooleanObject >
struct  Factory< v8::Context >
struct  Factory< v8::Date >
struct  Factory< v8::External >
struct  Factory< v8::Function >
struct  Factory< v8::FunctionTemplate >
struct  Factory< v8::Int32 >
struct  Factory< v8::Integer >
struct  Factory< v8::Number >
struct  Factory< v8::NumberObject >
struct  Factory< v8::Object >
struct  Factory< v8::ObjectTemplate >
struct  Factory< v8::RegExp >
struct  Factory< v8::Script >
struct  Factory< v8::Signature >
struct  Factory< v8::String >
struct  Factory< v8::StringObject >
struct  Factory< v8::Uint32 >
struct  FactoryBase
struct  IntegerFactory
struct  MaybeFactoryBase
struct  Maybefier< MaybeLocal< T > >
struct  Maybefier< v8::Local< T > >
class  ReturnValueImp
struct  ToFactoryBase
struct  ValueFactoryBase

Typedefs

typedef v8::Handle< v8::Value >(* NativeFunction )(const v8::Arguments &)
typedef v8::Handle< v8::Value >(* NativeGetter )(v8::Local< v8::String >, const v8::AccessorInfo &)
typedef v8::Handle< v8::Boolean >(* NativeIndexDeleter )(uint32_t, const v8::AccessorInfo &)
typedef v8::Handle< v8::Array >(* NativeIndexEnumerator )(const v8::AccessorInfo &)
typedef v8::Handle< v8::Value >(* NativeIndexGetter )(uint32_t, const v8::AccessorInfo &)
typedef v8::Handle< v8::Integer >(* NativeIndexQuery )(uint32_t, const v8::AccessorInfo &)
typedef v8::Handle< v8::Value >(* NativeIndexSetter )(uint32_t, v8::Local< v8::Value >, const v8::AccessorInfo &)
typedef v8::Handle< v8::Array >(* NativePropertyEnumerator )(const v8::AccessorInfo &)
typedef v8::Handle< v8::Value >(* NativePropertyGetter )(v8::Local< v8::String >, const v8::AccessorInfo &)
typedef v8::Handle< v8::Integer >(* NativePropertyQuery )(v8::Local< v8::String >, const v8::AccessorInfo &)
typedef v8::Handle< v8::Value >(* NativePropertySetter )(v8::Local< v8::String >, v8::Local< v8::Value >, const v8::AccessorInfo &)
typedef void(* NativeSetter )(v8::Local< v8::String >, v8::Local< v8::Value >, const v8::AccessorInfo &)
typedef static v8::Handle
< v8::Boolean >
(NativePropertyDeleter)(v8
v8::Handle< v8::Integer > 
PropertyQueryCallbackWrapper (v8::Local< v8::String > property, const v8::AccessorInfo &info)
typedef v8::Local
< v8::AccessorSignature > 
Sig

Functions

static size_t base64_encode (const char *src, size_t slen, char *dst, size_t dlen)
static bool contains_non_ascii (const char *src, size_t len)
static bool contains_non_ascii_slow (const char *buf, size_t len)
static Local< Value > Encode (const char *buf, size_t buflen, enum Encoding encoding)
static void force_ascii (const char *src, char *dst, size_t len)
static void force_ascii_slow (const char *src, char *dst, size_t len)
static v8::Handle< v8::Value > FunctionCallbackWrapper (const v8::Arguments &args)
ExternalOneByteStringResource
const * 
GetExternalResource (v8::Local< v8::String > str)
static v8::Handle< v8::Value > GetterCallbackWrapper (v8::Local< v8::String > property, const v8::AccessorInfo &info)
static size_t hex_encode (const char *src, size_t slen, char *dst, size_t dlen)
static v8::Handle< v8::Boolean > IndexDeleterCallbackWrapper (uint32_t index, const v8::AccessorInfo &info)
static v8::Handle< v8::Array > IndexEnumeratorCallbackWrapper (const v8::AccessorInfo &info)
static v8::Handle< v8::Value > IndexGetterCallbackWrapper (uint32_t index, const v8::AccessorInfo &info)
static v8::Handle< v8::Integer > IndexQueryCallbackWrapper (uint32_t index, const v8::AccessorInfo &info)
static v8::Handle< v8::Value > IndexSetterCallbackWrapper (uint32_t index, v8::Local< v8::Value > value, const v8::AccessorInfo &info)
bool IsExternal (v8::Local< v8::String > str)
static v8::Handle< v8::Boolean > PropertyDeleterCallbackWrapper (v8::Local< v8::String > property, const v8::AccessorInfo &info)
static v8::Handle< v8::Array > PropertyEnumeratorCallbackWrapper (const v8::AccessorInfo &info)
static v8::Handle< v8::Value > PropertyGetterCallbackWrapper (v8::Local< v8::String > property, const v8::AccessorInfo &info)
static v8::Handle< v8::Value > PropertySetterCallbackWrapper (v8::Local< v8::String > property, v8::Local< v8::Value > value, const v8::AccessorInfo &info)
template<typename T >
void SetMethodAux (T recv, v8::Local< v8::String > name, v8::Local< v8::FunctionTemplate > tpl, v8::Template *)
template<typename T >
void SetMethodAux (T recv, v8::Local< v8::String > name, v8::Local< v8::FunctionTemplate > tpl,...)
static void SetterCallbackWrapper (v8::Local< v8::String > property, v8::Local< v8::Value > value, const v8::AccessorInfo &info)
template<typename T >
v8::Local< T > To (v8::Local< v8::Integer > i)
template<>
v8::Local< v8::Int32 > To< v8::Int32 > (v8::Local< v8::Integer > i)
template<>
v8::Local< v8::Integer > To< v8::Integer > (v8::Local< v8::Integer > i)
template<>
v8::Local< v8::Uint32 > To< v8::Uint32 > (v8::Local< v8::Integer > i)
void widenString (std::vector< uint16_t > *ws, const uint8_t *s, int l)

Variables

static const int kAccessorFieldCount = 3
static const int kDataIndex = 0
static const int kFunctionFieldCount = 2
static const int kFunctionIndex = 1
static const int kGetterIndex = 1
static const int kIndexPropertyDeleterIndex = 4
static const int kIndexPropertyEnumeratorIndex = 3
static const int kIndexPropertyFieldCount = 6
static const int kIndexPropertyGetterIndex = 1
static const int kIndexPropertyQueryIndex = 5
static const int kIndexPropertySetterIndex = 2
static const size_t kMaxLength = 0x3fffffff
static const int kPropertyDeleterIndex = 4
static const int kPropertyEnumeratorIndex = 3
static const int kPropertyFieldCount = 6
static const int kPropertyGetterIndex = 1
static const int kPropertyQueryIndex = 5
static const int kPropertySetterIndex = 2
static const unsigned kReplaceInvalidUtf8 = 0
static const int kSetterIndex = 2

Typedef Documentation

typedef v8::Handle<v8::Value>(* Nan::imp::NativeFunction)(const v8::Arguments &)

Definition at line 296 of file nan.h.

typedef v8::Handle<v8::Value>(* Nan::imp::NativeGetter)(v8::Local< v8::String >, const v8::AccessorInfo &)

Definition at line 312 of file nan.h.

typedef v8::Handle<v8::Boolean>(* Nan::imp::NativeIndexDeleter)(uint32_t, const v8::AccessorInfo &)

Definition at line 487 of file nan.h.

typedef v8::Handle<v8::Array>(* Nan::imp::NativeIndexEnumerator)(const v8::AccessorInfo &)

Definition at line 470 of file nan.h.

typedef v8::Handle<v8::Value>(* Nan::imp::NativeIndexGetter)(uint32_t, const v8::AccessorInfo &)

Definition at line 434 of file nan.h.

typedef v8::Handle<v8::Integer>(* Nan::imp::NativeIndexQuery)(uint32_t, const v8::AccessorInfo &)

Definition at line 504 of file nan.h.

typedef v8::Handle<v8::Value>(* Nan::imp::NativeIndexSetter)(uint32_t, v8::Local< v8::Value >, const v8::AccessorInfo &)

Definition at line 453 of file nan.h.

typedef v8::Handle<v8::Array>(* Nan::imp::NativePropertyEnumerator)(const v8::AccessorInfo &)

Definition at line 382 of file nan.h.

typedef v8::Handle<v8::Value>(* Nan::imp::NativePropertyGetter)(v8::Local< v8::String >, const v8::AccessorInfo &)

Definition at line 346 of file nan.h.

typedef v8::Handle<v8::Integer>(* Nan::imp::NativePropertyQuery)(v8::Local< v8::String >, const v8::AccessorInfo &)

Definition at line 417 of file nan.h.

typedef v8::Handle<v8::Value>(* Nan::imp::NativePropertySetter)(v8::Local< v8::String >, v8::Local< v8::Value >, const v8::AccessorInfo &)

Definition at line 365 of file nan.h.

typedef void(* Nan::imp::NativeSetter)(v8::Local< v8::String >, v8::Local< v8::Value >, const v8::AccessorInfo &)

Definition at line 329 of file nan.h.

typedef static v8::Handle<v8::Boolean> (NativePropertyDeleter) (v8 v8::Handle<v8::Integer> Nan::imp::PropertyQueryCallbackWrapper(v8::Local< v8::String > property, const v8::AccessorInfo &info) [static]

Definition at line 403 of file nan.h.

typedef v8::Local<v8::AccessorSignature> Nan::imp::Sig

Definition at line 56 of file nan.h.


Function Documentation

static size_t Nan::imp::base64_encode ( const char *  src,
size_t  slen,
char *  dst,
size_t  dlen 
) [static]

Definition at line 143 of file nan.h.

static bool Nan::imp::contains_non_ascii ( const char *  src,
size_t  len 
) [static]

Definition at line 52 of file nan.h.

static bool Nan::imp::contains_non_ascii_slow ( const char *  buf,
size_t  len 
) [static]

Definition at line 44 of file nan.h.

static Local<Value> Nan::imp::Encode ( const char *  buf,
size_t  buflen,
enum Encoding  encoding 
) [static]

Definition at line 225 of file nan.h.

static void Nan::imp::force_ascii ( const char *  src,
char *  dst,
size_t  len 
) [static]

Definition at line 98 of file nan.h.

static void Nan::imp::force_ascii_slow ( const char *  src,
char *  dst,
size_t  len 
) [static]

Definition at line 91 of file nan.h.

static v8::Handle<v8::Value> Nan::imp::FunctionCallbackWrapper ( const v8::Arguments &  args) [static]

Definition at line 285 of file nan.h.

ExternalOneByteStringResource const* Nan::imp::GetExternalResource ( v8::Local< v8::String >  str) [inline]

Definition at line 1712 of file nan.h.

static v8::Handle<v8::Value> Nan::imp::GetterCallbackWrapper ( v8::Local< v8::String >  property,
const v8::AccessorInfo &  info 
) [static]

Definition at line 299 of file nan.h.

static size_t Nan::imp::hex_encode ( const char *  src,
size_t  slen,
char *  dst,
size_t  dlen 
) [static]

Definition at line 207 of file nan.h.

static v8::Handle<v8::Boolean> Nan::imp::IndexDeleterCallbackWrapper ( uint32_t  index,
const v8::AccessorInfo &  info 
) [static]

Definition at line 473 of file nan.h.

static v8::Handle<v8::Array> Nan::imp::IndexEnumeratorCallbackWrapper ( const v8::AccessorInfo &  info) [static]

Definition at line 456 of file nan.h.

static v8::Handle<v8::Value> Nan::imp::IndexGetterCallbackWrapper ( uint32_t  index,
const v8::AccessorInfo &  info 
) [static]

Definition at line 420 of file nan.h.

static v8::Handle<v8::Integer> Nan::imp::IndexQueryCallbackWrapper ( uint32_t  index,
const v8::AccessorInfo &  info 
) [static]

Definition at line 490 of file nan.h.

static v8::Handle<v8::Value> Nan::imp::IndexSetterCallbackWrapper ( uint32_t  index,
v8::Local< v8::Value >  value,
const v8::AccessorInfo &  info 
) [static]

Definition at line 437 of file nan.h.

bool Nan::imp::IsExternal ( v8::Local< v8::String >  str) [inline]

Definition at line 1722 of file nan.h.

static v8::Handle<v8::Boolean> Nan::imp::PropertyDeleterCallbackWrapper ( v8::Local< v8::String >  property,
const v8::AccessorInfo &  info 
) [static]

Definition at line 385 of file nan.h.

static v8::Handle<v8::Array> Nan::imp::PropertyEnumeratorCallbackWrapper ( const v8::AccessorInfo &  info) [static]

Definition at line 368 of file nan.h.

static v8::Handle<v8::Value> Nan::imp::PropertyGetterCallbackWrapper ( v8::Local< v8::String >  property,
const v8::AccessorInfo &  info 
) [static]

Definition at line 332 of file nan.h.

static v8::Handle<v8::Value> Nan::imp::PropertySetterCallbackWrapper ( v8::Local< v8::String >  property,
v8::Local< v8::Value >  value,
const v8::AccessorInfo &  info 
) [static]

Definition at line 349 of file nan.h.

template<typename T >
void Nan::imp::SetMethodAux ( recv,
v8::Local< v8::String >  name,
v8::Local< v8::FunctionTemplate >  tpl,
v8::Template *   
) [inline]

Definition at line 1856 of file nan.h.

template<typename T >
void Nan::imp::SetMethodAux ( recv,
v8::Local< v8::String >  name,
v8::Local< v8::FunctionTemplate >  tpl,
  ... 
) [inline]

Definition at line 1866 of file nan.h.

static void Nan::imp::SetterCallbackWrapper ( v8::Local< v8::String >  property,
v8::Local< v8::Value >  value,
const v8::AccessorInfo &  info 
) [static]

Definition at line 315 of file nan.h.

template<typename T >
v8::Local<T> Nan::imp::To ( v8::Local< v8::Integer >  i)
template<>
v8::Local<v8::Int32> Nan::imp::To< v8::Int32 > ( v8::Local< v8::Integer >  i) [inline]

Definition at line 28 of file nan.h.

template<>
v8::Local<v8::Integer> Nan::imp::To< v8::Integer > ( v8::Local< v8::Integer >  i) [inline]

Definition at line 21 of file nan.h.

template<>
v8::Local<v8::Uint32> Nan::imp::To< v8::Uint32 > ( v8::Local< v8::Integer >  i) [inline]

Definition at line 35 of file nan.h.

void Nan::imp::widenString ( std::vector< uint16_t > *  ws,
const uint8_t *  s,
int  l 
) [inline]

Definition at line 1106 of file nan.h.


Variable Documentation

const int Nan::imp::kAccessorFieldCount = 3 [static]

Definition at line 65 of file nan.h.

const int Nan::imp::kDataIndex = 0 [static]

Definition at line 58 of file nan.h.

const int Nan::imp::kFunctionFieldCount = 2 [static]

Definition at line 61 of file nan.h.

const int Nan::imp::kFunctionIndex = 1 [static]

Definition at line 60 of file nan.h.

const int Nan::imp::kGetterIndex = 1 [static]

Definition at line 63 of file nan.h.

const int Nan::imp::kIndexPropertyDeleterIndex = 4 [static]

Definition at line 77 of file nan.h.

Definition at line 76 of file nan.h.

const int Nan::imp::kIndexPropertyFieldCount = 6 [static]

Definition at line 79 of file nan.h.

const int Nan::imp::kIndexPropertyGetterIndex = 1 [static]

Definition at line 74 of file nan.h.

const int Nan::imp::kIndexPropertyQueryIndex = 5 [static]

Definition at line 78 of file nan.h.

const int Nan::imp::kIndexPropertySetterIndex = 2 [static]

Definition at line 75 of file nan.h.

const size_t Nan::imp::kMaxLength = 0x3fffffff [static]

Definition at line 317 of file nan.h.

const int Nan::imp::kPropertyDeleterIndex = 4 [static]

Definition at line 70 of file nan.h.

const int Nan::imp::kPropertyEnumeratorIndex = 3 [static]

Definition at line 69 of file nan.h.

const int Nan::imp::kPropertyFieldCount = 6 [static]

Definition at line 72 of file nan.h.

const int Nan::imp::kPropertyGetterIndex = 1 [static]

Definition at line 67 of file nan.h.

const int Nan::imp::kPropertyQueryIndex = 5 [static]

Definition at line 71 of file nan.h.

const int Nan::imp::kPropertySetterIndex = 2 [static]

Definition at line 68 of file nan.h.

const unsigned Nan::imp::kReplaceInvalidUtf8 = 0 [static]

Definition at line 326 of file nan.h.

const int Nan::imp::kSetterIndex = 2 [static]

Definition at line 64 of file nan.h.



dji_ronin
Author(s):
autogenerated on Sat Jun 8 2019 20:15:32