rippled
Public Member Functions | Public Attributes | List of all members
ripple::path::detail::FlowDebugInfo::PassInfo Struct Reference
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

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

Detailed Description

Definition at line 46 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 49 of file FlowDebugInfo.h.

Member Function Documentation

◆ reserve()

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

Definition at line 63 of file FlowDebugInfo.h.

◆ size()

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

Definition at line 73 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 79 of file FlowDebugInfo.h.

◆ pushLiquiditySrc()

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

Definition at line 90 of file FlowDebugInfo.h.

◆ newLiquidityPass()

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

Definition at line 98 of file FlowDebugInfo.h.

Member Data Documentation

◆ nativeIn

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

Definition at line 53 of file FlowDebugInfo.h.

◆ nativeOut

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

Definition at line 54 of file FlowDebugInfo.h.

◆ in

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

Definition at line 55 of file FlowDebugInfo.h.

◆ out

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

Definition at line 56 of file FlowDebugInfo.h.

◆ numActive

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

Definition at line 57 of file FlowDebugInfo.h.

◆ liquiditySrcIn

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

Definition at line 59 of file FlowDebugInfo.h.

◆ liquiditySrcOut

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

Definition at line 60 of file FlowDebugInfo.h.