xrpld
Loading...
Searching...
No Matches
test
jtx
sendmax.h
1
#pragma once
2
3
#include <test/jtx/Env.h>
4
#include <test/jtx/JTx.h>
5
6
#include <xrpl/protocol/STAmount.h>
7
8
#include <
utility
>
9
10
namespace
xrpl::test::jtx
{
11
15
class
Sendmax
16
{
17
private
:
18
STAmount
amount_
;
19
20
public
:
21
Sendmax
(
STAmount
amount) :
amount_
(
std
::move(amount))
22
{
23
}
24
25
void
26
operator()
(
Env
&,
JTx
&
jtx
)
const
;
27
};
28
29
}
// namespace xrpl::test::jtx
xrpl::STAmount
Definition
STAmount.h:46
xrpl::test::jtx::Env
A transaction testing environment.
Definition
Env.h:161
xrpl::test::jtx::Sendmax::amount_
STAmount amount_
Definition
sendmax.h:18
xrpl::test::jtx::Sendmax::operator()
void operator()(Env &, JTx &jtx) const
Definition
sendmax.cpp:11
xrpl::test::jtx::Sendmax::Sendmax
Sendmax(STAmount amount)
Definition
sendmax.h:21
std
STL namespace.
xrpl::test::jtx
Definition
Oracle_test.cpp:34
xrpl::test::jtx::JTx
Execution context for applying a JSON transaction.
Definition
JTx.h:27
utility
Generated by
1.16.1