IDataModelScript2 interface (dbgmodel.h)
This is the second version of the core script interface.
This version 2 of the interface supports all of the previous methods with identical signatures and includes additional new methods that provide added functionality. The new methods are listed in the header at the end of the section for that interface.
Inheritance
The IDataModelScript2 interface inherits from the IDataModelScript interface.
Methods
The IDataModelScript2 interface has these methods.
IDataModelScript2::AddRef The AddRef method increments the reference count for an interface on an object. |
IDataModelScript2::Execute The Execute method executes the content of the script as dictated by the last successful Populate call and modifies the object model of the debugger according to that content. |
IDataModelScript2::GetName The GetName method returns the name of the script as an allocated string via the SysAllocString function. |
IDataModelScript2::GetScriptFullFilePathName The GetScriptFullFilePathName method retrieves the full path name of the script file. |
IDataModelScript2::InvokeMain If the script has a "main function" which is intended to execute from a UI invocation, it indicates such via a true return from the IsInvocable method. |
IDataModelScript2::IsInvocable The IsInvocable method returns whether or not the script is invocable -- that is, whether it has a "main function" as defined by its language or provider. |
IDataModelScript2::Populate The Populate method is called by the client in order to change or synchronize the "content" of the script. |
IDataModelScript2::QueryInterface The QueryInterface method retrieves pointers to the supported interfaces on an object. |
IDataModelScript2::Release The Release method decrements the reference count for an interface on an object. |
IDataModelScript2::Rename The Rename method assigns a new name to the script. |
IDataModelScript2::SetScriptFullFilePathName The SetScriptFullFilePathName method sets the full path name of the script file. |
IDataModelScript2::Unlink The Unlink method undoes the Execute operation. Any object model manipulations or extensibility points established during the execution of the script are undone. |
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |