Compartir a través de


BaseClass

Each base class for a user-defined type (UDT) symbol is identified by a child with a SymTagBaseClass tag. The IDiaSymbol::get_type property contains the symbol for the underlying UDT, and all properties of the underlying UDT are available as part of this BaseClass symbol.

Properties

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

Property

Data type

Description

IDiaSymbol::get_access

DWORD

Access modifier applied to this base class. One of the CV_access_e values.

IDiaSymbol::get_classParent

IDiaSymbol*

Symbol of the enclosing class (if any).

IDiaSymbol::get_classParentId

DWORD

ID of the class parent symbol.

IDiaSymbol::get_constructor

BOOL

TRUE if the base class has a constructor.

IDiaSymbol::get_constType

BOOL

TRUE if the base class is marked as const.

IDiaSymbol::get_hasAssignmentOperator

BOOL

TRUE if the base class has an assignment operator.

IDiaSymbol::get_hasCastOperator

BOOL

TRUE if the base class has a cast operator.

IDiaSymbol::get_hasNestedTypes

BOOL

TRUE if the base class has nested types.

IDiaSymbol::get_indirectVirtualBaseClass

BOOL

TRUE if the base class is indirect.

IDiaSymbol::get_length

DWORD

Length of this base class in bytes.

IDiaSymbol::get_lexicalParent

IDiaSymbol*

Symbol of the enclosing compiland.

IDiaSymbol::get_lexicalParentId

DWORD

ID of the lexical parent symbol.

IDiaSymbol::get_name

BSTR

Name of the base class.

IDiaSymbol::get_nested

BOOL

TRUE if the base class is nested.

IDiaSymbol::get_offset

LONG

Offset of subobject that represents the base class within the structure.

IDiaSymbol::get_overloadedOperator

BOOL

TRUE if the base class has any overloaded operators.

IDiaSymbol::get_packed

BOOL

TRUE if the base class is packed.

IDiaSymbol::get_scoped

BOOL

TRUE if the base class appears in a nonglobal scope.

IDiaSymbol::get_symIndexId

DWORD

Index ID of symbol.

IDiaSymbol::get_symTag

DWORD

Returns SymTagBaseClass (one of the SymTagEnum values).

IDiaSymbol::get_type

IDiaSymbol*

The symbol for the base class UDT.

IDiaSymbol::get_typeId

DWORD

ID of the type symbol.

IDiaSymbol::get_udtKind

DWORD

A value from the UdtKind.

IDiaSymbol::get_unalignedType

BOOL

TRUE if the base class is unaligned.

IDiaSymbol::get_virtualBaseClass

BOOL

TRUE if the base class is virtual.

IDiaSymbol::get_virtualBaseDispIndex

DWORD

Index into the virtual base displacement table.

IDiaSymbol::get_virtualBasePointerOffset

LONG

Offset of the virtual base pointer.

IDiaSymbol::get_virtualBaseTableType

IDiaSymbol*

The type of the virtual base table pointer.

IDiaSymbol::get_virtualTableShape

IDiaSymbol*

The symbol describing the type of the virtual table for this base class.

IDiaSymbol::get_virtualTableShapeId

DWORD

ID of the virtual table shape symbol.

IDiaSymbol::get_volatileType

BOOL

TRUE if the base class is marked as volatile.

See Also

Reference

Class Hierarchy of Symbol Types

UDT