IDebugHostConstant interface (dbgmodel.h)

Represents a constant within symbolic information (e.g.: a non-type template argument in C++).

Inheritance

IDebugHostConstant inherits from IDebugHostSymbol.

Methods

The IDebugHostConstant interface has these methods.

 
IDebugHostConstant::AddRef

The IDebugHostConstant::AddRef method increments the reference count for an interface on an object.
IDebugHostConstant::EnumerateChildren

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

The IDebugHostConstant::GetContainingModule method, when called on a symbol, gets the module which contains the symbol if the symbol has a containing module.
IDebugHostConstant::GetContext

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

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

Gets the kind of symbol that this is (that is, a field, a base class, a type, etc...).
IDebugHostConstant::GetType

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

The GetValue method returns the value of the constant packed into a VARIANT.
IDebugHostConstant::QueryInterface

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

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

Remarks

For locations where constant values are present in symbolic information (where a particular value is a symbol which may or may not be a constant value), the IDebugHostConstant interface expresses the notion of such a constant. This is typically used in places like template arguments where a given argument is typically a type but may instead be a non-type template argument (e.g.: a constant).

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview