FileOutput 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 FileOutput class is used with the MatchEvent, MatchEventInMemberFunction, MatchEventStack, and MatchEventStackInMemberFunction functions. Use it to match an EXECUTABLE_IMAGE_OUTPUT, EXP_OUTPUT, IMP_LIB_OUTPUT, LIB_OUTPUT, or OBJ_OUTPUT event.

Syntax

class FileOutput : public SimpleEvent
{
public:
    enum class Type
    {
        OTHER               = FILE_TYPE_CODE_OTHER,
        OBJ                 = FILE_TYPE_CODE_OBJ,
        EXECUTABLE_IMAGE    = FILE_TYPE_CODE_EXECUTABLE_IMAGE,
        LIB                 = FILE_TYPE_CODE_LIB,
        IMP_LIB             = FILE_TYPE_CODE_IMP_LIB,
        EXP                 = FILE_TYPE_CODE_EXP
    };

    FileOutput(const RawEvent& event);

    const wchar_t* Path() const;
    Type           Type() const;
};

Members

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

Constructors

FileOutput

Functions

Path Type

FileOutput

FileOutput(const RawEvent& event);

Parameters

event
An EXECUTABLE_IMAGE_OUTPUT, EXP_OUTPUT, IMP_LIB_OUTPUT, LIB_OUTPUT, or OBJ_OUTPUT event.

Path

const wchar_t Path() const;

Return Value

The absolute path to the output file.

Type

Type Type() const;

Return Value

A code describing the type of output file.