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, QmlJS::ValueOwner *valueOwner, const QString &originId)
virtual ~CppComponentValue()
LanguageUtils::ComponentVersion componentVersion() const
QString defaultPropertyName() const
LanguageUtils::FakeMetaEnum getEnum(const QString &typeName, const QmlJS::CppComponentValue **foundInScope = 0) const
const QmlJS::QmlEnumValue *getEnumValue(const QString &typeName, const QmlJS::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
QString moduleName() const
QString propertyType(const QString &propertyName) const
const QmlJS::CppComponentValue *prototype() const
int prototypes() const
const QmlJS::ObjectValue *signalScope(const QString &signalName) const
const QmlJS::Value *valueForCppName(const QString &typeName) const

Reimplemented Public Functions

virtual const QmlJS::CppComponentValue *asCppComponentValue() const override
virtual void processMembers(QmlJS::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, QmlJS::ValueOwner *valueOwner, const QString &originId)

Default constructs an instance of CppComponentValue.

[virtual] CppComponentValue::~CppComponentValue()

Destroys the instance of CppComponentValue. The destructor is virtual.

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

LanguageUtils::ComponentVersion CppComponentValue::componentVersion() const

QString CppComponentValue::defaultPropertyName() const

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

const QmlJS::QmlEnumValue *CppComponentValue::getEnumValue(const QString &typeName, const QmlJS::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

QString CppComponentValue::moduleName() const

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

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

const QmlJS::CppComponentValue *CppComponentValue::prototype() const

int 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 QmlJS::ObjectValue *CppComponentValue::signalScope(const QString &signalName) const

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