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

Syntax

class FileInput : 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
    };

    FileInput(const RawEvent& event);

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

Members

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

Constructors

FileInput

Functions

Path Type

FileInput

FileInput(const RawEvent& event);

Parameters

event
A FILE_INPUT event.

Path

const wchar_t Path() const;

Return Value

The absolute path to the input file.

Type

Type Type() const;

Return Value

A code describing the type of input file.