mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 06:40:53 +00:00
28 lines
348 B
C++
28 lines
348 B
C++
#pragma once
|
|
|
|
#include <test/jtx/Env.h>
|
|
#include <test/jtx/JTx.h>
|
|
|
|
#include <cstdint>
|
|
|
|
namespace xrpl::test::jtx {
|
|
|
|
/**
|
|
* Set the flags on a JTx.
|
|
*/
|
|
class Txflags
|
|
{
|
|
private:
|
|
std::uint32_t v_;
|
|
|
|
public:
|
|
explicit Txflags(std::uint32_t v) : v_(v)
|
|
{
|
|
}
|
|
|
|
void
|
|
operator()(Env&, JTx& jt) const;
|
|
};
|
|
|
|
} // namespace xrpl::test::jtx
|