xrpld
Loading...
Searching...
No Matches
xrpl::test::jtx::MptFlags Class Reference

Test helper that checks MPT flag settings after creation. More...

#include <mpt.h>

Collaboration diagram for xrpl::test::jtx::MptFlags:

Public Member Functions

 MptFlags (MPTTester &tester, std::uint32_t flags, std::optional< Account > const &holder=std::nullopt)
void operator() (Env &env) const

Private Attributes

MPTTestertester_
std::uint32_t flags_
std::optional< Accountholder_

Detailed Description

Test helper that checks MPT flag settings after creation.

Definition at line 49 of file mpt.h.

Constructor & Destructor Documentation

◆ MptFlags()

xrpl::test::jtx::MptFlags::MptFlags ( MPTTester & tester,
std::uint32_t flags,
std::optional< Account > const & holder = std::nullopt )

Definition at line 57 of file mpt.h.

Member Function Documentation

◆ operator()()

void xrpl::test::jtx::MptFlags::operator() ( Env & env) const

Definition at line 113 of file mpt.cpp.

Member Data Documentation

◆ tester_

MPTTester& xrpl::test::jtx::MptFlags::tester_
private

Definition at line 52 of file mpt.h.

◆ flags_

std::uint32_t xrpl::test::jtx::MptFlags::flags_
private

Definition at line 53 of file mpt.h.

◆ holder_

std::optional<Account> xrpl::test::jtx::MptFlags::holder_
private

Definition at line 54 of file mpt.h.