5 #include "AccessibleNode.h"
7 #include "UiSelector.h"
9 #include "PartialMatch.h"
16 * @brief Comparer class
25 Comparer(const UiDevice *device, const std::shared_ptr<UiSelector> selector,
26 const bool &earlyReturn);
39 static std::unique_ptr<AccessibleNode> findObject(const UiDevice * device,
40 const std::shared_ptr<UiSelector> selector,
41 const AccessibleNode *root);
47 static std::vector<std::unique_ptr<AccessibleNode>> findObjects(
48 const UiDevice *device, const std::shared_ptr<UiSelector> selector,
49 const AccessibleNode *root);
56 std::vector<std::unique_ptr<AccessibleNode>> findObjects(const AccessibleNode *root);
62 std::vector<std::unique_ptr<AccessibleNode>> findObjects(
63 const AccessibleNode *root, const int &index, const int &depth,
64 std::list<std::shared_ptr<PartialMatch>> &partialMatches);
71 std::unique_ptr<PartialMatch> accept(const AccessibleNode *node,
72 const std::shared_ptr<UiSelector> selector,
73 const int &index, const int &depth,
80 const UiDevice *mDevice;
85 const std::shared_ptr<UiSelector> mSelector;