xrpld
Loading...
Searching...
No Matches
xrpl::path::detail::FlowDebugInfo::PassInfo Struct Reference

#include <FlowDebugInfo.h>

Collaboration diagram for xrpl::path::detail::FlowDebugInfo::PassInfo:

Public Member Functions

 PassInfo ()=delete
 PassInfo (bool nativeIn, bool nativeOut)
void reserve (size_t s)
size_t size () const
void pushBack (EitherAmount const &inAmt, EitherAmount const &outAmt, std::size_t active)
void pushLiquiditySrc (EitherAmount const &eIn, EitherAmount const &eOut)
void newLiquidityPass ()

Public Attributes

bool const nativeIn
bool const nativeOut
std::vector< EitherAmountin
std::vector< EitherAmountout
std::vector< size_t > numActive
std::vector< std::vector< EitherAmount > > liquiditySrcIn
std::vector< std::vector< EitherAmount > > liquiditySrcOut

Detailed Description

Definition at line 22 of file FlowDebugInfo.h.

Constructor & Destructor Documentation

◆ PassInfo() [1/2]

xrpl::path::detail::FlowDebugInfo::PassInfo::PassInfo ( )
delete

◆ PassInfo() [2/2]

xrpl::path::detail::FlowDebugInfo::PassInfo::PassInfo ( bool nativeIn,
bool nativeOut )

Definition at line 25 of file FlowDebugInfo.h.

Member Function Documentation

◆ reserve()

void xrpl::path::detail::FlowDebugInfo::PassInfo::reserve ( size_t s)

Definition at line 38 of file FlowDebugInfo.h.

◆ size()

size_t xrpl::path::detail::FlowDebugInfo::PassInfo::size ( ) const
nodiscard

Definition at line 48 of file FlowDebugInfo.h.

◆ pushBack()

void xrpl::path::detail::FlowDebugInfo::PassInfo::pushBack ( EitherAmount const & inAmt,
EitherAmount const & outAmt,
std::size_t active )

Definition at line 54 of file FlowDebugInfo.h.

◆ pushLiquiditySrc()

void xrpl::path::detail::FlowDebugInfo::PassInfo::pushLiquiditySrc ( EitherAmount const & eIn,
EitherAmount const & eOut )

Definition at line 62 of file FlowDebugInfo.h.

◆ newLiquidityPass()

void xrpl::path::detail::FlowDebugInfo::PassInfo::newLiquidityPass ( )

Definition at line 73 of file FlowDebugInfo.h.

Member Data Documentation

◆ nativeIn

bool const xrpl::path::detail::FlowDebugInfo::PassInfo::nativeIn

Definition at line 28 of file FlowDebugInfo.h.

◆ nativeOut

bool const xrpl::path::detail::FlowDebugInfo::PassInfo::nativeOut

Definition at line 29 of file FlowDebugInfo.h.

◆ in

std::vector<EitherAmount> xrpl::path::detail::FlowDebugInfo::PassInfo::in

Definition at line 30 of file FlowDebugInfo.h.

◆ out

std::vector<EitherAmount> xrpl::path::detail::FlowDebugInfo::PassInfo::out

Definition at line 31 of file FlowDebugInfo.h.

◆ numActive

std::vector<size_t> xrpl::path::detail::FlowDebugInfo::PassInfo::numActive

Definition at line 32 of file FlowDebugInfo.h.

◆ liquiditySrcIn

std::vector<std::vector<EitherAmount> > xrpl::path::detail::FlowDebugInfo::PassInfo::liquiditySrcIn

Definition at line 34 of file FlowDebugInfo.h.

◆ liquiditySrcOut

std::vector<std::vector<EitherAmount> > xrpl::path::detail::FlowDebugInfo::PassInfo::liquiditySrcOut

Definition at line 35 of file FlowDebugInfo.h.