ObjectValue Class | Extending Qt Creator Manual

Extending Qt Creator Manual | ObjectValue

Extending Qt Creator Manual 4.6.0

# ObjectValue Class

(QmlJS::ObjectValue)

Inherits: | QmlJS::Value

- List of all members, including inherited members

## Public Functions

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

## Reimplemented Public Functions

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

- 29 public functions inherited from QmlJS::Value

## Member Function Documentation

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

Default constructs an instance of ObjectValue.

### ObjectValue::~ObjectValue()

Destroys the instance of ObjectValue.

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

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

### QString ObjectValue::className() const

See also setClassName().

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

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

### QString ObjectValue::originId() const

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

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

See also setPrototype().

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

### const ObjectValue *ObjectValue::prototype(const 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 Value *value)

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

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

See also prototype().

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