Function 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 Function class is used with the MatchEvent, MatchEventInMemberFunction, MatchEventStack, and MatchEventStackInMemberFunction functions. Use it to match a FUNCTION event.

Syntax

class Function : public Activity
{
public:
    Function(const RawEvent& event);

    const char* Name() const;
};

Members

Along with the inherited members from the Activity base class, the Function class contains the following members:

Constructors

Function

Functions

Name

Function

Function(const RawEvent& event);

Parameters

event
A FUNCTION event.

Name

const char* Name() const;

Return Value

The name of the function, encoded in UTF-8.