IDebugHostConstant 接口 (dbgmodel.h)

表示符号信息中的常量 (例如 C++) 中的非类型模板参数。

继承

IDebugHostConstant 继承自 IDebugHostSymbol

方法

IDebugHostConstant 接口具有这些方法。

 
IDebugHostConstant::AddRef

IDebugHostConstant::AddRef 方法递增对象上接口的引用计数。
IDebugHostConstant::EnumerateChildren

IDebugHostConstant::EnumerateChildren 方法获取能够枚举给定符号的所有子级的枚举器。
IDebugHostConstant::GetContainingModule

在符号上调用 IDebugHostConstant::GetContainingModule 方法时,如果符号具有包含模块,则获取包含符号的模块。
IDebugHostConstant::GetContext

在符号上调用 IDebugHostConstant::GetContext 方法时,获取符号所在的主机上下文。
IDebugHostConstant::GetName

在符号上调用 IDebugHostConstant::GetName 方法时,如果符号具有名称,则获取符号的名称。
IDebugHostConstant::GetSymbolKind

获取此 (的符号类型,即字段、基类、类型等...) 。
IDebugHostConstant::GetType

在符号上调用 IDebugHostConstant::GetType 方法时,获取符号的类型,例如 int *。
IDebugHostConstant::GetValue

GetValue 方法返回打包到 VARIANT 中的常量的值。
IDebugHostConstant::QueryInterface

IDebugHostConstant::QueryInterface 方法检索指向对象上支持的接口的指针。
IDebugHostConstant::Release

IDebugHostConstant::Release 方法递减对象上接口的引用计数。

注解

对于常量值存在于符号信息中的位置, (特定值是符号,该符号可以是或可能不是) 常量值,IDebugHostConstant 接口表示此类常量的概念。 这通常用于模板参数等位置,其中给定参数通常为类型,但可能改为非类型模板参数 (例如:常量) 。

要求

要求
Header dbgmodel.h

另请参阅

调试器数据模型 C++ 概述