Typedef (Debug Interface Access SDK)

Symbols with SymTagTypedef tags introduce names for other types.

Properties

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

Property Data type Description
IDiaSymbol::get_baseType DWORD One of the BasicType Enumeration values.
IDiaSymbol::get_classParent IDiaSymbol* Class parent of this typedef, if any.
IDiaSymbol::get_classParentId DWORD ID of the class parent symbol.
IDiaSymbol::get_constructor BOOL TRUE if this typedef has a constructor.
IDiaSymbol::get_constType BOOL TRUE if this typedef is marked as constant.
IDiaSymbol::get_hasAssignmentOperator BOOL TRUE if this typedef has an assignment operator.
IDiaSymbol::get_hasCastOperator BOOL TRUE if this typedef has a cast operator.
IDiaSymbol::get_hasNestedTypes BOOL TRUE if this typedef has nested types.
IDiaSymbol::get_length ULONGLONG Length of this typedef 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 typedef.
IDiaSymbol::get_nested BOOL TRUE if this typedef is nested in a lexical scope.
IDiaSymbol::get_overloadedOperator BOOL TRUE if this typedef has an overloaded operator.
IDiaSymbol::get_packed BOOL TRUE if this typedef is packed.
IDiaSymbol::get_reference BOOL TRUE if this typedef is a reference.
IDiaSymbol::get_scoped BOOL TRUE if this typedef is in a nonglobal lexical scope.
IDiaSymbol::get_symIndexId DWORD Index ID of symbol.
IDiaSymbol::get_symTag DWORD Returns SymTagTypedef (one of the SymTagEnum Enumeration values).
IDiaSymbol::get_type IDiaSymbol* Symbol for the underlying type.
IDiaSymbol::get_typeId DWORD ID of the type symbol.
IDiaSymbol::get_udtKind DWORD One of the UdtKind Enumeration values.
IDiaSymbol::get_unalignedType BOOL TRUE if this typedef is not aligned.
IDiaSymbol::get_virtualTableShape IDiaSymbol* The symbol that describes the virtual table shape.
IDiaSymbol::get_virtualTableShapeId DWORD ID of the virtual table shape symbol.
IDiaSymbol::get_volatileType BOOL TRUE if this typedef is marked as volatile.

Remarks

Since a typedef can represent a class, pointer, or user-defined type (UDT), the symbol for a typedef shares the same properties as one of those other types of symbols.

See also