1 #ifndef EventsPositionFinder_H
2 #define EventsPositionFinder_H
3 #include "GDCore/Events/EventsList.h"
4 #include "GDCore/IDE/Events/ArbitraryEventsWorker.h"
5 #include "GDCore/String.h"
28 const std::vector<std::size_t>&
GetPositions()
const {
return positions; }
34 searchedEvents.push_back(event);
35 positions.push_back(gd::String::npos);
41 std::vector<gd::BaseEvent*> searchedEvents;
42 std::vector<std::size_t> positions;
ArbitraryEventsWorker is an abstract class used to browse events (and instructions) and do some work ...
Definition: ArbitraryEventsWorker.h:111
Base class defining an event.
Definition: Event.h:43
Scans an event list to retrieve the position of a list of searched events when the events list is fla...
Definition: EventsPositionFinder.h:20
const std::vector< std::size_t > & GetPositions() const
Definition: EventsPositionFinder.h:28
void AddEventToSearch(gd::BaseEvent *event)
Definition: EventsPositionFinder.h:33
Definition: CommonTools.h:24