Extending Qt Creator Manual | CppComponentValue

Extending Qt Creator Manual 4.7.0

# CppComponentValue Class

(QmlJS::QmlJS::CppComponentValue)

Inherits: | QmlJS::QmlJS::ObjectValue

- List of all members, including inherited members

## Public Functions

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

## Reimplemented Public Functions

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

- 16 public functions inherited from QmlJS::QmlJS::ObjectValue
- 29 public functions inherited from QmlJS::QmlJS::Value

## Protected Functions

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

## Member Function Documentation

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

Default constructs an instance of CppComponentValue.

### `[virtual]` CppComponentValue::~CppComponentValue()

Destroys the instance of CppComponentValue. The destructor is virtual.

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

### int CppComponentValue::componentVersion() const

### QmlJS::QString CppComponentValue::defaultPropertyName() const

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

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

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

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

### int CppComponentValue::importVersion() const

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

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

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

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

### QmlJS::QString CppComponentValue::moduleName() const

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

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

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

### int CppComponentValue::prototypes() const

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

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