![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <cfx_v8.h>
Public Member Functions | |
| CFX_V8 (v8::Isolate *pIsolate) | |
| virtual | ~CFX_V8 () |
| v8::Isolate * | GetIsolate () const |
| v8::Local< v8::Value > | NewNull () |
| v8::Local< v8::Value > | NewUndefined () |
| v8::Local< v8::Array > | NewArray () |
| v8::Local< v8::Object > | NewObject () |
| v8::Local< v8::Number > | NewNumber (int number) |
| v8::Local< v8::Number > | NewNumber (double number) |
| v8::Local< v8::Number > | NewNumber (float number) |
| v8::Local< v8::Boolean > | NewBoolean (bool b) |
| v8::Local< v8::String > | NewString (ByteStringView str) |
| v8::Local< v8::String > | NewString (WideStringView str) |
| v8::Local< v8::Date > | NewDate (double d) |
| int | ToInt32 (v8::Local< v8::Value > pValue) |
| bool | ToBoolean (v8::Local< v8::Value > pValue) |
| double | ToDouble (v8::Local< v8::Value > pValue) |
| WideString | ToWideString (v8::Local< v8::Value > pValue) |
| ByteString | ToByteString (v8::Local< v8::Value > pValue) |
| v8::Local< v8::Object > | ToObject (v8::Local< v8::Value > pValue) |
| v8::Local< v8::Array > | ToArray (v8::Local< v8::Value > pValue) |
| size_t | GetArrayLength (v8::Local< v8::Array > pArray) |
| v8::Local< v8::Value > | GetArrayElement (v8::Local< v8::Array > pArray, size_t index) |
| void | PutArrayElement (v8::Local< v8::Array > pArray, size_t index, v8::Local< v8::Value > pValue) |
| std::vector< WideString > | GetObjectPropertyNames (v8::Local< v8::Object > pObj) |
| v8::Local< v8::Value > | GetObjectProperty (v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName) |
| void | PutObjectProperty (v8::Local< v8::Object > pObj, ByteStringView bsUTF8PropertyName, v8::Local< v8::Value > pValue) |
Protected Member Functions | |
| void | SetIsolate (v8::Isolate *pIsolate) |
| void | DisposeIsolate () |
|
explicit |
Definition at line 12 of file cfx_v8.cpp.
|
virtualdefault |
|
protected |
Definition at line 35 of file cfx_v8.cpp.
Referenced by CJS_Runtime::~CJS_Runtime().
| v8::Local< v8::Value > CFX_V8::GetArrayElement | ( | v8::Local< v8::Array > | pArray, |
| size_t | index ) |
Definition at line 54 of file cfx_v8.cpp.
| size_t CFX_V8::GetArrayLength | ( | v8::Local< v8::Array > | pArray | ) |
Definition at line 59 of file cfx_v8.cpp.
|
inline |
Definition at line 23 of file cfx_v8.h.
Referenced by CXFA_Node::ExecuteBoolScript().
| v8::Local< v8::Value > CFX_V8::GetObjectProperty | ( | v8::Local< v8::Object > | pObj, |
| ByteStringView | bsUTF8PropertyName ) |
Definition at line 16 of file cfx_v8.cpp.
| std::vector< WideString > CFX_V8::GetObjectPropertyNames | ( | v8::Local< v8::Object > | pObj | ) |
Definition at line 23 of file cfx_v8.cpp.
| v8::Local< v8::Array > CFX_V8::NewArray | ( | ) |
Definition at line 40 of file cfx_v8.cpp.
| v8::Local< v8::Boolean > CFX_V8::NewBoolean | ( | bool | b | ) |
Definition at line 75 of file cfx_v8.cpp.
| v8::Local< v8::Date > CFX_V8::NewDate | ( | double | d | ) |
Definition at line 98 of file cfx_v8.cpp.
| v8::Local< v8::Value > CFX_V8::NewNull | ( | ) |
Definition at line 90 of file cfx_v8.cpp.
| v8::Local< v8::Number > CFX_V8::NewNumber | ( | double | number | ) |
Definition at line 67 of file cfx_v8.cpp.
| v8::Local< v8::Number > CFX_V8::NewNumber | ( | float | number | ) |
Definition at line 71 of file cfx_v8.cpp.
| v8::Local< v8::Number > CFX_V8::NewNumber | ( | int | number | ) |
Definition at line 63 of file cfx_v8.cpp.
| v8::Local< v8::Object > CFX_V8::NewObject | ( | ) |
Definition at line 44 of file cfx_v8.cpp.
| v8::Local< v8::String > CFX_V8::NewString | ( | ByteStringView | str | ) |
Definition at line 79 of file cfx_v8.cpp.
| v8::Local< v8::String > CFX_V8::NewString | ( | WideStringView | str | ) |
Definition at line 83 of file cfx_v8.cpp.
| v8::Local< v8::Value > CFX_V8::NewUndefined | ( | ) |
Definition at line 94 of file cfx_v8.cpp.
| void CFX_V8::PutArrayElement | ( | v8::Local< v8::Array > | pArray, |
| size_t | index, | ||
| v8::Local< v8::Value > | pValue ) |
Definition at line 48 of file cfx_v8.cpp.
| void CFX_V8::PutObjectProperty | ( | v8::Local< v8::Object > | pObj, |
| ByteStringView | bsUTF8PropertyName, | ||
| v8::Local< v8::Value > | pValue ) |
Definition at line 28 of file cfx_v8.cpp.
|
inlineprotected |
| v8::Local< v8::Array > CFX_V8::ToArray | ( | v8::Local< v8::Value > | pValue | ) |
Definition at line 126 of file cfx_v8.cpp.
| bool CFX_V8::ToBoolean | ( | v8::Local< v8::Value > | pValue | ) |
Definition at line 106 of file cfx_v8.cpp.
| ByteString CFX_V8::ToByteString | ( | v8::Local< v8::Value > | pValue | ) |
Definition at line 118 of file cfx_v8.cpp.
| double CFX_V8::ToDouble | ( | v8::Local< v8::Value > | pValue | ) |
Definition at line 110 of file cfx_v8.cpp.
| int CFX_V8::ToInt32 | ( | v8::Local< v8::Value > | pValue | ) |
Definition at line 102 of file cfx_v8.cpp.
| v8::Local< v8::Object > CFX_V8::ToObject | ( | v8::Local< v8::Value > | pValue | ) |
Definition at line 122 of file cfx_v8.cpp.
| WideString CFX_V8::ToWideString | ( | v8::Local< v8::Value > | pValue | ) |
Definition at line 114 of file cfx_v8.cpp.