![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qnapi_p.h>
Public Member Functions | |
| Object (const Napi::Object &other) | |
| Object & | operator= (const Napi::Object &other) |
| template<typename T = Value> | |
| T | get (const std::string &expr) const |
| template<typename T = Value> | |
| T | get (const Napi::Name &name) const |
| template<typename T = Value> | |
| T | eval (const std::string &expr, const std::vector< ValueWrapper > &exprArgs={}) const |
| QNapi::Promise | evalToPromiseOrRejectOnThrow (const std::string &expr, const std::vector< ValueWrapper > &exprArgs={}) const |
| void | set (const std::string &name, const ValueWrapper &value) |
| void | set (const Napi::Name &name, const ValueWrapper &value) |
| void | set (const std::vector< std::pair< std::string, ValueWrapper > > &namedValues) |
| template<typename Result = Value> | |
| Q_DECL_DEPRECATED_X ("Use eval() with a methodName() or methodName(*) expression instead.") Result call(const std | |
Static Public Member Functions | |
| static Object | New (napi_env env) |
Public Attributes | |
| const | |
|
inline |
Definition at line 12 of file object.cpp.
| T Object::eval | ( | const std::string & | expr, |
| const std::vector< ValueWrapper > & | exprArgs = {} ) const |
|
inline |
| T Object::get | ( | const Napi::Name & | name | ) | const |
| T Object::get | ( | const std::string & | expr | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |