rippled
Loading...
Searching...
No Matches
tag.h
1#ifndef XRPL_TEST_JTX_TAG_H_INCLUDED
2#define XRPL_TEST_JTX_TAG_H_INCLUDED
3
4#include <test/jtx/Env.h>
5
6namespace ripple {
7namespace test {
8
9namespace jtx {
10
12struct dtag
13{
14private:
16
17public:
18 explicit dtag(std::uint32_t value) : value_(value)
19 {
20 }
21
22 void
23 operator()(Env&, JTx& jt) const;
24};
25
27struct stag
28{
29private:
31
32public:
33 explicit stag(std::uint32_t value) : value_(value)
34 {
35 }
36
37 void
38 operator()(Env&, JTx& jt) const;
39};
40
41} // namespace jtx
42
43} // namespace test
44} // namespace ripple
45
46#endif
A transaction testing environment.
Definition Env.h:102
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
Execution context for applying a JSON transaction.
Definition JTx.h:26
Set the destination tag on a JTx.
Definition tag.h:13
void operator()(Env &, JTx &jt) const
Definition tag.cpp:8
dtag(std::uint32_t value)
Definition tag.h:18
std::uint32_t value_
Definition tag.h:15
Set the source tag on a JTx.
Definition tag.h:28
void operator()(Env &, JTx &jt) const
Definition tag.cpp:14
std::uint32_t value_
Definition tag.h:30
stag(std::uint32_t value)
Definition tag.h:33