Extending Qt Creator Manual | ObjectValue

Extending Qt Creator Manual 4.7.2

# ObjectValue Class

(QmlJS::ObjectValue)

Inherits: | QmlJS::Value

- List of all members, including inherited members

## Public Functions

| ObjectValue(QmlJS::ValueOwner *valueOwner, const QString &originId = ...)
virtual | ~ObjectValue()
QString | className() const
virtual const QmlJS::Value * | lookupMember(const QString &name, const QmlJS::Context *context, const QmlJS::ObjectValue **foundInObject = 0, bool examinePrototypes = true) const
virtual const QmlJS::Value * | lookupMember(const QString &name, const QmlJS::ContextPtr &context, const QmlJS::ObjectValue **foundInObject = 0, bool examinePrototypes = true) const
QString | originId() const
virtual void | processMembers(QmlJS::MemberProcessor *processor) const
const QmlJS::Value * | prototype() const
const QmlJS::ObjectValue * | prototype(const QmlJS::Context *context) const
const QmlJS::ObjectValue * | prototype(const QmlJS::ContextPtr &context) const
virtual void | removeMember(const QString &name)
void | setClassName(const QString &className)
virtual void | setMember(const QString &name, const QmlJS::Value *value)
virtual void | setPropertyInfo(const QString &name, const QmlJS::PropertyInfo &propertyInfo)
void | setPrototype(const QmlJS::Value *prototype)
QmlJS::ValueOwner * | valueOwner() const

## Reimplemented Public Functions

virtual void | accept(QmlJS::ValueVisitor *visitor) const override
virtual const QmlJS::ObjectValue * | asObjectValue() const override

- 29 public functions inherited from QmlJS::Value

## Member Function Documentation

### ObjectValue::ObjectValue(QmlJS::ValueOwner *valueOwner, const QString &originId = ...)

Default constructs an instance of ObjectValue.

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

Destroys the instance of ObjectValue. The destructor is virtual.

### `[override virtual]` void ObjectValue::accept(QmlJS::ValueVisitor *visitor) const

### `[override virtual]` const QmlJS::ObjectValue *ObjectValue::asObjectValue() const

### QString ObjectValue::className() const

See also setClassName().

### `[virtual]` const QmlJS::Value *ObjectValue::lookupMember(const QString &name, const QmlJS::Context *context, const QmlJS::ObjectValue **foundInObject = 0, bool examinePrototypes = true) const

### `[virtual]` const QmlJS::Value *ObjectValue::lookupMember(const QString &name, const QmlJS::ContextPtr &context, const QmlJS::ObjectValue **foundInObject = 0, bool examinePrototypes = true) const

### QString ObjectValue::originId() const

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

### const QmlJS::Value *ObjectValue::prototype() const

See also setPrototype().

### const QmlJS::ObjectValue *ObjectValue::prototype(const QmlJS::Context *context) const

### const QmlJS::ObjectValue *ObjectValue::prototype(const QmlJS::ContextPtr &context) const

### `[virtual]` void ObjectValue::removeMember(const QString &name)

### void ObjectValue::setClassName(const QString &className)

See also className().

### `[virtual]` void ObjectValue::setMember(const QString &name, const QmlJS::Value *value)

### `[virtual]` void ObjectValue::setPropertyInfo(const QString &name, const QmlJS::PropertyInfo &propertyInfo)

### void ObjectValue::setPrototype(const QmlJS::Value *prototype)

See also prototype().

### QmlJS::ValueOwner *ObjectValue::valueOwner() const