20 #ifndef RIPPLE_LEDGER_TESTS_PATHSET_H_INCLUDED
21 #define RIPPLE_LEDGER_TESTS_PATHSET_H_INCLUDED
23 #include <ripple/basics/Log.h>
24 #include <ripple/protocol/TxFlags.h>
42 if (sle->getType() == ltOFFER &&
43 sle->getFieldAmount(sfTakerPays) == takerPays &&
44 sle->getFieldAmount(sfTakerGets) == takerGets)
63 template <
class First,
class... Rest>
64 explicit Path(First&& first, Rest&&... rest)
66 addHelper(std::forward<First>(first), std::forward<Rest>(rest)...);
78 template <
class First,
class... Rest>
86 path.emplace_back(pe);
104 path.emplace_back(account.id(), beast::zero, beast::zero);
108 template <
class First,
class... Rest>
113 if constexpr (
sizeof...(rest) > 0)
136 template <
class First,
class... Rest>
137 explicit PathSet(First&& first, Rest&&... rest)
139 addHelper(std::forward<First>(first), std::forward<Rest>(rest)...);
150 template <
class First,
class... Rest>
154 paths.emplace_back(std::move(first.path));
155 if constexpr (
sizeof...(rest) > 0)