xrpld
Loading...
Searching...
No Matches
test
jtx
impl
tag.cpp
1
#include <test/jtx/tag.h>
2
3
#include <test/jtx/Env.h>
4
#include <test/jtx/JTx.h>
5
6
namespace
xrpl::test::jtx
{
7
8
void
9
Dtag::operator()
(
Env
&,
JTx
& jt)
const
10
{
11
jt.
jv
[
"DestinationTag"
] =
value_
;
12
}
13
14
void
15
Stag::operator()
(
Env
&,
JTx
& jt)
const
16
{
17
jt.
jv
[
"SourceTag"
] =
value_
;
18
}
19
20
}
// namespace xrpl::test::jtx
xrpl::test::jtx::Env
A transaction testing environment.
Definition
Env.h:143
xrpl::test::jtx
Definition
Oracle_test.cpp:34
xrpl::test::jtx::Dtag::operator()
void operator()(Env &, JTx &jt) const
Definition
tag.cpp:9
xrpl::test::jtx::Dtag::value_
std::uint32_t value_
Definition
tag.h:11
xrpl::test::jtx::JTx
Execution context for applying a JSON transaction.
Definition
JTx.h:23
xrpl::test::jtx::JTx::jv
json::Value jv
Definition
JTx.h:24
xrpl::test::jtx::Stag::value_
std::uint32_t value_
Definition
tag.h:26
xrpl::test::jtx::Stag::operator()
void operator()(Env &, JTx &jt) const
Definition
tag.cpp:15
Generated by
1.16.1