![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Namespaces | |
| namespace | details_qnapi_p_h |
Classes | |
| class | ExtendedCallbackFuncWrapper |
| class | ValueWrapper |
| class | Array |
| class | Object |
| class | PromiseWithContext |
| class | Promise |
| class | Reference |
| class | Reference< Object > |
| class | Reference< void > |
| class | CallbackInfo |
Typedefs | |
| using | CallbackFuncWrapper = ExtendedCallbackFuncWrapper<> |
| using | Value = Napi::Value |
| using | Boolean = Napi::Boolean |
| using | Number = Napi::Number |
| using | BigInt = Napi::BigInt |
| using | Date = Napi::Date |
| using | String = Napi::String |
| using | Symbol = Napi::Symbol |
| using | ArrayBuffer = Napi::ArrayBuffer |
| using | TypedArray = Napi::TypedArray |
| using | Function = Napi::Function |
| using | DataView = Napi::DataView |
| template<typename BufferT> | |
| using | Buffer = Napi::Buffer<BufferT> |
| template<typename ExternalT> | |
| using | External = Napi::External<ExternalT> |
| template<typename T> | |
| using | TypedArrayOf = Napi::TypedArrayOf<T> |
Functions | |
| std::vector< napi_value > | unwrapValues (napi_env env, const std::vector< ValueWrapper > &wrappedValues) |
| Napi::Error | makeLoggedException (napi_env env, const std::string &msg) |
| template<typename T> | |
| bool | valueTypeMatches (const Napi::Value &value) |
| template<typename Element> | |
| bool | arrayElementTypesMatch (const Napi::Value &value) |
| std::string | getValueTypeString (const Napi::Value &value) |
| template<typename T, typename ValueDescriptionSupplier> | |
| T | checkedCast (const Napi::Value &value, ValueDescriptionSupplier &&valueDescSupplier) |
| template<typename T> | |
| T | checkedCast (const Napi::Value &value) |
| template<typename OutputContainer, typename Element, typename TransFunc> | |
| OutputContainer | getArrayElements (const Napi::Array &inputArray, TransFunc &&transFunc) |
| template<typename OutputContainer, typename Element> | |
| OutputContainer | getArrayElements (const Napi::Array &inputArray) |
| Object | makeNewInstance (const Napi::Function &type, const std::vector< ValueWrapper > &args={}) |
| Object | makeNewInstance (const Napi::Object &baseObj, const std::string &typePath, const std::vector< ValueWrapper > &args={}) |
| Napi::Value | getPropOrUndefined (const Napi::Value &obj, const std::string &propName) |
| template<typename T> | |
| Napi::Value | getPropOrUndefined (const Napi::Reference< T > &objRef, const std::string &propName) |
| template<typename T> | |
| std::enable_if_t< std::is_base_of< Napi::Value, T >::value, T > | getOptionalPropOrEmpty (const Napi::Object &optObj, const std::string &propName, const std::string &objDesc={}) |
| template<typename T> | |
| std::enable_if_t< std::is_base_of< Napi::Value, T >::value, T > | getOptionalPropOrEmpty (const Napi::Object &optObj, const Napi::Name &propName, const std::string &objDesc={}) |
| Object | makeObject (napi_env env, const std::vector< std::pair< std::string, ValueWrapper > > &namedValues={}) |
| Array | makeArray (napi_env env, const std::vector< ValueWrapper > &values={}) |
| template<typename Result = Napi::Value, typename F> | |
| Result | runEscapingHandleScope (napi_env env, F &&func) |
| std::string | toJsonString (const Napi::Value &value) |
| using QNapi::ArrayBuffer = Napi::ArrayBuffer |
| using QNapi::BigInt = Napi::BigInt |
| using QNapi::Boolean = Napi::Boolean |
| using QNapi::Buffer = Napi::Buffer<BufferT> |
| using QNapi::DataView = Napi::DataView |
| using QNapi::Date = Napi::Date |
| using QNapi::External = Napi::External<ExternalT> |
| using QNapi::Function = Napi::Function |
| using QNapi::Number = Napi::Number |
| using QNapi::String = Napi::String |
| using QNapi::Symbol = Napi::Symbol |
| using QNapi::TypedArray = Napi::TypedArray |
| using QNapi::TypedArrayOf = Napi::TypedArrayOf<T> |
| using QNapi::Value = Napi::Value |
| bool QNapi::arrayElementTypesMatch | ( | const Napi::Value & | value | ) |
| T QNapi::checkedCast | ( | const Napi::Value & | value | ) |
| T QNapi::checkedCast | ( | const Napi::Value & | value, |
| ValueDescriptionSupplier && | valueDescSupplier ) |
| OutputContainer QNapi::getArrayElements | ( | const Napi::Array & | inputArray | ) |
| OutputContainer QNapi::getArrayElements | ( | const Napi::Array & | inputArray, |
| TransFunc && | transFunc ) |
| std::enable_if_t< std::is_base_of< Napi::Value, T >::value, T > QNapi::getOptionalPropOrEmpty | ( | const Napi::Object & | optObj, |
| const Napi::Name & | propName, | ||
| const std::string & | objDesc = {} ) |
| std::enable_if_t< std::is_base_of< Napi::Value, T >::value, T > QNapi::getOptionalPropOrEmpty | ( | const Napi::Object & | optObj, |
| const std::string & | propName, | ||
| const std::string & | objDesc = {} ) |
| Napi::Value QNapi::getPropOrUndefined | ( | const Napi::Reference< T > & | objRef, |
| const std::string & | propName ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |