Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QNapi::Reference< Object > Class Reference

#include <qnapi_p.h>

Inheritance diagram for QNapi::Reference< Object >:
Collaboration diagram for QNapi::Reference< Object >:

Public Member Functions

 Reference (Reference< Object > &&other)
Reference< Object > & operator= (Reference< Object > &&other)
 Reference (const Reference< Object > &other)=delete
Reference< Object > & operator= (const Reference< Object > &other)=delete
 Reference (Napi::Reference< Object > &&other)
Reference< Object > & operator= (Napi::Reference< Object > &&other)
template<typename T>
eval (const std::string &expr, const std::vector< ValueWrapper > &exprArgs={}) const
void set (const std::string &name, const ValueWrapper &value)
void set (const std::vector< std::pair< std::string, ValueWrapper > > &namedValues)
template<typename Result = ::QNapi::Value>
Result call (const std::string &methodName, const std::vector< ValueWrapper > &args={}) const

Static Public Member Functions

static Reference< ObjectmakePersistentFrom (const Object &value)
static Reference< ObjectmakeEmpty ()

Detailed Description

Definition at line 206 of file qnapi_p.h.

Constructor & Destructor Documentation

◆ Reference() [1/3]

QNapi::Reference< Object >::Reference ( Reference< Object > && other)
inline

Definition at line 1080 of file qnapi_p.h.

References Reference().

Referenced by Reference().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Reference() [2/3]

QNapi::Reference< Object >::Reference ( const Reference< Object > & other)
delete

◆ Reference() [3/3]

QNapi::Reference< Object >::Reference ( Napi::Reference< Object > && other)
inline

Definition at line 1091 of file qnapi_p.h.

References Reference().

Referenced by Reference().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ call()

template<typename Result>
Result QNapi::Reference< Object >::call ( const std::string & methodName,
const std::vector< ValueWrapper > & args = {} ) const

Definition at line 1125 of file qnapi_p.h.

Referenced by coverage_report.CoverageExecutor::build_binaries(), coverage_report.CoverageExecutor::generate_coverage(), coverage_report.CoverageExecutor::generate_html_report(), and coverage_report.CoverageExecutor::merge_raw_coverage_results().

Here is the caller graph for this function:

◆ eval()

template<typename T>
T QNapi::Reference< Object >::eval ( const std::string & expr,
const std::vector< ValueWrapper > & exprArgs = {} ) const

Definition at line 1103 of file qnapi_p.h.

◆ makeEmpty()

Reference< Object > QNapi::Reference< Object >::makeEmpty ( )
inlinestatic

Definition at line 1139 of file qnapi_p.h.

◆ makePersistentFrom()

Reference< Object > QNapi::Reference< Object >::makePersistentFrom ( const Object & value)
inlinestatic

Definition at line 1134 of file qnapi_p.h.

◆ operator=() [1/3]

Reference< Object > & QNapi::Reference< Object >::operator= ( const Reference< Object > & other)
delete

◆ operator=() [2/3]

Reference< Object > & QNapi::Reference< Object >::operator= ( Napi::Reference< Object > && other)
inline

Definition at line 1096 of file qnapi_p.h.

◆ operator=() [3/3]

Reference< Object > & QNapi::Reference< Object >::operator= ( Reference< Object > && other)
inline

Definition at line 1085 of file qnapi_p.h.

◆ set() [1/2]

void QNapi::Reference< Object >::set ( const std::string & name,
const ValueWrapper & value )
inline

Definition at line 1112 of file qnapi_p.h.

◆ set() [2/2]

void QNapi::Reference< Object >::set ( const std::vector< std::pair< std::string, ValueWrapper > > & namedValues)
inline

Definition at line 1118 of file qnapi_p.h.


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