xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
test
jtx
memo.h
1
#pragma once
2
3
#include <test/jtx/Env.h>
4
#include <test/jtx/JTx.h>
5
6
#include <
string
>
7
#include <
utility
>
8
9
namespace
xrpl::test::jtx
{
10
17
class
Memo
18
{
19
private
:
20
std::string
data_
;
21
std::string
format_
;
22
std::string
type_
;
23
24
public
:
25
Memo
(
std::string
data,
std::string
format,
std::string
type)
26
:
data_
(
std
::move(data)),
format_
(
std
::move(format)),
type_
(
std
::move(type))
27
{
28
}
29
30
void
31
operator()
(
Env
&,
JTx
& jt)
const
;
32
};
33
34
class
MemoData
35
{
36
private
:
37
std::string
s_
;
38
39
public
:
40
MemoData
(
std::string
s) :
s_
(
std
::move(s))
41
{
42
}
43
44
void
45
operator()
(
Env
&,
JTx
& jt)
const
;
46
};
47
48
class
MemoFormat
49
{
50
private
:
51
std::string
s_
;
52
53
public
:
54
MemoFormat
(
std::string
s) :
s_
(
std
::move(s))
55
{
56
}
57
58
void
59
operator()
(
Env
&,
JTx
& jt)
const
;
60
};
61
62
class
MemoType
63
{
64
private
:
65
std::string
s_
;
66
67
public
:
68
MemoType
(
std::string
s) :
s_
(
std
::move(s))
69
{
70
}
71
72
void
73
operator()
(
Env
&,
JTx
& jt)
const
;
74
};
75
76
}
// namespace xrpl::test::jtx
std::string
xrpl::test::jtx::Env
A transaction testing environment.
Definition
Env.h:161
xrpl::test::jtx::MemoData::MemoData
MemoData(std::string s)
Definition
memo.h:40
xrpl::test::jtx::MemoData::s_
std::string s_
Definition
memo.h:37
xrpl::test::jtx::MemoData::operator()
void operator()(Env &, JTx &jt) const
Definition
memo.cpp:23
xrpl::test::jtx::MemoFormat::operator()
void operator()(Env &, JTx &jt) const
Definition
memo.cpp:33
xrpl::test::jtx::MemoFormat::MemoFormat
MemoFormat(std::string s)
Definition
memo.h:54
xrpl::test::jtx::MemoFormat::s_
std::string s_
Definition
memo.h:51
xrpl::test::jtx::MemoType::s_
std::string s_
Definition
memo.h:65
xrpl::test::jtx::MemoType::operator()
void operator()(Env &, JTx &jt) const
Definition
memo.cpp:43
xrpl::test::jtx::MemoType::MemoType
MemoType(std::string s)
Definition
memo.h:68
xrpl::test::jtx::Memo::data_
std::string data_
Definition
memo.h:20
xrpl::test::jtx::Memo::Memo
Memo(std::string data, std::string format, std::string type)
Definition
memo.h:25
xrpl::test::jtx::Memo::format_
std::string format_
Definition
memo.h:21
xrpl::test::jtx::Memo::operator()
void operator()(Env &, JTx &jt) const
Definition
memo.cpp:11
xrpl::test::jtx::Memo::type_
std::string type_
Definition
memo.h:22
std
STL namespace.
xrpl::test::jtx
Definition
Oracle_test.cpp:34
string
xrpl::test::jtx::JTx
Execution context for applying a JSON transaction.
Definition
JTx.h:27
utility
Generated by
1.17.0