IDataModelScriptProvider interface (dbgmodel.h)

Any script provider implementing a bridge between a dynamic language and the data model must implement this interface to represent the provider.

Inheritance

IDataModelScriptProvider inherits from IUnknown.

Methods

The IDataModelScriptProvider interface has these methods.

 
IDataModelScriptProvider::AddRef

The IDataModelScriptProvider::AddRef method increments the reference count for an interface on an object.
IDataModelScriptProvider::CreateScript

The CreateScript method is called to create a new script.
IDataModelScriptProvider::EnumerateTemplates

The EnumerateTemplates method returns an enumerator which is capable of enumerating the variety of templates that are provided by the script provider.
IDataModelScriptProvider::GetDefaultTemplateContent

The GetDefaultTemplateContent method returns an interface for the default template content of the provider.
IDataModelScriptProvider::GetExtension

The GetExtension method returns the file extension for scripts managed by this provider (without the dot) as a string allocated via the SysAllocString method.
IDataModelScriptProvider::GetName

The GetName method returns the name of the type of (or language of) scripts which the provider manages as a string allocated via the SysAllocString method.
IDataModelScriptProvider::QueryInterface

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

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

Remarks

Any extension which wants to be a script provider must provide an implementation of the IDataModelScriptProvider interface and register such with the script manager portion of the data model manager via the RegisterScriptProvider method.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview