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::CallbackInfo Class Reference

#include <qnapi_p.h>

Inheritance diagram for QNapi::CallbackInfo:
Collaboration diagram for QNapi::CallbackInfo:

Public Member Functions

 CallbackInfo (const Napi::CallbackInfo &cbInfo)
 CallbackInfo (const CallbackInfo &other)=delete
CallbackInfooperator= (const CallbackInfo &other)=delete
Napi::Env Env () const
std::size_t Length () const
template<typename... Args>
void getLeadingArgs (const std::string &funcName, Args &...args) const
template<typename Arg>
Arg getFirstArg (const std::string &funcName) const
 operator const Napi::CallbackInfo & () const

Detailed Description

Definition at line 248 of file qnapi_p.h.

Constructor & Destructor Documentation

◆ CallbackInfo() [1/2]

QNapi::CallbackInfo::CallbackInfo ( const Napi::CallbackInfo & cbInfo)
inline

Definition at line 1157 of file qnapi_p.h.

References CallbackInfo().

Referenced by CallbackInfo().

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

◆ CallbackInfo() [2/2]

QNapi::CallbackInfo::CallbackInfo ( const CallbackInfo & other)
delete

Member Function Documentation

◆ Env()

Napi::Env QNapi::CallbackInfo::Env ( ) const
inline

Definition at line 1162 of file qnapi_p.h.

◆ getFirstArg()

template<typename Arg>
Arg QNapi::CallbackInfo::getFirstArg ( const std::string & funcName) const

Definition at line 1180 of file qnapi_p.h.

◆ getLeadingArgs()

template<typename... Args>
void QNapi::CallbackInfo::getLeadingArgs ( const std::string & funcName,
Args &... args ) const

Definition at line 1173 of file qnapi_p.h.

◆ Length()

std::size_t QNapi::CallbackInfo::Length ( ) const
inline

Definition at line 1167 of file qnapi_p.h.

◆ operator const Napi::CallbackInfo &()

QNapi::CallbackInfo::operator const Napi::CallbackInfo & ( ) const
inline

Definition at line 1187 of file qnapi_p.h.

◆ operator=()

CallbackInfo & QNapi::CallbackInfo::operator= ( const CallbackInfo & other)
delete

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