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
QQmlJSRegisterContent Class Reference

#include <qqmljsregistercontent_p.h>

Collaboration diagram for QQmlJSRegisterContent:

Public Types

enum  ContentVariant {
  ObjectById , TypeByName , Singleton , Script ,
  MetaType , Extension , ScopeObject , ParentScope ,
  Property , Method , Enum , Attachment ,
  ModulePrefix , MethodCall , ListValue , ListIterator ,
  Literal , Operation , BaseType , Cast ,
  Storage , Unknown
}
enum  { InvalidLookupIndex = -1 }

Public Member Functions

 QQmlJSRegisterContent ()=default
bool isNull () const
bool isValid () const
bool isList () const
bool isWritable () const
ContentVariant variant () const
QString descriptiveName () const
QString containedTypeName () const
int resultLookupIndex () const
QQmlJSScope::ConstPtr storedType () const
QQmlJSScope::ConstPtr containedType () const
QQmlJSScope::ConstPtr scopeType () const
bool contains (const QQmlJSScope::ConstPtr &type) const
bool isStoredIn (const QQmlJSScope::ConstPtr &type) const
bool isType () const
QQmlJSScope::ConstPtr type () const
bool isProperty () const
QQmlJSMetaProperty property () const
int baseLookupIndex () const
bool isEnumeration () const
QQmlJSMetaEnum enumeration () const
QString enumMember () const
bool isMethod () const
QList< QQmlJSMetaMethodmethod () const
QQmlJSScope::ConstPtr methodType () const
bool isImportNamespace () const
uint importNamespace () const
QQmlJSScope::ConstPtr importNamespaceType () const
bool isConversion () const
QQmlJSScope::ConstPtr conversionResultType () const
QQmlJSRegisterContent conversionResultScope () const
QList< QQmlJSRegisterContentconversionOrigins () const
bool isMethodCall () const
QQmlJSMetaMethod methodCall () const
bool isJavaScriptReturnValue () const
QQmlJSRegisterContent attacher () const
QQmlJSRegisterContent attachee () const
QQmlJSRegisterContent scope () const
QQmlJSRegisterContent storage () const
QQmlJSRegisterContent original () const
QQmlJSRegisterContent shadowed () const
quintptr id () const

Friends

class QQmlJSRegisterContentPool
bool operator== (QQmlJSRegisterContent a, QQmlJSRegisterContent b)
bool operator!= (QQmlJSRegisterContent a, QQmlJSRegisterContent b)
size_t qHash (QQmlJSRegisterContent registerContent, size_t seed=0)

Detailed Description

Definition at line 25 of file qqmljsregistercontent_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
InvalidLookupIndex 

Definition at line 71 of file qqmljsregistercontent_p.h.

◆ ContentVariant

Enumerator
ObjectById 
TypeByName 
Singleton 
Script 
MetaType 
Extension 
ScopeObject 
ParentScope 
Property 
Method 
Enum 
Attachment 
ModulePrefix 
MethodCall 
ListValue 
ListIterator 
Literal 
Operation 
BaseType 
Cast 
Storage 
Unknown 

Definition at line 35 of file qqmljsregistercontent_p.h.

Constructor & Destructor Documentation

◆ QQmlJSRegisterContent()

QQmlJSRegisterContent::QQmlJSRegisterContent ( )
default

Member Function Documentation

◆ attachee()

QQmlJSRegisterContent QQmlJSRegisterContent::attachee ( ) const

Precondition: This is an attachment. Return the type of the object the attachment is attached to.

Definition at line 394 of file qqmljsregistercontent.cpp.

◆ attacher()

QQmlJSRegisterContent QQmlJSRegisterContent::attacher ( ) const

Precondition: This is an attachment. Return the type that does the attaching.

Definition at line 382 of file qqmljsregistercontent.cpp.

◆ baseLookupIndex()

int QQmlJSRegisterContent::baseLookupIndex ( ) const

Definition at line 448 of file qqmljsregistercontent.cpp.

◆ containedType()

QQmlJSScope::ConstPtr QQmlJSRegisterContent::containedType ( ) const

Definition at line 409 of file qqmljsregistercontent.cpp.

◆ containedTypeName()

QString QQmlJSRegisterContent::containedTypeName ( ) const

Definition at line 275 of file qqmljsregistercontent.cpp.

◆ contains()

bool QQmlJSRegisterContent::contains ( const QQmlJSScope::ConstPtr & type) const
inline

Definition at line 95 of file qqmljsregistercontent_p.h.

◆ conversionOrigins()

QList< QQmlJSRegisterContent > QQmlJSRegisterContent::conversionOrigins ( ) const

Definition at line 507 of file qqmljsregistercontent.cpp.

◆ conversionResultScope()

QQmlJSRegisterContent QQmlJSRegisterContent::conversionResultScope ( ) const

Definition at line 501 of file qqmljsregistercontent.cpp.

◆ conversionResultType()

QQmlJSScope::ConstPtr QQmlJSRegisterContent::conversionResultType ( ) const

Definition at line 495 of file qqmljsregistercontent.cpp.

◆ descriptiveName()

QString QQmlJSRegisterContent::descriptiveName ( ) const

Definition at line 189 of file qqmljsregistercontent.cpp.

◆ enumeration()

QQmlJSMetaEnum QQmlJSRegisterContent::enumeration ( ) const

Definition at line 459 of file qqmljsregistercontent.cpp.

◆ enumMember()

QString QQmlJSRegisterContent::enumMember ( ) const

Definition at line 465 of file qqmljsregistercontent.cpp.

◆ id()

quintptr QQmlJSRegisterContent::id ( ) const
inline

Definition at line 140 of file qqmljsregistercontent_p.h.

◆ importNamespace()

uint QQmlJSRegisterContent::importNamespace ( ) const

Definition at line 483 of file qqmljsregistercontent.cpp.

◆ importNamespaceType()

QQmlJSScope::ConstPtr QQmlJSRegisterContent::importNamespaceType ( ) const

Definition at line 489 of file qqmljsregistercontent.cpp.

◆ isConversion()

bool QQmlJSRegisterContent::isConversion ( ) const

Definition at line 317 of file qqmljsregistercontent.cpp.

◆ isEnumeration()

bool QQmlJSRegisterContent::isEnumeration ( ) const

Definition at line 302 of file qqmljsregistercontent.cpp.

◆ isImportNamespace()

bool QQmlJSRegisterContent::isImportNamespace ( ) const

Definition at line 312 of file qqmljsregistercontent.cpp.

◆ isJavaScriptReturnValue()

bool QQmlJSRegisterContent::isJavaScriptReturnValue ( ) const

Definition at line 372 of file qqmljsregistercontent.cpp.

◆ isList()

bool QQmlJSRegisterContent::isList ( ) const

Definition at line 327 of file qqmljsregistercontent.cpp.

◆ isMethod()

bool QQmlJSRegisterContent::isMethod ( ) const

Definition at line 307 of file qqmljsregistercontent.cpp.

◆ isMethodCall()

bool QQmlJSRegisterContent::isMethodCall ( ) const

Definition at line 322 of file qqmljsregistercontent.cpp.

◆ isNull()

bool QQmlJSRegisterContent::isNull ( ) const
inline

Definition at line 78 of file qqmljsregistercontent_p.h.

◆ isProperty()

bool QQmlJSRegisterContent::isProperty ( ) const

Definition at line 297 of file qqmljsregistercontent.cpp.

◆ isStoredIn()

bool QQmlJSRegisterContent::isStoredIn ( const QQmlJSScope::ConstPtr & type) const
inline

Definition at line 96 of file qqmljsregistercontent_p.h.

◆ isType()

bool QQmlJSRegisterContent::isType ( ) const

Definition at line 292 of file qqmljsregistercontent.cpp.

◆ isValid()

bool QQmlJSRegisterContent::isValid ( ) const

Definition at line 184 of file qqmljsregistercontent.cpp.

◆ isWritable()

bool QQmlJSRegisterContent::isWritable ( ) const

Definition at line 352 of file qqmljsregistercontent.cpp.

◆ method()

QList< QQmlJSMetaMethod > QQmlJSRegisterContent::method ( ) const

Definition at line 471 of file qqmljsregistercontent.cpp.

◆ methodCall()

QQmlJSMetaMethod QQmlJSRegisterContent::methodCall ( ) const

Definition at line 513 of file qqmljsregistercontent.cpp.

◆ methodType()

QQmlJSScope::ConstPtr QQmlJSRegisterContent::methodType ( ) const

Definition at line 477 of file qqmljsregistercontent.cpp.

◆ original()

QQmlJSRegisterContent QQmlJSRegisterContent::original ( ) const

Definition at line 534 of file qqmljsregistercontent.cpp.

◆ property()

QQmlJSMetaProperty QQmlJSRegisterContent::property ( ) const

Definition at line 442 of file qqmljsregistercontent.cpp.

◆ resultLookupIndex()

int QQmlJSRegisterContent::resultLookupIndex ( ) const

Definition at line 454 of file qqmljsregistercontent.cpp.

◆ scope()

QQmlJSRegisterContent QQmlJSRegisterContent::scope ( ) const

Definition at line 524 of file qqmljsregistercontent.cpp.

◆ scopeType()

QQmlJSScope::ConstPtr QQmlJSRegisterContent::scopeType ( ) const

Definition at line 431 of file qqmljsregistercontent.cpp.

◆ shadowed()

QQmlJSRegisterContent QQmlJSRegisterContent::shadowed ( ) const

Definition at line 539 of file qqmljsregistercontent.cpp.

◆ storage()

QQmlJSRegisterContent QQmlJSRegisterContent::storage ( ) const

Definition at line 529 of file qqmljsregistercontent.cpp.

◆ storedType()

QQmlJSScope::ConstPtr QQmlJSRegisterContent::storedType ( ) const

Definition at line 404 of file qqmljsregistercontent.cpp.

◆ type()

QQmlJSScope::ConstPtr QQmlJSRegisterContent::type ( ) const

Definition at line 436 of file qqmljsregistercontent.cpp.

◆ variant()

QQmlJSRegisterContent::ContentVariant QQmlJSRegisterContent::variant ( ) const

Definition at line 519 of file qqmljsregistercontent.cpp.

◆ operator!=

bool operator!= ( QQmlJSRegisterContent a,
QQmlJSRegisterContent b )
friend

Definition at line 153 of file qqmljsregistercontent_p.h.

◆ operator==

bool operator== ( QQmlJSRegisterContent a,
QQmlJSRegisterContent b )
friend

Definition at line 148 of file qqmljsregistercontent_p.h.

◆ qHash

size_t qHash ( QQmlJSRegisterContent registerContent,
size_t seed = 0 )
friend

Definition at line 158 of file qqmljsregistercontent_p.h.

◆ QQmlJSRegisterContentPool

friend class QQmlJSRegisterContentPool
friend

Definition at line 143 of file qqmljsregistercontent_p.h.


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