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 |
---|---|---|
DWORD |
One of the BasicType values. |
|
IDiaSymbol* |
Class parent of this typedef, if any. |
|
DWORD |
ID of the class parent symbol. |
|
BOOL |
TRUE if this typedef has a constructor. |
|
BOOL |
TRUE if this typedef is marked as constant. |
|
BOOL |
TRUE if this typedef has an assignment operator. |
|
BOOL |
TRUE if this typedef has a cast operator. |
|
BOOL |
TRUE if this typedef has nested types. |
|
ULONGLONG |
Length of this typedef in bytes. |
|
IDiaSymbol* |
Symbol of the enclosing compiland. |
|
DWORD |
ID of the lexical parent symbol. |
|
BSTR |
Name of the typedef. |
|
BOOL |
TRUE if this typedef is nested in a lexical scope. |
|
BOOL |
TRUE if this typedef has an overloaded operator. |
|
BOOL |
TRUE if this typedef is packed. |
|
BOOL |
TRUE if this typedef is a reference. |
|
BOOL |
TRUE if this typedef is in a nonglobal lexical scope. |
|
DWORD |
Index ID of symbol. |
|
DWORD |
Returns SymTagTypedef (one of the SymTagEnum values). |
|
IDiaSymbol* |
Symbol for the underlying type. |
|
DWORD |
ID of the type symbol. |
|
DWORD |
One of the UdtKind values. |
|
BOOL |
TRUE if this typedef is not aligned. |
|
IDiaSymbol* |
The symbol that describes the virtual table shape. |
|
DWORD |
ID of the virtual table shape symbol. |
|
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.