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
QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst > Struct Template Reference

#include <qqmljsimportvisitor_p.h>

Collaboration diagram for QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >:

Public Types

using Scope = std::conditional_t<scopeIsConst, QQmlJSScope::ConstPtr, QQmlJSScope::Ptr>

Public Member Functions

 ScopeAndNameT ()=default
 ScopeAndNameT (const Scope &scope, const QString &name)
 ScopeAndNameT (const ScopeAndNameT &)=default
 ScopeAndNameT (ScopeAndNameT &&)=default
ScopeAndNameToperator= (const ScopeAndNameT &)=default
ScopeAndNameToperator= (ScopeAndNameT &&)=default
 ~ScopeAndNameT ()=default
 ScopeAndNameT (typename std::enable_if< scopeIsConst, ScopeAndNameT< false > >::type &nonConst)

Public Attributes

Scope scope
QString name

Friends

bool operator== (const ScopeAndNameT &lhs, const ScopeAndNameT &rhs)
bool operator!= (const ScopeAndNameT &lhs, const ScopeAndNameT &rhs)
size_t qHash (const ScopeAndNameT &san, size_t seed=0)

Detailed Description

template<bool scopeIsConst = true>
struct QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >

Definition at line 207 of file qqmljsimportvisitor_p.h.

Member Typedef Documentation

◆ Scope

template<bool scopeIsConst = true>
using QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::Scope = std::conditional_t<scopeIsConst, QQmlJSScope::ConstPtr, QQmlJSScope::Ptr>

Definition at line 209 of file qqmljsimportvisitor_p.h.

Constructor & Destructor Documentation

◆ ScopeAndNameT() [1/5]

template<bool scopeIsConst = true>
QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::ScopeAndNameT ( )
default

◆ ScopeAndNameT() [2/5]

template<bool scopeIsConst = true>
QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::ScopeAndNameT ( const Scope & scope,
const QString & name )
inline

Definition at line 212 of file qqmljsimportvisitor_p.h.

◆ ScopeAndNameT() [3/5]

template<bool scopeIsConst = true>
QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::ScopeAndNameT ( const ScopeAndNameT< scopeIsConst > & )
default

◆ ScopeAndNameT() [4/5]

template<bool scopeIsConst = true>
QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::ScopeAndNameT ( ScopeAndNameT< scopeIsConst > && )
default

◆ ~ScopeAndNameT()

template<bool scopeIsConst = true>
QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::~ScopeAndNameT ( )
default

◆ ScopeAndNameT() [5/5]

template<bool scopeIsConst = true>
QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::ScopeAndNameT ( typename std::enable_if< scopeIsConst, ScopeAndNameT< false > >::type & nonConst)
inline

Definition at line 220 of file qqmljsimportvisitor_p.h.

Member Function Documentation

◆ operator=() [1/2]

template<bool scopeIsConst = true>
ScopeAndNameT & QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::operator= ( const ScopeAndNameT< scopeIsConst > & )
default

◆ operator=() [2/2]

template<bool scopeIsConst = true>
ScopeAndNameT & QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::operator= ( ScopeAndNameT< scopeIsConst > && )
default

◆ operator!=

template<bool scopeIsConst = true>
bool operator!= ( const ScopeAndNameT< scopeIsConst > & lhs,
const ScopeAndNameT< scopeIsConst > & rhs )
friend

Definition at line 229 of file qqmljsimportvisitor_p.h.

◆ operator==

template<bool scopeIsConst = true>
bool operator== ( const ScopeAndNameT< scopeIsConst > & lhs,
const ScopeAndNameT< scopeIsConst > & rhs )
friend

Definition at line 225 of file qqmljsimportvisitor_p.h.

◆ qHash

template<bool scopeIsConst = true>
size_t qHash ( const ScopeAndNameT< scopeIsConst > & san,
size_t seed = 0 )
friend

Definition at line 233 of file qqmljsimportvisitor_p.h.

Member Data Documentation

◆ name

template<bool scopeIsConst = true>
QString QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::name

◆ scope

template<bool scopeIsConst = true>
Scope QQmlJSImportVisitor::ScopeAndNameT< scopeIsConst >::scope

Definition at line 238 of file qqmljsimportvisitor_p.h.


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