IDataModelScriptTemplate interface (dbgmodel.h)

Any script provider wanting to have pre-filled template content implements this interface per template.

Script providers can provide one or more templates which serve as starting points for users to author scripts. A debugger application which provides a built-in editor can prefill new scripts with template content as advertised by the provider through this interface.

Inheritance

IDataModelScriptTemplate inherits from IUnknown.

Methods

The IDataModelScriptTemplate interface has these methods.

 
IDataModelScriptTemplate::AddRef

The IDataModelScriptTemplate::AddRef method increments the reference count for an interface on an object.
IDataModelScriptTemplate::GetContent

The GetContent method returns the content (or code) of the template.
IDataModelScriptTemplate::GetDescription

The GetDescription method returns a description of the template.
IDataModelScriptTemplate::GetName

The GetName method returns a name of the template.
IDataModelScriptTemplate::QueryInterface

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

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

Remarks

Script providers that want to present pre-filled content for new scripts (e.g.: to aid users writing scripts in a debugger user interface) can do so by providing one or more script templates. Such templates are components which implement the IDataModelScriptTemplate interface and are returned via either the GetDefaultTemplate method or EnumerateTemplates method on the script provider.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview