Friend (Debug Interface Access SDK)

Friend classes and friend functions are identified by SymTagFriend symbols. They are children of parent user-defined types (UDTs) and have a IDiaSymbol::get_classParent property.

Properties

The following table shows additional valid properties for this symbol type.

Property

Data type

Description

IDiaSymbol::get_classParent

IDiaSymbol*

Symbol for the UDT parent.

IDiaSymbol::get_classParentId

DWORD

ID of the class parent symbol.

IDiaSymbol::get_name

BSTR

Name of the class or function.

IDiaSymbol::get_symIndexId

DWORD

Index ID of symbol.

IDiaSymbol::get_symTag

DWORD

Returns SymTagFriend (one of the SymTagEnum values).

IDiaSymbol::get_type

IDiaSymbol*

Symbol for the class or function.

IDiaSymbol::get_typeId

DWORD

ID of the type symbol.

See Also

Reference

Class Hierarchy of Symbol Types