xrpld
Loading...
Searching...
No Matches
tag.h
1#pragma once
2
3#include <test/jtx/Env.h>
4
5namespace xrpl::test::jtx {
6
8struct Dtag
9{
10private:
12
13public:
14 explicit Dtag(std::uint32_t value) : value_(value)
15 {
16 }
17
18 void
19 operator()(Env&, JTx& jt) const;
20};
21
23struct Stag
24{
25private:
27
28public:
29 explicit Stag(std::uint32_t value) : value_(value)
30 {
31 }
32
33 void
34 operator()(Env&, JTx& jt) const;
35};
36
37} // namespace xrpl::test::jtx
A transaction testing environment.
Definition Env.h:143
void operator()(Env &, JTx &jt) const
Definition tag.cpp:9
std::uint32_t value_
Definition tag.h:11
Dtag(std::uint32_t value)
Definition tag.h:14
Execution context for applying a JSON transaction.
Definition JTx.h:23
std::uint32_t value_
Definition tag.h:26
Stag(std::uint32_t value)
Definition tag.h:29
void operator()(Env &, JTx &jt) const
Definition tag.cpp:15