5 #include "AccessibleNode.h"
7 #include "UiSelector.h"
9 #include "PartialMatch.h"
16 * @brief Comparer class
25 Comparer(const std::shared_ptr<UiDevice> device, const std::shared_ptr<UiSelector> selector,
26 const bool &earlyReturn);
39 static std::shared_ptr<AccessibleNode> findObject(const std::shared_ptr<UiDevice> device,
40 const std::shared_ptr<UiSelector> selector,
41 const std::shared_ptr<AccessibleNode> root);
47 static std::vector<std::shared_ptr<AccessibleNode>> findObjects(
48 const std::shared_ptr<UiDevice> device, const std::shared_ptr<UiSelector> selector,
49 const std::shared_ptr<AccessibleNode> root);
56 std::vector<std::shared_ptr<AccessibleNode>> findObjects(const std::shared_ptr<AccessibleNode> root);
62 std::vector<std::shared_ptr<AccessibleNode>> findObjects(
63 const std::shared_ptr<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 std::shared_ptr<UiDevice> mDevice;
85 const std::shared_ptr<UiSelector> mSelector;