xrpld
Loading...
Searching...
No Matches
xrpl::PathFindMPT Class Referencefinal

#include <MPT.h>

Collaboration diagram for xrpl::PathFindMPT:

Public Member Functions

 PathFindMPT (MPTID const &mptID)
 PathFindMPT (MPTID const &mptID, bool zeroBalance, bool maxedOut)
 operator MPTID const & () const
MPTID const & getMptID () const
bool canSend (AccountID const &account) const

Private Attributes

MPTID const mptID_
bool const zeroBalance_
bool const maxedOut_

Detailed Description

Definition at line 9 of file MPT.h.

Constructor & Destructor Documentation

◆ PathFindMPT() [1/2]

xrpl::PathFindMPT::PathFindMPT ( MPTID const & mptID)

Definition at line 19 of file MPT.h.

◆ PathFindMPT() [2/2]

xrpl::PathFindMPT::PathFindMPT ( MPTID const & mptID,
bool zeroBalance,
bool maxedOut )

Definition at line 22 of file MPT.h.

Member Function Documentation

◆ operator MPTID const &()

xrpl::PathFindMPT::operator MPTID const & ( ) const

Definition at line 26 of file MPT.h.

◆ getMptID()

MPTID const & xrpl::PathFindMPT::getMptID ( ) const
nodiscard

Definition at line 31 of file MPT.h.

◆ canSend()

bool xrpl::PathFindMPT::canSend ( AccountID const & account) const
nodiscard

Definition at line 36 of file MPT.h.

Member Data Documentation

◆ mptID_

MPTID const xrpl::PathFindMPT::mptID_
private

Definition at line 12 of file MPT.h.

◆ zeroBalance_

bool const xrpl::PathFindMPT::zeroBalance_
private

Definition at line 14 of file MPT.h.

◆ maxedOut_

bool const xrpl::PathFindMPT::maxedOut_
private

Definition at line 16 of file MPT.h.