IModelPropertyAccessor interface (dbgmodel.h)

The data model representation of a property accessor (get/set).

Inheritance

IModelPropertyAccessor inherits from IUnknown.

Methods

The IModelPropertyAccessor interface has these methods.

 
IModelPropertyAccessor::AddRef

The IModelPropertyAccessor::AddRef method increments the reference count for an interface on an object.
IModelPropertyAccessor::GetValue

The GetValue method is the getter for the property accessor. It is called whenever a client wishes to fetch the underlying value of the property.
IModelPropertyAccessor::QueryInterface

The IModelPropertyAccessor::QueryInterface method retrieves pointers to the supported interfaces on an object.
IModelPropertyAccessor::Release

The IModelPropertyAccessor::Release method decrements the reference count for an interface on an object.
IModelPropertyAccessor::SetValue

The SetValue method is the setter for the property accessor. It is called whenever a client wishes to assign a value to the underlying property.

Remarks

A property accessor in the data model is an implementation of the IModelPropertyAccessor interface which is boxed into an IModelObject. The model object will return a kind of ObjectPropertyAccessor when queried and the intrinsic value is a VT_UNKNOWN which is guaranteed to be queryable for IModelPropertyAccessor. In process, it is guaranteed to be statically castable to IModelPropertyAccessor.

A property accessor is an indirect way to get a method call for getting and setting a key value in the data model. If a given key's value is a property accessor, the GetKeyValue and SetKeyValue methods will automatically notice this and call the property accessor's underlying GetValue or SetValue methods as appropriate.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview