33# include "../c/cevent.h"
57 event(std::string path, time_t evt_time, std::vector<fsw_event_flag> flags);
85 std::vector<fsw_event_flag>
get_flags()
const;
108 std::vector<fsw_event_flag> evt_flags;
fsw_event_flag
Backend-agnostic change flags.
Definition: cevent.h:64
Type representing a file change event.
Definition: event.hpp:48
time_t get_time() const
Returns the time of the event.
Definition: event.cpp:37
event(std::string path, time_t evt_time, std::vector< fsw_event_flag > flags)
Constructs an event.
Definition: event.cpp:25
static std::string get_event_flag_name(const fsw_event_flag &flag)
Get the name of an event flag.
Definition: event.cpp:77
std::string get_path() const
Returns the path of the event.
Definition: event.cpp:32
std::vector< fsw_event_flag > get_flags() const
Returns the flags of the event.
Definition: event.cpp:42
virtual ~event()
Destructs an event.
static fsw_event_flag get_event_flag_by_name(const std::string &name)
Get event flag by name.
Definition: event.cpp:47
Main namespace of libfswatch.
Definition: event.cpp:24