IDataModelScriptManager interface (dbgmodel.h)

The core interface to the script management capabilities of the data model manager. Queried from the data model manager.

Inheritance

IDataModelScriptManager inherits from IUnknown.

Methods

The IDataModelScriptManager interface has these methods.

 
IDataModelScriptManager::AddRef

The IDataModelScriptManager::AddRef method increments the reference count for an interface on an object.
IDataModelScriptManager::EnumerateScriptProviders

The EnumerateScriptProviders method will return an enumerator which will enumerate every script provider that has been registered with the script manager via a prior call to the RegisterScriptProvider method.
IDataModelScriptManager::FindProviderForScriptExtension

The IDataModelScriptManager::FindProviderForScriptExtension method searches the script manager for a provider that supports a given file extension.
IDataModelScriptManager::FindProviderForScriptType

The IDataModelScriptManager::FindProviderForScriptExtension method searches the script manager for a provider that supports a given file type.
IDataModelScriptManager::GetDefaultNameBinder

The GetDefaultNameBinder method returns the data model's default script name binder.
IDataModelScriptManager::QueryInterface

The IDataModelScriptManager::QueryInterface method retrieves pointers to the supported interfaces on an object.
IDataModelScriptManager::RegisterScriptProvider

The RegisterScriptProvider method informs the data model that a new script provider exists which is capable of bridging a new language to the data model.
IDataModelScriptManager::Release

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

The UnregisterScriptProvider method undoes a call to the RegisterScriptProvider method.

Remarks

In addition to the Data Model Manager's role as the central authority on object creation and extensibility, it is also responsible for the management of an abstract concept of scripts. From the perspective of the Script Manager portion of the Data Model Manager, a script is something which can be dynamically loaded, unloaded, and potentially debugged by a provider in order to extend or provide new functionality to the data model. A script provider is a component which bridges a language (e.g.: NatVis, JavaScript, etc...) to the data model. It registers one or more file extensions (e.g.: ".NatVis", ".js") which are handled by the provider allowing a debugger client or a user interface to allow for loading of script files with that particular extension by delegation to the provider.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview