SymbolName class

The C++ Build Insights SDK is compatible with Visual Studio 2017 and later. To see the documentation for these versions, set the Visual Studio Version selector control for this article to Visual Studio 2017 or later. It's found at the top of the table of contents on this page.

The SymbolName class is used with the MatchEvent, MatchEventInMemberFunction, MatchEventStack, and MatchEventStackInMemberFunction functions. Use it to match a SYMBOL_NAME event.

Syntax

class SymbolName : public SimpleEvent
{
public:
    SymbolName(const RawEvent& event);

    const unsigned long long&  Key() const;
    const char*                Name() const;
};

Members

Along with the inherited members from its SimpleEvent base class, the SymbolName class contains the following members:

Constructors

SymbolName

Functions

Key Name

Key

const unsigned long long& Key() const;

Return Value

A numerical identifier for the type represented by this symbol. This identifier is unique within a compiler front-end pass.

Name

const char* Name() const;

Return Value

The name of the type represented by the symbol, encoded in UTF-8.

SymbolName

SymbolName(const RawEvent& event);

Parameters

event
A SYMBOL_NAME event.