xrpld
Loading...
Searching...
No Matches
test
jtx
sendmax.h
1
#pragma once
2
3
#include <test/jtx/Env.h>
4
5
#include <xrpl/protocol/STAmount.h>
6
7
#include <
utility
>
8
9
namespace
xrpl::test::jtx
{
10
12
class
Sendmax
13
{
14
private
:
15
STAmount
amount_
;
16
17
public
:
18
Sendmax
(
STAmount
amount) :
amount_
(
std
::move(amount))
19
{
20
}
21
22
void
23
operator()
(
Env
&,
JTx
&
jtx
)
const
;
24
};
25
26
}
// namespace xrpl::test::jtx
xrpl::STAmount
Definition
STAmount.h:32
xrpl::test::jtx::Env
A transaction testing environment.
Definition
Env.h:143
xrpl::test::jtx::Sendmax::amount_
STAmount amount_
Definition
sendmax.h:15
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:18
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:23
utility
Generated by
1.16.1