IDebugHostBaseClass2 interface (dbgmodel.h)

The second version of an extended specialization of IDebugHostSymbol which represents a base class.

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 IDebugHostBaseClass2 interface inherits from the IDebugHostBaseClass interface.

Methods

The IDebugHostBaseClass2 interface has these methods.

 
IDebugHostBaseClass2::AddRef

The AddRef method increments the reference count for the object.
IDebugHostBaseClass2::EnumerateChildren

The EnumerateChildren method gets an enumerator capable of enumerating all children of a given symbol.
IDebugHostBaseClass2::GetContainingModule

Returns the module which contains this symbol if the symbol has a containing module. If the symbol does not have a containing module, an error is returned.
IDebugHostBaseClass2::GetContext

The GetContext method, when called on a symbol, gets the host context in which the symbol is located.
IDebugHostBaseClass2::GetName

The GetName method, when called on a symbol, gets the name of the symbol if it has a name.
IDebugHostBaseClass2::GetOffset

The GetOffset method returns the offset of the base class from the base address of the derived class.
IDebugHostBaseClass2::GetSymbolKind

The GetSymbolKind method, when called on a symbol, gets the kind of symbol, such as field, base class, or type.
IDebugHostBaseClass2::GetType

The GetType method, when called on a symbol, gets the type of symbol, such as int *.
IDebugHostBaseClass2::GetVirtualBaseOffsetLocation

The GetVirtualBaseOffsetLocation method returns the location of the "offset" of the base class relative to the parent class.
IDebugHostBaseClass2::IsVirtual

The IsVirtual method determines whether the base class is virtual.
IDebugHostBaseClass2::QueryInterface

The QueryInterface method queries for a specific interface on the current object.
IDebugHostBaseClass2::Release

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

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview