CppComponentValue Class

(QmlJS::CppComponentValue)

Public Functions

CppComponentValue(LanguageUtils::FakeMetaObject::ConstPtr metaObject, const QString &className, const QString &moduleName, const LanguageUtils::ComponentVersion &componentVersion, const LanguageUtils::ComponentVersion &importVersion, int metaObjectRevision, ValueOwner *valueOwner, const QString &originId)
~CppComponentValue()
LanguageUtils::ComponentVersion componentVersion() const
QString defaultPropertyName() const
LanguageUtils::FakeMetaEnum getEnum(const QString &typeName, const CppComponentValue **foundInScope = 0) const
const QmlEnumValue *getEnumValue(const QString &typeName, const CppComponentValue **foundInScope = 0) const
bool hasLocalProperty(const QString &typeName) const
bool hasProperty(const QString &typeName) const
LanguageUtils::ComponentVersion importVersion() const
bool isListProperty(const QString &name) const
bool isPointer(const QString &propertyName) const
bool isWritable(const QString &propertyName) const
LanguageUtils::FakeMetaObject::ConstPtr metaObject() const
QString moduleName() const
QString propertyType(const QString &propertyName) const
const CppComponentValue *prototype() const
QList<const CppComponentValue *> prototypes() const
const ObjectValue *signalScope(const QString &signalName) const
const Value *valueForCppName(const QString &typeName) const

Reimplemented Public Functions

virtual const CppComponentValue *asCppComponentValue() const override
virtual void processMembers(MemberProcessor *processor) const override

Protected Functions

bool isDerivedFrom(LanguageUtils::FakeMetaObject::ConstPtr base) const

Member Function Documentation

CppComponentValue::CppComponentValue(LanguageUtils::FakeMetaObject::ConstPtr metaObject, const QString &className, const QString &moduleName, const LanguageUtils::ComponentVersion &componentVersion, const LanguageUtils::ComponentVersion &importVersion, int metaObjectRevision, ValueOwner *valueOwner, const QString &originId)

Default constructs an instance of CppComponentValue.

CppComponentValue::~CppComponentValue()

Destroys the instance of CppComponentValue.

[override virtual] const CppComponentValue *CppComponentValue::asCppComponentValue() const

LanguageUtils::ComponentVersion CppComponentValue::componentVersion() const

QString CppComponentValue::defaultPropertyName() const

LanguageUtils::FakeMetaEnum CppComponentValue::getEnum(const QString &typeName, const CppComponentValue **foundInScope = 0) const

const QmlEnumValue *CppComponentValue::getEnumValue(const QString &typeName, const CppComponentValue **foundInScope = 0) const

bool CppComponentValue::hasLocalProperty(const QString &typeName) const

bool CppComponentValue::hasProperty(const QString &typeName) const

LanguageUtils::ComponentVersion CppComponentValue::importVersion() const

[protected] bool CppComponentValue::isDerivedFrom(LanguageUtils::FakeMetaObject::ConstPtr base) const

bool CppComponentValue::isListProperty(const QString &name) const

bool CppComponentValue::isPointer(const QString &propertyName) const

bool CppComponentValue::isWritable(const QString &propertyName) const

LanguageUtils::FakeMetaObject::ConstPtr CppComponentValue::metaObject() const

QString CppComponentValue::moduleName() const

[override virtual] void CppComponentValue::processMembers(MemberProcessor *processor) const

QString CppComponentValue::propertyType(const QString &propertyName) const

const CppComponentValue *CppComponentValue::prototype() const

QList<const CppComponentValue *> CppComponentValue::prototypes() const

Returns a list started by this object and followed by all its prototypes.

Use this function rather than calling prototype() in a loop, as it avoids cycles.

const ObjectValue *CppComponentValue::signalScope(const QString &signalName) const

const Value *CppComponentValue::valueForCppName(const QString &typeName) const