Partager via


Enum (Debug Interface Access SDK)

Enumerations are identified by SymTagEnum symbols. Each enumeration value appears as a class child with a SymTagConstant tag.

Properties

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

Property

Data type

Description

IDiaSymbol::get_baseType

DWORD

One of the BasicType values.

IDiaSymbol::get_classParent

IDiaSymbol*

Class parent of this enumeration, if any.

IDiaSymbol::get_classParentId

DWORD

ID of the class parent symbol.

IDiaSymbol::get_constructor

BOOL

TRUE if the enumeration has a constructor.

IDiaSymbol::get_constType

BOOL

TRUE if the enumeration is marked as const.

IDiaSymbol::get_hasAssignmentOperator

BOOL

TRUE if the enumeration has an assignment operator.

IDiaSymbol::get_hasCastOperator

BOOL

TRUE if the enumeration has a cast operator.

IDiaSymbol::get_hasNestedTypes

BOOL

TRUE if the enumeration has nested types.

IDiaSymbol::get_length

DWORD

Length of this enumeration 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 enumerated type.

IDiaSymbol::get_nested

BOOL

TRUE if the enumeration is nested.

IDiaSymbol::get_overloadedOperator

BOOL

TRUE if the enumeration has any overloaded operators.

IDiaSymbol::get_packed

BOOL

TRUE if the enumeration is packed.

IDiaSymbol::get_scoped

BOOL

TRUE if the enumeration appears in a nonglobal lexical scope.

IDiaSymbol::get_symIndexId

DWORD

Index ID of symbol.

IDiaSymbol::get_symTag

DWORD

Returns SymTagEnum (one of the SymTagEnum values).

IDiaSymbol::get_type

IDiaSymbol*

Symbol for the underlying type.

IDiaSymbol::get_typeId

DWORD

ID of the type symbol.

IDiaSymbol::get_unalignedType

BOOL

TRUE if the enumeration is unaligned.

IDiaSymbol::get_volatileType

BOOL

TRUE if the enumeration is marked as volatile.

See Also

Reference

Class Hierarchy of Symbol Types