IDataModelNameBinder interface (dbgmodel.h)

Interface to a name binder – a component which can associate names in a context with objects or symbols.

The default name binder for script providers.

Inheritance

IDataModelNameBinder inherits from IUnknown.

Methods

The IDataModelNameBinder interface has these methods.

 
IDataModelNameBinder::AddRef

The IDataModelNameBinder::AddRef method increments the reference count for an interface on an object.
IDataModelNameBinder::BindReference

The BindReference method is similar to BindValue in that it also performs the equivalent of contextObject.name on the given object according to a set of binding rules.
IDataModelNameBinder::BindValue

The BindValue method performs the equivalent of contextObject.name on the given object according to a set of binding rules.
IDataModelNameBinder::EnumerateReferences

The EnumerateReferences method enumerates the set of names and references to them which will bind against the object according to the rules of the BindReference method.
IDataModelNameBinder::EnumerateValues

The EnumerateValues method enumerates the set of names and values which will bind against the object according to the rules of the BindValue method.
IDataModelNameBinder::QueryInterface

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

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

Remarks

The data model provides a standard way for script providers to determine the meaning of a given name in a given context (e.g.: determining what bar means for foo.bar) that will operate across a variety of script providers. This mechanism is known as a name binder and is represented by the IDataModelNameBinder interface. Such a binder encapsulates a set of rules about how the name resolves and how to deal with conflict resolution where a name is defined multiple times on an object. Part of these rules include things such as how a projected name (one added by a data model) resolves against a native name (one in the type system of the language being debugged).

In order to provide a degree of consistency across script providers, the data model's script manager provides a default name binder. This default name binder can be acquired via a call to the GetDefaultNameBinder method on the IDataModelScriptManager interface.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview