rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ripple::path::detail::FlowDebugInfo::PassInfo Struct Reference

#include <FlowDebugInfo.h>

Collaboration diagram for ripple::path::detail::FlowDebugInfo::PassInfo:
Collaboration graph
[legend]

Public Member Functions

 PassInfo ()=delete
 
 PassInfo (bool nativeIn_, bool nativeOut_)
 
void reserve (size_t s)
 
size_t size () const
 
void push_back (EitherAmount const &in_amt, EitherAmount const &out_amt, 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 28 of file FlowDebugInfo.h.

Constructor & Destructor Documentation

◆ PassInfo() [1/2]

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

◆ PassInfo() [2/2]

ripple::path::detail::FlowDebugInfo::PassInfo::PassInfo ( bool  nativeIn_,
bool  nativeOut_ 
)

Definition at line 31 of file FlowDebugInfo.h.

Member Function Documentation

◆ reserve()

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

Definition at line 45 of file FlowDebugInfo.h.

◆ size()

size_t ripple::path::detail::FlowDebugInfo::PassInfo::size ( ) const

Definition at line 55 of file FlowDebugInfo.h.

◆ push_back()

void ripple::path::detail::FlowDebugInfo::PassInfo::push_back ( EitherAmount const &  in_amt,
EitherAmount const &  out_amt,
std::size_t  active 
)

Definition at line 61 of file FlowDebugInfo.h.

◆ pushLiquiditySrc()

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

Definition at line 72 of file FlowDebugInfo.h.

◆ newLiquidityPass()

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

Definition at line 83 of file FlowDebugInfo.h.

Member Data Documentation

◆ nativeIn

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

Definition at line 35 of file FlowDebugInfo.h.

◆ nativeOut

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

Definition at line 36 of file FlowDebugInfo.h.

◆ in

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

Definition at line 37 of file FlowDebugInfo.h.

◆ out

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

Definition at line 38 of file FlowDebugInfo.h.

◆ numActive

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

Definition at line 39 of file FlowDebugInfo.h.

◆ liquiditySrcIn

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

Definition at line 41 of file FlowDebugInfo.h.

◆ liquiditySrcOut

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

Definition at line 42 of file FlowDebugInfo.h.